Warning: Permanently added '54.175.191.189' (ED25519) to the list of known hosts. Dload Upload Total Spent Left Speed 100 1005 100 1005 0 0 72868 0 --:--:-- --:--:-- --:--:-- 77307 INFO: Reading stdout from command: md5sum ularn.png Running (timeout=115200): unbuffer mock --spec /var/lib/copr-rpmbuild/workspace/workdir-ari2tz72/ularn/ularn.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-ari2tz72/ularn --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1734140909.303404 -r /var/lib/copr-rpmbuild/results/configs/child.cfg INFO: mock.py version 5.9 starting (python version = 3.13.0, NVR = mock-5.9-1.fc41), args: /usr/libexec/mock/mock --spec /var/lib/copr-rpmbuild/workspace/workdir-ari2tz72/ularn/ularn.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-ari2tz72/ularn --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1734140909.303404 -r /var/lib/copr-rpmbuild/results/configs/child.cfg Start(bootstrap): init plugins INFO: tmpfs initialized INFO: selinux enabled INFO: chroot_scan: initialized INFO: compress_logs: initialized Finish(bootstrap): init plugins Start: init plugins INFO: tmpfs initialized INFO: selinux enabled INFO: chroot_scan: initialized INFO: compress_logs: initialized Finish: init plugins INFO: Signal handler active Start: run INFO: Start(/var/lib/copr-rpmbuild/workspace/workdir-ari2tz72/ularn/ularn.spec) Config(fedora-rawhide-aarch64) Start: clean chroot Finish: clean chroot Mock Version: 5.9 INFO: Mock Version: 5.9 Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-aarch64-bootstrap-1734140909.303404/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: Guessed host environment type: unknown INFO: Using bootstrap image: registry.fedoraproject.org/fedora:rawhide INFO: Pulling image: registry.fedoraproject.org/fedora:rawhide INFO: Copy content of container registry.fedoraproject.org/fedora:rawhide to /var/lib/mock/fedora-rawhide-aarch64-bootstrap-1734140909.303404/root INFO: Checking that registry.fedoraproject.org/fedora:rawhide image matches host's architecture INFO: mounting registry.fedoraproject.org/fedora:rawhide with podman image mount INFO: image registry.fedoraproject.org/fedora:rawhide as /var/lib/containers/storage/overlay/9add8b0e26a6fbb87b266ee77731a7c77baf6f4a8ba989bb95ca32cac146617c/merged INFO: umounting image registry.fedoraproject.org/fedora:rawhide (/var/lib/containers/storage/overlay/9add8b0e26a6fbb87b266ee77731a7c77baf6f4a8ba989bb95ca32cac146617c/merged) with podman image umount INFO: Package manager dnf5 detected and used (fallback) INFO: Not updating bootstrap chroot, bootstrap_image_ready=True Start(bootstrap): creating root cache Finish(bootstrap): creating root cache Finish(bootstrap): chroot init Start: chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-aarch64-1734140909.303404/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf5 detected and used (direct choice) INFO: Buildroot is handled by package management downloaded with a bootstrap image: rpm-4.20.0-1.fc42.aarch64 rpm-sequoia-1.7.0-3.fc42.aarch64 dnf5-5.2.8.1-2.fc42.aarch64 dnf5-plugins-5.2.8.1-2.fc42.aarch64 Start: installing minimal buildroot with dnf5 Updating and loading repositories: fedora 100% | 68.3 KiB/s | 11.2 KiB | 00m00s Copr repository 100% | 96.1 KiB/s | 1.5 KiB | 00m00s Copr repository 100% | 58.0 MiB/s | 7.1 MiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing group/module packages: bash aarch64 5.2.37-1.fc42 copr_base 8.1 MiB bzip2 aarch64 1.0.8-19.fc42 copr_base 168.7 KiB coreutils aarch64 9.5-11.fc42 copr_base 7.8 MiB cpio aarch64 2.15-2.fc42 copr_base 1.1 MiB diffutils aarch64 3.10-8.fc42 copr_base 1.7 MiB fedora-release-common noarch 42-0.11 fedora 19.8 KiB findutils aarch64 1:4.10.0-4.fc42 copr_base 1.9 MiB gawk aarch64 5.3.0-4.fc42 copr_base 2.4 MiB glibc-minimal-langpack aarch64 2.40.9000-21.fc42 copr_base 0.0 B grep aarch64 3.11-9.fc42 copr_base 1.0 MiB gzip aarch64 1.13-2.fc42 copr_base 422.7 KiB info aarch64 7.1.1-2.fc42 copr_base 414.6 KiB patch aarch64 2.7.6-25.fc41 fedora 390.6 KiB redhat-rpm-config noarch 296-1.fc42 copr_base 186.6 KiB rpm-build aarch64 4.20.0-1.fc42 fedora 1.4 MiB sed aarch64 4.9-3.fc41 fedora 1.0 MiB shadow-utils aarch64 2:4.17.0~rc1-1.fc42 fedora 4.5 MiB tar aarch64 2:1.35-4.fc41 fedora 3.1 MiB unzip aarch64 6.0-65.fc42 fedora 2.3 MiB util-linux aarch64 2.40.2-8.fc42 fedora 16.9 MiB which aarch64 2.21-42.fc41 fedora 248.2 KiB xz aarch64 1:5.6.3-2.fc42 fedora 1.5 MiB Installing dependencies: add-determinism aarch64 0.4.3-1.fc42 fedora 2.1 MiB alternatives aarch64 1.30-1.fc42 copr_base 88.7 KiB ansible-srpm-macros noarch 1-16.fc41 fedora 35.7 KiB audit-libs aarch64 4.0.2-1.fc42 copr_base 415.2 KiB authselect aarch64 1.5.0-8.fc42 copr_base 179.9 KiB authselect-libs aarch64 1.5.0-8.fc42 copr_base 865.5 KiB basesystem noarch 11-21.fc41 fedora 0.0 B binutils aarch64 2.43.50-9.fc42 copr_base 28.9 MiB build-reproducibility-srpm-macros noarch 0.4.3-1.fc42 fedora 735.0 B bzip2-libs aarch64 1.0.8-19.fc42 copr_base 71.1 KiB ca-certificates noarch 2024.2.69_v8.0.401-3.fc42 fedora 2.6 MiB coreutils-common aarch64 9.5-11.fc42 copr_base 11.2 MiB cracklib aarch64 2.9.11-6.fc42 copr_base 417.7 KiB crypto-policies noarch 20241128-1.gitbb7b0b0.fc42 fedora 137.3 KiB curl aarch64 8.11.1-1.fc42 fedora 452.0 KiB cyrus-sasl-lib aarch64 2.1.28-27.fc41 fedora 3.1 MiB debugedit aarch64 5.1-2.fc42 copr_base 241.5 KiB dwz aarch64 0.15-8.fc42 copr_base 319.6 KiB ed aarch64 1.20.2-2.fc42 copr_base 152.9 KiB efi-srpm-macros noarch 5-13.fc42 fedora 40.2 KiB elfutils aarch64 0.192-7.fc42 copr_base 3.1 MiB elfutils-debuginfod-client aarch64 0.192-7.fc42 copr_base 141.3 KiB elfutils-default-yama-scope noarch 0.192-7.fc42 copr_base 1.8 KiB elfutils-libelf aarch64 0.192-7.fc42 copr_base 1.2 MiB elfutils-libs aarch64 0.192-7.fc42 copr_base 734.9 KiB fedora-gpg-keys noarch 42-0.3 fedora 126.4 KiB fedora-release noarch 42-0.11 fedora 0.0 B fedora-release-identity-basic noarch 42-0.11 fedora 719.0 B fedora-repos noarch 42-0.3 fedora 4.9 KiB fedora-repos-rawhide noarch 42-0.3 fedora 2.2 KiB file aarch64 5.45-8.fc42 fedora 139.5 KiB file-libs aarch64 5.45-8.fc42 fedora 10.0 MiB filesystem aarch64 3.18-29.fc42 fedora 106.0 B fonts-srpm-macros noarch 1:2.0.5-17.fc41 fedora 55.8 KiB forge-srpm-macros noarch 0.4.0-1.fc42 fedora 38.9 KiB fpc-srpm-macros noarch 1.3-13.fc41 fedora 144.0 B gdb-minimal aarch64 15.2-4.fc42 fedora 12.7 MiB gdbm aarch64 1:1.23-7.fc42 copr_base 537.9 KiB gdbm-libs aarch64 1:1.23-7.fc42 copr_base 230.7 KiB ghc-srpm-macros noarch 1.9.2-1.fc42 fedora 779.0 B glibc aarch64 2.40.9000-21.fc42 copr_base 6.1 MiB glibc-common aarch64 2.40.9000-21.fc42 copr_base 1.3 MiB glibc-gconv-extra aarch64 2.40.9000-21.fc42 copr_base 18.3 MiB gmp aarch64 1:6.3.0-2.fc42 copr_base 651.1 KiB gnat-srpm-macros noarch 6-6.fc41 fedora 1.0 KiB go-srpm-macros noarch 3.6.0-5.fc42 fedora 60.8 KiB jansson aarch64 2.14-1.fc42 copr_base 90.8 KiB json-c aarch64 0.18-1.fc42 copr_base 135.7 KiB kernel-srpm-macros noarch 1.0-24.fc41 fedora 1.9 KiB keyutils-libs aarch64 1.6.3-4.fc42 copr_base 96.8 KiB krb5-libs aarch64 1.21.3-3.fc42 fedora 2.6 MiB libacl aarch64 2.3.2-2.fc42 copr_base 66.3 KiB libarchive aarch64 3.7.7-1.fc42 fedora 912.2 KiB libattr aarch64 2.5.2-4.fc41 fedora 196.6 KiB libblkid aarch64 2.40.2-8.fc42 fedora 418.6 KiB libbrotli aarch64 1.1.0-5.fc42 copr_base 904.3 KiB libcap aarch64 2.71-1.fc42 fedora 509.8 KiB libcap-ng aarch64 0.8.5-3.fc41 fedora 417.2 KiB libcom_err aarch64 1.47.1-6.fc42 copr_base 109.9 KiB libcurl aarch64 8.11.1-1.fc42 fedora 845.2 KiB libeconf aarch64 0.7.5-1.fc42 fedora 78.7 KiB libevent aarch64 2.1.12-14.fc41 fedora 1.5 MiB libfdisk aarch64 2.40.2-8.fc42 fedora 482.9 KiB libffi aarch64 3.4.6-3.fc42 copr_base 152.5 KiB libgcc aarch64 14.2.1-6.fc42 fedora 222.2 KiB libgomp aarch64 14.2.1-6.fc42 fedora 503.2 KiB libidn2 aarch64 2.3.7-2.fc41 fedora 457.2 KiB libmount aarch64 2.40.2-8.fc42 fedora 483.9 KiB libnghttp2 aarch64 1.64.0-1.fc42 copr_base 195.4 KiB libnsl2 aarch64 2.0.1-2.fc41 fedora 222.0 KiB libpkgconf aarch64 2.3.0-1.fc42 fedora 198.1 KiB libpsl aarch64 0.21.5-4.fc41 fedora 196.6 KiB libpwquality aarch64 1.4.5-11.fc41 fedora 1.1 MiB libselinux aarch64 3.8-0.rc1.2.fc42 fedora 195.6 KiB libsemanage aarch64 3.8-0.rc1.1.fc42 fedora 353.3 KiB libsepol aarch64 3.8-0.rc1.1.fc42 fedora 809.9 KiB libsmartcols aarch64 2.40.2-8.fc42 fedora 288.5 KiB libssh aarch64 0.11.1-1.fc42 fedora 649.6 KiB libssh-config noarch 0.11.1-1.fc42 fedora 277.0 B libstdc++ aarch64 14.2.1-6.fc42 fedora 2.8 MiB libtasn1 aarch64 4.19.0-9.fc41 fedora 283.8 KiB libtirpc aarch64 1.3.6-1.fc42 copr_base 205.5 KiB libtool-ltdl aarch64 2.5.4-1.fc42 fedora 92.1 KiB libunistring aarch64 1.1-8.fc41 fedora 1.8 MiB libuuid aarch64 2.40.2-8.fc42 fedora 197.5 KiB libverto aarch64 0.3.2-9.fc41 fedora 197.5 KiB libxcrypt aarch64 4.4.36-11.fc42 copr_base 269.3 KiB libxml2 aarch64 2.12.8-2.fc41 fedora 2.1 MiB libzstd aarch64 1.5.6-2.fc41 fedora 796.0 KiB lua-libs aarch64 5.4.7-1.fc42 fedora 393.1 KiB lua-srpm-macros noarch 1-14.fc41 fedora 1.3 KiB lz4-libs aarch64 1.10.0-1.fc41 fedora 261.6 KiB mpfr aarch64 4.2.1-5.fc41 fedora 818.9 KiB ncurses-base noarch 6.5-2.20240629.fc42 copr_base 326.3 KiB ncurses-libs aarch64 6.5-2.20240629.fc42 copr_base 1.2 MiB ocaml-srpm-macros noarch 10-3.fc41 fedora 1.9 KiB openblas-srpm-macros noarch 2-18.fc41 fedora 112.0 B openldap aarch64 2.6.8-6.fc42 fedora 747.0 KiB openssl-libs aarch64 1:3.2.2-8.fc42 fedora 7.2 MiB p11-kit aarch64 0.25.5-4.fc42 fedora 2.6 MiB p11-kit-trust aarch64 0.25.5-4.fc42 fedora 655.7 KiB package-notes-srpm-macros noarch 0.5-12.fc41 fedora 1.6 KiB pam aarch64 1.7.0-3.fc42 fedora 4.3 MiB pam-libs aarch64 1.7.0-3.fc42 fedora 223.4 KiB pcre2 aarch64 10.44-1.fc41.1 fedora 905.5 KiB pcre2-syntax noarch 10.44-1.fc41.1 fedora 251.6 KiB perl-srpm-macros noarch 1-56.fc41 fedora 861.0 B pkgconf aarch64 2.3.0-1.fc42 fedora 240.6 KiB pkgconf-m4 noarch 2.3.0-1.fc42 fedora 14.4 KiB pkgconf-pkg-config aarch64 2.3.0-1.fc42 fedora 990.0 B popt aarch64 1.19-7.fc41 fedora 272.9 KiB publicsuffix-list-dafsa noarch 20240107-4.fc41 fedora 67.5 KiB pyproject-srpm-macros noarch 1.16.3-1.fc42 fedora 1.9 KiB python-srpm-macros noarch 3.13-3.fc41 fedora 51.0 KiB qt5-srpm-macros noarch 5.15.15-1.fc42 fedora 500.0 B qt6-srpm-macros noarch 6.8.1-4.fc42 fedora 456.0 B readline aarch64 8.2-11.fc42 fedora 753.3 KiB rpm aarch64 4.20.0-1.fc42 fedora 3.9 MiB rpm-build-libs aarch64 4.20.0-1.fc42 fedora 262.7 KiB rpm-libs aarch64 4.20.0-1.fc42 fedora 797.9 KiB rpm-sequoia aarch64 1.7.0-3.fc42 fedora 2.2 MiB rust-srpm-macros noarch 26.3-3.fc42 fedora 4.8 KiB setup noarch 2.15.0-5.fc41 fedora 720.7 KiB sqlite-libs aarch64 3.47.2-1.fc42 fedora 1.4 MiB systemd-libs aarch64 257-1.fc42 fedora 2.4 MiB util-linux-core aarch64 2.40.2-8.fc42 fedora 6.2 MiB xxhash-libs aarch64 0.8.2-4.fc42 fedora 212.3 KiB xz-libs aarch64 1:5.6.3-2.fc42 fedora 266.4 KiB zig-srpm-macros noarch 1-3.fc41 fedora 1.1 KiB zip aarch64 3.0-42.fc42 fedora 755.7 KiB zlib-ng-compat aarch64 2.2.2-1.fc42 fedora 133.8 KiB zstd aarch64 1.5.6-2.fc41 fedora 1.7 MiB Installing groups: Buildsystem building group Transaction Summary: Installing: 154 packages Total size of inbound packages is 51 MiB. Need to download 0 B. After this operation, 229 MiB extra will be used (install 229 MiB, remove 0 B). [1/1] tar-2:1.35-4.fc41.aarch64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [1/1] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/2] rpm-build-0:4.20.0-1.fc42.aarch64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [2/2] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/3] unzip-0:6.0-65.fc42.aarch64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [3/3] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/4] which-0:2.21-42.fc41.aarch64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [4/4] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/5] patch-0:2.7.6-25.fc41.aarch64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [5/5] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/6] sed-0:4.9-3.fc41.aarch64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [6/6] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/7] shadow-utils-2:4.17.0~rc1-1.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [7/7] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/8] util-linux-0:2.40.2-8.fc42.aarch6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [8/8] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/9] fedora-release-common-0:42-0.11.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [9/9] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/10] xz-1:5.6.3-2.fc42.aarch64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [10/10] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/11] bzip2-0:1.0.8-19.fc42.aarch64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [11/11] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/12] redhat-rpm-config-0:296-1.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [12/12] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/13] cpio-0:2.15-2.fc42.aarch64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [13/13] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/14] bash-0:5.2.37-1.fc42.aarch64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [14/14] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/15] coreutils-0:9.5-11.fc42.aarch64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [15/15] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/16] grep-0:3.11-9.fc42.aarch64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [16/16] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/17] diffutils-0:3.10-8.fc42.aarch64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [17/17] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/18] findutils-1:4.10.0-4.fc42.aarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [18/18] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/19] gawk-0:5.3.0-4.fc42.aarch64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [19/19] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/20] glibc-minimal-langpack-0:2.40.9 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [20/20] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/21] gzip-0:1.13-2.fc42.aarch64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [21/21] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/22] info-0:7.1.1-2.fc42.aarch64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [22/22] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/23] libselinux-0:3.8-0.rc1.2.fc42.a 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [23/23] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/24] file-0:5.45-8.fc42.aarch64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [24/24] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/25] libarchive-0:3.7.7-1.fc42.aarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [25/25] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/26] pkgconf-pkg-config-0:2.3.0-1.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [26/26] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/27] popt-0:1.19-7.fc41.aarch64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [27/27] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/28] readline-0:8.2-11.fc42.aarch64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [28/28] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/29] rpm-0:4.20.0-1.fc42.aarch64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [29/29] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/30] rpm-build-libs-0:4.20.0-1.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [30/30] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/31] rpm-libs-0:4.20.0-1.fc42.aarch6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [31/31] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/32] zstd-0:1.5.6-2.fc41.aarch64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [32/32] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/33] libattr-0:2.5.2-4.fc41.aarch64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [33/33] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/34] libeconf-0:0.7.5-1.fc42.aarch64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [34/34] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/35] libsemanage-0:3.8-0.rc1.1.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [35/35] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/36] pam-libs-0:1.7.0-3.fc42.aarch64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [36/36] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/37] setup-0:2.15.0-5.fc41.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [37/37] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/38] libblkid-0:2.40.2-8.fc42.aarch6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [38/38] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/39] libcap-ng-0:0.8.5-3.fc41.aarch6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [39/39] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/40] libfdisk-0:2.40.2-8.fc42.aarch6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [40/40] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/41] libmount-0:2.40.2-8.fc42.aarch6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [41/41] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/42] libsmartcols-0:2.40.2-8.fc42.aa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [42/42] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/43] libuuid-0:2.40.2-8.fc42.aarch64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [43/43] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/44] pam-0:1.7.0-3.fc42.aarch64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [44/44] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/45] systemd-libs-0:257-1.fc42.aarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [45/45] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/46] util-linux-core-0:2.40.2-8.fc42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [46/46] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/47] zlib-ng-compat-0:2.2.2-1.fc42.a 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [47/47] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/48] fedora-repos-0:42-0.3.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [48/48] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/49] xz-libs-1:5.6.3-2.fc42.aarch64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [49/49] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/50] ansible-srpm-macros-0:1-16.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [50/50] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/51] build-reproducibility-srpm-macr 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [51/51] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/52] efi-srpm-macros-0:5-13.fc42.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [52/52] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/53] fonts-srpm-macros-1:2.0.5-17.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [53/53] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/54] forge-srpm-macros-0:0.4.0-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [54/54] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/55] fpc-srpm-macros-0:1.3-13.fc41.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [55/55] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/56] ghc-srpm-macros-0:1.9.2-1.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [56/56] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/57] gnat-srpm-macros-0:6-6.fc41.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [57/57] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/58] go-srpm-macros-0:3.6.0-5.fc42.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [58/58] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/59] kernel-srpm-macros-0:1.0-24.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [59/59] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/60] lua-srpm-macros-0:1-14.fc41.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [60/60] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/61] ocaml-srpm-macros-0:10-3.fc41.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [61/61] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/62] openblas-srpm-macros-0:2-18.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [62/62] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/63] package-notes-srpm-macros-0:0.5 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [63/63] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/64] perl-srpm-macros-0:1-56.fc41.no 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [64/64] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/65] pyproject-srpm-macros-0:1.16.3- 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [65/65] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/66] python-srpm-macros-0:3.13-3.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [66/66] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/67] qt5-srpm-macros-0:5.15.15-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [67/67] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/68] qt6-srpm-macros-0:6.8.1-4.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [68/68] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/69] rust-srpm-macros-0:26.3-3.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [69/69] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/70] zig-srpm-macros-0:1-3.fc41.noar 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [70/70] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/71] zip-0:3.0-42.fc42.aarch64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [71/71] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/72] filesystem-0:3.18-29.fc42.aarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [72/72] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/73] libcap-0:2.71-1.fc42.aarch64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [73/73] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/74] openssl-libs-1:3.2.2-8.fc42.aar 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [74/74] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/75] pcre2-0:10.44-1.fc41.1.aarch64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [75/75] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/76] mpfr-0:4.2.1-5.fc41.aarch64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [76/76] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/77] libsepol-0:3.8-0.rc1.1.fc42.aar 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [77/77] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/78] file-libs-0:5.45-8.fc42.aarch64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [78/78] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/79] libxml2-0:2.12.8-2.fc41.aarch64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [79/79] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/80] libzstd-0:1.5.6-2.fc41.aarch64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [80/80] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/81] lz4-libs-0:1.10.0-1.fc41.aarch6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [81/81] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/82] pkgconf-0:2.3.0-1.fc42.aarch64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [82/82] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/83] pkgconf-m4-0:2.3.0-1.fc42.noarc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [83/83] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/84] libgcc-0:14.2.1-6.fc42.aarch64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [84/84] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/85] libgomp-0:14.2.1-6.fc42.aarch64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [85/85] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/86] lua-libs-0:5.4.7-1.fc42.aarch64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [86/86] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/87] rpm-sequoia-0:1.7.0-3.fc42.aarc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [87/87] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/88] sqlite-libs-0:3.47.2-1.fc42.aar 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [88/88] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/89] libstdc++-0:14.2.1-6.fc42.aarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [89/89] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/90] libnsl2-0:2.0.1-2.fc41.aarch64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [90/90] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/91] libpwquality-0:1.4.5-11.fc41.aa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [91/91] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/92] fedora-gpg-keys-0:42-0.3.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [92/92] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/93] fedora-repos-rawhide-0:42-0.3.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [93/93] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/94] add-determinism-0:0.4.3-1.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [94/94] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/95] ca-certificates-0:2024.2.69_v8. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [95/95] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/96] crypto-policies-0:20241128-1.gi 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [96/96] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/97] pcre2-syntax-0:10.44-1.fc41.1.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [97/97] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/98] libpkgconf-0:2.3.0-1.fc42.aarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [98/98] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/99] p11-kit-0:0.25.5-4.fc42.aarch64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [99/99] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/100] p11-kit-trust-0:0.25.5-4.fc42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [100/100] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/101] libtasn1-0:4.19.0-9.fc41.aarc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [101/101] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/102] dwz-0:0.15-8.fc42.aarch64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [102/102] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/103] glibc-0:2.40.9000-21.fc42.aar 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [103/103] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/104] basesystem-0:11-21.fc41.noarc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [104/104] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/105] ncurses-libs-0:6.5-2.20240629 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [105/105] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/106] ncurses-base-0:6.5-2.20240629 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [106/106] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/107] glibc-common-0:2.40.9000-21.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [107/107] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/108] gmp-1:6.3.0-2.fc42.aarch64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [108/108] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/109] elfutils-libelf-0:0.192-7.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [109/109] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/110] coreutils-common-0:9.5-11.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [110/110] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/111] libacl-0:2.3.2-2.fc42.aarch64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [111/111] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/112] bzip2-libs-0:1.0.8-19.fc42.aa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [112/112] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/113] libxcrypt-0:4.4.36-11.fc42.aa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [113/113] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/114] audit-libs-0:4.0.2-1.fc42.aar 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [114/114] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/115] authselect-libs-0:1.5.0-8.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [115/115] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/116] elfutils-libs-0:0.192-7.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [116/116] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/117] binutils-0:2.43.50-9.fc42.aar 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [117/117] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/118] debugedit-0:5.1-2.fc42.aarch6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [118/118] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/119] elfutils-0:0.192-7.fc42.aarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [119/119] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/120] curl-0:8.11.1-1.fc42.aarch64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [120/120] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/121] ed-0:1.20.2-2.fc42.aarch64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [121/121] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/122] authselect-0:1.5.0-8.fc42.aar 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [122/122] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/123] gdbm-1:1.23-7.fc42.aarch64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [123/123] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/124] gdbm-libs-1:1.23-7.fc42.aarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [124/124] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/125] libtirpc-0:1.3.6-1.fc42.aarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [125/125] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/126] krb5-libs-0:1.21.3-3.fc42.aar 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [126/126] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/127] libverto-0:0.3.2-9.fc41.aarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [127/127] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/128] alternatives-0:1.30-1.fc42.aa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [128/128] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/129] libffi-0:3.4.6-3.fc42.aarch64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [129/129] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/130] cracklib-0:2.9.11-6.fc42.aarc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [130/130] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/131] keyutils-libs-0:1.6.3-4.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [131/131] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/132] libcom_err-0:1.47.1-6.fc42.aa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [132/132] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/133] glibc-gconv-extra-0:2.40.9000 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [133/133] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/134] elfutils-default-yama-scope-0 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [134/134] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/135] elfutils-debuginfod-client-0: 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [135/135] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/136] jansson-0:2.14-1.fc42.aarch64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [136/136] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/137] json-c-0:0.18-1.fc42.aarch64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [137/137] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/138] fedora-release-0:42-0.11.noar 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [138/138] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/139] gdb-minimal-0:15.2-4.fc42.aar 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [139/139] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/140] xxhash-libs-0:0.8.2-4.fc42.aa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [140/140] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/141] fedora-release-identity-basic 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [141/141] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/142] libcurl-0:8.11.1-1.fc42.aarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [142/142] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/143] libidn2-0:2.3.7-2.fc41.aarch6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [143/143] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/144] libpsl-0:0.21.5-4.fc41.aarch6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [144/144] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/145] libssh-0:0.11.1-1.fc42.aarch6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [145/145] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/146] openldap-0:2.6.8-6.fc42.aarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [146/146] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/147] libunistring-0:1.1-8.fc41.aar 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [147/147] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/148] publicsuffix-list-dafsa-0:202 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [148/148] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/149] libssh-config-0:0.11.1-1.fc42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [149/149] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/150] cyrus-sasl-lib-0:2.1.28-27.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [150/150] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/151] libevent-0:2.1.12-14.fc41.aar 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [151/151] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/152] libtool-ltdl-0:2.5.4-1.fc42.a 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [152/152] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/153] libbrotli-0:1.1.0-5.fc42.aarc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [153/153] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/154] libnghttp2-0:1.64.0-1.fc42.aa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [154/154] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction Importing OpenPGP key 0x105EF944: UserID : "Fedora (42) " Fingerprint: B0F4950458F69E1150C6C5EDC8AC4916105EF944 From : file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-42-primary The key was successfully imported. Importing OpenPGP key 0x105EF944: UserID : "Fedora (42) " Fingerprint: B0F4950458F69E1150C6C5EDC8AC4916105EF944 From : file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-42-primary The key was successfully imported. Importing OpenPGP key 0xE99D6AD1: UserID : "Fedora (41) " Fingerprint: 466CF2D8B60BC3057AA9453ED0622462E99D6AD1 From : file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-41-primary The key was successfully imported. Importing OpenPGP key 0x31645531: UserID : "Fedora (43) " Fingerprint: C6E7F081CF80E13146676E88829B606631645531 From : file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-43-primary The key was successfully imported. [ 1/156] Verify package files 100% | 678.0 B/s | 154.0 B | 00m00s >>> Running pre-transaction scriptlet: filesystem-0:3.18-29.fc42.aarch64 >>> Finished pre-transaction scriptlet: filesystem-0:3.18-29.fc42.aarch64 >>> [RPM] /var/lib/mock/fedora-rawhide-aarch64-1734140909.303404/root/var/cache/ [ 2/156] Prepare transaction 100% | 2.4 KiB/s | 154.0 B | 00m00s [ 3/156] Installing libgcc-0:14.2.1-6. 100% | 109.3 MiB/s | 223.9 KiB | 00m00s [ 4/156] Installing libssh-config-0:0. 100% | 0.0 B/s | 816.0 B | 00m00s [ 5/156] Installing publicsuffix-list- 100% | 66.7 MiB/s | 68.3 KiB | 00m00s [ 6/156] Installing fedora-release-ide 100% | 953.1 KiB/s | 976.0 B | 00m00s [ 7/156] Installing fedora-gpg-keys-0: 100% | 28.0 MiB/s | 172.2 KiB | 00m00s [ 8/156] Installing fedora-repos-rawhi 100% | 0.0 B/s | 2.4 KiB | 00m00s [ 9/156] Installing fedora-repos-0:42- 100% | 0.0 B/s | 5.7 KiB | 00m00s [ 10/156] Installing fedora-release-com 100% | 23.6 MiB/s | 24.1 KiB | 00m00s [ 11/156] Installing fedora-release-0:4 100% | 0.0 B/s | 124.0 B | 00m00s [ 12/156] Installing setup-0:2.15.0-5.f 100% | 41.7 MiB/s | 726.1 KiB | 00m00s >>> [RPM] /etc/hosts created as /etc/hosts.rpmnew [ 13/156] Installing filesystem-0:3.18- 100% | 2.5 MiB/s | 212.6 KiB | 00m00s [ 14/156] Installing basesystem-0:11-21 100% | 121.1 KiB/s | 124.0 B | 00m00s [ 15/156] Installing coreutils-common-0 100% | 286.9 MiB/s | 11.2 MiB | 00m00s [ 16/156] Installing ncurses-base-0:6.5 100% | 49.1 MiB/s | 351.7 KiB | 00m00s [ 17/156] Installing bash-0:5.2.37-1.fc 100% | 326.7 MiB/s | 8.2 MiB | 00m00s [ 18/156] Installing ncurses-libs-0:6.5 100% | 203.3 MiB/s | 1.2 MiB | 00m00s [ 19/156] Installing glibc-minimal-lang 100% | 121.1 KiB/s | 124.0 B | 00m00s [ 20/156] Installing glibc-common-0:2.4 100% | 163.8 MiB/s | 1.3 MiB | 00m00s [ 21/156] Installing glibc-gconv-extra- 100% | 361.5 MiB/s | 18.4 MiB | 00m00s [ 22/156] Installing glibc-0:2.40.9000- 100% | 219.2 MiB/s | 6.1 MiB | 00m00s [ 23/156] Installing zlib-ng-compat-0:2 100% | 131.5 MiB/s | 134.6 KiB | 00m00s [ 24/156] Installing xz-libs-1:5.6.3-2. 100% | 261.2 MiB/s | 267.5 KiB | 00m00s [ 25/156] Installing bzip2-libs-0:1.0.8 100% | 70.5 MiB/s | 72.2 KiB | 00m00s [ 26/156] Installing popt-0:1.19-7.fc41 100% | 68.2 MiB/s | 279.5 KiB | 00m00s [ 27/156] Installing readline-0:8.2-11. 100% | 245.9 MiB/s | 755.5 KiB | 00m00s [ 28/156] Installing libuuid-0:2.40.2-8 100% | 194.0 MiB/s | 198.6 KiB | 00m00s [ 29/156] Installing libblkid-0:2.40.2- 100% | 204.9 MiB/s | 419.7 KiB | 00m00s [ 30/156] Installing libattr-0:2.5.2-4. 100% | 192.9 MiB/s | 197.5 KiB | 00m00s [ 31/156] Installing libacl-0:2.3.2-2.f 100% | 65.5 MiB/s | 67.1 KiB | 00m00s [ 32/156] Installing libzstd-0:1.5.6-2. 100% | 259.5 MiB/s | 797.3 KiB | 00m00s [ 33/156] Installing elfutils-libelf-0: 100% | 296.6 MiB/s | 1.2 MiB | 00m00s [ 34/156] Installing libstdc++-0:14.2.1 100% | 307.0 MiB/s | 2.8 MiB | 00m00s [ 35/156] Installing gmp-1:6.3.0-2.fc42 100% | 212.7 MiB/s | 653.3 KiB | 00m00s [ 36/156] Installing libxcrypt-0:4.4.36 100% | 132.8 MiB/s | 272.0 KiB | 00m00s [ 37/156] Installing libeconf-0:0.7.5-1 100% | 78.5 MiB/s | 80.3 KiB | 00m00s [ 38/156] Installing gdbm-libs-1:1.23-7 100% | 227.0 MiB/s | 232.4 KiB | 00m00s [ 39/156] Installing mpfr-0:4.2.1-5.fc4 100% | 267.1 MiB/s | 820.5 KiB | 00m00s [ 40/156] Installing gawk-0:5.3.0-4.fc4 100% | 269.5 MiB/s | 2.4 MiB | 00m00s [ 41/156] Installing dwz-0:0.15-8.fc42. 100% | 156.7 MiB/s | 321.0 KiB | 00m00s [ 42/156] Installing unzip-0:6.0-65.fc4 100% | 456.6 MiB/s | 2.3 MiB | 00m00s [ 43/156] Installing file-libs-0:5.45-8 100% | 553.5 MiB/s | 10.0 MiB | 00m00s [ 44/156] Installing file-0:5.45-8.fc42 100% | 137.7 MiB/s | 141.0 KiB | 00m00s [ 45/156] Installing libcap-ng-0:0.8.5- 100% | 409.3 MiB/s | 419.1 KiB | 00m00s [ 46/156] Installing audit-libs-0:4.0.2 100% | 203.8 MiB/s | 417.3 KiB | 00m00s [ 47/156] Installing pam-libs-0:1.7.0-3 100% | 110.2 MiB/s | 225.6 KiB | 00m00s [ 48/156] Installing libcap-0:2.71-1.fc 100% | 167.6 MiB/s | 514.8 KiB | 00m00s [ 49/156] Installing systemd-libs-0:257 100% | 302.8 MiB/s | 2.4 MiB | 00m00s [ 50/156] Installing libsmartcols-0:2.4 100% | 282.9 MiB/s | 289.7 KiB | 00m00s [ 51/156] Installing libsepol-0:3.8-0.r 100% | 264.0 MiB/s | 810.9 KiB | 00m00s [ 52/156] Installing lz4-libs-0:1.10.0- 100% | 256.5 MiB/s | 262.7 KiB | 00m00s [ 53/156] Installing lua-libs-0:5.4.7-1 100% | 192.5 MiB/s | 394.3 KiB | 00m00s [ 54/156] Installing libtasn1-0:4.19.0- 100% | 278.9 MiB/s | 285.6 KiB | 00m00s [ 55/156] Installing alternatives-0:1.3 100% | 88.2 MiB/s | 90.3 KiB | 00m00s [ 56/156] Installing libffi-0:3.4.6-3.f 100% | 150.3 MiB/s | 153.9 KiB | 00m00s [ 57/156] Installing p11-kit-0:0.25.5-4 100% | 220.5 MiB/s | 2.6 MiB | 00m00s [ 58/156] Installing libcom_err-0:1.47. 100% | 108.4 MiB/s | 111.0 KiB | 00m00s [ 59/156] Installing libunistring-0:1.1 100% | 301.5 MiB/s | 1.8 MiB | 00m00s [ 60/156] Installing libidn2-0:2.3.7-2. 100% | 41.1 MiB/s | 463.1 KiB | 00m00s [ 61/156] Installing crypto-policies-0: 100% | 20.0 MiB/s | 163.7 KiB | 00m00s [ 62/156] Installing libpsl-0:0.21.5-4. 100% | 193.1 MiB/s | 197.7 KiB | 00m00s [ 63/156] Installing p11-kit-trust-0:0. 100% | 64.2 MiB/s | 657.4 KiB | 00m00s [ 64/156] Installing zstd-0:1.5.6-2.fc4 100% | 281.8 MiB/s | 1.7 MiB | 00m00s [ 65/156] Installing zip-0:3.0-42.fc42. 100% | 185.4 MiB/s | 759.6 KiB | 00m00s [ 66/156] Installing gdbm-1:1.23-7.fc42 100% | 176.7 MiB/s | 542.8 KiB | 00m00s [ 67/156] Installing cyrus-sasl-lib-0:2 100% | 310.7 MiB/s | 3.1 MiB | 00m00s [ 68/156] Installing libfdisk-0:2.40.2- 100% | 236.3 MiB/s | 483.9 KiB | 00m00s [ 69/156] Installing bzip2-0:1.0.8-19.f 100% | 84.6 MiB/s | 173.2 KiB | 00m00s [ 70/156] Installing libxml2-0:2.12.8-2 100% | 306.0 MiB/s | 2.1 MiB | 00m00s [ 71/156] Installing sqlite-libs-0:3.47 100% | 235.8 MiB/s | 1.4 MiB | 00m00s [ 72/156] Installing add-determinism-0: 100% | 299.6 MiB/s | 2.1 MiB | 00m00s [ 73/156] Installing build-reproducibil 100% | 0.0 B/s | 1.0 KiB | 00m00s [ 74/156] Installing cpio-0:2.15-2.fc42 100% | 182.1 MiB/s | 1.1 MiB | 00m00s [ 75/156] Installing diffutils-0:3.10-8 100% | 208.0 MiB/s | 1.7 MiB | 00m00s [ 76/156] Installing libgomp-0:14.2.1-6 100% | 246.4 MiB/s | 504.6 KiB | 00m00s [ 77/156] Installing libpkgconf-0:2.3.0 100% | 194.6 MiB/s | 199.2 KiB | 00m00s [ 78/156] Installing pkgconf-0:2.3.0-1. 100% | 237.4 MiB/s | 243.1 KiB | 00m00s [ 79/156] Installing ed-0:1.20.2-2.fc42 100% | 75.8 MiB/s | 155.2 KiB | 00m00s [ 80/156] Installing libverto-0:0.3.2-9 100% | 194.7 MiB/s | 199.3 KiB | 00m00s [ 81/156] Installing keyutils-libs-0:1. 100% | 95.9 MiB/s | 98.2 KiB | 00m00s [ 82/156] Installing jansson-0:2.14-1.f 100% | 90.0 MiB/s | 92.2 KiB | 00m00s [ 83/156] Installing json-c-0:0.18-1.fc 100% | 133.7 MiB/s | 137.0 KiB | 00m00s [ 84/156] Installing xxhash-libs-0:0.8. 100% | 208.7 MiB/s | 213.7 KiB | 00m00s [ 85/156] Installing libtool-ltdl-0:2.5 100% | 91.0 MiB/s | 93.2 KiB | 00m00s [ 86/156] Installing libbrotli-0:1.1.0- 100% | 221.3 MiB/s | 906.6 KiB | 00m00s [ 87/156] Installing libnghttp2-0:1.64. 100% | 192.0 MiB/s | 196.6 KiB | 00m00s [ 88/156] Installing elfutils-default-y 100% | 291.9 KiB/s | 2.0 KiB | 00m00s [ 89/156] Installing elfutils-libs-0:0. 100% | 179.8 MiB/s | 736.6 KiB | 00m00s [ 90/156] Installing pcre2-syntax-0:10. 100% | 124.1 MiB/s | 254.1 KiB | 00m00s [ 91/156] Installing pcre2-0:10.44-1.fc 100% | 295.2 MiB/s | 906.9 KiB | 00m00s [ 92/156] Installing libselinux-0:3.8-0 100% | 96.1 MiB/s | 196.8 KiB | 00m00s [ 93/156] Installing sed-0:4.9-3.fc41.a 100% | 164.3 MiB/s | 1.0 MiB | 00m00s [ 94/156] Installing findutils-1:4.10.0 100% | 212.6 MiB/s | 1.9 MiB | 00m00s [ 95/156] Installing grep-0:3.11-9.fc42 100% | 128.9 MiB/s | 1.0 MiB | 00m00s [ 96/156] Installing xz-1:5.6.3-2.fc42. 100% | 167.8 MiB/s | 1.5 MiB | 00m00s [ 97/156] Installing libmount-0:2.40.2- 100% | 157.9 MiB/s | 485.1 KiB | 00m00s [ 98/156] Installing util-linux-core-0: 100% | 344.6 MiB/s | 6.2 MiB | 00m00s [ 99/156] Installing openssl-libs-1:3.2 100% | 300.5 MiB/s | 7.2 MiB | 00m00s [100/156] Installing coreutils-0:9.5-11 100% | 244.0 MiB/s | 7.8 MiB | 00m00s [101/156] Installing ca-certificates-0: 100% | 1.4 MiB/s | 2.4 MiB | 00m02s [102/156] Installing krb5-libs-0:1.21.3 100% | 216.6 MiB/s | 2.6 MiB | 00m00s [103/156] Installing libarchive-0:3.7.7 100% | 223.2 MiB/s | 914.1 KiB | 00m00s [104/156] Installing libtirpc-0:1.3.6-1 100% | 101.2 MiB/s | 207.3 KiB | 00m00s [105/156] Installing gzip-0:1.13-2.fc42 100% | 139.4 MiB/s | 428.3 KiB | 00m00s [106/156] Installing authselect-libs-0: 100% | 122.8 MiB/s | 880.5 KiB | 00m00s [107/156] Installing cracklib-0:2.9.11- 100% | 69.8 MiB/s | 429.0 KiB | 00m00s [108/156] Installing libpwquality-0:1.4 100% | 158.2 MiB/s | 1.1 MiB | 00m00s [109/156] Installing libnsl2-0:2.0.1-2. 100% | 109.0 MiB/s | 223.2 KiB | 00m00s [110/156] Installing pam-0:1.7.0-3.fc42 100% | 195.6 MiB/s | 4.3 MiB | 00m00s [111/156] Installing libssh-0:0.11.1-1. 100% | 212.1 MiB/s | 651.7 KiB | 00m00s [112/156] Installing rpm-sequoia-0:1.7. 100% | 317.5 MiB/s | 2.2 MiB | 00m00s [113/156] Installing rpm-libs-0:4.20.0- 100% | 260.2 MiB/s | 799.4 KiB | 00m00s [114/156] Installing rpm-build-libs-0:4 100% | 257.4 MiB/s | 263.6 KiB | 00m00s [115/156] Installing libevent-0:2.1.12- 100% | 304.7 MiB/s | 1.5 MiB | 00m00s [116/156] Installing tar-2:1.35-4.fc41. 100% | 278.8 MiB/s | 3.1 MiB | 00m00s [117/156] Installing patch-0:2.7.6-25.f 100% | 191.5 MiB/s | 392.1 KiB | 00m00s [118/156] Installing libsemanage-0:3.8- 100% | 115.6 MiB/s | 355.0 KiB | 00m00s [119/156] Installing shadow-utils-2:4.1 100% | 163.0 MiB/s | 4.6 MiB | 00m00s [120/156] Installing openldap-0:2.6.8-6 100% | 183.3 MiB/s | 750.8 KiB | 00m00s [121/156] Installing libcurl-0:8.11.1-1 100% | 275.5 MiB/s | 846.3 KiB | 00m00s [122/156] Installing elfutils-debuginfo 100% | 70.1 MiB/s | 143.5 KiB | 00m00s [123/156] Installing binutils-0:2.43.50 100% | 321.7 MiB/s | 29.0 MiB | 00m00s [124/156] Installing elfutils-0:0.192-7 100% | 281.5 MiB/s | 3.1 MiB | 00m00s [125/156] Installing gdb-minimal-0:15.2 100% | 324.8 MiB/s | 12.7 MiB | 00m00s [126/156] Installing debugedit-0:5.1-2. 100% | 119.2 MiB/s | 244.2 KiB | 00m00s [127/156] Installing curl-0:8.11.1-1.fc 100% | 37.0 MiB/s | 454.4 KiB | 00m00s [128/156] Installing rpm-0:4.20.0-1.fc4 100% | 146.0 MiB/s | 3.4 MiB | 00m00s [129/156] Installing efi-srpm-macros-0: 100% | 40.2 MiB/s | 41.2 KiB | 00m00s [130/156] Installing lua-srpm-macros-0: 100% | 0.0 B/s | 1.9 KiB | 00m00s [131/156] Installing zig-srpm-macros-0: 100% | 0.0 B/s | 1.7 KiB | 00m00s [132/156] Installing pkgconf-m4-0:2.3.0 100% | 0.0 B/s | 14.8 KiB | 00m00s [133/156] Installing pkgconf-pkg-config 100% | 0.0 B/s | 1.8 KiB | 00m00s [134/156] Installing rust-srpm-macros-0 100% | 0.0 B/s | 5.6 KiB | 00m00s [135/156] Installing qt6-srpm-macros-0: 100% | 0.0 B/s | 732.0 B | 00m00s [136/156] Installing qt5-srpm-macros-0: 100% | 0.0 B/s | 776.0 B | 00m00s [137/156] Installing perl-srpm-macros-0 100% | 0.0 B/s | 1.1 KiB | 00m00s [138/156] Installing package-notes-srpm 100% | 0.0 B/s | 2.0 KiB | 00m00s [139/156] Installing openblas-srpm-macr 100% | 0.0 B/s | 392.0 B | 00m00s [140/156] Installing ocaml-srpm-macros- 100% | 0.0 B/s | 2.2 KiB | 00m00s [141/156] Installing kernel-srpm-macros 100% | 0.0 B/s | 2.3 KiB | 00m00s [142/156] Installing gnat-srpm-macros-0 100% | 0.0 B/s | 1.3 KiB | 00m00s [143/156] Installing ghc-srpm-macros-0: 100% | 0.0 B/s | 1.0 KiB | 00m00s [144/156] Installing fpc-srpm-macros-0: 100% | 0.0 B/s | 420.0 B | 00m00s [145/156] Installing ansible-srpm-macro 100% | 0.0 B/s | 36.2 KiB | 00m00s [146/156] Installing fonts-srpm-macros- 100% | 55.7 MiB/s | 57.0 KiB | 00m00s [147/156] Installing forge-srpm-macros- 100% | 39.3 MiB/s | 40.3 KiB | 00m00s [148/156] Installing go-srpm-macros-0:3 100% | 60.5 MiB/s | 62.0 KiB | 00m00s [149/156] Installing python-srpm-macros 100% | 50.9 MiB/s | 52.2 KiB | 00m00s [150/156] Installing redhat-rpm-config- 100% | 62.9 MiB/s | 193.2 KiB | 00m00s [151/156] Installing rpm-build-0:4.20.0 100% | 279.4 MiB/s | 1.4 MiB | 00m00s [152/156] Installing pyproject-srpm-mac 100% | 1.2 MiB/s | 2.5 KiB | 00m00s [153/156] Installing util-linux-0:2.40. 100% | 339.1 MiB/s | 17.0 MiB | 00m00s [154/156] Installing authselect-0:1.5.0 100% | 60.0 MiB/s | 184.3 KiB | 00m00s [155/156] Installing which-0:2.21-42.fc 100% | 122.2 MiB/s | 250.4 KiB | 00m00s [156/156] Installing info-0:7.1.1-2.fc4 100% | 183.3 KiB/s | 415.0 KiB | 00m02s Warning: skipped OpenPGP checks for 46 packages from repository: copr_base Complete! Finish: installing minimal buildroot with dnf5 Start: creating root cache Finish: creating root cache Finish: chroot init INFO: Installed packages: INFO: add-determinism-0.4.3-1.fc42.aarch64 alternatives-1.30-1.fc42.aarch64 ansible-srpm-macros-1-16.fc41.noarch audit-libs-4.0.2-1.fc42.aarch64 authselect-1.5.0-8.fc42.aarch64 authselect-libs-1.5.0-8.fc42.aarch64 basesystem-11-21.fc41.noarch bash-5.2.37-1.fc42.aarch64 binutils-2.43.50-9.fc42.aarch64 build-reproducibility-srpm-macros-0.4.3-1.fc42.noarch bzip2-1.0.8-19.fc42.aarch64 bzip2-libs-1.0.8-19.fc42.aarch64 ca-certificates-2024.2.69_v8.0.401-3.fc42.noarch coreutils-9.5-11.fc42.aarch64 coreutils-common-9.5-11.fc42.aarch64 cpio-2.15-2.fc42.aarch64 cracklib-2.9.11-6.fc42.aarch64 crypto-policies-20241128-1.gitbb7b0b0.fc42.noarch curl-8.11.1-1.fc42.aarch64 cyrus-sasl-lib-2.1.28-27.fc41.aarch64 debugedit-5.1-2.fc42.aarch64 diffutils-3.10-8.fc42.aarch64 dwz-0.15-8.fc42.aarch64 ed-1.20.2-2.fc42.aarch64 efi-srpm-macros-5-13.fc42.noarch elfutils-0.192-7.fc42.aarch64 elfutils-debuginfod-client-0.192-7.fc42.aarch64 elfutils-default-yama-scope-0.192-7.fc42.noarch elfutils-libelf-0.192-7.fc42.aarch64 elfutils-libs-0.192-7.fc42.aarch64 fedora-gpg-keys-42-0.3.noarch fedora-release-42-0.11.noarch fedora-release-common-42-0.11.noarch fedora-release-identity-basic-42-0.11.noarch fedora-repos-42-0.3.noarch fedora-repos-rawhide-42-0.3.noarch file-5.45-8.fc42.aarch64 file-libs-5.45-8.fc42.aarch64 filesystem-3.18-29.fc42.aarch64 findutils-4.10.0-4.fc42.aarch64 fonts-srpm-macros-2.0.5-17.fc41.noarch forge-srpm-macros-0.4.0-1.fc42.noarch fpc-srpm-macros-1.3-13.fc41.noarch gawk-5.3.0-4.fc42.aarch64 gdb-minimal-15.2-4.fc42.aarch64 gdbm-1.23-7.fc42.aarch64 gdbm-libs-1.23-7.fc42.aarch64 ghc-srpm-macros-1.9.2-1.fc42.noarch glibc-2.40.9000-21.fc42.aarch64 glibc-common-2.40.9000-21.fc42.aarch64 glibc-gconv-extra-2.40.9000-21.fc42.aarch64 glibc-minimal-langpack-2.40.9000-21.fc42.aarch64 gmp-6.3.0-2.fc42.aarch64 gnat-srpm-macros-6-6.fc41.noarch go-srpm-macros-3.6.0-5.fc42.noarch gpg-pubkey-105ef944-65ca83d1 gpg-pubkey-31645531-66b6dccf gpg-pubkey-e99d6ad1-64d2612c grep-3.11-9.fc42.aarch64 gzip-1.13-2.fc42.aarch64 info-7.1.1-2.fc42.aarch64 jansson-2.14-1.fc42.aarch64 json-c-0.18-1.fc42.aarch64 kernel-srpm-macros-1.0-24.fc41.noarch keyutils-libs-1.6.3-4.fc42.aarch64 krb5-libs-1.21.3-3.fc42.aarch64 libacl-2.3.2-2.fc42.aarch64 libarchive-3.7.7-1.fc42.aarch64 libattr-2.5.2-4.fc41.aarch64 libblkid-2.40.2-8.fc42.aarch64 libbrotli-1.1.0-5.fc42.aarch64 libcap-2.71-1.fc42.aarch64 libcap-ng-0.8.5-3.fc41.aarch64 libcom_err-1.47.1-6.fc42.aarch64 libcurl-8.11.1-1.fc42.aarch64 libeconf-0.7.5-1.fc42.aarch64 libevent-2.1.12-14.fc41.aarch64 libfdisk-2.40.2-8.fc42.aarch64 libffi-3.4.6-3.fc42.aarch64 libgcc-14.2.1-6.fc42.aarch64 libgomp-14.2.1-6.fc42.aarch64 libidn2-2.3.7-2.fc41.aarch64 libmount-2.40.2-8.fc42.aarch64 libnghttp2-1.64.0-1.fc42.aarch64 libnsl2-2.0.1-2.fc41.aarch64 libpkgconf-2.3.0-1.fc42.aarch64 libpsl-0.21.5-4.fc41.aarch64 libpwquality-1.4.5-11.fc41.aarch64 libselinux-3.8-0.rc1.2.fc42.aarch64 libsemanage-3.8-0.rc1.1.fc42.aarch64 libsepol-3.8-0.rc1.1.fc42.aarch64 libsmartcols-2.40.2-8.fc42.aarch64 libssh-0.11.1-1.fc42.aarch64 libssh-config-0.11.1-1.fc42.noarch libstdc++-14.2.1-6.fc42.aarch64 libtasn1-4.19.0-9.fc41.aarch64 libtirpc-1.3.6-1.fc42.aarch64 libtool-ltdl-2.5.4-1.fc42.aarch64 libunistring-1.1-8.fc41.aarch64 libuuid-2.40.2-8.fc42.aarch64 libverto-0.3.2-9.fc41.aarch64 libxcrypt-4.4.36-11.fc42.aarch64 libxml2-2.12.8-2.fc41.aarch64 libzstd-1.5.6-2.fc41.aarch64 lua-libs-5.4.7-1.fc42.aarch64 lua-srpm-macros-1-14.fc41.noarch lz4-libs-1.10.0-1.fc41.aarch64 mpfr-4.2.1-5.fc41.aarch64 ncurses-base-6.5-2.20240629.fc42.noarch ncurses-libs-6.5-2.20240629.fc42.aarch64 ocaml-srpm-macros-10-3.fc41.noarch openblas-srpm-macros-2-18.fc41.noarch openldap-2.6.8-6.fc42.aarch64 openssl-libs-3.2.2-8.fc42.aarch64 p11-kit-0.25.5-4.fc42.aarch64 p11-kit-trust-0.25.5-4.fc42.aarch64 package-notes-srpm-macros-0.5-12.fc41.noarch pam-1.7.0-3.fc42.aarch64 pam-libs-1.7.0-3.fc42.aarch64 patch-2.7.6-25.fc41.aarch64 pcre2-10.44-1.fc41.1.aarch64 pcre2-syntax-10.44-1.fc41.1.noarch perl-srpm-macros-1-56.fc41.noarch pkgconf-2.3.0-1.fc42.aarch64 pkgconf-m4-2.3.0-1.fc42.noarch pkgconf-pkg-config-2.3.0-1.fc42.aarch64 popt-1.19-7.fc41.aarch64 publicsuffix-list-dafsa-20240107-4.fc41.noarch pyproject-srpm-macros-1.16.3-1.fc42.noarch python-srpm-macros-3.13-3.fc41.noarch qt5-srpm-macros-5.15.15-1.fc42.noarch qt6-srpm-macros-6.8.1-4.fc42.noarch readline-8.2-11.fc42.aarch64 redhat-rpm-config-296-1.fc42.noarch rpm-4.20.0-1.fc42.aarch64 rpm-build-4.20.0-1.fc42.aarch64 rpm-build-libs-4.20.0-1.fc42.aarch64 rpm-libs-4.20.0-1.fc42.aarch64 rpm-sequoia-1.7.0-3.fc42.aarch64 rust-srpm-macros-26.3-3.fc42.noarch sed-4.9-3.fc41.aarch64 setup-2.15.0-5.fc41.noarch shadow-utils-4.17.0~rc1-1.fc42.aarch64 sqlite-libs-3.47.2-1.fc42.aarch64 systemd-libs-257-1.fc42.aarch64 tar-1.35-4.fc41.aarch64 unzip-6.0-65.fc42.aarch64 util-linux-2.40.2-8.fc42.aarch64 util-linux-core-2.40.2-8.fc42.aarch64 which-2.21-42.fc41.aarch64 xxhash-libs-0.8.2-4.fc42.aarch64 xz-5.6.3-2.fc42.aarch64 xz-libs-5.6.3-2.fc42.aarch64 zig-srpm-macros-1-3.fc41.noarch zip-3.0-42.fc42.aarch64 zlib-ng-compat-2.2.2-1.fc42.aarch64 zstd-1.5.6-2.fc41.aarch64 Start: buildsrpm Start: rpmbuild -bs Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1721433600 Wrote: /builddir/build/SRPMS/ularn-1.5p4-47.fc42.src.rpm Finish: rpmbuild -bs INFO: chroot_scan: 1 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/fedora-rawhide-aarch64-1734140909.303404/root/var/log/dnf5.log INFO: chroot_scan: creating tarball /var/lib/copr-rpmbuild/results/chroot_scan.tar.gz /bin/tar: Removing leading `/' from member names Finish: buildsrpm INFO: Done(/var/lib/copr-rpmbuild/workspace/workdir-ari2tz72/ularn/ularn.spec) Config(child) 0 minutes 13 seconds INFO: Results and/or logs in: /var/lib/copr-rpmbuild/results INFO: Cleaning up build root ('cleanup_on_success=True') Start: clean chroot INFO: unmounting tmpfs. Finish: clean chroot INFO: Start(/var/lib/copr-rpmbuild/results/ularn-1.5p4-47.fc42.src.rpm) Config(fedora-rawhide-aarch64) Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-aarch64-bootstrap-1734140909.303404/root. INFO: reusing tmpfs at /var/lib/mock/fedora-rawhide-aarch64-bootstrap-1734140909.303404/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata Finish(bootstrap): chroot init Start: chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-aarch64-1734140909.303404/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 INFO: Buildroot is handled by package management downloaded with a bootstrap image: rpm-4.20.0-1.fc42.aarch64 rpm-sequoia-1.7.0-3.fc42.aarch64 dnf5-5.2.8.1-2.fc42.aarch64 dnf5-plugins-5.2.8.1-2.fc42.aarch64 Finish: chroot init Start: build phase for ularn-1.5p4-47.fc42.src.rpm Start: build setup for ularn-1.5p4-47.fc42.src.rpm Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1721433600 Wrote: /builddir/build/SRPMS/ularn-1.5p4-47.fc42.src.rpm Updating and loading repositories: Copr repository 100% | 80.9 KiB/s | 1.5 KiB | 00m00s fedora 100% | 110.9 KiB/s | 11.2 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: desktop-file-utils aarch64 0.27-2.fc42 copr_base 313.2 KiB gcc aarch64 14.2.1-6.fc42 fedora 96.6 MiB make aarch64 1:4.4.1-9.fc42 fedora 1.8 MiB ncurses-devel aarch64 6.5-2.20240629.fc42 copr_base 870.1 KiB Installing dependencies: annobin-docs noarch 12.79-1.fc42 fedora 98.6 KiB annobin-plugin-gcc aarch64 12.79-1.fc42 fedora 997.2 KiB cpp aarch64 14.2.1-6.fc42 fedora 33.7 MiB emacs-filesystem noarch 1:30.0-3.fc41 fedora 0.0 B gcc-plugin-annobin aarch64 14.2.1-6.fc42 fedora 73.5 KiB glib2 aarch64 2.83.0-3.fc42 fedora 15.3 MiB glibc-devel aarch64 2.40.9000-21.fc42 copr_base 2.2 MiB gnutls aarch64 3.8.8-1.fc42 copr_base 3.3 MiB kernel-headers aarch64 6.13.0-0.rc1.e70140ba0d2b.14.fc42 fedora 6.4 MiB libasan aarch64 14.2.1-6.fc42 fedora 1.5 MiB libatomic aarch64 14.2.1-6.fc42 fedora 69.0 KiB libmpc aarch64 1.3.1-6.fc41 fedora 280.8 KiB libubsan aarch64 14.2.1-6.fc42 fedora 475.2 KiB libxcrypt-devel aarch64 4.4.36-11.fc42 copr_base 30.5 KiB ncurses-c++-libs aarch64 6.5-2.20240629.fc42 copr_base 260.8 KiB nettle aarch64 3.10-3.fc41 fedora 956.7 KiB Transaction Summary: Installing: 20 packages Total size of inbound packages is 54 MiB. Need to download 0 B. After this operation, 165 MiB extra will be used (install 165 MiB, remove 0 B). [1/1] gcc-0:14.2.1-6.fc42.aarch64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [1/1] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/2] make-1:4.4.1-9.fc42.aarch64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [2/2] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/3] desktop-file-utils-0:0.27-2.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [3/3] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/4] ncurses-devel-0:6.5-2.20240629.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [4/4] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/5] cpp-0:14.2.1-6.fc42.aarch64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [5/5] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/6] libasan-0:14.2.1-6.fc42.aarch64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [6/6] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/7] libatomic-0:14.2.1-6.fc42.aarch64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [7/7] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/8] libmpc-0:1.3.1-6.fc41.aarch64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [8/8] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/9] libubsan-0:14.2.1-6.fc42.aarch64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [9/9] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/10] emacs-filesystem-1:30.0-3.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [10/10] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/11] ncurses-c++-libs-0:6.5-2.202406 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [11/11] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/12] glibc-devel-0:2.40.9000-21.fc42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [12/12] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/13] kernel-headers-0:6.13.0-0.rc1.e 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [13/13] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/14] libxcrypt-devel-0:4.4.36-11.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [14/14] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/15] glib2-0:2.83.0-3.fc42.aarch64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [15/15] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/16] gnutls-0:3.8.8-1.fc42.aarch64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [16/16] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/17] nettle-0:3.10-3.fc41.aarch64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [17/17] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/18] gcc-plugin-annobin-0:14.2.1-6.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [18/18] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/19] annobin-plugin-gcc-0:12.79-1.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [19/19] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/20] annobin-docs-0:12.79-1.fc42.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [20/20] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [ 1/22] Verify package files 100% | 106.0 B/s | 20.0 B | 00m00s [ 2/22] Prepare transaction 100% | 526.0 B/s | 20.0 B | 00m00s [ 3/22] Installing libmpc-0:1.3.1-6.fc4 100% | 137.8 MiB/s | 282.3 KiB | 00m00s [ 4/22] Installing cpp-0:14.2.1-6.fc42. 100% | 281.2 MiB/s | 33.7 MiB | 00m00s [ 5/22] Installing annobin-docs-0:12.79 100% | 97.4 MiB/s | 99.7 KiB | 00m00s [ 6/22] Installing nettle-0:3.10-3.fc41 100% | 234.3 MiB/s | 959.8 KiB | 00m00s [ 7/22] Installing gnutls-0:3.8.8-1.fc4 100% | 277.6 MiB/s | 3.3 MiB | 00m00s [ 8/22] Installing glib2-0:2.83.0-3.fc4 100% | 294.9 MiB/s | 15.3 MiB | 00m00s [ 9/22] Installing kernel-headers-0:6.1 100% | 142.0 MiB/s | 6.5 MiB | 00m00s [10/22] Installing libxcrypt-devel-0:4. 100% | 16.0 MiB/s | 32.9 KiB | 00m00s [11/22] Installing glibc-devel-0:2.40.9 100% | 120.5 MiB/s | 2.3 MiB | 00m00s [12/22] Installing ncurses-c++-libs-0:6 100% | 255.8 MiB/s | 262.0 KiB | 00m00s [13/22] Installing emacs-filesystem-1:3 100% | 0.0 B/s | 544.0 B | 00m00s [14/22] Installing libubsan-0:14.2.1-6. 100% | 232.5 MiB/s | 476.1 KiB | 00m00s [15/22] Installing libatomic-0:14.2.1-6 100% | 68.2 MiB/s | 69.8 KiB | 00m00s [16/22] Installing libasan-0:14.2.1-6.f 100% | 308.0 MiB/s | 1.5 MiB | 00m00s [17/22] Installing make-1:4.4.1-9.fc42. 100% | 231.4 MiB/s | 1.9 MiB | 00m00s [18/22] Installing gcc-0:14.2.1-6.fc42. 100% | 324.2 MiB/s | 96.6 MiB | 00m00s [19/22] Installing gcc-plugin-annobin-0 100% | 4.6 MiB/s | 75.1 KiB | 00m00s [20/22] Installing annobin-plugin-gcc-0 100% | 51.3 MiB/s | 998.9 KiB | 00m00s [21/22] Installing desktop-file-utils-0 100% | 77.4 MiB/s | 316.9 KiB | 00m00s [22/22] Installing ncurses-devel-0:6.5- 100% | 5.8 MiB/s | 1.0 MiB | 00m00s Warning: skipped OpenPGP checks for 6 packages from repository: copr_base Complete! Finish: build setup for ularn-1.5p4-47.fc42.src.rpm Start: rpmbuild ularn-1.5p4-47.fc42.src.rpm Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1721433600 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.ICNUP1 + umask 022 + cd /builddir/build/BUILD/ularn-1.5p4-build + test -d /builddir/build/BUILD/ularn-1.5p4-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/ularn-1.5p4-build + /usr/bin/rm -rf /builddir/build/BUILD/ularn-1.5p4-build + /usr/bin/mkdir -p /builddir/build/BUILD/ularn-1.5p4-build + /usr/bin/mkdir -p /builddir/build/BUILD/ularn-1.5p4-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.nEruv4 + umask 022 + cd /builddir/build/BUILD/ularn-1.5p4-build + cd /builddir/build/BUILD/ularn-1.5p4-build + rm -rf Ularn + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/Ularn-1.5ishPL4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd Ularn + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -e s#@bindir@#/usr/bin# -e s#@datadir@#/usr/share# -e s#@var@#/var# + chmod +x config.h.SH + echo 'Patch #0 (ularn-build.patch):' Patch #0 (ularn-build.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file extern.h patching file fortune.c patching file header.h patching file io.c patching file main.c patching file Makefile.u.SH patching file savelev.c patching file tok.c + echo 'Patch #1 (ularn-euid.patch):' Patch #1 (ularn-euid.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file main.c + echo 'Patch #2 (ularn-datadir.patch):' Patch #2 (ularn-datadir.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file config.h.SH patching file data.c patching file extern.h patching file header.h patching file main.c + echo 'Patch #3 (ularn-drop-setgid.patch):' Patch #3 (ularn-drop-setgid.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file data.c patching file extern.h patching file header.h patching file main.c patching file scores.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Cjyu6Z + umask 022 + cd /builddir/build/BUILD/ularn-1.5p4-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd Ularn ++ pwd + builddir=/builddir/build/BUILD/ularn-1.5p4-build/Ularn + . ./config.h.SH ++ case $CONFIG in ++ test '!' -f config.sh ++ . ./config.sh +++ hpux=undef +++ linux=define +++ bsd=undef +++ cygwin=undef +++ syserr=define +++ bsdlibs= +++ d_eunice=undef +++ eunicefix=: +++ define=define +++ contains=grep +++ cppstdin=/usr/bin/cpp +++ cppminus= +++ d_ftime=define +++ d_getopt=define +++ d_index=define +++ d_termio=define +++ d_voidsig=define +++ libc=/usr/lib/libc.a +++ mansrc= +++ manext= +++ models=none +++ split= +++ small= +++ medium= +++ large= +++ huge= +++ ccflags= +++ ldflags= +++ cc=gcc +++ n=-n +++ c= +++ package=Ularn +++ spitshell=cat +++ shsharp=true +++ sharpbang='#!' +++ startsh='#!/bin/sh' +++ loclist=' expr sed echo cat rm tr grep ' +++ expr=/usr/bin/expr +++ sed=/bin/sed +++ echo=/bin/echo Extracting config.h (with variable substitutions) +++ cat=/bin/cat +++ rm=/bin/rm +++ mv= +++ cp= +++ tail= +++ tr=/usr/bin/tr +++ mkdir= +++ sort= +++ uniq= +++ grep=/bin/grep +++ trylist=' xmkmf imake compress uncompress test Mcc cpp ' +++ test=test +++ inews= +++ egrep= +++ more= +++ pg= +++ Mcc=Mcc +++ vi= +++ mailx= +++ mail= +++ cpp=/usr/bin/cpp +++ perl= +++ compress=/usr/bin/compress +++ uncompress=/usr/bin/uncompress +++ imake=/usr/bin/X11/imake +++ xmkmf=/usr/bin/X11/xmkmf +++ bindir=/usr/bin +++ d_drand48=define +++ d_havetlib=define +++ termlib=-lcurses +++ d_itimer=define +++ d_systime='' +++ d_random=undef +++ defcomp=undef +++ imaketmpl= +++ libdir=/usr/share/ularn +++ scoredir=/var/games +++ mycompress='/usr/bin/compress -c' +++ myuncompress='/usr/bin/uncompress -c' +++ CONFIG=true ++ test undef = define ++ echo 'Extracting config.h (with variable substitutions)' ++ sed -e 's!^#undef!/\*#undef!' + /builddir/build/BUILD/ularn-1.5p4-build/Ularn/Makefile.u.SH Extracting Makefile.u (with variable substitutions) + cd /builddir/build/BUILD/ularn-1.5p4-build/Ularn + mv Makefile.u Makefile + CC='gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fcommon' + make -j4 gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fcommon -c action.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fcommon -c bill.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fcommon -c create.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fcommon -c data.c In file included from header.h:2, from data.c:2: config.h:23:21: warning: "/*" within comment [-Wcomment] 23 | /*#undef EUNICE /**/ In file included from header.h:2, from bill.c:2: config.h:23:21: warning: "/*" within comment [-Wcomment] 23 | /*#undef EUNICE /**/ config.h:24:18: warning: "/*" within comment [-Wcomment] 24 | /*#undef VMS /**/ config.h:24:18: warning: "/*" within comment [-Wcomment] 24 | /*#undef VMS /**/ config.h:107:21: warning: "/*" within comment [-Wcomment] 107 | /*#undef RANDOM /**/ config.h:107:21: warning: "/*" within comment [-Wcomment] 107 | /*#undef RANDOM /**/ config.h:113:27: warning: "/*" within comment [-Wcomment] 113 | /*#undef DEF_COMPRESS /**/ config.h:113:27: warning: "/*" within comment [-Wcomment] 113 | /*#undef DEF_COMPRESS /**/ config.h:145:33: warning: "/*" within comment [-Wcomment] 145 | /*#undef BSDCOMPILE /**/ config.h:145:33: warning: "/*" within comment [-Wcomment] 145 | /*#undef BSDCOMPILE /**/ config.h:150:33: warning: "/*" within comment [-Wcomment] 150 | /*#undef HPUX /**/ config.h:150:33: warning: "/*" within comment [-Wcomment] 150 | /*#undef HPUX /**/ config.h:158:1: warning: "/*" within comment [-Wcomment] 158 | /* SYSERRLISTDEFINED config.h:158:1: warning: "/*" within comment [-Wcomment] 158 | /* SYSERRLISTDEFINED In file included from header.h:2, from action.c:2: config.h:23:21: warning: "/*" within comment [-Wcomment] 23 | /*#undef EUNICE /**/ config.h:24:18: warning: "/*" within comment [-Wcomment] 24 | /*#undef VMS /**/ config.h:107:21: warning: "/*" within comment [-Wcomment] 107 | /*#undef RANDOM /**/ config.h:113:27: warning: "/*" within comment [-Wcomment] 113 | /*#undef DEF_COMPRESS /**/ config.h:145:33: warning: "/*" within comment [-Wcomment] 145 | /*#undef BSDCOMPILE /**/ config.h:150:33: warning: "/*" within comment [-Wcomment] 150 | /*#undef HPUX /**/ config.h:158:1: warning: "/*" within comment [-Wcomment] 158 | /* SYSERRLISTDEFINED In file included from header.h:2, from create.c:2: config.h:23:21: warning: "/*" within comment [-Wcomment] 23 | /*#undef EUNICE /**/ config.h:24:18: warning: "/*" within comment [-Wcomment] 24 | /*#undef VMS /**/ config.h:107:21: warning: "/*" within comment [-Wcomment] 107 | /*#undef RANDOM /**/ config.h:113:27: warning: "/*" within comment [-Wcomment] 113 | /*#undef DEF_COMPRESS /**/ config.h:145:33: warning: "/*" within comment [-Wcomment] 145 | /*#undef BSDCOMPILE /**/ config.h:150:33: warning: "/*" within comment [-Wcomment] 150 | /*#undef HPUX /**/ config.h:158:1: warning: "/*" within comment [-Wcomment] 158 | /* SYSERRLISTDEFINED bill.c:10:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 10 | letter1() | ^~~~~~~ bill.c:37:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 37 | letter2 () | ^~~~~~~ bill.c:58:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 58 | letter3 () | ^~~~~~~ bill.c:76:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 76 | letter4 () | ^~~~~~~ bill.c:95:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 95 | letter5 () | ^~~~~~~ data.c:134:41: warning: "/*" within comment [-Wcomment] 134 | /*char mitem[MAXX][MAXY]; /* monster item array */ bill.c:116:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 116 | letter6 () | ^~~~~~~ bill.c:146:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 146 | mailbill () | ^~~~~~~~ bill.c: In function ‘mailbill’: bill.c:151:9: warning: implicit declaration of function ‘wait’ [-Wimplicit-function-declaration] 151 | wait((int *)0); | ^~~~ bill.c: In function ‘letter1’: bill.c:14:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 14 | write(1,"can't write 600 letter\n",23); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bill.c: In function ‘letter2’: bill.c:41:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 41 | write(1,"can't write 600 letter\n",23); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bill.c: In function ‘letter3’: bill.c:62:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 62 | write(1,"can't write 600 letter\n",23); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bill.c: In function ‘letter4’: bill.c:80:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 80 | write(1,"can't write 600 letter\n",23); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bill.c: In function ‘letter5’: bill.c:99:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 99 | write(1,"can't write 600 letter\n",23); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ action.c:7:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 7 | run (dir) | ^~~ bill.c: In function ‘letter6’: bill.c:120:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 120 | write(1,"can't write 600 letter\n",23); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bill.c: In function ‘mailbill’: bill.c:160:33: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 160 | system(buf); | ^~~~~~~~~~~ bill.c:165:1: warning: control reaches end of non-void function [-Wreturn-type] 165 | } | ^ action.c:30:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 30 | wield () | ^~~~~ action.c: In function ‘wield’: action.c:35:52: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 35 | if ((i = whatitem("wield"))==ESC) return; | ^~~~~~ action.c:30:1: note: declared here 30 | wield () | ^~~~~ action.c:42:33: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 42 | return; | ^~~~~~ action.c:30:1: note: declared here 30 | wield () | ^~~~~ action.c:44:61: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 44 | else if (iven[i-'a']==0) { ydhi(i); return; } | ^~~~~~ action.c:30:1: note: declared here 30 | wield () | ^~~~~ action.c:45:67: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 45 | else if (iven[i-'a']==OPOTION) { ycwi(i); return; } | ^~~~~~ action.c:30:1: note: declared here 30 | wield () | ^~~~~ action.c:46:67: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 46 | else if (iven[i-'a']==OSCROLL) { ycwi(i); return; } | ^~~~~~ action.c:30:1: note: declared here 30 | wield () | ^~~~~ action.c:49:33: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 49 | return; | ^~~~~~ action.c:30:1: note: declared here 30 | wield () | ^~~~~ action.c:54:33: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 54 | return; | ^~~~~~ action.c:30:1: note: declared here 30 | wield () | ^~~~~ action.c:58:74: warning: array subscript has type ‘char’ [-Wchar-subscripts] 58 | lprintf("\nYou wield %s", objectname[iven[i-'a']]); | ~~~~^~~~~~~ action.c:65:33: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 65 | return; | ^~~~~~ action.c:30:1: note: declared here 30 | wield () | ^~~~~ action.c: At top level: action.c:74:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 74 | ydhi (x) | ^~~~ action.c: In function ‘ydhi’: header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ action.c:77:9: note: in expansion of macro ‘cursors’ 77 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ action.c:77:9: note: in expansion of macro ‘cursors’ 77 | cursors(); | ^~~~~~~ action.c: At top level: action.c:81:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 81 | ycwi (x) | ^~~~ action.c: In function ‘ycwi’: header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ action.c:84:9: note: in expansion of macro ‘cursors’ 84 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ action.c:84:9: note: in expansion of macro ‘cursors’ 84 | cursors(); | ^~~~~~~ action.c: At top level: action.c:91:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 91 | wear () | ^~~~ action.c: In function ‘wear’: action.c:96:51: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 96 | if ((i = whatitem("wear"))==ESC) return; | ^~~~~~ action.c:91:1: note: declared here 91 | wear () | ^~~~ action.c:102:41: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 102 | return; | ^~~~~~ action.c:91:1: note: declared here 91 | wear () | ^~~~ action.c:114:41: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 114 | return; | ^~~~~~ action.c:91:1: note: declared here 91 | wear () | ^~~~ action.c:118:88: warning: array subscript has type ‘char’ [-Wchar-subscripts] 118 | lprintf("\nYou put on your %s", objectname[iven[i-'a']]); | ~~~~^~~~~~~ action.c:125:41: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 125 | return; | ^~~~~~ action.c:91:1: note: declared here 91 | wear () | ^~~~ action.c:130:49: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 130 | return; | ^~~~~~ action.c:91:1: note: declared here 91 | wear () | ^~~~ action.c:135:49: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 135 | return; | ^~~~~~ action.c:91:1: note: declared here 91 | wear () | ^~~~ action.c:146:41: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 146 | return; | ^~~~~~ action.c:91:1: note: declared here 91 | wear () | ^~~~ action.c: At top level: action.c:157:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 157 | dropobj () | ^~~~~~~ action.c: In function ‘dropobj’: action.c:163:18: warning: array subscript has type ‘char’ [-Wchar-subscripts] 163 | p = &item[playerx][playery]; | ^ action.c:163:27: warning: array subscript has type ‘char’ [-Wchar-subscripts] 163 | p = &item[playerx][playery]; | ^ action.c:166:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 166 | return; | ^~~~~~ action.c:157:1: note: declared here 157 | dropobj () | ^~~~~~~ action.c:175:49: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 175 | return; | ^~~~~~ action.c:157:1: note: declared here 157 | dropobj () | ^~~~~~~ action.c:180:72: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 180 | if ((amt=readnum((long)c[GOLD])) <= 0) return; | ^~~~~~ action.c:157:1: note: declared here 157 | dropobj () | ^~~~~~~ action.c:183:41: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 183 | return; | ^~~~~~ action.c:157:1: note: declared here 157 | dropobj () | ^~~~~~~ action.c:215:45: warning: array subscript has type ‘char’ [-Wchar-subscripts] 215 | iarg[playerx][playery]=i; | ^ create.c:14:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 14 | makeplayer () | ^~~~~~~~~~ create.c:52:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 52 | newcavelevel (x) | ^~~~~~~~~~~~ create.c: In function ‘newcavelevel’: create.c:57:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] 57 | if (beenhere[level]) | ^ create.c:64:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 64 | return; | ^~~~~~ create.c:52:1: note: declared here 52 | newcavelevel (x) | ^~~~~~~~~~~~ create.c: At top level: create.c:90:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 90 | makemaze (lev) | ^~~~~~~~ create.c: In function ‘makemaze’: create.c:99:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 99 | return; | ^~~~~~ create.c:90:1: note: declared here 90 | makemaze (lev) | ^~~~~~~~ create.c:114:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 114 | return; | ^~~~~~ create.c:90:1: note: declared here 90 | makemaze (lev) | ^~~~~~~~ create.c: At top level: create.c:163:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 163 | eat (xx,yy) | ^~~ action.c:215:54: warning: array subscript has type ‘char’ [-Wchar-subscripts] 215 | iarg[playerx][playery]=i; | ^ action.c:217:37: warning: array subscript has type ‘char’ [-Wchar-subscripts] 217 | know[playerx][playery]=0; | ^ action.c:217:46: warning: array subscript has type ‘char’ [-Wchar-subscripts] 217 | know[playerx][playery]=0; | ^ create.c:228:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 228 | cannedlevel (lev) | ^~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fcommon -c diag.c action.c:219:33: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 219 | return; | ^~~~~~ action.c:157:1: note: declared here 157 | dropobj () | ^~~~~~~ action.c:222:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 222 | return; | ^~~~~~ create.c:310:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 310 | treasureroom(lv) | ^~~~~~~~~~~~ action.c:157:1: note: declared here 157 | dropobj () | ^~~~~~~ action.c: At top level: action.c:230:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 230 | readscr () | ^~~~~~~ action.c: In function ‘readscr’: action.c:235:51: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 235 | if ((i = whatitem("read"))==ESC) return; | ^~~~~~ action.c:230:1: note: declared here 230 | readscr () | ^~~~~~~ create.c:332:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 332 | troom(lv,xsize,ysize,tx,ty,glyph) | ^~~~~ action.c:243:41: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 243 | return; | ^~~~~~ action.c:230:1: note: declared here 230 | readscr () | ^~~~~~~ action.c:248:41: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 248 | return; | ^~~~~~ action.c:230:1: note: declared here 230 | readscr () | ^~~~~~~ action.c:252:41: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 252 | return; | ^~~~~~ action.c:230:1: note: declared here 230 | readscr () | ^~~~~~~ action.c:254:70: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 254 | lprcat("\nThere's nothing on it to read."); return; | ^~~~~~ action.c:230:1: note: declared here 230 | readscr () | ^~~~~~~ action.c: At top level: action.c:263:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 263 | eatcookie () | ^~~~~~~~~ action.c: In function ‘eatcookie’: action.c:270:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 270 | return; | ^~~~~~ action.c:263:1: note: declared here 263 | eatcookie () | ^~~~~~~~~ action.c:284:21: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 284 | return; | ^~~~~~ action.c:263:1: note: declared here 263 | eatcookie () | ^~~~~~~~~ action.c:286:48: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 286 | if (iven[i-'a']==0) { ydhi(i); return; } | ^~~~~~ action.c:263:1: note: declared here 263 | eatcookie () | ^~~~~~~~~ action.c:287:51: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 287 | lprcat("\nYou can't eat that!"); return; | ^~~~~~ action.c:263:1: note: declared here 263 | eatcookie () | ^~~~~~~~~ action.c:271:12: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 271 | if (i != '.') | ^ action.c: At top level: action.c:295:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 295 | quaff () | ^~~~~ action.c: In function ‘quaff’: action.c:301:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 301 | return; | ^~~~~~ action.c:295:1: note: declared here 295 | quaff () | ^~~~~ action.c:309:41: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 309 | return; | ^~~~~~ action.c:295:1: note: declared here 295 | quaff () | ^~~~~ action.c:313:41: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 313 | return; | ^~~~~~ action.c:295:1: note: declared here 295 | quaff () | ^~~~~ action.c:316:33: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 316 | return; | ^~~~~~ action.c:295:1: note: declared here 295 | quaff () | ^~~~~ action.c: At top level: action.c:322:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 322 | qwhatitem () | ^~~~~~~~~ action.c: In function ‘qwhatitem’: header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ action.c:327:9: note: in expansion of macro ‘cursors’ 327 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ action.c:327:9: note: in expansion of macro ‘cursors’ 327 | cursors(); | ^~~~~~~ action.c: At top level: action.c:350:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 350 | whatitem (str) | ^~~~~~~~ action.c: In function ‘whatitem’: header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ action.c:357:9: note: in expansion of macro ‘cursors’ 357 | cursors(); | ^~~~~~~ create.c:391:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 391 | makeobject (j) | ^~~~~~~~~~ create.c: In function ‘makeobject’: create.c:405:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 405 | return; | ^~~~~~ create.c:391:1: note: declared here 391 | makeobject (j) | ^~~~~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ action.c:357:9: note: in expansion of macro ‘cursors’ 357 | cursors(); | ^~~~~~~ action.c: At top level: action.c:476:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 476 | do_create() | ^~~~~~~~~ action.c: In function ‘do_create’: create.c: At top level: create.c:621:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 621 | fillmroom(n,what,arg) | ^~~~~~~~~ create.c:630:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 630 | froom(n,itm,arg) | ^~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ action.c:481:9: note: in expansion of macro ‘cursors’ 481 | cursors(); | ^~~~~~~ create.c:641:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 641 | fillroom (what,arg) | ^~~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ action.c:481:9: note: in expansion of macro ‘cursors’ 481 | cursors(); | ^~~~~~~ create.c:668:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 668 | fillmonst (what) | ^~~~~~~~~ action.c:487:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 487 | case ESC: return; | ^~~~~~ action.c:476:1: note: declared here 476 | do_create() | ^~~~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ action.c:490:17: note: in expansion of macro ‘cursors’ 490 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ action.c:490:17: note: in expansion of macro ‘cursors’ 490 | cursors(); | ^~~~~~~ action.c:497:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 497 | return; | ^~~~~~ action.c:476:1: note: declared here 476 | do_create() | ^~~~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ action.c:500:17: note: in expansion of macro ‘cursors’ 500 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ action.c:500:17: note: in expansion of macro ‘cursors’ 500 | cursors(); | ^~~~~~~ action.c:507:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 507 | return; | ^~~~~~ action.c:476:1: note: declared here 476 | do_create() | ^~~~~~~~~ create.c:693:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 693 | sethp (flg) | ^~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ action.c:510:17: note: in expansion of macro ‘cursors’ 510 | cursors(); | ^~~~~~~ create.c: In function ‘sethp’: header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ action.c:510:17: note: in expansion of macro ‘cursors’ 510 | cursors(); | ^~~~~~~ create.c:704:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 704 | return; | ^~~~~~ action.c:520:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 520 | return; | ^~~~~~ create.c:693:1: note: declared here 693 | sethp (flg) | ^~~~~ action.c:476:1: note: declared here 476 | do_create() | ^~~~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ action.c:523:17: note: in expansion of macro ‘cursors’ 523 | cursors(); | ^~~~~~~ create.c: At top level: header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ action.c:523:17: note: in expansion of macro ‘cursors’ 523 | cursors(); | ^~~~~~~ create.c:747:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 747 | checkgen () | ^~~~~~~~ create.c: In function ‘checkgen’: action.c:531:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 531 | return; | ^~~~~~ action.c:476:1: note: declared here 476 | do_create() | ^~~~~~~~~ create.c:753:49: warning: array subscript has type ‘char’ [-Wchar-subscripts] 753 | if ((monster[mitem[x][y].mon].flags&FL_GENOCIDED) != 0) | ~~~~~~~~~~~^~~~ create.c: In function ‘makeplayer’: create.c:40:1: warning: control reaches end of non-void function [-Wreturn-type] 40 | } | ^ action.c: In function ‘run’: action.c:25:1: warning: control reaches end of non-void function [-Wreturn-type] 25 | } | ^ action.c: In function ‘ydhi’: create.c: In function ‘eat’: In file included from header.h:2, from diag.c:2: config.h:23:21: warning: "/*" within comment [-Wcomment] 23 | /*#undef EUNICE /**/ config.h:24:18: warning: "/*" within comment [-Wcomment] 24 | /*#undef VMS /**/ config.h:107:21: warning: "/*" within comment [-Wcomment] 107 | /*#undef RANDOM /**/ config.h:113:27: warning: "/*" within comment [-Wcomment] 113 | /*#undef DEF_COMPRESS /**/ config.h:145:33: warning: "/*" within comment [-Wcomment] 145 | /*#undef BSDCOMPILE /**/ config.h:150:33: warning: "/*" within comment [-Wcomment] 150 | /*#undef HPUX /**/ create.c:206:1: warning: control reaches end of non-void function [-Wreturn-type] 206 | } | ^ config.h:158:1: warning: "/*" within comment [-Wcomment] 158 | /* SYSERRLISTDEFINED action.c:79:1: warning: control reaches end of non-void function [-Wreturn-type] 79 | } | ^ action.c: In function ‘ycwi’: action.c:86:1: warning: control reaches end of non-void function [-Wreturn-type] 86 | } | ^ create.c: In function ‘treasureroom’: create.c:325:1: warning: control reaches end of non-void function [-Wreturn-type] 325 | } | ^ create.c: In function ‘troom’: create.c:383:1: warning: control reaches end of non-void function [-Wreturn-type] 383 | } | ^ create.c: In function ‘fillmroom’: create.c:628:1: warning: control reaches end of non-void function [-Wreturn-type] 628 | } | ^ create.c: In function ‘froom’: create.c:635:1: warning: control reaches end of non-void function [-Wreturn-type] 635 | } | ^ create.c: In function ‘fillroom’: create.c:662:1: warning: control reaches end of non-void function [-Wreturn-type] 662 | } | ^ create.c: In function ‘checkgen’: create.c:755:1: warning: control reaches end of non-void function [-Wreturn-type] 755 | } | ^ diag.c:64:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 64 | diag() | ^~~~ diag.c: In function ‘diag’: diag.c:69:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 69 | return; | ^~~~~~ diag.c:64:1: note: declared here 64 | diag() | ^~~~ diag.c:78:71: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘long int’ [-Wformat=] 78 | fprintf(dfile, "gold: %ld Experience: %ld Character level: %d Level in caverns: %ld\n", | ~^ | | | int | %ld ...... 81 | (long) c[LEVEL], | ~~~~~~~~~~~~~~~ | | | long int diag.c:78:94: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 6 has type ‘int’ [-Wformat=] 78 | fprintf(dfile, "gold: %ld Experience: %ld Character level: %d Level in caverns: %ld\n", | ~~^ | | | long int | %d ...... 82 | level); | ~~~~~ | | | int diag.c:95:32: warning: array subscript has type ‘char’ [-Wchar-subscripts] 95 | j, ivendef[iven[j]], iven[j] ); | ~~~~^~~ diag.c:96:56: warning: array subscript has type ‘char’ [-Wchar-subscripts] 96 | fprintf (dfile, "\t%s", objectname[iven[j]] ); | ~~~~^~~ diag.c:115:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] 115 | levelname[level], level); | ^ diag.c: At top level: diag.c:187:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 187 | diagdrawscreen() | ^~~~~~~~~~~~~~ diag.c: In function ‘diagdrawscreen’: diag.c:194:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 194 | if (k = mitem[j][i].mon) | ^ diag.c:197:73: warning: array subscript has type ‘char’ [-Wchar-subscripts] 197 | fprintf(dfile, "%c", objnamelist[item[j][i]]); | ~~~~~~~^~~ diag.c:200:1: warning: control reaches end of non-void function [-Wreturn-type] 200 | } | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fcommon -c display.c In file included from header.h:2, from display.c:2: config.h:23:21: warning: "/*" within comment [-Wcomment] 23 | /*#undef EUNICE /**/ config.h:24:18: warning: "/*" within comment [-Wcomment] 24 | /*#undef VMS /**/ config.h:107:21: warning: "/*" within comment [-Wcomment] 107 | /*#undef RANDOM /**/ config.h:113:27: warning: "/*" within comment [-Wcomment] 113 | /*#undef DEF_COMPRESS /**/ config.h:145:33: warning: "/*" within comment [-Wcomment] 145 | /*#undef BSDCOMPILE /**/ config.h:150:33: warning: "/*" within comment [-Wcomment] 150 | /*#undef HPUX /**/ config.h:158:1: warning: "/*" within comment [-Wcomment] 158 | /* SYSERRLISTDEFINED gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fcommon -c fortune.c display.c:20:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 20 | bottomdo() | ^~~~~~~~ In file included from header.h:2, from fortune.c:2: config.h:23:21: warning: "/*" within comment [-Wcomment] 23 | /*#undef EUNICE /**/ config.h:24:18: warning: "/*" within comment [-Wcomment] 24 | /*#undef VMS /**/ config.h:107:21: warning: "/*" within comment [-Wcomment] 107 | /*#undef RANDOM /**/ config.h:113:27: warning: "/*" within comment [-Wcomment] 113 | /*#undef DEF_COMPRESS /**/ config.h:145:33: warning: "/*" within comment [-Wcomment] 145 | /*#undef BSDCOMPILE /**/ config.h:150:33: warning: "/*" within comment [-Wcomment] 150 | /*#undef HPUX /**/ config.h:158:1: warning: "/*" within comment [-Wcomment] 158 | /* SYSERRLISTDEFINED display.c: In function ‘bottomdo’: display.c:25:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 25 | return; | ^~~~~~ display.c:20:1: note: declared here 20 | bottomdo() | ^~~~~~~~ display.c: At top level: display.c:38:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 38 | bottomgold() { botsub(GOLD,72,19,"%-8d"); } | ^~~~~~~~~~ display.c: In function ‘bottomgold’: header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ display.c:16:17: note: in expansion of macro ‘cursor’ 16 | cursor((x),(y)); \ | ^~~~~~ display.c:38:16: note: in expansion of macro ‘botsub’ 38 | bottomgold() { botsub(GOLD,72,19,"%-8d"); } | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ display.c:16:17: note: in expansion of macro ‘cursor’ 16 | cursor((x),(y)); \ | ^~~~~~ display.c:38:16: note: in expansion of macro ‘botsub’ 38 | bottomgold() { botsub(GOLD,72,19,"%-8d"); } | ^~~~~~ display.c: At top level: display.c:41:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 41 | bot_spellx() { botsub(SPELLS,9,18,"%2d"); } | ^~~~~~~~~~ display.c: In function ‘bot_spellx’: header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ display.c:16:17: note: in expansion of macro ‘cursor’ 16 | cursor((x),(y)); \ | ^~~~~~ display.c:41:16: note: in expansion of macro ‘botsub’ 41 | bot_spellx() { botsub(SPELLS,9,18,"%2d"); } | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ display.c:16:17: note: in expansion of macro ‘cursor’ 16 | cursor((x),(y)); \ | ^~~~~~ display.c:41:16: note: in expansion of macro ‘botsub’ 41 | bot_spellx() { botsub(SPELLS,9,18,"%2d"); } | ^~~~~~ display.c: At top level: display.c:43:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 43 | bot_linex() | ^~~~~~~~~ display.c: In function ‘bot_linex’: header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ display.c:49:17: note: in expansion of macro ‘cursor’ 49 | cursor(1,18); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ display.c:49:17: note: in expansion of macro ‘cursor’ 49 | cursor(1,18); | ^~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ display.c:62:17: note: in expansion of macro ‘cursor’ 62 | cursor(1,19); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ display.c:62:17: note: in expansion of macro ‘cursor’ 62 | cursor(1,19); | ^~~~~~ display.c:68:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] 68 | sprintf(buf, "%d (%d)", c[HP], c[HPMAX]); | ~^ ~~~~~ | | | | int long int | %ld display.c:68:36: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] 68 | sprintf(buf, "%d (%d)", c[HP], c[HPMAX]); | ~^ ~~~~~~~~ | | | | int long int | %ld header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ display.c:74:17: note: in expansion of macro ‘cursor’ 74 | cursor(31,19); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ display.c:74:17: note: in expansion of macro ‘cursor’ 74 | cursor(31,19); | ^~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ display.c:82:17: note: in expansion of macro ‘cursor’ 82 | cursor(62,19); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ display.c:82:17: note: in expansion of macro ‘cursor’ 82 | cursor(62,19); | ^~~~~~ display.c:86:49: warning: array subscript has type ‘char’ [-Wchar-subscripts] 86 | lprintf("%2s", levelname[level]); | ^ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ display.c:87:17: note: in expansion of macro ‘cursor’ 87 | cursor(64,19); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ display.c:87:17: note: in expansion of macro ‘cursor’ 87 | cursor(64,19); | ^~~~~~ display.c:96:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 96 | return; | ^~~~~~ display.c:43:1: note: declared here 43 | bot_linex() | ^~~~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ display.c:16:17: note: in expansion of macro ‘cursor’ 16 | cursor((x),(y)); \ | ^~~~~~ display.c:99:9: note: in expansion of macro ‘botsub’ 99 | botsub(SPELLS,8,18,"%3d"); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ display.c:16:17: note: in expansion of macro ‘cursor’ 16 | cursor((x),(y)); \ | ^~~~~~ display.c:99:9: note: in expansion of macro ‘botsub’ 99 | botsub(SPELLS,8,18,"%3d"); | ^~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ display.c:16:17: note: in expansion of macro ‘cursor’ 16 | cursor((x),(y)); \ | ^~~~~~ display.c:101:17: note: in expansion of macro ‘botsub’ 101 | botsub(SPELLMAX,12,18,"%3d)"); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ display.c:16:17: note: in expansion of macro ‘cursor’ 16 | cursor((x),(y)); \ | ^~~~~~ display.c:101:17: note: in expansion of macro ‘botsub’ 101 | botsub(SPELLMAX,12,18,"%3d)"); | ^~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ display.c:16:17: note: in expansion of macro ‘cursor’ 16 | cursor((x),(y)); \ | ^~~~~~ display.c:104:17: note: in expansion of macro ‘botsub’ 104 | botsub(SPELLMAX,12,18,"%2d) "); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ display.c:16:17: note: in expansion of macro ‘cursor’ 16 | cursor((x),(y)); \ | ^~~~~~ display.c:104:17: note: in expansion of macro ‘botsub’ 104 | botsub(SPELLMAX,12,18,"%2d) "); | ^~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ display.c:16:17: note: in expansion of macro ‘cursor’ 16 | cursor((x),(y)); \ | ^~~~~~ display.c:106:9: note: in expansion of macro ‘botsub’ 106 | botsub(AC,21,18,"%-3d"); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ display.c:16:17: note: in expansion of macro ‘cursor’ 16 | cursor((x),(y)); \ | ^~~~~~ display.c:106:9: note: in expansion of macro ‘botsub’ 106 | botsub(AC,21,18,"%-3d"); | ^~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ display.c:16:17: note: in expansion of macro ‘cursor’ 16 | cursor((x),(y)); \ | ^~~~~~ display.c:107:9: note: in expansion of macro ‘botsub’ 107 | botsub(WCLASS,30,18,"%-3d"); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ display.c:16:17: note: in expansion of macro ‘cursor’ 16 | cursor((x),(y)); \ | ^~~~~~ display.c:107:9: note: in expansion of macro ‘botsub’ 107 | botsub(WCLASS,30,18,"%-3d"); | ^~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ display.c:16:17: note: in expansion of macro ‘cursor’ 16 | cursor((x),(y)); \ | ^~~~~~ display.c:108:9: note: in expansion of macro ‘botsub’ 108 | botsub(EXPERIENCE,49,18,"%-9d"); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ display.c:16:17: note: in expansion of macro ‘cursor’ 16 | cursor((x),(y)); \ | ^~~~~~ display.c:108:9: note: in expansion of macro ‘botsub’ 108 | botsub(EXPERIENCE,49,18,"%-9d"); | ^~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ display.c:111:17: note: in expansion of macro ‘cursor’ 111 | cursor(59,18); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ display.c:111:17: note: in expansion of macro ‘cursor’ 111 | cursor(59,18); | ^~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ display.c:16:17: note: in expansion of macro ‘cursor’ 16 | cursor((x),(y)); \ | ^~~~~~ display.c:115:17: note: in expansion of macro ‘botsub’ 115 | botsub(LEVEL,40,18,"%3d"); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ display.c:16:17: note: in expansion of macro ‘cursor’ 16 | cursor((x),(y)); \ | ^~~~~~ display.c:115:17: note: in expansion of macro ‘botsub’ 115 | botsub(LEVEL,40,18,"%3d"); | ^~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ display.c:16:17: note: in expansion of macro ‘cursor’ 16 | cursor((x),(y)); \ | ^~~~~~ display.c:118:17: note: in expansion of macro ‘botsub’ 118 | botsub(LEVEL,40,18," %-2d"); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ display.c:16:17: note: in expansion of macro ‘cursor’ 16 | cursor((x),(y)); \ | ^~~~~~ display.c:118:17: note: in expansion of macro ‘botsub’ 118 | botsub(LEVEL,40,18," %-2d"); | ^~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ display.c:16:17: note: in expansion of macro ‘cursor’ 16 | cursor((x),(y)); \ | ^~~~~~ display.c:123:9: note: in expansion of macro ‘botsub’ 123 | botsub(TMP,21,19,"%-2d"); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ display.c:16:17: note: in expansion of macro ‘cursor’ 16 | cursor((x),(y)); \ | ^~~~~~ display.c:123:9: note: in expansion of macro ‘botsub’ 123 | botsub(TMP,21,19,"%-2d"); | ^~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ display.c:16:17: note: in expansion of macro ‘cursor’ 16 | cursor((x),(y)); \ | ^~~~~~ display.c:124:9: note: in expansion of macro ‘botsub’ 124 | botsub(INTELLIGENCE,28,19,"%-2d"); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ display.c:16:17: note: in expansion of macro ‘cursor’ 16 | cursor((x),(y)); \ | ^~~~~~ display.c:124:9: note: in expansion of macro ‘botsub’ 124 | botsub(INTELLIGENCE,28,19,"%-2d"); | ^~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ display.c:16:17: note: in expansion of macro ‘cursor’ 16 | cursor((x),(y)); \ | ^~~~~~ display.c:125:9: note: in expansion of macro ‘botsub’ 125 | botsub(WISDOM,35,19,"%-2d"); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ display.c:16:17: note: in expansion of macro ‘cursor’ 16 | cursor((x),(y)); \ | ^~~~~~ display.c:125:9: note: in expansion of macro ‘botsub’ 125 | botsub(WISDOM,35,19,"%-2d"); | ^~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ display.c:16:17: note: in expansion of macro ‘cursor’ 16 | cursor((x),(y)); \ | ^~~~~~ display.c:126:9: note: in expansion of macro ‘botsub’ 126 | botsub(CONSTITUTION,42,19,"%-2d"); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ display.c:16:17: note: in expansion of macro ‘cursor’ 16 | cursor((x),(y)); \ | ^~~~~~ display.c:126:9: note: in expansion of macro ‘botsub’ 126 | botsub(CONSTITUTION,42,19,"%-2d"); | ^~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ display.c:16:17: note: in expansion of macro ‘cursor’ 16 | cursor((x),(y)); \ | ^~~~~~ display.c:127:9: note: in expansion of macro ‘botsub’ 127 | botsub(DEXTERITY,49,19,"%-2d"); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ display.c:16:17: note: in expansion of macro ‘cursor’ 16 | cursor((x),(y)); \ | ^~~~~~ display.c:127:9: note: in expansion of macro ‘botsub’ 127 | botsub(DEXTERITY,49,19,"%-2d"); | ^~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ display.c:16:17: note: in expansion of macro ‘cursor’ 16 | cursor((x),(y)); \ | ^~~~~~ display.c:128:9: note: in expansion of macro ‘botsub’ 128 | botsub(CHARISMA,56,19,"%-2d"); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ display.c:16:17: note: in expansion of macro ‘cursor’ 16 | cursor((x),(y)); \ | ^~~~~~ display.c:128:9: note: in expansion of macro ‘botsub’ 128 | botsub(CHARISMA,56,19,"%-2d"); | ^~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ display.c:135:17: note: in expansion of macro ‘cursor’ 135 | cursor(62,19); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ display.c:135:17: note: in expansion of macro ‘cursor’ 135 | cursor(62,19); | ^~~~~~ display.c:139:49: warning: array subscript has type ‘char’ [-Wchar-subscripts] 139 | lprintf("%2s", levelname[level]); | ^ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ display.c:16:17: note: in expansion of macro ‘cursor’ 16 | cursor((x),(y)); \ | ^~~~~~ display.c:141:9: note: in expansion of macro ‘botsub’ 141 | botsub(GOLD,72,19,"%-8d"); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ display.c:16:17: note: in expansion of macro ‘cursor’ 16 | cursor((x),(y)); \ | ^~~~~~ display.c:141:9: note: in expansion of macro ‘botsub’ 141 | botsub(GOLD,72,19,"%-8d"); | ^~~~~~ display.c: At top level: display.c:150:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 150 | bot_hpx() | ^~~~~~~ display.c:166:16: warning: missing braces around initializer [-Wmissing-braces] 166 | } bot_data[] = { | ^ display.c:186:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 186 | botside() | ^~~~~~~ display.c: In function ‘botside’: header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ display.c:195:41: note: in expansion of macro ‘cursor’ 195 | cursor(70,i+1); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ display.c:195:41: note: in expansion of macro ‘cursor’ 195 | cursor(70,i+1); | ^~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ display.c:201:41: note: in expansion of macro ‘cursor’ 201 | cursor(70,i+1); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ display.c:201:41: note: in expansion of macro ‘cursor’ 201 | cursor(70,i+1); | ^~~~~~ display.c: At top level: display.c:211:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 211 | bothp() | ^~~~~ display.c: In function ‘bothp’: display.c:216:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 216 | return; | ^~~~~~ display.c:211:1: note: declared here 211 | bothp() | ^~~~~ display.c:219:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] 219 | sprintf(buf, "%d (%d)", c[HP], c[HPMAX]); | ~^ ~~~~~ | | | | int long int | %ld display.c:219:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] 219 | sprintf(buf, "%d (%d)", c[HP], c[HPMAX]); | ~^ ~~~~~~~~ | | | | int long int | %ld header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ display.c:220:9: note: in expansion of macro ‘cursor’ 220 | cursor(5, 19); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ display.c:220:9: note: in expansion of macro ‘cursor’ 220 | cursor(5, 19); | ^~~~~~ display.c: At top level: display.c:233:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 233 | draws(xmin,xmax,ymin,ymax) | ^~~~~ display.c: In function ‘draws’: header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:133:27: note: in expansion of macro ‘cursor’ 133 | #define cl_line(x,y) do { cursor(1,(y)); *lpnt++ = CL_LINE; cursor((x),(y)); } while (0) | ^~~~~~ display.c:244:33: note: in expansion of macro ‘cl_line’ 244 | cl_line(1,i+1); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:133:27: note: in expansion of macro ‘cursor’ 133 | #define cl_line(x,y) do { cursor(1,(y)); *lpnt++ = CL_LINE; cursor((x),(y)); } while (0) | ^~~~~~ display.c:244:33: note: in expansion of macro ‘cl_line’ 244 | cl_line(1,i+1); | ^~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:133:61: note: in expansion of macro ‘cursor’ 133 | #define cl_line(x,y) do { cursor(1,(y)); *lpnt++ = CL_LINE; cursor((x),(y)); } while (0) | ^~~~~~ display.c:244:33: note: in expansion of macro ‘cl_line’ 244 | cl_line(1,i+1); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:133:61: note: in expansion of macro ‘cursor’ 133 | #define cl_line(x,y) do { cursor(1,(y)); *lpnt++ = CL_LINE; cursor((x),(y)); } while (0) | ^~~~~~ display.c:244:33: note: in expansion of macro ‘cl_line’ 244 | cl_line(1,i+1); | ^~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ display.c:259:33: note: in expansion of macro ‘cursor’ 259 | cursor(70,i+1); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ display.c:259:33: note: in expansion of macro ‘cursor’ 259 | cursor(70,i+1); | ^~~~~~ display.c: At top level: display.c:275:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 275 | drawscreen() | ^~~~~~~~~~ display.c: In function ‘drawscreen’: header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ display.c:286:17: note: in expansion of macro ‘cursor’ 286 | cursor(1,1); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ display.c:286:17: note: in expansion of macro ‘cursor’ 286 | cursor(1,1); | ^~~~~~ display.c:296:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 296 | if (k=mitem[j][i].mon) { | ^ display.c:300:59: warning: array subscript has type ‘char’ [-Wchar-subscripts] 300 | screen[j][i]=monstnamelist[mimicmonst]; | ^ display.c:302:65: warning: array subscript has type ‘char’ [-Wchar-subscripts] 302 | screen[j][i]=objnamelist[item[j][i]]; | ~~~~~~~^~~ display.c:305:67: warning: array subscript has type ‘char’ [-Wchar-subscripts] 305 | screen[j][i] = objnamelist[item[j][i]]; | ~~~~~~~^~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ display.c:327:33: note: in expansion of macro ‘cursor’ 327 | cursor(j+1, i+1); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ display.c:327:33: note: in expansion of macro ‘cursor’ 327 | cursor(j+1, i+1); | ^~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ display.c:339:41: note: in expansion of macro ‘cursor’ 339 | cursor(j+1,i+1); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ display.c:339:41: note: in expansion of macro ‘cursor’ 339 | cursor(j+1,i+1); | ^~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ display.c:356:49: note: in expansion of macro ‘cursor’ 356 | cursor(lastx=j+1,lasty=i+1); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ display.c:356:49: note: in expansion of macro ‘cursor’ 356 | cursor(lastx=j+1,lasty=i+1); | ^~~~~~ display.c: At top level: display.c:385:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 385 | showcell(x,y) | ^~~~~~~~ display.c: In function ‘showcell’: display.c:391:25: warning: "/*" within comment [-Wcomment] 391 | return; /* see nothing if blind */ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ display.c:423:33: note: in expansion of macro ‘cursor’ 423 | cursor(m+1,j+1); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ display.c:423:33: note: in expansion of macro ‘cursor’ 423 | cursor(m+1,j+1); | ^~~~~~ display.c:434:59: warning: array subscript has type ‘char’ [-Wchar-subscripts] 434 | lprc(monstnamelist[mimicmonst]); | ^ header.h:136:47: note: in definition of macro ‘lprc’ 136 | #define lprc(ch) {(lpnt>=lpend) ? (*lpnt++ = (ch), lflush()) : (*lpnt++ = (ch));} | ^~ display.c:434:59: warning: array subscript has type ‘char’ [-Wchar-subscripts] 434 | lprc(monstnamelist[mimicmonst]); | ^ header.h:136:76: note: in definition of macro ‘lprc’ 136 | #define lprc(ch) {(lpnt>=lpend) ? (*lpnt++ = (ch), lflush()) : (*lpnt++ = (ch));} | ^~ display.c:436:65: warning: array subscript has type ‘char’ [-Wchar-subscripts] 436 | lprc(objnamelist[item[i][j]]); | ~~~~~~~^~~ header.h:136:47: note: in definition of macro ‘lprc’ 136 | #define lprc(ch) {(lpnt>=lpend) ? (*lpnt++ = (ch), lflush()) : (*lpnt++ = (ch));} | ^~ display.c:436:65: warning: array subscript has type ‘char’ [-Wchar-subscripts] 436 | lprc(objnamelist[item[i][j]]); | ~~~~~~~^~~ header.h:136:76: note: in definition of macro ‘lprc’ 136 | #define lprc(ch) {(lpnt>=lpend) ? (*lpnt++ = (ch), lflush()) : (*lpnt++ = (ch));} | ^~ display.c: At top level: display.c:471:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 471 | show1cell(x,y) | ^~~~~~~~~ display.c: In function ‘show1cell’: display.c:475:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 475 | return; /* see nothing if blind */ | ^~~~~~ display.c:471:1: note: declared here 471 | show1cell(x,y) | ^~~~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ display.c:476:9: note: in expansion of macro ‘cursor’ 476 | cursor(x+1,y+1); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ display.c:476:9: note: in expansion of macro ‘cursor’ 476 | cursor(x+1,y+1); | ^~~~~~ display.c:482:43: warning: array subscript has type ‘char’ [-Wchar-subscripts] 482 | lprc(monstnamelist[mimicmonst]); | ^ header.h:136:47: note: in definition of macro ‘lprc’ 136 | #define lprc(ch) {(lpnt>=lpend) ? (*lpnt++ = (ch), lflush()) : (*lpnt++ = (ch));} | ^~ display.c:482:43: warning: array subscript has type ‘char’ [-Wchar-subscripts] 482 | lprc(monstnamelist[mimicmonst]); | ^ header.h:136:76: note: in definition of macro ‘lprc’ 136 | #define lprc(ch) {(lpnt>=lpend) ? (*lpnt++ = (ch), lflush()) : (*lpnt++ = (ch));} | ^~ display.c:484:49: warning: array subscript has type ‘char’ [-Wchar-subscripts] 484 | lprc(objnamelist[item[x][y]]); | ~~~~~~~^~~ header.h:136:47: note: in definition of macro ‘lprc’ 136 | #define lprc(ch) {(lpnt>=lpend) ? (*lpnt++ = (ch), lflush()) : (*lpnt++ = (ch));} | ^~ display.c:484:49: warning: array subscript has type ‘char’ [-Wchar-subscripts] 484 | lprc(objnamelist[item[x][y]]); | ~~~~~~~^~~ header.h:136:76: note: in definition of macro ‘lprc’ 136 | #define lprc(ch) {(lpnt>=lpend) ? (*lpnt++ = (ch), lflush()) : (*lpnt++ = (ch));} | ^~ display.c: At top level: display.c:515:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 515 | showplayer() | ^~~~~~~~~~ display.c: In function ‘showplayer’: header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ display.c:518:9: note: in expansion of macro ‘cursor’ 518 | cursor(playerx+1,playery+1); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ display.c:518:9: note: in expansion of macro ‘cursor’ 518 | cursor(playerx+1,playery+1); | ^~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ display.c:521:17: note: in expansion of macro ‘cursor’ 521 | cursor(playerx+1,playery+1); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ display.c:521:17: note: in expansion of macro ‘cursor’ 521 | cursor(playerx+1,playery+1); | ^~~~~~ display.c: At top level: display.c:540:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 540 | moveplayer(dir) | ^~~~~~~~~~ display.c: In function ‘moveplayer’: header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ display.c:549:9: note: in expansion of macro ‘cursor’ 549 | cursor(playerx+1,playery+1); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ display.c:549:9: note: in expansion of macro ‘cursor’ 549 | cursor(playerx+1,playery+1); | ^~~~~~ display.c: At top level: display.c:609:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 609 | seemagic(arg) | ^~~~~~~~ display.c: In function ‘seemagic’: header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ display.c:619:17: note: in expansion of macro ‘cursor’ 619 | cursor(1,1); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ display.c:619:17: note: in expansion of macro ‘cursor’ 619 | cursor(1,1); | ^~~~~~ display.c:629:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 629 | return; | ^~~~~~ display.c:609:1: note: declared here 609 | seemagic(arg) | ^~~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ display.c:636:17: note: in expansion of macro ‘cursor’ 636 | cursor(1,1); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ display.c:636:17: note: in expansion of macro ‘cursor’ 636 | cursor(1,1); | ^~~~~~ display.c:655:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 655 | return; | ^~~~~~ display.c:609:1: note: declared here 609 | seemagic(arg) | ^~~~~~~~ display.c: At top level: display.c:699:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 699 | seepage() | ^~~~~~~ display.c: In function ‘bottomgold’: display.c:38:43: warning: control reaches end of non-void function [-Wreturn-type] 38 | bottomgold() { botsub(GOLD,72,19,"%-8d"); } | ^ display.c: In function ‘bot_spellx’: display.c:41:43: warning: control reaches end of non-void function [-Wreturn-type] 41 | bot_spellx() { botsub(SPELLS,9,18,"%2d"); } | ^ display.c: In function ‘bot_hpx’: display.c:158:1: warning: control reaches end of non-void function [-Wreturn-type] 158 | } | ^ display.c: In function ‘botside’: display.c:209:1: warning: control reaches end of non-void function [-Wreturn-type] 209 | } | ^ display.c: In function ‘draws’: display.c:265:1: warning: control reaches end of non-void function [-Wreturn-type] 265 | } | ^ display.c: In function ‘drawscreen’: display.c:378:1: warning: control reaches end of non-void function [-Wreturn-type] 378 | } | ^ display.c: In function ‘showcell’: display.c:464:1: warning: control reaches end of non-void function [-Wreturn-type] 464 | } | ^ display.c: In function ‘showplayer’: display.c:525:1: warning: control reaches end of non-void function [-Wreturn-type] 525 | } | ^ display.c: In function ‘seepage’: display.c:711:1: warning: control reaches end of non-void function [-Wreturn-type] 711 | } | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fcommon -c player.c In file included from header.h:2, from player.c:23: config.h:23:21: warning: "/*" within comment [-Wcomment] 23 | /*#undef EUNICE /**/ config.h:24:18: warning: "/*" within comment [-Wcomment] 24 | /*#undef VMS /**/ config.h:107:21: warning: "/*" within comment [-Wcomment] 107 | /*#undef RANDOM /**/ config.h:113:27: warning: "/*" within comment [-Wcomment] 113 | /*#undef DEF_COMPRESS /**/ config.h:145:33: warning: "/*" within comment [-Wcomment] 145 | /*#undef BSDCOMPILE /**/ config.h:150:33: warning: "/*" within comment [-Wcomment] 150 | /*#undef HPUX /**/ config.h:158:1: warning: "/*" within comment [-Wcomment] 158 | /* SYSERRLISTDEFINED player.c:39:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 39 | raiselevel () | ^~~~~~~~~~ player.c:53:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 53 | loselevel () | ^~~~~~~~~ player.c:67:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 67 | raiseexperience (x) | ^~~~~~~~~~~~~~~ player.c: In function ‘raiseexperience’: header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ player.c:83:17: note: in expansion of macro ‘cursors’ 83 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ player.c:83:17: note: in expansion of macro ‘cursors’ 83 | cursors(); | ^~~~~~~ player.c: At top level: player.c:135:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 135 | loseexperience (x) | ^~~~~~~~~~~~~~ player.c: In function ‘loseexperience’: header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ player.c:153:17: note: in expansion of macro ‘cursors’ 153 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ player.c:153:17: note: in expansion of macro ‘cursors’ 153 | cursors(); | ^~~~~~~ player.c: At top level: player.c:170:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 170 | losehp (x) | ^~~~~~ player.c:183:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 183 | losemhp (x) | ^~~~~~~ player.c:203:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 203 | raisehp (x) | ^~~~~~~ player.c:210:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 210 | raisemhp (x) | ^~~~~~~~ player.c:226:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 226 | raisespells (x) | ^~~~~~~~~~~ player.c:233:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 233 | raisemspells (x) | ^~~~~~~~~~~~ player.c:249:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 249 | losespells (x) | ^~~~~~~~~~ player.c:256:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 256 | losemspells (x) | ^~~~~~~~~~~ player.c:271:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 271 | positionplayer () | ^~~~~~~~~~~~~~ player.c: In function ‘positionplayer’: player.c:276:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] 276 | while ((item[playerx][playery] || mitem[playerx][playery].mon) && (try)) | ^ player.c:276:30: warning: array subscript has type ‘char’ [-Wchar-subscripts] 276 | while ((item[playerx][playery] || mitem[playerx][playery].mon) && (try)) | ^ player.c:276:48: warning: array subscript has type ‘char’ [-Wchar-subscripts] 276 | while ((item[playerx][playery] || mitem[playerx][playery].mon) && (try)) | ^ player.c:276:57: warning: array subscript has type ‘char’ [-Wchar-subscripts] 276 | while ((item[playerx][playery] || mitem[playerx][playery].mon) && (try)) | ^ player.c: At top level: player.c:291:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 291 | recalc () | ^~~~~~ player.c:423:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 423 | quit () | ^~~~ player.c: In function ‘quit’: header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ player.c:427:9: note: in expansion of macro ‘cursors’ 427 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ player.c:427:9: note: in expansion of macro ‘cursors’ 427 | cursors(); | ^~~~~~~ player.c:436:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 436 | return; | ^~~~~~ player.c:423:1: note: declared here 423 | quit () | ^~~~ player.c:441:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 441 | return; | ^~~~~~ player.c:423:1: note: declared here 423 | quit () | ^~~~ player.c: At top level: player.c:472:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 472 | more() | ^~~~ player.c:487:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 487 | take (itm, arg) | ^~~~ player.c: In function ‘take’: header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ player.c:568:33: note: in expansion of macro ‘cursors’ 568 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ player.c:568:33: note: in expansion of macro ‘cursors’ 568 | cursors(); | ^~~~~~~ player.c: At top level: player.c:583:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 583 | drop_object (k) | ^~~~~~~~~~~ player.c: In function ‘drop_object’: header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ player.c:591:9: note: in expansion of macro ‘cursors’ 591 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ player.c:591:9: note: in expansion of macro ‘cursors’ 591 | cursors(); | ^~~~~~~ player.c:596:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] 596 | if (item[playerx][playery] == OPIT) | ^ player.c:596:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] 596 | if (item[playerx][playery] == OPIT) | ^ player.c:598:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] 598 | else if (item[playerx][playery]) { | ^ player.c:598:31: warning: array subscript has type ‘char’ [-Wchar-subscripts] 598 | else if (item[playerx][playery]) { | ^ player.c:607:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] 607 | item[playerx][playery] = itm; | ^ player.c:607:30: warning: array subscript has type ‘char’ [-Wchar-subscripts] 607 | item[playerx][playery] = itm; | ^ player.c:608:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] 608 | iarg[playerx][playery] = ivenarg[k]; | ^ player.c:608:30: warning: array subscript has type ‘char’ [-Wchar-subscripts] 608 | iarg[playerx][playery] = ivenarg[k]; | ^ player.c:624:13: warning: array subscript has type ‘char’ [-Wchar-subscripts] 624 | know[playerx][playery] = 0; | ^ player.c:624:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] 624 | know[playerx][playery] = 0; | ^ player.c: At top level: player.c:634:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 634 | enchantarmor (how) | ^~~~~~~~~~~~ player.c: In function ‘enchantarmor’: header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ player.c:644:17: note: in expansion of macro ‘cursors’ 644 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ player.c:644:17: note: in expansion of macro ‘cursors’ 644 | cursors(); | ^~~~~~~ player.c:647:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 647 | return; | ^~~~~~ player.c:634:1: note: declared here 634 | enchantarmor (how) | ^~~~~~~~~~~~ player.c:664:76: warning: array subscript has type ‘char’ [-Wchar-subscripts] 664 | lprintf("\nYour %s glows briefly.", objectname[iven[c[which]]]); | ~~~~^~~~~~~~~~ player.c:665:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 665 | return; | ^~~~~~ player.c:634:1: note: declared here 634 | enchantarmor (how) | ^~~~~~~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ player.c:668:25: note: in expansion of macro ‘cursors’ 668 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ player.c:668:25: note: in expansion of macro ‘cursors’ 668 | cursors(); | ^~~~~~~ player.c:670:56: warning: array subscript has type ‘char’ [-Wchar-subscripts] 670 | objectname[iven[c[which]]]); | ~~~~^~~~~~~~~~ player.c:674:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 674 | return; | ^~~~~~ player.c:634:1: note: declared here 634 | enchantarmor (how) | ^~~~~~~~~~~~ player.c:678:65: warning: array subscript has type ‘char’ [-Wchar-subscripts] 678 | lprintf("\nYour %s glows for a moment.", objectname[iven[c[which]]]); | ~~~~^~~~~~~~~~ player.c:638:13: warning: unused variable ‘tmp’ [-Wunused-variable] 638 | int tmp; | ^~~ player.c: At top level: player.c:685:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 685 | enchweapon (how) | ^~~~~~~~~~ player.c: In function ‘enchweapon’: gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fcommon -c help.c header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ player.c:691:17: note: in expansion of macro ‘cursors’ 691 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ player.c:691:17: note: in expansion of macro ‘cursors’ 691 | cursors(); | ^~~~~~~ player.c:694:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 694 | return; | ^~~~~~ player.c:685:1: note: declared here 685 | enchweapon (how) | ^~~~~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ player.c:711:33: note: in expansion of macro ‘cursors’ 711 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ player.c:711:33: note: in expansion of macro ‘cursors’ 711 | cursors(); | ^~~~~~~ player.c: At top level: player.c:733:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 733 | pocketfull () | ^~~~~~~~~~ player.c:747:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 747 | nearbymonst () | ^~~~~~~~~~~ player.c:762:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 762 | stealsomething (x,y) | ^~~~~~~~~~~~~~ player.c: In function ‘stealsomething’: player.c:782:33: warning: array subscript has type ‘char’ [-Wchar-subscripts] 782 | beenhere[level]++; | ^ player.c: At top level: player.c:792:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 792 | emptyhanded () | ^~~~~~~~~~~ player.c:806:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 806 | creategem () | ^~~~~~~~~ player.c:835:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 835 | adjustcvalues (itm, arg) | ^~~~~~~~~~~~~ player.c: In function ‘adjustcvalues’: player.c:877:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 877 | return; | ^~~~~~ player.c:835:1: note: declared here 835 | adjustcvalues (itm, arg) | ^~~~~~~~~~~~~ player.c:880:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 880 | return; | ^~~~~~ player.c:835:1: note: declared here 835 | adjustcvalues (itm, arg) | ^~~~~~~~~~~~~ player.c:883:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 883 | return; | ^~~~~~ player.c:835:1: note: declared here 835 | adjustcvalues (itm, arg) | ^~~~~~~~~~~~~ player.c:886:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 886 | return; | ^~~~~~ player.c:835:1: note: declared here 835 | adjustcvalues (itm, arg) | ^~~~~~~~~~~~~ player.c:889:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 889 | return; | ^~~~~~ player.c:835:1: note: declared here 835 | adjustcvalues (itm, arg) | ^~~~~~~~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ player.c:892:17: note: in expansion of macro ‘cursors’ 892 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ player.c:892:17: note: in expansion of macro ‘cursors’ 892 | cursors(); | ^~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ player.c:897:17: note: in expansion of macro ‘cursors’ 897 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ player.c:897:17: note: in expansion of macro ‘cursors’ 897 | cursors(); | ^~~~~~~ player.c:900:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 900 | return; | ^~~~~~ player.c:835:1: note: declared here 835 | adjustcvalues (itm, arg) | ^~~~~~~~~~~~~ player.c:903:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 903 | return; | ^~~~~~ player.c:835:1: note: declared here 835 | adjustcvalues (itm, arg) | ^~~~~~~~~~~~~ player.c: At top level: player.c:919:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 919 | gettokstr (str) | ^~~~~~~~~ player.c:946:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 946 | getpassword () | ^~~~~~~~~~~ player.c:971:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 971 | getyn () | ^~~~~ player.c:987:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 987 | packweight () | ^~~~~~~~~~ player.c: In function ‘raiselevel’: player.c:43:1: warning: control reaches end of non-void function [-Wreturn-type] 43 | } | ^ In file included from header.h:2, from help.c:2: config.h:23:21: warning: "/*" within comment [-Wcomment] 23 | /*#undef EUNICE /**/ player.c: In function ‘loselevel’: player.c:57:1: warning: control reaches end of non-void function [-Wreturn-type] 57 | } | ^ config.h:24:18: warning: "/*" within comment [-Wcomment] 24 | /*#undef VMS /**/ config.h:107:21: warning: "/*" within comment [-Wcomment] 107 | /*#undef RANDOM /**/ player.c: In function ‘raiseexperience’: player.c:125:1: warning: control reaches end of non-void function [-Wreturn-type] 125 | } | ^ config.h:113:27: warning: "/*" within comment [-Wcomment] 113 | /*#undef DEF_COMPRESS /**/ player.c: In function ‘loseexperience’: player.c:158:1: warning: control reaches end of non-void function [-Wreturn-type] 158 | } | ^ player.c: In function ‘losehp’: player.c:181:1: warning: control reaches end of non-void function [-Wreturn-type] 181 | } | ^ player.c: In function ‘losemhp’: player.c:192:1: warning: control reaches end of non-void function [-Wreturn-type] 192 | } | ^ player.c: In function ‘raisehp’: player.c:208:1: warning: control reaches end of non-void function [-Wreturn-type] 208 | } | ^ player.c: In function ‘raisemhp’: player.c:215:1: warning: control reaches end of non-void function [-Wreturn-type] 215 | } | ^ player.c: In function ‘raisespells’: player.c:231:1: warning: control reaches end of non-void function [-Wreturn-type] 231 | } | ^ player.c: In function ‘raisemspells’: player.c:238:1: warning: control reaches end of non-void function [-Wreturn-type] 238 | } | ^ player.c: In function ‘losespells’: player.c:254:1: warning: control reaches end of non-void function [-Wreturn-type] 254 | } | ^ player.c: In function ‘losemspells’: player.c:263:1: warning: control reaches end of non-void function [-Wreturn-type] 263 | } | ^ player.c: In function ‘positionplayer’: player.c:286:1: warning: control reaches end of non-void function [-Wreturn-type] 286 | } | ^ config.h:145:33: warning: "/*" within comment [-Wcomment] 145 | /*#undef BSDCOMPILE /**/ config.h:150:33: warning: "/*" within comment [-Wcomment] 150 | /*#undef HPUX /**/ config.h:158:1: warning: "/*" within comment [-Wcomment] 158 | /* SYSERRLISTDEFINED player.c: In function ‘recalc’: player.c:415:1: warning: control reaches end of non-void function [-Wreturn-type] 415 | } | ^ player.c: In function ‘more’: player.c:481:1: warning: control reaches end of non-void function [-Wreturn-type] 481 | } | ^ player.c: In function ‘creategem’: player.c:829:1: warning: control reaches end of non-void function [-Wreturn-type] 829 | } | ^ player.c: In function ‘gettokstr’: player.c:939:1: warning: control reaches end of non-void function [-Wreturn-type] 939 | } | ^ player.c: In function ‘getpassword’: player.c:955:9: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 955 | fgets(gpwbuf,BUFSIZ-1,stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ help.c:17:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 17 | help () | ^~~~ help.c: In function ‘help’: help.c:23:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 23 | return; /* open the help file and get # pages */ | ^~~~~~ help.c:17:1: note: declared here 17 | help () | ^~~~ help.c:46:33: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 46 | return; | ^~~~~~ help.c:17:1: note: declared here 17 | help () | ^~~~ help.c: At top level: help.c:58:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 58 | welcome () | ^~~~~~~ help.c: In function ‘welcome’: help.c:64:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 64 | return; /* open the help file */ | ^~~~~~ help.c:58:1: note: declared here 58 | welcome () | ^~~~~~~ help.c: At top level: help.c:77:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 77 | retcont () | ^~~~~~~ help.c: In function ‘retcont’: header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ help.c:79:9: note: in expansion of macro ‘cursor’ 79 | cursor(1,24); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ help.c:79:9: note: in expansion of macro ‘cursor’ 79 | cursor(1,24); | ^~~~~~ help.c: At top level: help.c:91:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 91 | openhelp () | ^~~~~~~~ help.c: In function ‘retcont’: help.c:86:1: warning: control reaches end of non-void function [-Wreturn-type] 86 | } | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fcommon -c io.c In file included from header.h:2, from io.c:50: config.h:23:21: warning: "/*" within comment [-Wcomment] 23 | /*#undef EUNICE /**/ config.h:24:18: warning: "/*" within comment [-Wcomment] 24 | /*#undef VMS /**/ config.h:107:21: warning: "/*" within comment [-Wcomment] 107 | /*#undef RANDOM /**/ config.h:113:27: warning: "/*" within comment [-Wcomment] 113 | /*#undef DEF_COMPRESS /**/ config.h:145:33: warning: "/*" within comment [-Wcomment] 145 | /*#undef BSDCOMPILE /**/ config.h:150:33: warning: "/*" within comment [-Wcomment] 150 | /*#undef HPUX /**/ config.h:158:1: warning: "/*" within comment [-Wcomment] 158 | /* SYSERRLISTDEFINED io.c:64:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 64 | getcharacter () | ^~~~~~~~~~~~ io.c: In function ‘getcharacter’: io.c:68:41: warning: "/*" within comment [-Wcomment] 68 | /* byt=getchar(); /* get character from terminal */ io.c: At top level: io.c:78:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 78 | newgame () | ^~~~~~~ io.c: In function ‘newgame’: io.c:84:9: warning: implicit declaration of function ‘time’ [-Wimplicit-function-declaration] 84 | time(&initialtime); | ^~~~ io.c:52:1: note: ‘time’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ 51 | #include "extern.h" +++ |+#include 52 | io.c: At top level: io.c:104:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 104 | lprintf(char *fmt, ...) | ^~~~~~~ io.c: In function ‘lprintf’: io.c:120:33: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 120 | return; | ^~~~~~ io.c:104:1: note: declared here 104 | lprintf(char *fmt, ...) | ^~~~~~~ io.c:163:48: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 163 | while (*outb++ = *tmpb++); | ^ io.c:171:48: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 171 | while (*outb++ = *tmpb++) | ^ io.c: At top level: io.c:229:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 229 | lprint (x) | ^~~~~~ io.c:250:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 250 | lwrite (buf, len) | ^~~~~~ io.c:338:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 338 | lrfill (adr, num) | ^~~~~~ io.c:436:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 436 | lcreat(str) | ^~~~~~ io.c:460:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 460 | lopen (str) | ^~~~~ io.c:483:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 483 | lappend (str) | ^~~~~~~ io.c:506:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 506 | lrclose() | ^~~~~~~ io.c:517:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 517 | lwclose () | ^~~~~~~ io.c:528:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 528 | lprcat (str) | ^~~~~~ io.c: In function ‘lprcat’: io.c:536:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 536 | while (*str2++ = *str++) | ^ io.c: At top level: io.c:557:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 557 | init_term () | ^~~~~~~~~ io.c: In function ‘init_term’: io.c:563:17: warning: implicit declaration of function ‘tgetent’; did you mean ‘getenv’? [-Wimplicit-function-declaration] 563 | switch (tgetent(termbuf, term = getenv("TERM"))) { | ^~~~~~~ | getenv io.c:583:42: warning: "/*" within comment [-Wcomment] 583 | /* if (pc = tgetstr("pc", &capptr)) /* padding character */ io.c:585:1: warning: "/*" within comment [-Wcomment] 585 | /* io.c:592:30: warning: implicit declaration of function ‘tgetflag’ [-Wimplicit-function-declaration] 592 | if (!tgetflag("bs")) { | ^~~~~~~~ io.c:560:15: warning: unused variable ‘pc’ [-Wunused-variable] 560 | char *pc, *capptr = cap+10; | ^~ io.c: At top level: io.c:631:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 631 | cl_up (x,y) | ^~~~~ io.c: In function ‘cl_up’: header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ io.c:636:9: note: in expansion of macro ‘cursor’ 636 | cursor(1,1); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ io.c:636:9: note: in expansion of macro ‘cursor’ 636 | cursor(1,1); | ^~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ io.c:641:9: note: in expansion of macro ‘cursor’ 641 | cursor(x,y); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ io.c:641:9: note: in expansion of macro ‘cursor’ 641 | cursor(x,y); | ^~~~~~ io.c: At top level: io.c:647:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 647 | cl_dn (x,y) | ^~~~~ io.c: In function ‘cl_dn’: header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ io.c:652:9: note: in expansion of macro ‘cursor’ 652 | cursor(1,y); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ io.c:652:9: note: in expansion of macro ‘cursor’ 652 | cursor(1,y); | ^~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ io.c:660:17: note: in expansion of macro ‘cursor’ 660 | cursor(x,y); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ io.c:660:17: note: in expansion of macro ‘cursor’ 660 | cursor(x,y); | ^~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ io.c:664:9: note: in expansion of macro ‘cursor’ 664 | cursor(x,y); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ io.c:664:9: note: in expansion of macro ‘cursor’ 664 | cursor(x,y); | ^~~~~~ io.c: At top level: io.c:670:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 670 | standout (str) | ^~~~~~~~ io.c: In function ‘standout’: io.c:675:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 675 | return; | ^~~~~~ io.c:670:1: note: declared here 670 | standout (str) | ^~~~~~~~ io.c: At top level: io.c:686:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 686 | set_score_output() { | ^~~~~~~~~~~~~~~~ io.c:699:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 699 | lflush () | ^~~~~~ io.c: In function ‘lflush’: io.c:713:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 713 | return; | ^~~~~~ io.c:699:1: note: declared here 699 | lflush () | ^~~~~~ io.c:722:33: warning: implicit declaration of function ‘tputs’; did you mean ‘puts’? [-Wimplicit-function-declaration] 722 | tputs (CL, 0, putcharacter); | ^~~~~ | puts io.c:745:40: warning: implicit declaration of function ‘tgoto’ [-Wimplicit-function-declaration] 745 | tputs (tgoto (CM, curx, cury), 0, putcharacter); | ^~~~~ io.c: At top level: io.c:795:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 795 | putcharacter(c) | ^~~~~~~~~~~~ io.c:806:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 806 | flush_buf() | ^~~~~~~~~ io.c:824:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 824 | tmcapcnv(sd,ss) | ^~~~~~~~ io.c: In function ‘newgame’: io.c:87:1: warning: control reaches end of non-void function [-Wreturn-type] 87 | } | ^ io.c: In function ‘lprint’: io.c:238:1: warning: control reaches end of non-void function [-Wreturn-type] 238 | } | ^ io.c: In function ‘lwrite’: io.c:262:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 262 | write(lfd,buf,len); | ^~~~~~~~~~~~~~~~~~ io.c:278:1: warning: control reaches end of non-void function [-Wreturn-type] 278 | } | ^ io.c: In function ‘lrfill’: io.c:371:1: warning: control reaches end of non-void function [-Wreturn-type] 371 | } | ^ io.c: In function ‘lrclose’: io.c:510:1: warning: control reaches end of non-void function [-Wreturn-type] 510 | } | ^ io.c: In function ‘lwclose’: io.c:522:1: warning: control reaches end of non-void function [-Wreturn-type] 522 | } | ^ io.c: In function ‘lprcat’: io.c:539:1: warning: control reaches end of non-void function [-Wreturn-type] 539 | } | ^ io.c: In function ‘init_term’: io.c:626:1: warning: control reaches end of non-void function [-Wreturn-type] 626 | } | ^ io.c: In function ‘cl_up’: io.c:642:1: warning: control reaches end of non-void function [-Wreturn-type] 642 | } | ^ io.c: In function ‘cl_dn’: io.c:665:1: warning: control reaches end of non-void function [-Wreturn-type] 665 | } | ^ io.c: In function ‘set_score_output’: io.c:688:1: warning: control reaches end of non-void function [-Wreturn-type] 688 | } | ^ io.c: In function ‘putcharacter’: io.c:801:1: warning: control reaches end of non-void function [-Wreturn-type] 801 | } | ^ io.c: In function ‘flush_buf’: io.c:809:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 809 | write(lfd, outbuf, ind); | ^~~~~~~~~~~~~~~~~~~~~~~ io.c:811:1: warning: control reaches end of non-void function [-Wreturn-type] 811 | } | ^ io.c: In function ‘tmcapcnv’: io.c:886:1: warning: control reaches end of non-void function [-Wreturn-type] 886 | } | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fcommon -c main.c In file included from header.h:2, from main.c:3: config.h:23:21: warning: "/*" within comment [-Wcomment] 23 | /*#undef EUNICE /**/ config.h:24:18: warning: "/*" within comment [-Wcomment] 24 | /*#undef VMS /**/ config.h:107:21: warning: "/*" within comment [-Wcomment] 107 | /*#undef RANDOM /**/ config.h:113:27: warning: "/*" within comment [-Wcomment] 113 | /*#undef DEF_COMPRESS /**/ config.h:145:33: warning: "/*" within comment [-Wcomment] 145 | /*#undef BSDCOMPILE /**/ config.h:150:33: warning: "/*" within comment [-Wcomment] 150 | /*#undef HPUX /**/ config.h:158:1: warning: "/*" within comment [-Wcomment] 158 | /* SYSERRLISTDEFINED main.c:43:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 43 | main (argc, argv) | ^~~~ main.c: In function ‘main’: main.c:64:13: warning: implicit declaration of function ‘setresgid’; did you mean ‘setregid’? [-Wimplicit-function-declaration] 64 | if (setresgid(-1, realgid, realgid) != 0) { | ^~~~~~~~~ | setregid main.c:73:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 73 | if (pwe=getpwuid(geteuid())) | ^~~ main.c: At top level: main.c:307:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 307 | parse () | ^~~~~ main.c: In function ‘parse’: main.c:319:41: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 319 | return; | ^~~~~~ main.c:307:1: note: declared here 307 | parse () | ^~~~~ main.c:321:41: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 321 | return; /* west */ | ^~~~~~ main.c:307:1: note: declared here 307 | parse () | ^~~~~ main.c:323:41: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 323 | return; /* west */ | ^~~~~~ main.c:307:1: note: declared here 307 | parse () | ^~~~~ main.c:325:41: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 325 | return; /* east */ | ^~~~~~ main.c:307:1: note: declared here 307 | parse () | ^~~~~ main.c:327:41: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 327 | return; /* east */ | ^~~~~~ main.c:307:1: note: declared here 307 | parse () | ^~~~~ main.c:329:41: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 329 | return; /* south */ | ^~~~~~ main.c:307:1: note: declared here 307 | parse () | ^~~~~ main.c:331:41: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 331 | return; /* south */ | ^~~~~~ main.c:307:1: note: declared here 307 | parse () | ^~~~~ main.c:333:41: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 333 | return; /* north */ | ^~~~~~ main.c:307:1: note: declared here 307 | parse () | ^~~~~ main.c:335:41: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 335 | return; /* north */ | ^~~~~~ main.c:307:1: note: declared here 307 | parse () | ^~~~~ main.c:337:41: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 337 | return; /* northeast */ | ^~~~~~ main.c:307:1: note: declared here 307 | parse () | ^~~~~ main.c:339:41: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 339 | return; /* northeast */ | ^~~~~~ main.c:307:1: note: declared here 307 | parse () | ^~~~~ main.c:341:41: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 341 | return; /* northwest */ | ^~~~~~ main.c:307:1: note: declared here 307 | parse () | ^~~~~ main.c:343:41: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 343 | return; /* northwest */ | ^~~~~~ main.c:307:1: note: declared here 307 | parse () | ^~~~~ main.c:345:41: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 345 | return; /* southeast */ | ^~~~~~ main.c:307:1: note: declared here 307 | parse () | ^~~~~ main.c:347:41: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 347 | return; /* southeast */ | ^~~~~~ main.c:307:1: note: declared here 307 | parse () | ^~~~~ main.c:349:41: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 349 | return; /* southwest */ | ^~~~~~ main.c:307:1: note: declared here 307 | parse () | ^~~~~ main.c:351:41: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 351 | return; /* southwest */ | ^~~~~~ main.c:307:1: note: declared here 307 | parse () | ^~~~~ main.c:355:41: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 355 | return; /* do nothing, stay here */ | ^~~~~~ main.c:307:1: note: declared here 307 | parse () | ^~~~~ main.c:359:41: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 359 | return; | ^~~~~~ main.c:307:1: note: declared here 307 | parse () | ^~~~~ main.c:363:41: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 363 | return; /* wield a weapon */ | ^~~~~~ main.c:307:1: note: declared here 307 | parse () | ^~~~~ main.c:367:41: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 367 | return; /* wear armor */ | ^~~~~~ main.c:307:1: note: declared here 307 | parse () | ^~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ main.c:371:49: note: in expansion of macro ‘cursors’ 371 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ main.c:371:49: note: in expansion of macro ‘cursors’ 371 | cursors(); | ^~~~~~~ main.c:375:41: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 375 | return; /* to read a scroll */ | ^~~~~~ main.c:307:1: note: declared here 307 | parse () | ^~~~~ main.c:380:41: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 380 | return; /* quaff a potion */ | ^~~~~~ main.c:307:1: note: declared here 307 | parse () | ^~~~~ main.c:385:41: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 385 | return; /* to drop an object */ | ^~~~~~ main.c:307:1: note: declared here 307 | parse () | ^~~~~ main.c:389:41: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 389 | return; /* cast a spell */ | ^~~~~~ main.c:307:1: note: declared here 307 | parse () | ^~~~~ main.c:393:41: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 393 | return; | ^~~~~~ main.c:307:1: note: declared here 307 | parse () | ^~~~~ main.c:398:41: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 398 | return; /* status */ | ^~~~~~ main.c:307:1: note: declared here 307 | parse () | ^~~~~ main.c:403:41: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 403 | return; /* to eat a fortune cookie */ | ^~~~~~ main.c:307:1: note: declared here 307 | parse () | ^~~~~ main.c:408:41: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 408 | return; /*list spells and scrolls */ | ^~~~~~ main.c:307:1: note: declared here 307 | parse () | ^~~~~ main.c:413:41: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 413 | return; /*give the help screen*/ | ^~~~~~ main.c:307:1: note: declared here 307 | parse () | ^~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ main.c:434:41: note: in expansion of macro ‘cursors’ 434 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ main.c:434:41: note: in expansion of macro ‘cursors’ 434 | cursors(); | ^~~~~~~ main.c:439:49: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 439 | return; | ^~~~~~ main.c:307:1: note: declared here 307 | parse () | ^~~~~ main.c:447:41: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 447 | return; | ^~~~~~ main.c:307:1: note: declared here 307 | parse () | ^~~~~ main.c:451:49: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 451 | return; | ^~~~~~ main.c:307:1: note: declared here 307 | parse () | ^~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ main.c:453:41: note: in expansion of macro ‘cursors’ 453 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ main.c:453:41: note: in expansion of macro ‘cursors’ 453 | cursors(); | ^~~~~~~ player.c: In function ‘enchantarmor’: player.c:673:43: warning: array subscript -1 is below array bounds of ‘char[]’ [-Warray-bounds=] 673 | adjustcvalues(iven[c[which]], ivenarg[c[which]]); /* Surely not? */ | ~~~~^~~~~~~~~~ In file included from player.c:27: extern.h:729:65: note: while referencing ‘iven’ 729 | extern char *objectname[], *spelname[],*spelmes[],char_class[], iven[]; | ^~~~ player.c:673:62: warning: array subscript -1 is below array bounds of ‘short int[]’ [-Warray-bounds=] 673 | adjustcvalues(iven[c[which]], ivenarg[c[which]]); /* Surely not? */ | ~~~~~~~^~~~~~~~~~ extern.h:741:32: note: while referencing ‘ivenarg’ 741 | extern short hitp[MAXX][MAXY], ivenarg[], screen[MAXX][MAXY]; | ^~~~~~~ main.c:455:41: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 455 | return; /* teleport yourself */ | ^~~~~~ main.c:307:1: note: declared here 307 | parse () | ^~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ main.c:459:41: note: in expansion of macro ‘cursors’ 459 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ main.c:459:41: note: in expansion of macro ‘cursors’ 459 | cursors(); | ^~~~~~~ main.c:475:75: warning: array subscript has type ‘char’ [-Wchar-subscripts] 475 | lprcat(objectname[item[i][j]]); | ~~~~~~~^~~ main.c:482:39: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 482 | return; | ^~~~~~ main.c:307:1: note: declared here 307 | parse () | ^~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ main.c:486:33: note: in expansion of macro ‘cursors’ 486 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ main.c:486:33: note: in expansion of macro ‘cursors’ 486 | cursors(); | ^~~~~~~ main.c:491:49: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 491 | return; | ^~~~~~ main.c:307:1: note: declared here 307 | parse () | ^~~~~ main.c:498:33: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 498 | return; | ^~~~~~ main.c:307:1: note: declared here 307 | parse () | ^~~~~ main.c:505:33: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 505 | return; | ^~~~~~ main.c:307:1: note: declared here 307 | parse () | ^~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ main.c:510:33: note: in expansion of macro ‘cursors’ 510 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ main.c:510:33: note: in expansion of macro ‘cursors’ 510 | cursors(); | ^~~~~~~ main.c:515:41: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 515 | return; | ^~~~~~ main.c:307:1: note: declared here 307 | parse () | ^~~~~ main.c:522:33: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 522 | return; | ^~~~~~ main.c:307:1: note: declared here 307 | parse () | ^~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ main.c:526:33: note: in expansion of macro ‘cursors’ 526 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ main.c:526:33: note: in expansion of macro ‘cursors’ 526 | cursors(); | ^~~~~~~ main.c:530:49: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 530 | return; | ^~~~~~ main.c:307:1: note: declared here 307 | parse () | ^~~~~ main.c:586:33: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 586 | return; | ^~~~~~ main.c:307:1: note: declared here 307 | parse () | ^~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ main.c:589:41: note: in expansion of macro ‘cursors’ 589 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ main.c:589:41: note: in expansion of macro ‘cursors’ 589 | cursors(); | ^~~~~~~ main.c:601:41: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 601 | return; | ^~~~~~ main.c:307:1: note: declared here 307 | parse () | ^~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ main.c:603:41: note: in expansion of macro ‘cursors’ 603 | case 'g': cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ main.c:603:41: note: in expansion of macro ‘cursors’ 603 | case 'g': cursors(); | ^~~~~~~ main.c:608:41: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 608 | return; | ^~~~~~ main.c:307:1: note: declared here 307 | parse () | ^~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ main.c:611:41: note: in expansion of macro ‘cursors’ 611 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ main.c:611:41: note: in expansion of macro ‘cursors’ 611 | cursors(); | ^~~~~~~ main.c:618:41: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 618 | return; | ^~~~~~ main.c:307:1: note: declared here 307 | parse () | ^~~~~ main.c:623:41: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 623 | return; /* quit */ | ^~~~~~ main.c:307:1: note: declared here 307 | parse () | ^~~~~ main.c:630:41: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 630 | return; /* look */ | ^~~~~~ main.c:307:1: note: declared here 307 | parse () | ^~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ main.c:632:41: note: in expansion of macro ‘cursors’ 632 | case 'P': cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ main.c:632:41: note: in expansion of macro ‘cursors’ 632 | case 'P': cursors(); | ^~~~~~~ main.c:638:33: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 638 | return; | ^~~~~~ main.c:307:1: note: declared here 307 | parse () | ^~~~~ main.c: At top level: main.c:643:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 643 | parse2 () | ^~~~~~ main.c: In function ‘parse2’: main.c:650:1: warning: control reaches end of non-void function [-Wreturn-type] 650 | } | ^ display.c: In function ‘seemagic’: display.c:654:17: warning: ‘number’ may be used uninitialized [-Wmaybe-uninitialized] 654 | draws(0,MAXX,0,number); | ^~~~~~~~~~~~~~~~~~~~~~ display.c:612:15: note: ‘number’ was declared here 612 | int i,number; | ^~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fcommon -c monster.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fcommon -c moreobj.c In file included from header.h:2, from monster.c:2: config.h:23:21: warning: "/*" within comment [-Wcomment] 23 | /*#undef EUNICE /**/ config.h:24:18: warning: "/*" within comment [-Wcomment] 24 | /*#undef VMS /**/ config.h:107:21: warning: "/*" within comment [-Wcomment] 107 | /*#undef RANDOM /**/ config.h:113:27: warning: "/*" within comment [-Wcomment] 113 | /*#undef DEF_COMPRESS /**/ config.h:145:33: warning: "/*" within comment [-Wcomment] 145 | /*#undef BSDCOMPILE /**/ config.h:150:33: warning: "/*" within comment [-Wcomment] 150 | /*#undef HPUX /**/ config.h:158:1: warning: "/*" within comment [-Wcomment] 158 | /* SYSERRLISTDEFINED In file included from header.h:2, from moreobj.c:10: config.h:23:21: warning: "/*" within comment [-Wcomment] 23 | /*#undef EUNICE /**/ config.h:24:18: warning: "/*" within comment [-Wcomment] 24 | /*#undef VMS /**/ config.h:107:21: warning: "/*" within comment [-Wcomment] 107 | /*#undef RANDOM /**/ config.h:113:27: warning: "/*" within comment [-Wcomment] 113 | /*#undef DEF_COMPRESS /**/ config.h:145:33: warning: "/*" within comment [-Wcomment] 145 | /*#undef BSDCOMPILE /**/ config.h:150:33: warning: "/*" within comment [-Wcomment] 150 | /*#undef HPUX /**/ config.h:158:1: warning: "/*" within comment [-Wcomment] 158 | /* SYSERRLISTDEFINED monster.c:91:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 91 | createmonster(mon) | ^~~~~~~~~~~~~ monster.c: In function ‘createmonster’: monster.c:100:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 100 | return; | ^~~~~~ monster.c:91:1: note: declared here 91 | createmonster(mon) | ^~~~~~~~~~~~~ monster.c:121:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 121 | return; | ^~~~~~ monster.c:91:1: note: declared here 91 | createmonster(mon) | ^~~~~~~~~~~~~ monster.c: At top level: monster.c:136:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 136 | cgood(x, y, itm, monst) | ^~~~~ monster.c:159:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 159 | createitem(x, y, it, arg) | ^~~~~~~~~~ monster.c: In function ‘createitem’: monster.c:165:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 165 | return; /* no such object */ | ^~~~~~ monster.c:159:1: note: declared here 159 | createitem(x, y, it, arg) | ^~~~~~~~~~ monster.c:178:33: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 178 | return; | ^~~~~~ monster.c:159:1: note: declared here 159 | createitem(x, y, it, arg) | ^~~~~~~~~~ monster.c:186:41: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 186 | return; | ^~~~~~ monster.c:159:1: note: declared here 159 | createitem(x, y, it, arg) | ^~~~~~~~~~ monster.c:193:41: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 193 | return; | ^~~~~~ monster.c:159:1: note: declared here 159 | createitem(x, y, it, arg) | ^~~~~~~~~~ monster.c:200:41: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 200 | return; | ^~~~~~ monster.c:159:1: note: declared here 159 | createitem(x, y, it, arg) | ^~~~~~~~~~ monster.c:207:41: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 207 | return; | ^~~~~~ monster.c:159:1: note: declared here 159 | createitem(x, y, it, arg) | ^~~~~~~~~~ monster.c:210:33: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 210 | return; | ^~~~~~ monster.c:159:1: note: declared here 159 | createitem(x, y, it, arg) | ^~~~~~~~~~ monster.c:219:41: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 219 | return; | ^~~~~~ monster.c:159:1: note: declared here 159 | createitem(x, y, it, arg) | ^~~~~~~~~~ monster.c: At top level: monster.c:233:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 233 | cast() | ^~~~ monster.c: In function ‘cast’: header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ monster.c:237:9: note: in expansion of macro ‘cursors’ 237 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ monster.c:237:9: note: in expansion of macro ‘cursors’ 237 | cursors(); | ^~~~~~~ monster.c:240:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 240 | return; | ^~~~~~ monster.c:233:1: note: declared here 233 | cast() | ^~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ monster.c:246:25: note: in expansion of macro ‘cursors’ 246 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ monster.c:246:25: note: in expansion of macro ‘cursors’ 246 | cursors(); | ^~~~~~~ monster.c:252:17: warning: statement with no effect [-Wunused-value] 252 | lflush; | ^~~~~~ monster.c:256:17: warning: statement with no effect [-Wunused-value] 256 | lflush; | ^~~~~~ monster.c:260:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 260 | return; | ^~~~~~ monster.c:233:1: note: declared here 233 | cast() | ^~~~ monster.c: At top level: monster.c:284:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 284 | speldamage(x) | ^~~~~~~~~~ monster.c: In function ‘speldamage’: monster.c:293:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 293 | return; /* no such spell */ | ^~~~~~ monster.c:284:1: note: declared here 284 | speldamage(x) | ^~~~~~~~~~ monster.c:297:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 297 | return; | ^~~~~~ monster.c:284:1: note: declared here 284 | speldamage(x) | ^~~~~~~~~~ monster.c:301:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 301 | return; | ^~~~~~ monster.c:284:1: note: declared here 284 | speldamage(x) | ^~~~~~~~~~ monster.c:306:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 306 | return; | ^~~~~~ monster.c:284:1: note: declared here 284 | speldamage(x) | ^~~~~~~~~~ monster.c:315:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 315 | return; | ^~~~~~ monster.c:284:1: note: declared here 284 | speldamage(x) | ^~~~~~~~~~ monster.c:322:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 322 | return; | ^~~~~~ monster.c:284:1: note: declared here 284 | speldamage(x) | ^~~~~~~~~~ monster.c:328:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 328 | return; | ^~~~~~ monster.c:284:1: note: declared here 284 | speldamage(x) | ^~~~~~~~~~ monster.c:335:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 335 | return; | ^~~~~~ monster.c:284:1: note: declared here 284 | speldamage(x) | ^~~~~~~~~~ monster.c:339:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 339 | return; | ^~~~~~ monster.c:284:1: note: declared here 284 | speldamage(x) | ^~~~~~~~~~ monster.c:344:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 344 | return; | ^~~~~~ monster.c:284:1: note: declared here 284 | speldamage(x) | ^~~~~~~~~~ monster.c:356:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 356 | return; | ^~~~~~ monster.c:284:1: note: declared here 284 | speldamage(x) | ^~~~~~~~~~ monster.c:369:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 369 | return; | ^~~~~~ monster.c:284:1: note: declared here 284 | speldamage(x) | ^~~~~~~~~~ monster.c:373:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 373 | return; | ^~~~~~ monster.c:284:1: note: declared here 284 | speldamage(x) | ^~~~~~~~~~ monster.c:377:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 377 | return; | ^~~~~~ monster.c:284:1: note: declared here 284 | speldamage(x) | ^~~~~~~~~~ monster.c:384:33: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 384 | return; | ^~~~~~ monster.c:284:1: note: declared here 284 | speldamage(x) | ^~~~~~~~~~ monster.c:388:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 388 | return; | ^~~~~~ monster.c:284:1: note: declared here 284 | speldamage(x) | ^~~~~~~~~~ monster.c:395:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 395 | return; | ^~~~~~ monster.c:284:1: note: declared here 284 | speldamage(x) | ^~~~~~~~~~ monster.c:404:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 404 | return; | ^~~~~~ monster.c:284:1: note: declared here 284 | speldamage(x) | ^~~~~~~~~~ monster.c:410:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 410 | return; /* fireball */ | ^~~~~~ monster.c:284:1: note: declared here 284 | speldamage(x) | ^~~~~~~~~~ monster.c:415:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 415 | return; | ^~~~~~ monster.c:284:1: note: declared here 284 | speldamage(x) | ^~~~~~~~~~ monster.c:419:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 419 | return; | ^~~~~~ monster.c:284:1: note: declared here 284 | speldamage(x) | ^~~~~~~~~~ monster.c:423:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 423 | return; | ^~~~~~ monster.c:284:1: note: declared here 284 | speldamage(x) | ^~~~~~~~~~ monster.c:427:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 427 | return; | ^~~~~~ monster.c:284:1: note: declared here 284 | speldamage(x) | ^~~~~~~~~~ monster.c:431:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 431 | return; | ^~~~~~ monster.c:284:1: note: declared here 284 | speldamage(x) | ^~~~~~~~~~ monster.c:481:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 481 | return; | ^~~~~~ monster.c:284:1: note: declared here 284 | speldamage(x) | ^~~~~~~~~~ monster.c:486:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 486 | return; | ^~~~~~ monster.c:284:1: note: declared here 284 | speldamage(x) | ^~~~~~~~~~ monster.c:491:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 491 | return; | ^~~~~~ monster.c:284:1: note: declared here 284 | speldamage(x) | ^~~~~~~~~~ monster.c:497:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 497 | return; | ^~~~~~ monster.c:284:1: note: declared here 284 | speldamage(x) | ^~~~~~~~~~ monster.c:504:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 504 | return; | ^~~~~~ monster.c:284:1: note: declared here 284 | speldamage(x) | ^~~~~~~~~~ monster.c:509:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 509 | return; | ^~~~~~ monster.c:284:1: note: declared here 284 | speldamage(x) | ^~~~~~~~~~ monster.c:517:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 517 | return; | ^~~~~~ monster.c:284:1: note: declared here 284 | speldamage(x) | ^~~~~~~~~~ monster.c:524:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 524 | return; | ^~~~~~ monster.c:284:1: note: declared here 284 | speldamage(x) | ^~~~~~~~~~ moreobj.c:22:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 22 | oaltar() | ^~~~~~ monster.c:537:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 537 | return; | ^~~~~~ monster.c:284:1: note: declared here 284 | speldamage(x) | ^~~~~~~~~~ moreobj.c: In function ‘oaltar’: moreobj.c:43:33: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 43 | return; | ^~~~~~ moreobj.c:22:1: note: declared here 22 | oaltar() | ^~~~~~ monster.c:541:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 541 | return; | ^~~~~~ monster.c:284:1: note: declared here 284 | speldamage(x) | ^~~~~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ moreobj.c:46:33: note: in expansion of macro ‘cursor’ 46 | cursor(1,24); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ moreobj.c:46:33: note: in expansion of macro ‘cursor’ 46 | cursor(1,24); | ^~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ moreobj.c:48:33: note: in expansion of macro ‘cursor’ 48 | cursor(1,23); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ moreobj.c:48:33: note: in expansion of macro ‘cursor’ 48 | cursor(1,23); | ^~~~~~ monster.c:545:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 545 | return; /* time stop */ | ^~~~~~ monster.c:284:1: note: declared here 284 | speldamage(x) | ^~~~~~~~~~ monster.c:549:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 549 | return; | ^~~~~~ header.h:174:13: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ moreobj.c:61:41: note: in expansion of macro ‘forget’ 61 | forget(); | ^~~~~~ header.h:174:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ moreobj.c:61:41: note: in expansion of macro ‘forget’ 61 | forget(); | ^~~~~~ monster.c:284:1: note: declared here 284 | speldamage(x) | ^~~~~~~~~~ header.h:174:38: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ moreobj.c:61:41: note: in expansion of macro ‘forget’ 61 | forget(); | ^~~~~~ header.h:174:47: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ moreobj.c:61:41: note: in expansion of macro ‘forget’ 61 | forget(); | ^~~~~~ moreobj.c:64:41: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 64 | return; | ^~~~~~ moreobj.c:22:1: note: declared here 22 | oaltar() | ^~~~~~ monster.c:553:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 553 | return; | ^~~~~~ monster.c:284:1: note: declared here 284 | speldamage(x) | ^~~~~~~~~~ moreobj.c:68:71: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 68 | if (k < (c[GOLD]+k)/10 || k < rnd(50) && !wizard) { | ~~~~~~~~~~~~^~~~~~~~~~ monster.c:558:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 558 | return; | ^~~~~~ monster.c:284:1: note: declared here 284 | speldamage(x) | ^~~~~~~~~~ moreobj.c:72:41: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 72 | return; | ^~~~~~ moreobj.c:22:1: note: declared here 22 | oaltar() | ^~~~~~ monster.c:567:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 567 | return; | ^~~~~~ monster.c:284:1: note: declared here 284 | speldamage(x) | ^~~~~~~~~~ moreobj.c:90:33: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 90 | return; | ^~~~~~ moreobj.c:22:1: note: declared here 22 | oaltar() | ^~~~~~ monster.c:574:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 574 | return; | ^~~~~~ monster.c:284:1: note: declared here 284 | speldamage(x) | ^~~~~~~~~~ monster.c:580:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 580 | return; | ^~~~~~ monster.c:284:1: note: declared here 284 | speldamage(x) | ^~~~~~~~~~ header.h:174:13: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ moreobj.c:102:33: note: in expansion of macro ‘forget’ 102 | forget(); /*remember to destroy the altar*/ | ^~~~~~ monster.c:585:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 585 | return; | ^~~~~~ header.h:174:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ moreobj.c:102:33: note: in expansion of macro ‘forget’ 102 | forget(); /*remember to destroy the altar*/ | ^~~~~~ monster.c:284:1: note: declared here 284 | speldamage(x) | ^~~~~~~~~~ header.h:174:38: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ moreobj.c:102:33: note: in expansion of macro ‘forget’ 102 | forget(); /*remember to destroy the altar*/ | ^~~~~~ header.h:174:47: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ moreobj.c:102:33: note: in expansion of macro ‘forget’ 102 | forget(); /*remember to destroy the altar*/ | ^~~~~~ monster.c:589:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 589 | return; | ^~~~~~ monster.c:284:1: note: declared here 284 | speldamage(x) | ^~~~~~~~~~ moreobj.c:105:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 105 | return; | ^~~~~~ moreobj.c:22:1: note: declared here 22 | oaltar() | ^~~~~~ moreobj.c:116:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 116 | return; | ^~~~~~ moreobj.c:22:1: note: declared here 22 | oaltar() | ^~~~~~ moreobj.c: At top level: moreobj.c:124:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 124 | ohear() | ^~~~~ moreobj.c:139:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 139 | othrone(arg) | ^~~~~~~ moreobj.c: In function ‘othrone’: moreobj.c:154:37: warning: array subscript has type ‘char’ [-Wchar-subscripts] 154 | item[playerx][playery]=ODEADTHRONE; | ^ moreobj.c:154:46: warning: array subscript has type ‘char’ [-Wchar-subscripts] 154 | item[playerx][playery]=ODEADTHRONE; | ^ moreobj.c:155:37: warning: array subscript has type ‘char’ [-Wchar-subscripts] 155 | know[playerx][playery]=0; | ^ moreobj.c:155:46: warning: array subscript has type ‘char’ [-Wchar-subscripts] 155 | know[playerx][playery]=0; | ^ moreobj.c:159:37: warning: array subscript has type ‘char’ [-Wchar-subscripts] 159 | item[playerx][playery]=OTHRONE2; | ^ moreobj.c:159:46: warning: array subscript has type ‘char’ [-Wchar-subscripts] 159 | item[playerx][playery]=OTHRONE2; | ^ moreobj.c:160:37: warning: array subscript has type ‘char’ [-Wchar-subscripts] 160 | know[playerx][playery]=0; | ^ moreobj.c:160:46: warning: array subscript has type ‘char’ [-Wchar-subscripts] 160 | know[playerx][playery]=0; | ^ moreobj.c:163:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 163 | return; | ^~~~~~ moreobj.c:139:1: note: declared here 139 | othrone(arg) | ^~~~~~~ moreobj.c:170:37: warning: array subscript has type ‘char’ [-Wchar-subscripts] 170 | item[playerx][playery]=OTHRONE2; | ^ moreobj.c:170:46: warning: array subscript has type ‘char’ [-Wchar-subscripts] 170 | item[playerx][playery]=OTHRONE2; | ^ moreobj.c:171:37: warning: array subscript has type ‘char’ [-Wchar-subscripts] 171 | know[playerx][playery]=0; | ^ moreobj.c:171:46: warning: array subscript has type ‘char’ [-Wchar-subscripts] 171 | know[playerx][playery]=0; | ^ moreobj.c:179:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 179 | return; | ^~~~~~ moreobj.c:139:1: note: declared here 139 | othrone(arg) | ^~~~~~~ moreobj.c:184:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 184 | return; | ^~~~~~ moreobj.c:139:1: note: declared here 139 | othrone(arg) | ^~~~~~~ moreobj.c: At top level: moreobj.c:189:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 189 | odeadthrone() | ^~~~~~~~~~~ moreobj.c: In function ‘odeadthrone’: moreobj.c:207:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 207 | return; | ^~~~~~ moreobj.c:189:1: note: declared here 189 | odeadthrone() | ^~~~~~~~~~~ moreobj.c:212:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 212 | return; | ^~~~~~ moreobj.c:189:1: note: declared here 189 | odeadthrone() | ^~~~~~~~~~~ monster.c:596:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 596 | return; | ^~~~~~ monster.c:284:1: note: declared here 284 | speldamage(x) | ^~~~~~~~~~ monster.c:600:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 600 | return; | ^~~~~~ moreobj.c: At top level: monster.c:284:1: note: declared here 284 | speldamage(x) | ^~~~~~~~~~ moreobj.c:223:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 223 | ochest() | ^~~~~~ monster.c:671:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 671 | return; | ^~~~~~ moreobj.c: In function ‘ochest’: monster.c:284:1: note: declared here 284 | speldamage(x) | ^~~~~~~~~~ moreobj.c:263:37: warning: array subscript has type ‘char’ [-Wchar-subscripts] 263 | item[playerx][playery]=know[playerx][playery]=0; | ^ monster.c:678:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 678 | return; | ^~~~~~ monster.c:284:1: note: declared here 284 | speldamage(x) | ^~~~~~~~~~ moreobj.c:263:46: warning: array subscript has type ‘char’ [-Wchar-subscripts] 263 | item[playerx][playery]=know[playerx][playery]=0; | ^ monster.c:683:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 683 | return; | ^~~~~~ monster.c:284:1: note: declared here 284 | speldamage(x) | ^~~~~~~~~~ moreobj.c:263:60: warning: array subscript has type ‘char’ [-Wchar-subscripts] 263 | item[playerx][playery]=know[playerx][playery]=0; | ^ monster.c: At top level: monster.c:692:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 692 | loseint() | ^~~~~~~ moreobj.c:263:69: warning: array subscript has type ‘char’ [-Wchar-subscripts] 263 | item[playerx][playery]=know[playerx][playery]=0; | ^ monster.c:704:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 704 | isconfuse() | ^~~~~~~~~ moreobj.c:266:54: warning: array subscript has type ‘char’ [-Wchar-subscripts] 266 | dropgold(rnd(110*iarg[playerx][playery]+200)); | ^ header.h:202:34: note: in definition of macro ‘rnd’ 202 | #define rnd(x) ((int)(rand() % (x)) + 1) | ^ monster.c:721:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 721 | nospell(x, monst) | ^~~~~~~ moreobj.c:266:63: warning: array subscript has type ‘char’ [-Wchar-subscripts] 266 | dropgold(rnd(110*iarg[playerx][playery]+200)); | ^ header.h:202:34: note: in definition of macro ‘rnd’ 202 | #define rnd(x) ((int)(rand() % (x)) + 1) | ^ moreobj.c:268:73: warning: array subscript has type ‘char’ [-Wchar-subscripts] 268 | something(playerx, playery, iarg[playerx][playery]+2); | ^ monster.c: In function ‘nospell’: moreobj.c:268:82: warning: array subscript has type ‘char’ [-Wchar-subscripts] 268 | something(playerx, playery, iarg[playerx][playery]+2); | ^ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ monster.c:732:9: note: in expansion of macro ‘cursors’ 732 | cursors(); | ^~~~~~~ moreobj.c:271:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 271 | return; | ^~~~~~ moreobj.c:223:1: note: declared here 223 | ochest() | ^~~~~~ moreobj.c:275:45: warning: array subscript has type ‘char’ [-Wchar-subscripts] 275 | if (take(OCHEST,iarg[playerx][playery])==0) | ^ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ monster.c:732:9: note: in expansion of macro ‘cursors’ 732 | cursors(); | ^~~~~~~ moreobj.c:275:54: warning: array subscript has type ‘char’ [-Wchar-subscripts] 275 | if (take(OCHEST,iarg[playerx][playery])==0) | ^ monster.c: At top level: moreobj.c:276:37: warning: array subscript has type ‘char’ [-Wchar-subscripts] 276 | item[playerx][playery]=know[playerx][playery]=0; | ^ moreobj.c:276:46: warning: array subscript has type ‘char’ [-Wchar-subscripts] 276 | item[playerx][playery]=know[playerx][playery]=0; | ^ monster.c:745:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 745 | fullhit(xx) | ^~~~~~~ moreobj.c:276:60: warning: array subscript has type ‘char’ [-Wchar-subscripts] 276 | item[playerx][playery]=know[playerx][playery]=0; | ^ moreobj.c:276:69: warning: array subscript has type ‘char’ [-Wchar-subscripts] 276 | item[playerx][playery]=know[playerx][playery]=0; | ^ moreobj.c:277:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 277 | return; | ^~~~~~ moreobj.c:223:1: note: declared here 223 | ochest() | ^~~~~~ monster.c:768:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 768 | direct(spnum, dam, str, arg) | ^~~~~~ moreobj.c:282:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 282 | return; | ^~~~~~ monster.c: In function ‘direct’: moreobj.c:223:1: note: declared here 223 | ochest() | ^~~~~~ moreobj.c: At top level: monster.c:776:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 776 | return; /* bad arguments */ | ^~~~~~ moreobj.c:292:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 292 | ofountain() | ^~~~~~~~~ moreobj.c: In function ‘ofountain’: monster.c:768:1: note: declared here 768 | direct(spnum, dam, str, arg) | ^~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ moreobj.c:296:9: note: in expansion of macro ‘cursors’ 296 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ moreobj.c:296:9: note: in expansion of macro ‘cursors’ 296 | cursors(); | ^~~~~~~ monster.c:778:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 778 | return; | ^~~~~~ moreobj.c:308:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 308 | return; | ^~~~~~ moreobj.c:292:1: note: declared here 292 | ofountain() | ^~~~~~~~~ monster.c:768:1: note: declared here 768 | direct(spnum, dam, str, arg) | ^~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ moreobj.c:319:25: note: in expansion of macro ‘cursors’ 319 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ moreobj.c:319:25: note: in expansion of macro ‘cursors’ 319 | cursors(); | ^~~~~~~ monster.c:791:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 791 | return; | ^~~~~~ monster.c:768:1: note: declared here 768 | direct(spnum, dam, str, arg) | ^~~~~~ moreobj.c:336:29: warning: array subscript has type ‘char’ [-Wchar-subscripts] 336 | item[playerx][playery]=ODEADFOUNTAIN; | ^ monster.c:803:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 803 | return; | ^~~~~~ moreobj.c:336:38: warning: array subscript has type ‘char’ [-Wchar-subscripts] 336 | item[playerx][playery]=ODEADFOUNTAIN; | ^ moreobj.c:337:29: warning: array subscript has type ‘char’ [-Wchar-subscripts] 337 | know[playerx][playery]=0; | ^ monster.c:768:1: note: declared here 768 | direct(spnum, dam, str, arg) | ^~~~~~ moreobj.c:337:38: warning: array subscript has type ‘char’ [-Wchar-subscripts] 337 | know[playerx][playery]=0; | ^ moreobj.c:339:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 339 | return; | ^~~~~~ monster.c:808:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 808 | return; | ^~~~~~ moreobj.c:292:1: note: declared here 292 | ofountain() | ^~~~~~~~~ moreobj.c:344:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 344 | return; | ^~~~~~ monster.c:768:1: note: declared here 768 | direct(spnum, dam, str, arg) | ^~~~~~ moreobj.c:292:1: note: declared here 292 | ofountain() | ^~~~~~~~~ monster.c:814:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 814 | return; | ^~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ moreobj.c:354:25: note: in expansion of macro ‘cursors’ 354 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ moreobj.c:354:25: note: in expansion of macro ‘cursors’ 354 | cursors(); | ^~~~~~~ monster.c:768:1: note: declared here 768 | direct(spnum, dam, str, arg) | ^~~~~~ monster.c: At top level: monster.c:830:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 830 | godirect(spnum, dam, str, delay, cshow) | ^~~~~~~~ monster.c: In function ‘godirect’: monster.c:839:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 839 | return; /* bad args */ | ^~~~~~ monster.c:830:1: note: declared here 830 | godirect(spnum, dam, str, delay, cshow) | ^~~~~~~~ monster.c:842:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 842 | return; | ^~~~~~ monster.c:830:1: note: declared here 830 | godirect(spnum, dam, str, delay, cshow) | ^~~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ monster.c:861:25: note: in expansion of macro ‘cursors’ 861 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ monster.c:861:25: note: in expansion of macro ‘cursors’ 861 | cursors(); | ^~~~~~~ monster.c:866:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 866 | return; | ^~~~~~ monster.c:830:1: note: declared here 830 | godirect(spnum, dam, str, delay, cshow) | ^~~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ monster.c:870:25: note: in expansion of macro ‘cursor’ 870 | cursor(x + 1, y + 1); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ monster.c:870:25: note: in expansion of macro ‘cursor’ 870 | cursor(x + 1, y + 1); | ^~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ monster.c:882:33: note: in expansion of macro ‘cursors’ 882 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ monster.c:882:33: note: in expansion of macro ‘cursors’ 882 | cursors(); | ^~~~~~~ monster.c:890:41: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 890 | return; | ^~~~~~ monster.c:830:1: note: declared here 830 | godirect(spnum, dam, str, delay, cshow) | ^~~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ monster.c:892:33: note: in expansion of macro ‘cursors’ 892 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ monster.c:892:33: note: in expansion of macro ‘cursors’ 892 | cursors(); | ^~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ monster.c:904:33: note: in expansion of macro ‘cursors’ 904 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ monster.c:904:33: note: in expansion of macro ‘cursors’ 904 | cursors(); | ^~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ monster.c:924:33: note: in expansion of macro ‘cursors’ 924 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ monster.c:924:33: note: in expansion of macro ‘cursors’ 924 | cursors(); | ^~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ monster.c:934:33: note: in expansion of macro ‘cursors’ 934 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ monster.c:934:33: note: in expansion of macro ‘cursors’ 934 | cursors(); | ^~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ monster.c:948:33: note: in expansion of macro ‘cursors’ 948 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ monster.c:948:33: note: in expansion of macro ‘cursors’ 948 | cursors(); | ^~~~~~~ monster.c: At top level: monster.c:975:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 975 | ifblind(x, y) | ^~~~~~~ monster.c:997:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 997 | tdirect(spnum) | ^~~~~~~ monster.c: In function ‘tdirect’: monster.c:1004:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1004 | return; /* bad args */ | ^~~~~~ monster.c:997:1: note: declared here 997 | tdirect(spnum) | ^~~~~~~ moreobj.c:363:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 363 | return; | ^~~~~~ moreobj.c:292:1: note: declared here 292 | ofountain() | ^~~~~~~~~ monster.c:1006:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1006 | return; | ^~~~~~ moreobj.c: At top level: moreobj.c:371:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 371 | fntchange(how) | ^~~~~~~~~ monster.c:997:1: note: declared here 997 | tdirect(spnum) | ^~~~~~~ monster.c:1010:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1010 | return; | ^~~~~~ monster.c:997:1: note: declared here 997 | tdirect(spnum) | ^~~~~~~ moreobj.c: In function ‘fntchange’: header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ moreobj.c:440:9: note: in expansion of macro ‘cursors’ 440 | cursors(); | ^~~~~~~ monster.c:1016:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1016 | return; | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ moreobj.c:440:9: note: in expansion of macro ‘cursors’ 440 | cursors(); | ^~~~~~~ moreobj.c: At top level: moreobj.c:450:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 450 | fch(how,x) | ^~~ monster.c:997:1: note: declared here 997 | tdirect(spnum) | ^~~~~~~ monster.c: At top level: monster.c:1022:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1022 | makewall(spnum) | ^~~~~~~~ monster.c: In function ‘makewall’: monster.c:1028:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1028 | return; /* bad args */ | ^~~~~~ monster.c:1022:1: note: declared here 1022 | makewall(spnum) | ^~~~~~~~ monster.c:1030:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1030 | return; | ^~~~~~ monster.c:1022:1: note: declared here 1022 | makewall(spnum) | ^~~~~~~~ monster.c:1033:12: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 1033 | if ((y >= 0) && (y <= MAXY - 1) && (x >= 0) && (x <= MAXX - 1)) /* within bounds? */ | ^ monster.c: At top level: monster.c:1062:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1062 | omnidirect(spnum, dam, str) | ^~~~~~~~~~ monster.c: In function ‘omnidirect’: monster.c:1069:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1069 | return; /* bad args */ | ^~~~~~ monster.c:1062:1: note: declared here 1062 | omnidirect(spnum, dam, str) | ^~~~~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ monster.c:1075:41: note: in expansion of macro ‘cursors’ 1075 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ monster.c:1075:41: note: in expansion of macro ‘cursors’ 1075 | cursors(); | ^~~~~~~ monster.c:1072:28: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 1072 | if ((m = mitem[x][y].mon) != 0) | ^ monster.c: At top level: monster.c:1095:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1095 | dirsub(x, y) | ^~~~~~ monster.c:1138:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1138 | verifyxy(x, y) | ^~~~~~~~ monster.c:1170:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1170 | dirpoly(spnum) | ^~~~~~~ monster.c: In function ‘dirpoly’: monster.c:1176:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1176 | return; /* bad args */ | ^~~~~~ monster.c:1170:1: note: declared here 1170 | dirpoly(spnum) | ^~~~~~~ monster.c:1178:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1178 | return; /* if he is confused, he can't aim his magic */ | ^~~~~~ monster.c:1170:1: note: declared here 1170 | dirpoly(spnum) | ^~~~~~~ monster.c:1182:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1182 | return; | ^~~~~~ monster.c:1170:1: note: declared here 1170 | dirpoly(spnum) | ^~~~~~~ monster.c:1188:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1188 | return; | ^~~~~~ monster.c:1170:1: note: declared here 1170 | dirpoly(spnum) | ^~~~~~~ monster.c: At top level: monster.c:1204:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1204 | hitmonster(x, y) | ^~~~~~~~~~ monster.c: In function ‘hitmonster’: monster.c:1210:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1210 | return; /* not if time stopped */ | ^~~~~~ monster.c:1204:1: note: declared here 1204 | hitmonster(x, y) | ^~~~~~~~~~ monster.c:1215:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1215 | return; | ^~~~~~ monster.c:1204:1: note: declared here 1204 | hitmonster(x, y) | ^~~~~~~~~~ moreobj.c: In function ‘ohear’: moreobj.c:131:1: warning: control reaches end of non-void function [-Wreturn-type] 131 | } | ^ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ monster.c:1222:9: note: in expansion of macro ‘cursors’ 1222 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ monster.c:1222:9: note: in expansion of macro ‘cursors’ 1222 | cursors(); | ^~~~~~~ monster.c:1240:12: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 1240 | if (flag && (monst==RUSTMONSTER || monst==DISENCHANTRESS || monst==CUBE) | ^ monster.c: At top level: monster.c:1290:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1290 | hitm(x, y, amt) | ^~~~ monster.c: In function ‘hitm’: monster.c:1357:33: warning: array subscript has type ‘char’ [-Wchar-subscripts] 1357 | beenhere[level] -= mitem[x][y].n; | ^ monster.c:1358:37: warning: array subscript has type ‘char’ [-Wchar-subscripts] 1358 | if (beenhere[level] < 1) beenhere[level]=1; | ^ monster.c:1358:58: warning: array subscript has type ‘char’ [-Wchar-subscripts] 1358 | if (beenhere[level] < 1) beenhere[level]=1; | ^ monster.c: At top level: monster.c:1385:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1385 | hitplayer (x, y) | ^~~~~~~~~ monster.c: In function ‘hitplayer’: header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ monster.c:1402:9: note: in expansion of macro ‘cursors’ 1402 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ monster.c:1402:9: note: in expansion of macro ‘cursors’ 1402 | cursors(); | ^~~~~~~ monster.c:1406:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1406 | return; | ^~~~~~ monster.c:1385:1: note: declared here 1385 | hitplayer (x, y) | ^~~~~~~~~ monster.c:1411:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1411 | return; | ^~~~~~ monster.c:1385:1: note: declared here 1385 | hitplayer (x, y) | ^~~~~~~~~ moreobj.c: In function ‘fntchange’: moreobj.c:441:1: warning: control reaches end of non-void function [-Wreturn-type] 441 | } | ^ moreobj.c: In function ‘fch’: moreobj.c:466:1: warning: control reaches end of non-void function [-Wreturn-type] 466 | } | ^ monster.c:1418:33: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1418 | return; | ^~~~~~ monster.c:1385:1: note: declared here 1385 | hitplayer (x, y) | ^~~~~~~~~ monster.c:1447:33: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1447 | return; | ^~~~~~ monster.c:1385:1: note: declared here 1385 | hitplayer (x, y) | ^~~~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ monster.c:1451:25: note: in expansion of macro ‘cursors’ 1451 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ monster.c:1451:25: note: in expansion of macro ‘cursors’ 1451 | cursors(); | ^~~~~~~ monster.c: At top level: monster.c:1481:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1481 | dropsomething (x,y,monst) | ^~~~~~~~~~~~~ monster.c: In function ‘dropsomething’: monster.c:1497:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1497 | return; | ^~~~~~ monster.c:1481:1: note: declared here 1481 | dropsomething (x,y,monst) | ^~~~~~~~~~~~~ monster.c:1502:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1502 | return; | ^~~~~~ monster.c:1481:1: note: declared here 1481 | dropsomething (x,y,monst) | ^~~~~~~~~~~~~ monster.c: At top level: monster.c:1511:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1511 | dropgold(amount) | ^~~~~~~~ monster.c:1528:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1528 | something(x,y,lev) | ^~~~~~~~~ monster.c: In function ‘something’: monster.c:1534:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1534 | return; /* correct level? */ | ^~~~~~ monster.c:1528:1: note: declared here 1528 | something(x,y,lev) | ^~~~~~~~~ monster.c: At top level: monster.c:1560:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1560 | newobject(lev, i) | ^~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fcommon -c movem.c monster.c:1687:42: warning: missing braces around initializer [-Wmissing-braces] 1687 | static short rustarm[ARMORTYPES][2] = { | ^ monster.c:1698:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1698 | spattack(x, xx, yy) | ^~~~~~~~ monster.c: In function ‘spattack’: monster.c:1709:12: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 1709 | if (c[CANCELLATION]) | ^ monster.c: At top level: monster.c:1937:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1937 | checkloss(x) | ^~~~~~~~~ monster.c:1953:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1953 | annihilate() | ^~~~~~~~~~ monster.c: In function ‘annihilate’: monster.c:1964:46: warning: array subscript has type ‘char’ [-Wchar-subscripts] 1964 | k += monster[*p].experience; | ^~ monster.c:1968:49: warning: array subscript has type ‘char’ [-Wchar-subscripts] 1968 | monster[*p].name); | ^~ monster.c:1962:24: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 1962 | if (*(p = &mitem[i][j].mon)) /* if a monster there */ | ^ monster.c: At top level: monster.c:1983:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1983 | genmonst() | ^~~~~~~~ monster.c: In function ‘genmonst’: header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ monster.c:1987:9: note: in expansion of macro ‘cursors’ 1987 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ monster.c:1987:9: note: in expansion of macro ‘cursors’ 1987 | cursors(); | ^~~~~~~ monster.c:2001:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 2001 | return; | ^~~~~~ monster.c:1983:1: note: declared here 1983 | genmonst() | ^~~~~~~~ monster.c: At top level: monster.c:2012:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 2012 | makemonst(lev) | ^~~~~~~~~ monster.c:2044:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 2044 | randmonst () | ^~~~~~~~~ monster.c: In function ‘randmonst’: monster.c:2047:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 2047 | return; | ^~~~~~ monster.c:2044:1: note: declared here 2044 | randmonst () | ^~~~~~~~~ monster.c: In function ‘loseint’: monster.c:696:1: warning: control reaches end of non-void function [-Wreturn-type] 696 | } | ^ In file included from header.h:2, from movem.c:13: config.h:23:21: warning: "/*" within comment [-Wcomment] 23 | /*#undef EUNICE /**/ config.h:24:18: warning: "/*" within comment [-Wcomment] 24 | /*#undef VMS /**/ config.h:107:21: warning: "/*" within comment [-Wcomment] 107 | /*#undef RANDOM /**/ monster.c: In function ‘ifblind’: config.h:113:27: warning: "/*" within comment [-Wcomment] 113 | /*#undef DEF_COMPRESS /**/ config.h:145:33: warning: "/*" within comment [-Wcomment] 145 | /*#undef BSDCOMPILE /**/ monster.c:989:1: warning: control reaches end of non-void function [-Wreturn-type] 989 | } | ^ config.h:150:33: warning: "/*" within comment [-Wcomment] 150 | /*#undef HPUX /**/ config.h:158:1: warning: "/*" within comment [-Wcomment] 158 | /* SYSERRLISTDEFINED monster.c: In function ‘dropgold’: monster.c:1518:1: warning: control reaches end of non-void function [-Wreturn-type] 1518 | } | ^ monster.c: In function ‘checkloss’: monster.c:1944:1: warning: control reaches end of non-void function [-Wreturn-type] 1944 | } | ^ monster.c: In function ‘annihilate’: monster.c:1976:1: warning: control reaches end of non-void function [-Wreturn-type] 1976 | } | ^ movem.c:29:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 29 | movemonst() | ^~~~~~~~~ movem.c: In function ‘movemonst’: movem.c:34:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 34 | return; /* no action if time is stopped */ | ^~~~~~ movem.c:29:1: note: declared here 29 | movemonst() | ^~~~~~~~~ movem.c:36:43: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 36 | if ((c[HASTESELF]&1)==0) return; | ^~~~~~ movem.c:29:1: note: declared here 29 | movemonst() | ^~~~~~~~~ movem.c:40:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 40 | return; /* no action if monsters are held */ | ^~~~~~ movem.c:29:1: note: declared here 29 | movemonst() | ^~~~~~~~~ movem.c:76:14: warning: array subscript has type ‘char’ [-Wchar-subscripts] 76 | moved[lasthx][lasthy]=0; | ^ movem.c:76:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] 76 | moved[lasthx][lasthy]=0; | ^ movem.c:96:18: warning: array subscript has type ‘char’ [-Wchar-subscripts] 96 | if (mitem[lasthx][lasthy].mon) /* now move monster last hit by player if not already moved */ | ^ movem.c:96:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] 96 | if (mitem[lasthx][lasthy].mon) /* now move monster last hit by player if not already moved */ | ^ movem.c:98:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] 98 | if (moved[lasthx][lasthy]==0) /* if it has not already been moved */ | ^ movem.c:98:34: warning: array subscript has type ‘char’ [-Wchar-subscripts] 98 | if (moved[lasthx][lasthy]==0) /* if it has not already been moved */ | ^ movem.c: At top level: movem.c:118:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 118 | movemt(i,j) | ^~~~~~ movem.c: In function ‘movemt’: movem.c:133:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 133 | return; | ^~~~~~ movem.c:118:1: note: declared here 118 | movemt(i,j) | ^~~~~~ movem.c:166:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 166 | return; | ^~~~~~ movem.c:118:1: note: declared here 118 | movemt(i,j) | ^~~~~~ movem.c:206:23: warning: array subscript has type ‘char’ [-Wchar-subscripts] 206 | screen[playerx][playery]=1; | ^ movem.c:206:32: warning: array subscript has type ‘char’ [-Wchar-subscripts] 206 | screen[playerx][playery]=1; | ^ movem.c:234:49: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 234 | return; | ^~~~~~ movem.c:118:1: note: declared here 118 | movemt(i,j) | ^~~~~~ movem.c: At top level: movem.c:297:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 297 | mmove(aa,bb,cc,dd) | ^~~~~ movem.c: In function ‘mmove’: movem.c:308:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 308 | return; | ^~~~~~ movem.c:297:1: note: declared here 297 | mmove(aa,bb,cc,dd) | ^~~~~ movem.c:335:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 335 | return; | ^~~~~~ movem.c:297:1: note: declared here 297 | mmove(aa,bb,cc,dd) | ^~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ movem.c:355:33: note: in expansion of macro ‘cursors’ 355 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ movem.c:355:33: note: in expansion of macro ‘cursors’ 355 | cursors(); | ^~~~~~~ movem.c:402:49: warning: array subscript has type ‘char’ [-Wchar-subscripts] 402 | mitem[cc][dd].it[n].item = item[cc][dd]; | ^ movem.c:403:49: warning: array subscript has type ‘char’ [-Wchar-subscripts] 403 | mitem[cc][dd].it[n].itemarg = iarg[cc][dd]; | ^ movem.c:446:28: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 446 | if (c[BLINDCOUNT]) return; | ^~~~~~ movem.c:297:1: note: declared here 297 | mmove(aa,bb,cc,dd) | ^~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ movem.c:452:25: note: in expansion of macro ‘cursors’ 452 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ movem.c:452:25: note: in expansion of macro ‘cursors’ 452 | cursors(); | ^~~~~~~ movem.c:476:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 476 | return; | ^~~~~~ movem.c:297:1: note: declared here 297 | mmove(aa,bb,cc,dd) | ^~~~~ movem.c: At top level: movem.c:484:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 484 | teleportmonst (xx, yy, monst) | ^~~~~~~~~~~~~ movem.c: In function ‘teleportmonst’: movem.c:514:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 514 | return; | ^~~~~~ movem.c:484:1: note: declared here 484 | teleportmonst (xx, yy, monst) | ^~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fcommon -c object.c In file included from header.h:2, from object.c:2: config.h:23:21: warning: "/*" within comment [-Wcomment] 23 | /*#undef EUNICE /**/ config.h:24:18: warning: "/*" within comment [-Wcomment] 24 | /*#undef VMS /**/ config.h:107:21: warning: "/*" within comment [-Wcomment] 107 | /*#undef RANDOM /**/ config.h:113:27: warning: "/*" within comment [-Wcomment] 113 | /*#undef DEF_COMPRESS /**/ config.h:145:33: warning: "/*" within comment [-Wcomment] 145 | /*#undef BSDCOMPILE /**/ config.h:150:33: warning: "/*" within comment [-Wcomment] 150 | /*#undef HPUX /**/ config.h:158:1: warning: "/*" within comment [-Wcomment] 158 | /* SYSERRLISTDEFINED object.c:16:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 16 | lookforobject() | ^~~~~~~~~~~~~ object.c: In function ‘lookforobject’: object.c:21:27: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 21 | if (c[TIMESTOP]) return; | ^~~~~~ object.c:16:1: note: declared here 16 | lookforobject() | ^~~~~~~~~~~~~ object.c:23:15: warning: array subscript has type ‘char’ [-Wchar-subscripts] 23 | i=item[playerx][playery]; | ^ object.c:23:24: warning: array subscript has type ‘char’ [-Wchar-subscripts] 23 | i=item[playerx][playery]; | ^ object.c:24:19: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 24 | if (i==0) return; | ^~~~~~ object.c:16:1: note: declared here 16 | lookforobject() | ^~~~~~~~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ object.c:27:9: note: in expansion of macro ‘cursors’ 27 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ object.c:27:9: note: in expansion of macro ‘cursors’ 27 | cursors(); | ^~~~~~~ object.c:40:25: warning: array subscript has type ‘char’ [-Wchar-subscripts] 40 | i = iarg[playerx][playery]; | ^ object.c:40:34: warning: array subscript has type ‘char’ [-Wchar-subscripts] 40 | i = iarg[playerx][playery]; | ^ object.c:48:25: warning: array subscript has type ‘char’ [-Wchar-subscripts] 48 | i = iarg[playerx][playery]; | ^ object.c:48:34: warning: array subscript has type ‘char’ [-Wchar-subscripts] 48 | i = iarg[playerx][playery]; | ^ object.c:55:36: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 55 | if (nearbymonst()) return; | ^~~~~~ object.c:16:1: note: declared here 16 | lookforobject() | ^~~~~~~~~~~~~ object.c:71:36: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 71 | if (nearbymonst()) return; | ^~~~~~ object.c:16:1: note: declared here 16 | lookforobject() | ^~~~~~~~~~~~~ object.c:77:36: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 77 | if (nearbymonst()) return; | ^~~~~~ object.c:16:1: note: declared here 16 | lookforobject() | ^~~~~~~~~~~~~ object.c:88:36: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 88 | if (nearbymonst()) return; | ^~~~~~ object.c:16:1: note: declared here 16 | lookforobject() | ^~~~~~~~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ object.c:110:33: note: in expansion of macro ‘cursors’ 110 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ object.c:110:33: note: in expansion of macro ‘cursors’ 110 | cursors(); | ^~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ object.c:114:41: note: in expansion of macro ‘cursors’ 114 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ object.c:114:41: note: in expansion of macro ‘cursors’ 114 | cursors(); | ^~~~~~~ object.c:124:41: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 124 | return; | ^~~~~~ object.c:16:1: note: declared here 16 | lookforobject() | ^~~~~~~~~~~~~ header.h:174:13: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:136:49: note: in expansion of macro ‘forget’ 136 | forget(); | ^~~~~~ header.h:174:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:136:49: note: in expansion of macro ‘forget’ 136 | forget(); | ^~~~~~ header.h:174:38: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:136:49: note: in expansion of macro ‘forget’ 136 | forget(); | ^~~~~~ header.h:174:47: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:136:49: note: in expansion of macro ‘forget’ 136 | forget(); | ^~~~~~ object.c:138:49: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 138 | return; | ^~~~~~ object.c:16:1: note: declared here 16 | lookforobject() | ^~~~~~~~~~~~~ header.h:174:13: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:142:33: note: in expansion of macro ‘forget’ 142 | forget(); | ^~~~~~ header.h:174:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:142:33: note: in expansion of macro ‘forget’ 142 | forget(); | ^~~~~~ header.h:174:38: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:142:33: note: in expansion of macro ‘forget’ 142 | forget(); | ^~~~~~ header.h:174:47: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:142:33: note: in expansion of macro ‘forget’ 142 | forget(); | ^~~~~~ object.c:144:33: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 144 | return; | ^~~~~~ object.c:16:1: note: declared here 16 | lookforobject() | ^~~~~~~~~~~~~ header.h:174:13: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:149:33: note: in expansion of macro ‘forget’ 149 | forget(); | ^~~~~~ header.h:174:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:149:33: note: in expansion of macro ‘forget’ 149 | forget(); | ^~~~~~ header.h:174:38: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:149:33: note: in expansion of macro ‘forget’ 149 | forget(); | ^~~~~~ header.h:174:47: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:149:33: note: in expansion of macro ‘forget’ 149 | forget(); | ^~~~~~ header.h:174:13: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:157:33: note: in expansion of macro ‘forget’ 157 | forget(); | ^~~~~~ header.h:174:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:157:33: note: in expansion of macro ‘forget’ 157 | forget(); | ^~~~~~ header.h:174:38: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:157:33: note: in expansion of macro ‘forget’ 157 | forget(); | ^~~~~~ header.h:174:47: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:157:33: note: in expansion of macro ‘forget’ 157 | forget(); | ^~~~~~ object.c:160:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 160 | return; | ^~~~~~ object.c:16:1: note: declared here 16 | lookforobject() | ^~~~~~~~~~~~~ object.c:163:36: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 163 | if (nearbymonst()) return; | ^~~~~~ object.c:16:1: note: declared here 16 | lookforobject() | ^~~~~~~~~~~~~ object.c:168:36: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 168 | if (nearbymonst()) return; | ^~~~~~ object.c:16:1: note: declared here 16 | lookforobject() | ^~~~~~~~~~~~~ object.c:193:36: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 193 | if (nearbymonst()) return; | ^~~~~~ object.c:16:1: note: declared here 16 | lookforobject() | ^~~~~~~~~~~~~ object.c:199:36: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 199 | if (nearbymonst()) return; | ^~~~~~ object.c:16:1: note: declared here 16 | lookforobject() | ^~~~~~~~~~~~~ object.c:210:32: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 210 | if (rnd(11)<6) return; | ^~~~~~ object.c:16:1: note: declared here 16 | lookforobject() | ^~~~~~~~~~~~~ object.c:211:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] 211 | item[playerx][playery] = OTELEPORTER; | ^ object.c:211:30: warning: array subscript has type ‘char’ [-Wchar-subscripts] 211 | item[playerx][playery] = OTELEPORTER; | ^ object.c:212:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] 212 | know[playerx][playery] = 1; | ^ object.c:212:30: warning: array subscript has type ‘char’ [-Wchar-subscripts] 212 | know[playerx][playery] = 1; | ^ object.c:222:36: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 222 | if (nearbymonst()) return; | ^~~~~~ object.c:16:1: note: declared here 16 | lookforobject() | ^~~~~~~~~~~~~ object.c:234:36: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 234 | if (nearbymonst()) return; | ^~~~~~ object.c:16:1: note: declared here 16 | lookforobject() | ^~~~~~~~~~~~~ object.c:241:36: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 241 | if (nearbymonst()) return; | ^~~~~~ object.c:16:1: note: declared here 16 | lookforobject() | ^~~~~~~~~~~~~ object.c:262:36: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 262 | if (nearbymonst()) return; | ^~~~~~ object.c:16:1: note: declared here 16 | lookforobject() | ^~~~~~~~~~~~~ object.c:268:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 268 | return; | ^~~~~~ object.c:16:1: note: declared here 16 | lookforobject() | ^~~~~~~~~~~~~ object.c:291:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 291 | return; | ^~~~~~ object.c:16:1: note: declared here 16 | lookforobject() | ^~~~~~~~~~~~~ object.c:306:44: warning: array subscript has type ‘char’ [-Wchar-subscripts] 306 | switch(iarg[playerx][playery]) { | ^ object.c:306:53: warning: array subscript has type ‘char’ [-Wchar-subscripts] 306 | switch(iarg[playerx][playery]) { | ^ header.h:174:13: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:337:33: note: in expansion of macro ‘forget’ 337 | forget(); | ^~~~~~ header.h:174:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:337:33: note: in expansion of macro ‘forget’ 337 | forget(); | ^~~~~~ header.h:174:38: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:337:33: note: in expansion of macro ‘forget’ 337 | forget(); | ^~~~~~ header.h:174:47: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:337:33: note: in expansion of macro ‘forget’ 337 | forget(); | ^~~~~~ object.c:338:37: warning: array subscript has type ‘char’ [-Wchar-subscripts] 338 | item[playerx][playery]=OOPENDOOR; | ^ object.c:338:46: warning: array subscript has type ‘char’ [-Wchar-subscripts] 338 | item[playerx][playery]=OOPENDOOR; | ^ object.c:358:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 358 | return; | ^~~~~~ object.c:16:1: note: declared here 16 | lookforobject() | ^~~~~~~~~~~~~ object.c:377:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 377 | return; | ^~~~~~ object.c:16:1: note: declared here 16 | lookforobject() | ^~~~~~~~~~~~~ object.c:394:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 394 | return; | ^~~~~~ object.c:16:1: note: declared here 16 | lookforobject() | ^~~~~~~~~~~~~ object.c:413:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 413 | return; | ^~~~~~ object.c:16:1: note: declared here 16 | lookforobject() | ^~~~~~~~~~~~~ object.c:429:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 429 | return; | ^~~~~~ object.c:16:1: note: declared here 16 | lookforobject() | ^~~~~~~~~~~~~ object.c:432:33: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 432 | if (rnd(17)<13) return; /* for an arrow trap */ | ^~~~~~ object.c:16:1: note: declared here 16 | lookforobject() | ^~~~~~~~~~~~~ object.c:433:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] 433 | item[playerx][playery] = OTRAPARROW; | ^ object.c:433:30: warning: array subscript has type ‘char’ [-Wchar-subscripts] 433 | item[playerx][playery] = OTRAPARROW; | ^ object.c:434:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] 434 | know[playerx][playery] = 0; | ^ object.c:434:30: warning: array subscript has type ‘char’ [-Wchar-subscripts] 434 | know[playerx][playery] = 0; | ^ object.c:441:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 441 | return; | ^~~~~~ object.c:16:1: note: declared here 16 | lookforobject() | ^~~~~~~~~~~~~ object.c:445:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 445 | return; /* for a dart trap */ | ^~~~~~ object.c:16:1: note: declared here 16 | lookforobject() | ^~~~~~~~~~~~~ object.c:446:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] 446 | item[playerx][playery] = ODARTRAP; | ^ object.c:446:30: warning: array subscript has type ‘char’ [-Wchar-subscripts] 446 | item[playerx][playery] = ODARTRAP; | ^ object.c:447:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] 447 | know[playerx][playery] = 0; | ^ object.c:447:30: warning: array subscript has type ‘char’ [-Wchar-subscripts] 447 | know[playerx][playery] = 0; | ^ object.c:455:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 455 | return; | ^~~~~~ object.c:16:1: note: declared here 16 | lookforobject() | ^~~~~~~~~~~~~ object.c:459:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 459 | return; /* for a trap door */ | ^~~~~~ object.c:16:1: note: declared here 16 | lookforobject() | ^~~~~~~~~~~~~ object.c:460:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] 460 | item[playerx][playery] = OTRAPDOOR; | ^ object.c:460:30: warning: array subscript has type ‘char’ [-Wchar-subscripts] 460 | item[playerx][playery] = OTRAPDOOR; | ^ object.c:461:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] 461 | know[playerx][playery] = 1; | ^ object.c:461:30: warning: array subscript has type ‘char’ [-Wchar-subscripts] 461 | know[playerx][playery] = 1; | ^ object.c:467:33: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 467 | return; | ^~~~~~ object.c:16:1: note: declared here 16 | lookforobject() | ^~~~~~~~~~~~~ object.c:484:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 484 | return; | ^~~~~~ object.c:16:1: note: declared here 16 | lookforobject() | ^~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fcommon -c regen.c object.c:487:36: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 487 | if (nearbymonst()) return; | ^~~~~~ object.c:16:1: note: declared here 16 | lookforobject() | ^~~~~~~~~~~~~ object.c:494:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 494 | return; | ^~~~~~ object.c:16:1: note: declared here 16 | lookforobject() | ^~~~~~~~~~~~~ object.c:497:36: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 497 | if (nearbymonst()) return; | ^~~~~~ object.c:16:1: note: declared here 16 | lookforobject() | ^~~~~~~~~~~~~ object.c:506:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 506 | return; | ^~~~~~ object.c:16:1: note: declared here 16 | lookforobject() | ^~~~~~~~~~~~~ object.c:508:36: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 508 | if (nearbymonst()) return; | ^~~~~~ object.c:16:1: note: declared here 16 | lookforobject() | ^~~~~~~~~~~~~ object.c:517:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 517 | return; | ^~~~~~ object.c:16:1: note: declared here 16 | lookforobject() | ^~~~~~~~~~~~~ header.h:174:13: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:540:25: note: in expansion of macro ‘forget’ 540 | forget(); | ^~~~~~ header.h:174:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:540:25: note: in expansion of macro ‘forget’ 540 | forget(); | ^~~~~~ header.h:174:38: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:540:25: note: in expansion of macro ‘forget’ 540 | forget(); | ^~~~~~ header.h:174:47: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:540:25: note: in expansion of macro ‘forget’ 540 | forget(); | ^~~~~~ header.h:174:13: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:545:48: note: in expansion of macro ‘forget’ 545 | if (take(OSPEED,0)==0) forget(); | ^~~~~~ header.h:174:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:545:48: note: in expansion of macro ‘forget’ 545 | if (take(OSPEED,0)==0) forget(); | ^~~~~~ header.h:174:38: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:545:48: note: in expansion of macro ‘forget’ 545 | if (take(OSPEED,0)==0) forget(); | ^~~~~~ header.h:174:47: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:545:48: note: in expansion of macro ‘forget’ 545 | if (take(OSPEED,0)==0) forget(); | ^~~~~~ header.h:174:13: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:564:25: note: in expansion of macro ‘forget’ 564 | forget(); | ^~~~~~ header.h:174:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:564:25: note: in expansion of macro ‘forget’ 564 | forget(); | ^~~~~~ header.h:174:38: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:564:25: note: in expansion of macro ‘forget’ 564 | forget(); | ^~~~~~ header.h:174:47: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:564:25: note: in expansion of macro ‘forget’ 564 | forget(); | ^~~~~~ header.h:174:13: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:569:50: note: in expansion of macro ‘forget’ 569 | if (take(OSHROOMS,0)==0) forget(); | ^~~~~~ header.h:174:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:569:50: note: in expansion of macro ‘forget’ 569 | if (take(OSHROOMS,0)==0) forget(); | ^~~~~~ header.h:174:38: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:569:50: note: in expansion of macro ‘forget’ 569 | if (take(OSHROOMS,0)==0) forget(); | ^~~~~~ header.h:174:47: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:569:50: note: in expansion of macro ‘forget’ 569 | if (take(OSHROOMS,0)==0) forget(); | ^~~~~~ object.c:594:87: warning: array subscript has type ‘char’ [-Wchar-subscripts] 594 | hitp[k][j]=monster[mitem[k][j].mon].hitpoints; | ~~~~~~~~~~~^~~~ header.h:174:13: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:596:25: note: in expansion of macro ‘forget’ 596 | forget(); | ^~~~~~ header.h:174:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:596:25: note: in expansion of macro ‘forget’ 596 | forget(); | ^~~~~~ header.h:174:38: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:596:25: note: in expansion of macro ‘forget’ 596 | forget(); | ^~~~~~ header.h:174:47: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:596:25: note: in expansion of macro ‘forget’ 596 | forget(); | ^~~~~~ header.h:174:13: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:601:47: note: in expansion of macro ‘forget’ 601 | if (take(OACID,0)==0) forget(); | ^~~~~~ header.h:174:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:601:47: note: in expansion of macro ‘forget’ 601 | if (take(OACID,0)==0) forget(); | ^~~~~~ header.h:174:38: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:601:47: note: in expansion of macro ‘forget’ 601 | if (take(OACID,0)==0) forget(); | ^~~~~~ header.h:174:47: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:601:47: note: in expansion of macro ‘forget’ 601 | if (take(OACID,0)==0) forget(); | ^~~~~~ header.h:174:13: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:624:25: note: in expansion of macro ‘forget’ 624 | forget(); | ^~~~~~ header.h:174:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:624:25: note: in expansion of macro ‘forget’ 624 | forget(); | ^~~~~~ header.h:174:38: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:624:25: note: in expansion of macro ‘forget’ 624 | forget(); | ^~~~~~ header.h:174:47: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:624:25: note: in expansion of macro ‘forget’ 624 | forget(); | ^~~~~~ header.h:174:13: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:629:47: note: in expansion of macro ‘forget’ 629 | if (take(OHASH,0)==0) forget(); | ^~~~~~ header.h:174:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:629:47: note: in expansion of macro ‘forget’ 629 | if (take(OHASH,0)==0) forget(); | ^~~~~~ header.h:174:38: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:629:47: note: in expansion of macro ‘forget’ 629 | if (take(OHASH,0)==0) forget(); | ^~~~~~ header.h:174:47: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:629:47: note: in expansion of macro ‘forget’ 629 | if (take(OHASH,0)==0) forget(); | ^~~~~~ In file included from header.h:2, from regen.c:2: config.h:23:21: warning: "/*" within comment [-Wcomment] 23 | /*#undef EUNICE /**/ config.h:24:18: warning: "/*" within comment [-Wcomment] 24 | /*#undef VMS /**/ config.h:107:21: warning: "/*" within comment [-Wcomment] 107 | /*#undef RANDOM /**/ config.h:113:27: warning: "/*" within comment [-Wcomment] 113 | /*#undef DEF_COMPRESS /**/ config.h:145:33: warning: "/*" within comment [-Wcomment] 145 | /*#undef BSDCOMPILE /**/ config.h:150:33: warning: "/*" within comment [-Wcomment] 150 | /*#undef HPUX /**/ config.h:158:1: warning: "/*" within comment [-Wcomment] 158 | /* SYSERRLISTDEFINED header.h:174:13: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:651:25: note: in expansion of macro ‘forget’ 651 | forget(); | ^~~~~~ header.h:174:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:651:25: note: in expansion of macro ‘forget’ 651 | forget(); | ^~~~~~ header.h:174:38: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:651:25: note: in expansion of macro ‘forget’ 651 | forget(); | ^~~~~~ header.h:174:47: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:651:25: note: in expansion of macro ‘forget’ 651 | forget(); | ^~~~~~ header.h:174:13: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:656:47: note: in expansion of macro ‘forget’ 656 | if (take(OCOKE,0)==0) forget(); | ^~~~~~ header.h:174:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:656:47: note: in expansion of macro ‘forget’ 656 | if (take(OCOKE,0)==0) forget(); | ^~~~~~ header.h:174:38: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:656:47: note: in expansion of macro ‘forget’ 656 | if (take(OCOKE,0)==0) forget(); | ^~~~~~ header.h:174:47: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:656:47: note: in expansion of macro ‘forget’ 656 | if (take(OCOKE,0)==0) forget(); | ^~~~~~ object.c:669:33: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 669 | return; | ^~~~~~ object.c:16:1: note: declared here 16 | lookforobject() | ^~~~~~~~~~~~~ object.c:673:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 673 | return; | ^~~~~~ object.c:16:1: note: declared here 16 | lookforobject() | ^~~~~~~~~~~~~ object.c:676:36: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 676 | if (nearbymonst()) return; | ^~~~~~ object.c:16:1: note: declared here 16 | lookforobject() | ^~~~~~~~~~~~~ object.c: At top level: object.c:694:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 694 | finditem(itm) | ^~~~~~~~ object.c: In function ‘finditem’: object.c:699:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] 699 | tmp=iarg[playerx][playery]; | ^ object.c:699:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] 699 | tmp=iarg[playerx][playery]; | ^ header.h:174:13: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:728:25: note: in expansion of macro ‘forget’ 728 | forget(); | ^~~~~~ header.h:174:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:728:25: note: in expansion of macro ‘forget’ 728 | forget(); | ^~~~~~ header.h:174:38: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:728:25: note: in expansion of macro ‘forget’ 728 | forget(); | ^~~~~~ header.h:174:47: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:728:25: note: in expansion of macro ‘forget’ 728 | forget(); | ^~~~~~ object.c:729:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 729 | return; | ^~~~~~ object.c:694:1: note: declared here 694 | finditem(itm) | ^~~~~~~~ object.c: At top level: object.c:743:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 743 | ostairs(dir) | ^~~~~~~ object.c: In function ‘ostairs’: object.c:760:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 760 | return; | ^~~~~~ object.c:743:1: note: declared here 743 | ostairs(dir) | ^~~~~~~ object.c:782:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 782 | return; | ^~~~~~ object.c:743:1: note: declared here 743 | ostairs(dir) | ^~~~~~~ object.c:805:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 805 | return; | ^~~~~~ object.c:743:1: note: declared here 743 | ostairs(dir) | ^~~~~~~ object.c: At top level: object.c:817:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 817 | oteleport(err) | ^~~~~~~~~ object.c:866:1: warning: "/*" within comment [-Wcomment] 866 | /* object.c:873:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 873 | opotion(pot) | ^~~~~~~ object.c: In function ‘opotion’: object.c:883:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 883 | return; | ^~~~~~ object.c:873:1: note: declared here 873 | opotion(pot) | ^~~~~~~ header.h:174:13: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:887:17: note: in expansion of macro ‘forget’ 887 | forget(); /* destroy potion */ | ^~~~~~ header.h:174:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:887:17: note: in expansion of macro ‘forget’ 887 | forget(); /* destroy potion */ | ^~~~~~ header.h:174:38: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:887:17: note: in expansion of macro ‘forget’ 887 | forget(); /* destroy potion */ | ^~~~~~ header.h:174:47: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:887:17: note: in expansion of macro ‘forget’ 887 | forget(); /* destroy potion */ | ^~~~~~ object.c:889:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 889 | return; | ^~~~~~ object.c:873:1: note: declared here 873 | opotion(pot) | ^~~~~~~ header.h:174:13: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:893:44: note: in expansion of macro ‘forget’ 893 | if (take(OPOTION,pot)==0) forget(); | ^~~~~~ header.h:174:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:893:44: note: in expansion of macro ‘forget’ 893 | if (take(OPOTION,pot)==0) forget(); | ^~~~~~ header.h:174:38: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:893:44: note: in expansion of macro ‘forget’ 893 | if (take(OPOTION,pot)==0) forget(); | ^~~~~~ header.h:174:47: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:893:44: note: in expansion of macro ‘forget’ 893 | if (take(OPOTION,pot)==0) forget(); | ^~~~~~ object.c:894:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 894 | return; | ^~~~~~ object.c:873:1: note: declared here 873 | opotion(pot) | ^~~~~~~ object.c: At top level: object.c:901:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 901 | quaffpotion(pot) | ^~~~~~~~~~~ object.c: In function ‘quaffpotion’: object.c:908:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 908 | return; /* check for within bounds */ | ^~~~~~ object.c:901:1: note: declared here 901 | quaffpotion(pot) | ^~~~~~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ object.c:928:17: note: in expansion of macro ‘cursors’ 928 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ object.c:928:17: note: in expansion of macro ‘cursors’ 928 | cursors(); | ^~~~~~~ object.c:930:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 930 | return; | ^~~~~~ object.c:901:1: note: declared here 901 | quaffpotion(pot) | ^~~~~~~~~~~ object.c:944:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 944 | return; | ^~~~~~ object.c:901:1: note: declared here 901 | quaffpotion(pot) | ^~~~~~~~~~~ object.c:987:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 987 | return; | ^~~~~~ object.c:901:1: note: declared here 901 | quaffpotion(pot) | ^~~~~~~~~~~ object.c:995:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 995 | return; | ^~~~~~ object.c:901:1: note: declared here 901 | quaffpotion(pot) | ^~~~~~~~~~~ object.c:1004:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1004 | return; | ^~~~~~ object.c:901:1: note: declared here 901 | quaffpotion(pot) | ^~~~~~~~~~~ object.c:1007:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1007 | return; | ^~~~~~ object.c:901:1: note: declared here 901 | quaffpotion(pot) | ^~~~~~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ object.c:1013:17: note: in expansion of macro ‘cursor’ 1013 | cursor(playerx+1,playery+1); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ object.c:1013:17: note: in expansion of macro ‘cursor’ 1013 | cursor(playerx+1,playery+1); | ^~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ object.c:1015:17: note: in expansion of macro ‘cursor’ 1015 | cursor(playerx+1,playery+1); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ object.c:1015:17: note: in expansion of macro ‘cursor’ 1015 | cursor(playerx+1,playery+1); | ^~~~~~ object.c:1016:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1016 | return; | ^~~~~~ object.c:901:1: note: declared here 901 | quaffpotion(pot) | ^~~~~~~~~~~ object.c:1021:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1021 | return; | ^~~~~~ object.c:901:1: note: declared here 901 | quaffpotion(pot) | ^~~~~~~~~~~ object.c:1059:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1059 | return; | ^~~~~~ object.c:901:1: note: declared here 901 | quaffpotion(pot) | ^~~~~~~~~~~ object.c:1068:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1068 | return; | ^~~~~~ object.c:901:1: note: declared here 901 | quaffpotion(pot) | ^~~~~~~~~~~ object.c:1073:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1073 | return; | ^~~~~~ object.c:901:1: note: declared here 901 | quaffpotion(pot) | ^~~~~~~~~~~ object.c:1079:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1079 | return; | ^~~~~~ object.c:901:1: note: declared here 901 | quaffpotion(pot) | ^~~~~~~~~~~ regen.c:15:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 15 | regen() | ^~~~~ object.c:1083:9: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1083 | return; | ^~~~~~ object.c:901:1: note: declared here 901 | quaffpotion(pot) | ^~~~~~~~~~~ object.c: At top level: object.c:1093:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1093 | oscroll(typ) | ^~~~~~~ object.c: In function ‘oscroll’: regen.c: In function ‘regen’: regen.c:24:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 24 | return; | ^~~~~~ regen.c:15:1: note: declared here 15 | regen() | ^~~~~ object.c:1105:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1105 | return; | ^~~~~~ object.c:1093:1: note: declared here 1093 | oscroll(typ) | ^~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ regen.c:86:25: note: in expansion of macro ‘cursors’ 86 | cursors(); | ^~~~~~~ header.h:174:13: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:1110:17: note: in expansion of macro ‘forget’ 1110 | forget(); | ^~~~~~ header.h:174:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:1110:17: note: in expansion of macro ‘forget’ 1110 | forget(); | ^~~~~~ header.h:174:38: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:1110:17: note: in expansion of macro ‘forget’ 1110 | forget(); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ regen.c:86:25: note: in expansion of macro ‘cursors’ 86 | cursors(); | ^~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ regen.c:92:25: note: in expansion of macro ‘cursors’ 92 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ regen.c:92:25: note: in expansion of macro ‘cursors’ 92 | cursors(); | ^~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ regen.c:137:25: note: in expansion of macro ‘cursors’ 137 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ regen.c:137:25: note: in expansion of macro ‘cursors’ 137 | cursors(); | ^~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ regen.c:151:33: note: in expansion of macro ‘cursors’ 151 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ regen.c:151:33: note: in expansion of macro ‘cursors’ 151 | cursors(); | ^~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ regen.c:162:41: note: in expansion of macro ‘cursors’ 162 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ regen.c:162:41: note: in expansion of macro ‘cursors’ 162 | cursors(); | ^~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ regen.c:170:25: note: in expansion of macro ‘cursors’ 170 | cursors(); | ^~~~~~~ header.h:174:47: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:1110:17: note: in expansion of macro ‘forget’ 1110 | forget(); | ^~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ object.c:1113:25: note: in expansion of macro ‘cursors’ 1113 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ object.c:1113:25: note: in expansion of macro ‘cursors’ 1113 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ regen.c:170:25: note: in expansion of macro ‘cursors’ 170 | cursors(); | ^~~~~~~ object.c:1117:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1117 | return; | ^~~~~~ regen.c:178:35: warning: array subscript has type ‘char’ [-Wchar-subscripts] 178 | if (item[playerx][playery]==0)/* if nothing there */ | ^ regen.c:178:44: warning: array subscript has type ‘char’ [-Wchar-subscripts] 178 | if (item[playerx][playery]==0)/* if nothing there */ | ^ object.c:1093:1: note: declared here 1093 | oscroll(typ) | ^~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ regen.c:182:25: note: in expansion of macro ‘cursors’ 182 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ regen.c:182:25: note: in expansion of macro ‘cursors’ 182 | cursors(); | ^~~~~~~ header.h:174:13: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:1122:25: note: in expansion of macro ‘forget’ 1122 | forget(); /* destroy it */ | ^~~~~~ header.h:174:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:1122:25: note: in expansion of macro ‘forget’ 1122 | forget(); /* destroy it */ | ^~~~~~ header.h:174:38: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:1122:25: note: in expansion of macro ‘forget’ 1122 | forget(); /* destroy it */ | ^~~~~~ header.h:174:47: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:1122:25: note: in expansion of macro ‘forget’ 1122 | forget(); /* destroy it */ | ^~~~~~ object.c:1123:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1123 | return; | ^~~~~~ object.c:1093:1: note: declared here 1093 | oscroll(typ) | ^~~~~~~ object.c: At top level: object.c:1146:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1146 | adjusttime(tim) | ^~~~~~~~~~ object.c: In function ‘adjusttime’: object.c:1152:34: warning: array subscript has type ‘char’ [-Wchar-subscripts] 1152 | if (c[time_change[j]]) { | ~~~~~~~~~~~^~~ object.c:1153:43: warning: array subscript has type ‘char’ [-Wchar-subscripts] 1153 | if (c[time_change[j]] < tim+1) | ~~~~~~~~~~~^~~ object.c:1154:41: warning: array subscript has type ‘char’ [-Wchar-subscripts] 1154 | c[time_change[j]] = 1; | ~~~~~~~~~~~^~~ object.c:1156:41: warning: array subscript has type ‘char’ [-Wchar-subscripts] 1156 | c[time_change[j]] -= tim; | ~~~~~~~~~~~^~~ object.c: At top level: object.c:1164:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1164 | read_scroll(typ) | ^~~~~~~~~~~ object.c: In function ‘read_scroll’: object.c:1169:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1169 | return; /* be sure we are within bounds */ | ^~~~~~ object.c:1164:1: note: declared here 1164 | read_scroll(typ) | ^~~~~~~~~~~ object.c:1177:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1177 | return; | ^~~~~~ object.c:1164:1: note: declared here 1164 | read_scroll(typ) | ^~~~~~~~~~~ object.c:1181:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1181 | return; | ^~~~~~ object.c:1164:1: note: declared here 1164 | read_scroll(typ) | ^~~~~~~~~~~ object.c:1194:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1194 | return; | ^~~~~~ object.c:1164:1: note: declared here 1164 | read_scroll(typ) | ^~~~~~~~~~~ object.c:1197:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1197 | return; | ^~~~~~ object.c:1164:1: note: declared here 1164 | read_scroll(typ) | ^~~~~~~~~~~ object.c:1201:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1201 | return; | ^~~~~~ object.c:1164:1: note: declared here 1164 | read_scroll(typ) | ^~~~~~~~~~~ object.c:1205:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1205 | return; | ^~~~~~ object.c:1164:1: note: declared here 1164 | read_scroll(typ) | ^~~~~~~~~~~ object.c:1209:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1209 | return; | ^~~~~~ object.c:1164:1: note: declared here 1164 | read_scroll(typ) | ^~~~~~~~~~~ object.c:1228:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1228 | return; | ^~~~~~ object.c:1164:1: note: declared here 1164 | read_scroll(typ) | ^~~~~~~~~~~ object.c:1232:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1232 | return; | ^~~~~~ object.c:1164:1: note: declared here 1164 | read_scroll(typ) | ^~~~~~~~~~~ object.c:1236:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1236 | return; | ^~~~~~ object.c:1164:1: note: declared here 1164 | read_scroll(typ) | ^~~~~~~~~~~ object.c:1241:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1241 | return; | ^~~~~~ object.c:1164:1: note: declared here 1164 | read_scroll(typ) | ^~~~~~~~~~~ object.c:1247:73: warning: array subscript has type ‘char’ [-Wchar-subscripts] 1247 | hitp[j][i] = monster[mitem[j][i].mon].hitpoints; | ~~~~~~~~~~~^~~~ object.c:1249:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1249 | return; | ^~~~~~ object.c:1164:1: note: declared here 1164 | read_scroll(typ) | ^~~~~~~~~~~ object.c:1254:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1254 | return; | ^~~~~~ object.c:1164:1: note: declared here 1164 | read_scroll(typ) | ^~~~~~~~~~~ object.c:1259:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1259 | return; | ^~~~~~ object.c:1164:1: note: declared here 1164 | read_scroll(typ) | ^~~~~~~~~~~ object.c:1264:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1264 | return; | ^~~~~~ object.c:1164:1: note: declared here 1164 | read_scroll(typ) | ^~~~~~~~~~~ object.c:1273:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1273 | return; | ^~~~~~ object.c:1164:1: note: declared here 1164 | read_scroll(typ) | ^~~~~~~~~~~ object.c:1278:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1278 | return; | ^~~~~~ object.c:1164:1: note: declared here 1164 | read_scroll(typ) | ^~~~~~~~~~~ object.c:1298:32: warning: array subscript has type ‘char’ [-Wchar-subscripts] 1298 | c[exten[i]] <<= 1; | ~~~~~^~~ object.c: In function ‘removecurse’: object.c:1337:28: warning: array subscript has type ‘char’ [-Wchar-subscripts] 1337 | if (c[curse[i]]) c[curse[i]] = 1; | ~~~~~^~~ object.c:1337:41: warning: array subscript has type ‘char’ [-Wchar-subscripts] 1337 | if (c[curse[i]]) c[curse[i]] = 1; | ~~~~~^~~ object.c: At top level: object.c:1340:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1340 | opit() | ^~~~ object.c: In function ‘opit’: object.c:1344:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1344 | return; | ^~~~~~ object.c:1340:1: note: declared here 1340 | opit() | ^~~~ object.c:1349:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1349 | return; | ^~~~~~ object.c:1340:1: note: declared here 1340 | opit() | ^~~~ object.c: At top level: object.c:1376:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1376 | obottomless() | ^~~~~~~~~~~ object.c:1385:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1385 | oelevator(dir) | ^~~~~~~~~ object.c: In function ‘oelevator’: object.c:1391:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1391 | return; | ^~~~~~ object.c:1385:1: note: declared here 1385 | oelevator(dir) | ^~~~~~~~~ object.c: At top level: object.c:1417:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1417 | ostatue() | ^~~~~~~ object.c:1421:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1421 | omirror() | ^~~~~~~ object.c:1424:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1424 | obook() | ^~~~~ object.c: In function ‘obook’: object.c:1435:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1435 | return; | ^~~~~~ object.c:1424:1: note: declared here 1424 | obook() | ^~~~~ object.c:1440:38: warning: array subscript has type ‘char’ [-Wchar-subscripts] 1440 | readbook(iarg[playerx][playery]); | ^ object.c:1440:47: warning: array subscript has type ‘char’ [-Wchar-subscripts] 1440 | readbook(iarg[playerx][playery]); | ^ header.h:174:13: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:1442:25: note: in expansion of macro ‘forget’ 1442 | forget(); | ^~~~~~ header.h:174:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:1442:25: note: in expansion of macro ‘forget’ 1442 | forget(); | ^~~~~~ header.h:174:38: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:1442:25: note: in expansion of macro ‘forget’ 1442 | forget(); | ^~~~~~ header.h:174:47: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:1442:25: note: in expansion of macro ‘forget’ 1442 | forget(); | ^~~~~~ object.c:1443:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1443 | return; | ^~~~~~ object.c:1424:1: note: declared here 1424 | obook() | ^~~~~ object.c:1447:44: warning: array subscript has type ‘char’ [-Wchar-subscripts] 1447 | if (take(OBOOK,iarg[playerx][playery])==0) | ^ object.c:1447:53: warning: array subscript has type ‘char’ [-Wchar-subscripts] 1447 | if (take(OBOOK,iarg[playerx][playery])==0) | ^ header.h:174:13: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:1448:33: note: in expansion of macro ‘forget’ 1448 | forget(); /* no more book */ | ^~~~~~ header.h:174:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:1448:33: note: in expansion of macro ‘forget’ 1448 | forget(); /* no more book */ | ^~~~~~ header.h:174:38: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:1448:33: note: in expansion of macro ‘forget’ 1448 | forget(); /* no more book */ | ^~~~~~ header.h:174:47: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:1448:33: note: in expansion of macro ‘forget’ 1448 | forget(); /* no more book */ | ^~~~~~ object.c:1449:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1449 | return; | ^~~~~~ object.c:1424:1: note: declared here 1424 | obook() | ^~~~~ object.c: At top level: object.c:1456:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1456 | readbook(arg) | ^~~~~~~~ object.c:1478:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1478 | ocookie() | ^~~~~~~ object.c: In function ‘ocookie’: object.c:1489:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1489 | return; | ^~~~~~ object.c:1478:1: note: declared here 1478 | ocookie() | ^~~~~~~ header.h:174:13: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:1493:25: note: in expansion of macro ‘forget’ 1493 | forget(); /* no more cookie */ | ^~~~~~ header.h:174:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:1493:25: note: in expansion of macro ‘forget’ 1493 | forget(); /* no more cookie */ | ^~~~~~ header.h:174:38: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:1493:25: note: in expansion of macro ‘forget’ 1493 | forget(); /* no more cookie */ | ^~~~~~ header.h:174:47: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:1493:25: note: in expansion of macro ‘forget’ 1493 | forget(); /* no more cookie */ | ^~~~~~ object.c:1494:44: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1494 | if (c[BLINDCOUNT]) return; | ^~~~~~ object.c:1478:1: note: declared here 1478 | ocookie() | ^~~~~~~ object.c:1495:66: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1495 | if ((p=fortune(fortfile))==(char *)NULL) return; | ^~~~~~ object.c:1478:1: note: declared here 1478 | ocookie() | ^~~~~~~ object.c:1498:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1498 | return; | ^~~~~~ object.c:1478:1: note: declared here 1478 | ocookie() | ^~~~~~~ header.h:174:13: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:1502:49: note: in expansion of macro ‘forget’ 1502 | if (take(OCOOKIE,0)==0) forget(); | ^~~~~~ header.h:174:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:1502:49: note: in expansion of macro ‘forget’ 1502 | if (take(OCOOKIE,0)==0) forget(); | ^~~~~~ header.h:174:38: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:1502:49: note: in expansion of macro ‘forget’ 1502 | if (take(OCOOKIE,0)==0) forget(); | ^~~~~~ header.h:174:47: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:1502:49: note: in expansion of macro ‘forget’ 1502 | if (take(OCOOKIE,0)==0) forget(); | ^~~~~~ object.c:1503:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1503 | return; | ^~~~~~ object.c:1478:1: note: declared here 1478 | ocookie() | ^~~~~~~ object.c: At top level: object.c:1509:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1509 | ogold(arg) | ^~~~~ object.c: In function ‘ogold’: object.c:1514:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] 1514 | i = iarg[playerx][playery]; | ^ object.c:1514:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] 1514 | i = iarg[playerx][playery]; | ^ object.c:1523:13: warning: array subscript has type ‘char’ [-Wchar-subscripts] 1523 | item[playerx][playery] = know[playerx][playery] = 0;/*destroy gold*/ | ^ object.c:1523:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] 1523 | item[playerx][playery] = know[playerx][playery] = 0;/*destroy gold*/ | ^ object.c:1523:38: warning: array subscript has type ‘char’ [-Wchar-subscripts] 1523 | item[playerx][playery] = know[playerx][playery] = 0;/*destroy gold*/ | ^ object.c:1523:47: warning: array subscript has type ‘char’ [-Wchar-subscripts] 1523 | item[playerx][playery] = know[playerx][playery] = 0;/*destroy gold*/ | ^ object.c: At top level: object.c:1526:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1526 | ohome() | ^~~~~ object.c: In function ‘ohome’: object.c:1616:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1616 | return; | ^~~~~~ object.c:1526:1: note: declared here 1526 | ohome() | ^~~~~ object.c: At top level: object.c:1622:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1622 | iopts() | ^~~~~ object.c:1626:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1626 | ignore() | ^~~~~~ object.c:1631:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1631 | closedoor() | ^~~~~~~~~ object.c: In function ‘closedoor’: object.c:1636:27: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1636 | if (c[TIMESTOP]) return; | ^~~~~~ object.c:1631:1: note: declared here 1631 | closedoor() | ^~~~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ object.c:1639:9: note: in expansion of macro ‘cursors’ 1639 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ object.c:1639:9: note: in expansion of macro ‘cursors’ 1639 | cursors(); | ^~~~~~~ object.c:1642:15: warning: array subscript has type ‘char’ [-Wchar-subscripts] 1642 | i=item[playerx][playery]; | ^ object.c:1642:24: warning: array subscript has type ‘char’ [-Wchar-subscripts] 1642 | i=item[playerx][playery]; | ^ object.c:1645:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 1645 | return; | ^~~~~~ object.c:1631:1: note: declared here 1631 | closedoor() | ^~~~~~~~~ header.h:174:13: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:1648:9: note: in expansion of macro ‘forget’ 1648 | forget(); | ^~~~~~ header.h:174:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:1648:9: note: in expansion of macro ‘forget’ 1648 | forget(); | ^~~~~~ header.h:174:38: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:1648:9: note: in expansion of macro ‘forget’ 1648 | forget(); | ^~~~~~ header.h:174:47: warning: array subscript has type ‘char’ [-Wchar-subscripts] 174 | item[playerx][playery] = know[playerx][playery] = 0; \ | ^ object.c:1648:9: note: in expansion of macro ‘forget’ 1648 | forget(); | ^~~~~~ object.c:1649:13: warning: array subscript has type ‘char’ [-Wchar-subscripts] 1649 | item[playerx][playery]=OCLOSEDDOOR; | ^ object.c:1649:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] 1649 | item[playerx][playery]=OCLOSEDDOOR; | ^ object.c:1650:13: warning: array subscript has type ‘char’ [-Wchar-subscripts] 1650 | iarg[playerx][playery]=0; | ^ object.c:1650:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] 1650 | iarg[playerx][playery]=0; | ^ object.c: In function ‘oteleport’: object.c:850:1: warning: control reaches end of non-void function [-Wreturn-type] 850 | } | ^ object.c: In function ‘adjusttime’: object.c:1159:1: warning: control reaches end of non-void function [-Wreturn-type] 1159 | } | ^ object.c: In function ‘obottomless’: object.c:1383:1: warning: control reaches end of non-void function [-Wreturn-type] 1383 | } | ^ object.c: In function ‘ostatue’: object.c:1418:3: warning: control reaches end of non-void function [-Wreturn-type] 1418 | { } /* nothing happens when you move on a statue */ | ^ object.c: In function ‘omirror’: object.c:1422:3: warning: control reaches end of non-void function [-Wreturn-type] 1422 | { } /* nothing happens when you move on a mirror */ | ^ object.c: In function ‘readbook’: object.c:1476:1: warning: control reaches end of non-void function [-Wreturn-type] 1476 | } | ^ object.c: In function ‘ogold’: object.c:1524:1: warning: control reaches end of non-void function [-Wreturn-type] 1524 | } | ^ object.c: In function ‘iopts’: object.c:1625:1: warning: control reaches end of non-void function [-Wreturn-type] 1625 | } | ^ object.c: In function ‘ignore’: object.c:1629:1: warning: control reaches end of non-void function [-Wreturn-type] 1629 | } | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fcommon -c savelev.c In file included from header.h:2, from savelev.c:2: config.h:23:21: warning: "/*" within comment [-Wcomment] 23 | /*#undef EUNICE /**/ config.h:24:18: warning: "/*" within comment [-Wcomment] 24 | /*#undef VMS /**/ config.h:107:21: warning: "/*" within comment [-Wcomment] 107 | /*#undef RANDOM /**/ config.h:113:27: warning: "/*" within comment [-Wcomment] 113 | /*#undef DEF_COMPRESS /**/ config.h:145:33: warning: "/*" within comment [-Wcomment] 145 | /*#undef BSDCOMPILE /**/ config.h:150:33: warning: "/*" within comment [-Wcomment] 150 | /*#undef HPUX /**/ config.h:158:1: warning: "/*" within comment [-Wcomment] 158 | /* SYSERRLISTDEFINED gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fcommon -c scores.c In file included from header.h:2, from scores.c:36: config.h:23:21: warning: "/*" within comment [-Wcomment] 23 | /*#undef EUNICE /**/ config.h:24:18: warning: "/*" within comment [-Wcomment] 24 | /*#undef VMS /**/ config.h:107:21: warning: "/*" within comment [-Wcomment] 107 | /*#undef RANDOM /**/ config.h:113:27: warning: "/*" within comment [-Wcomment] 113 | /*#undef DEF_COMPRESS /**/ config.h:145:33: warning: "/*" within comment [-Wcomment] 145 | /*#undef BSDCOMPILE /**/ config.h:150:33: warning: "/*" within comment [-Wcomment] 150 | /*#undef HPUX /**/ config.h:158:1: warning: "/*" within comment [-Wcomment] 158 | /* SYSERRLISTDEFINED savelev.c:37:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 37 | savelevel() | ^~~~~~~~~ savelev.c: In function ‘savelevel’: savelev.c:39:44: warning: array subscript has type ‘char’ [-Wchar-subscripts] 39 | Saved_Level *storage = saved_levels[level]; | ^ savelev.c:46:19: warning: array subscript has type ‘char’ [-Wchar-subscripts] 46 | level_sums[level] = sum((unsigned char *)storage, sizeof(Saved_Level)); | ^ savelev.c: At top level: savelev.c:53:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 53 | getlevel() | ^~~~~~~~ savelev.c: In function ‘getlevel’: savelev.c:57:44: warning: array subscript has type ‘char’ [-Wchar-subscripts] 57 | Saved_Level *storage = saved_levels[level]; | ^ savelev.c:65:23: warning: array subscript has type ‘char’ [-Wchar-subscripts] 65 | if (level_sums[level] > 0) { | ^ savelev.c:67:27: warning: array subscript has type ‘char’ [-Wchar-subscripts] 67 | != level_sums[level]) { | ^ savelev.c:70:45: warning: array subscript has type ‘char’ [-Wchar-subscripts] 70 | i, level, level_sums[level]); | ^ savelev.c:77:27: warning: array subscript has type ‘char’ [-Wchar-subscripts] 77 | level_sums[level] = sum((unsigned char *)storage, | ^ savelev.c: At top level: savelev.c:86:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 86 | savegame(fname) | ^~~~~~~~ savelev.c:204:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 204 | restoregame(fname) | ^~~~~~~~~~~ savelev.c: In function ‘restoregame’: savelev.c:216:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 216 | if (fd = (mkstemp(tempfilename)) == -1) { | ^~ savelev.c:223:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 223 | return; | ^~~~~~ savelev.c:204:1: note: declared here 204 | restoregame(fname) | ^~~~~~~~~~~ savelev.c:235:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 235 | return; | ^~~~~~ savelev.c:204:1: note: declared here 204 | restoregame(fname) | ^~~~~~~~~~~ savelev.c:254:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 254 | return; | ^~~~~~ savelev.c:204:1: note: declared here 204 | restoregame(fname) | ^~~~~~~~~~~ savelev.c:274:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 274 | return; | ^~~~~~ savelev.c:204:1: note: declared here 204 | restoregame(fname) | ^~~~~~~~~~~ savelev.c:369:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] 369 | if (item[playerx][playery] == OCLOSEDDOOR) | ^ savelev.c:369:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] 369 | if (item[playerx][playery] == OCLOSEDDOOR) | ^ savelev.c: At top level: savelev.c:376:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 376 | greedy() | ^~~~~~ savelev.c: In function ‘greedy’: savelev.c:379:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 379 | return; | ^~~~~~ savelev.c:376:1: note: declared here 376 | greedy() | ^~~~~~ savelev.c:388:9: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 388 | return; | ^~~~~~ savelev.c:376:1: note: declared here 376 | greedy() | ^~~~~~ savelev.c: At top level: savelev.c:396:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 396 | fsorry() | ^~~~~~ savelev.c: In function ‘fsorry’: savelev.c:399:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 399 | return; | ^~~~~~ savelev.c:396:1: note: declared here 396 | fsorry() | ^~~~~~ savelev.c: At top level: savelev.c:411:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 411 | fcheat() | ^~~~~~ savelev.c: In function ‘fcheat’: savelev.c:414:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 414 | return; | ^~~~~~ savelev.c:411:1: note: declared here 411 | fcheat() | ^~~~~~ savelev.c:416:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 416 | return; | ^~~~~~ savelev.c:411:1: note: declared here 411 | fcheat() | ^~~~~~ savelev.c:425:9: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 425 | return; | ^~~~~~ savelev.c:411:1: note: declared here 411 | fcheat() | ^~~~~~ savelev.c: At top level: savelev.c:429:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 429 | init_cells() | ^~~~~~~~~~ savelev.c:441:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 441 | bwrite(fd, buf, num) | ^~~~~~ savelev.c: In function ‘bwrite’: savelev.c:463:52: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] 463 | fprintf(stderr, "wrote %d, wanted %d\n", nwrote, num); | ~^ ~~~ | | | | int long int | %ld savelev.c: At top level: savelev.c:472:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 472 | bread(fd, buf, num) | ^~~~~ savelev.c: In function ‘bread’: savelev.c:493:52: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] 493 | fprintf(stderr, " Got %d, wanted %d bytes\n", nread, num); | ~^ ~~~ | | | | int long int | %ld savelev.c: In function ‘savelevel’: savelev.c:47:1: warning: control reaches end of non-void function [-Wreturn-type] 47 | } | ^ savelev.c: In function ‘getlevel’: savelev.c:80:1: warning: control reaches end of non-void function [-Wreturn-type] 80 | } | ^ savelev.c: In function ‘init_cells’: savelev.c:438:1: warning: control reaches end of non-void function [-Wreturn-type] 438 | } | ^ savelev.c: In function ‘bwrite’: savelev.c:470:1: warning: control reaches end of non-void function [-Wreturn-type] 470 | } | ^ savelev.c: In function ‘bread’: savelev.c:500:1: warning: control reaches end of non-void function [-Wreturn-type] 500 | } | ^ scores.c:112:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 112 | readboard() | ^~~~~~~~~ scores.c:145:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 145 | writeboard() | ^~~~~~~~~~ scores.c:187:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 187 | makeboard() | ^~~~~~~~~ scores.c:212:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 212 | hashewon() | ^~~~~~~~ scores.c: In function ‘paytaxes’: scores.c:256:25: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 256 | if (winr[i].score > 0) | ^~ scores.c:258:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 258 | if (x < amt) | ^~ scores.c: At top level: scores.c:275:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 275 | winshou() | ^~~~~~~ scores.c:324:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 324 | shou(x) | ^~~~ scores.c:397:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 397 | showscores() | ^~~~~~~~~~ scores.c: In function ‘showscores’: scores.c:402:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 402 | return; | ^~~~~~ scores.c:397:1: note: declared here 397 | showscores() | ^~~~~~~~~~ scores.c: At top level: scores.c:420:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 420 | showallscores() | ^~~~~~~~~~~~~ scores.c: In function ‘showallscores’: scores.c:426:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 426 | return; | ^~~~~~ scores.c:420:1: note: declared here 420 | showallscores() | ^~~~~~~~~~~~~ scores.c: At top level: scores.c:453:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 453 | sortboard() | ^~~~~~~~~ scores.c:494:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 494 | newscore(score, whoo, whyded, winner) | ^~~~~~~~ scores.c: In function ‘newscore’: scores.c:503:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 503 | return; /* do the scoreboard */ | ^~~~~~ scores.c:494:1: note: declared here 494 | newscore(score, whoo, whyded, winner) | ^~~~~~~~ scores.c:521:33: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 521 | return; | ^~~~~~ scores.c:494:1: note: declared here 494 | newscore(score, whoo, whyded, winner) | ^~~~~~~~ scores.c:528:33: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 528 | return; | ^~~~~~ scores.c:494:1: note: declared here 494 | newscore(score, whoo, whyded, winner) | ^~~~~~~~ scores.c:535:33: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 535 | return; | ^~~~~~ scores.c:494:1: note: declared here 494 | newscore(score, whoo, whyded, winner) | ^~~~~~~~ scores.c:542:33: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 542 | return; | ^~~~~~ scores.c:494:1: note: declared here 494 | newscore(score, whoo, whyded, winner) | ^~~~~~~~ scores.c: At top level: scores.c:558:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 558 | new1sub(score, i, whoo, taxes) | ^~~~~~~ scores.c:590:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 590 | new2sub(score, i, whoo, whyded) | ^~~~~~~ scores.c:663:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 663 | died(x) | ^~~~ scores.c: In function ‘died’: scores.c:693:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 693 | return; /* only case where died() returns */ | ^~~~~~ scores.c:663:1: note: declared here 663 | died(x) | ^~~~ scores.c: At top level: scores.c:757:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 757 | diedsub(x) | ^~~~~~~ scores.c: In function ‘diedsub’: scores.c:767:36: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] 767 | printf("Score: %ld Diff: %d ", c[GOLD], c[HARDGAME]); | ~^ ~~~~~~~~~~~ | | | | int long int | %ld scores.c:795:45: warning: array subscript has type ‘char’ [-Wchar-subscripts] 795 | printf(" on %s\n", levelname[level]); | ^ scores.c: At top level: scores.c:802:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 802 | showscore3(index) | ^~~~~~~~~~ scores.c: In function ‘showscore3’: scores.c:832:67: warning: array subscript has type ‘char’ [-Wchar-subscripts] 832 | printf("\n%c) %s", index + 'a' , objectname[iven[index]]); | ~~~~^~~~~~~ scores.c:834:37: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] 834 | printf(" + %d", (long)ivenarg[index]); | ~^ ~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld scores.c:836:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] 836 | printf(" %d", (long)ivenarg[index]); | ~^ ~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld scores.c: At top level: scores.c:846:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 846 | showscore1(idx, str2) | ^~~~~~~~~~ scores.c: In function ‘showscore1’: scores.c:851:65: warning: array subscript has type ‘char’ [-Wchar-subscripts] 851 | printf("\n%c) %s", idx + 'a' , objectname[iven[idx]]); | ~~~~^~~~~ scores.c:853:65: warning: array subscript has type ‘char’ [-Wchar-subscripts] 853 | printf("\n%c) %s", idx + 'a' , objectname[iven[idx]]); | ~~~~^~~~~ scores.c:856:40: warning: array subscript has type ‘char’ [-Wchar-subscripts] 856 | objectname[iven[idx]], str2[ivenarg[idx]]); | ~~~~^~~~~ scores.c: In function ‘new1sub’: scores.c:575:1: warning: control reaches end of non-void function [-Wreturn-type] 575 | } | ^ scores.c: In function ‘new2sub’: scores.c:612:1: warning: control reaches end of non-void function [-Wreturn-type] 612 | } | ^ scores.c: In function ‘diedsub’: scores.c:800:1: warning: control reaches end of non-void function [-Wreturn-type] 800 | } | ^ scores.c: In function ‘showscore3’: scores.c:844:1: warning: control reaches end of non-void function [-Wreturn-type] 844 | } | ^ scores.c: In function ‘showscore1’: scores.c:857:1: warning: control reaches end of non-void function [-Wreturn-type] 857 | } | ^ scores.c: In function ‘paytaxes’: scores.c:242:17: warning: ‘amt’ may be used uninitialized [-Wmaybe-uninitialized] 242 | long amt; | ^~~ savelev.c: In function ‘savegame’: savelev.c:187:21: warning: ‘fp’ may be used uninitialized [-Wmaybe-uninitialized] 187 | if (pclose(fp) != 0) { /* if compress failed */ | ^~~~~~~~~~ savelev.c:95:15: note: ‘fp’ was declared here 95 | FILE *fp, *popen(); | ^~ scores.c: In function ‘sortboard’: scores.c:468:30: warning: ‘j’ may be used uninitialized [-Wmaybe-uninitialized] 468 | sco[j].order = pos++; | ~~~~~~~~~~~~~^~~~~~~ scores.c:455:20: note: ‘j’ was declared here 455 | int i, j, pos; | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fcommon -c show.c In file included from header.h:2, from show.c:2: config.h:23:21: warning: "/*" within comment [-Wcomment] 23 | /*#undef EUNICE /**/ config.h:24:18: warning: "/*" within comment [-Wcomment] 24 | /*#undef VMS /**/ config.h:107:21: warning: "/*" within comment [-Wcomment] 107 | /*#undef RANDOM /**/ config.h:113:27: warning: "/*" within comment [-Wcomment] 113 | /*#undef DEF_COMPRESS /**/ config.h:145:33: warning: "/*" within comment [-Wcomment] 145 | /*#undef BSDCOMPILE /**/ config.h:150:33: warning: "/*" within comment [-Wcomment] 150 | /*#undef HPUX /**/ config.h:158:1: warning: "/*" within comment [-Wcomment] 158 | /* SYSERRLISTDEFINED show.c:12:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 12 | showstr() | ^~~~~~~ show.c:23:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 23 | qshowstr() | ^~~~~~~~ show.c:49:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 49 | t_setup (count) | ^~~~~~~ show.c: In function ‘t_setup’: header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ show.c:54:17: note: in expansion of macro ‘cursor’ 54 | cursor(1,1); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ show.c:54:17: note: in expansion of macro ‘cursor’ 54 | cursor(1,1); | ^~~~~~ show.c: At top level: show.c:65:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 65 | t_endup (count) | ^~~~~~~ show.c:79:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 79 | showwear() | ^~~~~~~~ show.c:129:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 129 | showwield() | ^~~~~~~~~ show.c:187:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 187 | showread () | ^~~~~~~~ show.c:218:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 218 | showeat () | ^~~~~~~ show.c:247:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 247 | showquaff () | ^~~~~~~~~ show.c:273:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 273 | show1 (idx, str2, known) | ^~~~~ show.c: In function ‘show1’: show.c:281:61: warning: array subscript has type ‘char’ [-Wchar-subscripts] 281 | lprintf("\n%c) %s",idx+'a',objectname[iven[idx]]); | ~~~~^~~~~ show.c:283:61: warning: array subscript has type ‘char’ [-Wchar-subscripts] 283 | lprintf("\n%c) %s",idx+'a',objectname[iven[idx]]); | ~~~~^~~~~ show.c:286:48: warning: array subscript has type ‘char’ [-Wchar-subscripts] 286 | idx+'a',objectname[iven[idx]],str2[ivenarg[idx]]); | ~~~~^~~~~ show.c:290:61: warning: array subscript has type ‘char’ [-Wchar-subscripts] 290 | lprintf("\n%c) %s",idx+'a',objectname[iven[idx]]); | ~~~~^~~~~ show.c:292:61: warning: array subscript has type ‘char’ [-Wchar-subscripts] 292 | lprintf("\n%c) %s",idx+'a',objectname[iven[idx]]); | ~~~~^~~~~ show.c:294:61: warning: array subscript has type ‘char’ [-Wchar-subscripts] 294 | lprintf("\n%c) %s",idx+'a',objectname[iven[idx]]); | ~~~~^~~~~ show.c:297:48: warning: array subscript has type ‘char’ [-Wchar-subscripts] 297 | idx+'a',objectname[iven[idx]],str2[ivenarg[idx]]); | ~~~~^~~~~ show.c: At top level: show.c:303:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 303 | show3 (index) | ^~~~~ show.c: In function ‘show3’: show.c:328:71: warning: array subscript has type ‘char’ [-Wchar-subscripts] 328 | lprintf("\n%c) %s",index+'a',objectname[iven[index]]); | ~~~~^~~~~~~ show.c: In function ‘showstr’: show.c:21:1: warning: control reaches end of non-void function [-Wreturn-type] 21 | } | ^ show.c: In function ‘qshowstr’: show.c:44:1: warning: control reaches end of non-void function [-Wreturn-type] 44 | } | ^ show.c: In function ‘t_setup’: show.c:60:1: warning: control reaches end of non-void function [-Wreturn-type] 60 | } | ^ show.c: In function ‘t_endup’: show.c:74:1: warning: control reaches end of non-void function [-Wreturn-type] 74 | } | ^ show.c: In function ‘showwear’: show.c:124:1: warning: control reaches end of non-void function [-Wreturn-type] 124 | } | ^ show.c: In function ‘showwield’: show.c:182:9: warning: control reaches end of non-void function [-Wreturn-type] 182 | } | ^ show.c: In function ‘showread’: show.c:213:9: warning: control reaches end of non-void function [-Wreturn-type] 213 | } | ^ show.c: In function ‘showeat’: show.c:242:9: warning: control reaches end of non-void function [-Wreturn-type] 242 | } | ^ show.c: In function ‘showquaff’: show.c:271:1: warning: control reaches end of non-void function [-Wreturn-type] 271 | } | ^ show.c: In function ‘show1’: show.c:301:1: warning: control reaches end of non-void function [-Wreturn-type] 301 | } | ^ show.c: In function ‘show3’: show.c:344:1: warning: control reaches end of non-void function [-Wreturn-type] 344 | } | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fcommon -c signal.c In file included from header.h:2, from signal.c:2: config.h:23:21: warning: "/*" within comment [-Wcomment] 23 | /*#undef EUNICE /**/ config.h:24:18: warning: "/*" within comment [-Wcomment] 24 | /*#undef VMS /**/ config.h:107:21: warning: "/*" within comment [-Wcomment] 107 | /*#undef RANDOM /**/ config.h:113:27: warning: "/*" within comment [-Wcomment] 113 | /*#undef DEF_COMPRESS /**/ config.h:145:33: warning: "/*" within comment [-Wcomment] 145 | /*#undef BSDCOMPILE /**/ config.h:150:33: warning: "/*" within comment [-Wcomment] 150 | /*#undef HPUX /**/ config.h:158:1: warning: "/*" within comment [-Wcomment] 158 | /* SYSERRLISTDEFINED signal.c:5:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 5 | s2choose() /* text to be displayed if ^C during intro screen */ | ^~~~~~~~ signal.c: In function ‘s2choose’: header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ signal.c:7:9: note: in expansion of macro ‘cursor’ 7 | cursor(1,24); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ signal.c:7:9: note: in expansion of macro ‘cursor’ 7 | cursor(1,24); | ^~~~~~ signal.c:14:1: warning: control reaches end of non-void function [-Wreturn-type] 14 | } | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fcommon -c sphere.c In file included from header.h:2, from sphere.c:2: config.h:23:21: warning: "/*" within comment [-Wcomment] 23 | /*#undef EUNICE /**/ config.h:24:18: warning: "/*" within comment [-Wcomment] 24 | /*#undef VMS /**/ config.h:107:21: warning: "/*" within comment [-Wcomment] 107 | /*#undef RANDOM /**/ config.h:113:27: warning: "/*" within comment [-Wcomment] 113 | /*#undef DEF_COMPRESS /**/ config.h:145:33: warning: "/*" within comment [-Wcomment] 145 | /*#undef BSDCOMPILE /**/ config.h:150:33: warning: "/*" within comment [-Wcomment] 150 | /*#undef HPUX /**/ config.h:158:1: warning: "/*" within comment [-Wcomment] 158 | /* SYSERRLISTDEFINED gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fcommon -c store.c sphere.c:33:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 33 | newsphere (x, y, dir, life) | ^~~~~~~~~ sphere.c: In function ‘newsphere’: header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ sphere.c:62:17: note: in expansion of macro ‘cursors’ 62 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ sphere.c:62:17: note: in expansion of macro ‘cursors’ 62 | cursors(); | ^~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ sphere.c:73:17: note: in expansion of macro ‘cursors’ 73 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ sphere.c:73:17: note: in expansion of macro ‘cursors’ 73 | cursors(); | ^~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ sphere.c:84:17: note: in expansion of macro ‘cursors’ 84 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ sphere.c:84:17: note: in expansion of macro ‘cursors’ 84 | cursors(); | ^~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ sphere.c:91:17: note: in expansion of macro ‘cursors’ 91 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ sphere.c:91:17: note: in expansion of macro ‘cursors’ 91 | cursors(); | ^~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ sphere.c:102:17: note: in expansion of macro ‘cursors’ 102 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ sphere.c:102:17: note: in expansion of macro ‘cursors’ 102 | cursors(); | ^~~~~~~ sphere.c: At top level: sphere.c:136:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 136 | rmsphere (x, y) | ^~~~~~~~ sphere.c:170:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 170 | sphboom (x, y) | ^~~~~~~ sphere.c: In function ‘sphboom’: sphere.c:183:41: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 183 | return; | ^~~~~~ sphere.c:170:1: note: declared here 170 | sphboom (x, y) | ^~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ sphere.c:185:33: note: in expansion of macro ‘cursors’ 185 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ sphere.c:185:33: note: in expansion of macro ‘cursors’ 185 | cursors(); | ^~~~~~~ sphere.c: At top level: sphere.c:205:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 205 | movsphere() | ^~~~~~~~~ sphere.c: In function ‘movsphere’: sphere.c:223:14: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 223 | else return; /* no spheres */ | ^~~~~~ sphere.c:205:1: note: declared here 205 | movsphere() | ^~~~~~~~~ sphere.c: In function ‘newsphere’: sphere.c:127:1: warning: control reaches end of non-void function [-Wreturn-type] 127 | } | ^ sphere.c: In function ‘rmsphere’: sphere.c:162:1: warning: control reaches end of non-void function [-Wreturn-type] 162 | } | ^ In file included from header.h:2, from store.c:2: config.h:23:21: warning: "/*" within comment [-Wcomment] 23 | /*#undef EUNICE /**/ config.h:24:18: warning: "/*" within comment [-Wcomment] 24 | /*#undef VMS /**/ config.h:107:21: warning: "/*" within comment [-Wcomment] 107 | /*#undef RANDOM /**/ config.h:113:27: warning: "/*" within comment [-Wcomment] 113 | /*#undef DEF_COMPRESS /**/ config.h:145:33: warning: "/*" within comment [-Wcomment] 145 | /*#undef BSDCOMPILE /**/ config.h:150:33: warning: "/*" within comment [-Wcomment] 150 | /*#undef HPUX /**/ config.h:158:1: warning: "/*" within comment [-Wcomment] 158 | /* SYSERRLISTDEFINED store.c:139:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 139 | dnd_2hed() | ^~~~~~~~ store.c:146:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 146 | dnd_hed() | ^~~~~~~ store.c: In function ‘dnd_hed’: header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ store.c:152:9: note: in expansion of macro ‘cursor’ 152 | cursor(50,18); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ store.c:152:9: note: in expansion of macro ‘cursor’ 152 | cursor(50,18); | ^~~~~~ store.c: At top level: store.c:156:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 156 | dndstore() | ^~~~~~~~ store.c: In function ‘dndstore’: header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ store.c:169:17: note: in expansion of macro ‘cursors’ 169 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ store.c:169:17: note: in expansion of macro ‘cursors’ 169 | cursors(); | ^~~~~~~ store.c:178:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 178 | return; | ^~~~~~ store.c:156:1: note: declared here 156 | dndstore() | ^~~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ store.c:182:17: note: in expansion of macro ‘cursor’ 182 | cursor(59,18); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ store.c:182:17: note: in expansion of macro ‘cursor’ 182 | cursor(59,18); | ^~~~~~ store.c:203:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 203 | return; | ^~~~~~ store.c:156:1: note: declared here 156 | dndstore() | ^~~~~~~~ store.c:225:58: warning: array subscript has type ‘char’ [-Wchar-subscripts] 225 | itm[i].mem[itm[i].arg] = 1 ; | ~~~~~~^~~~ store.c: At top level: store.c:241:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 241 | handsfull() | ^~~~~~~~~ store.c:247:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 247 | outofstock() | ^~~~~~~~~~ store.c:253:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 253 | nogold() | ^~~~~~ store.c:266:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 266 | dnditem(i) | ^~~~~~~ store.c: In function ‘dnditem’: store.c:273:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 273 | return; | ^~~~~~ store.c:266:1: note: declared here 266 | dnditem(i) | ^~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ store.c:276:9: note: in expansion of macro ‘cursor’ 276 | cursor(x, y); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ store.c:276:9: note: in expansion of macro ‘cursor’ 276 | cursor(x, y); | ^~~~~~ store.c:279:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 279 | return; | ^~~~~~ store.c:266:1: note: declared here 266 | dnditem(i) | ^~~~~~~ store.c:284:48: warning: array subscript has type ‘char’ [-Wchar-subscripts] 284 | lprintf("%s",&potionname[itm[i].arg][1]); | ~~~~~~^~~~ store.c:288:48: warning: array subscript has type ‘char’ [-Wchar-subscripts] 288 | lprintf("%s",&scrollname[itm[i].arg][1]); | ~~~~~~^~~~ store.c:290:44: warning: array subscript has type ‘char’ [-Wchar-subscripts] 290 | else lprintf("%s",objectname[itm[i].obj]); | ~~~~~~^~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ store.c:291:9: note: in expansion of macro ‘cursor’ 291 | cursor( j+31,k ); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ store.c:291:9: note: in expansion of macro ‘cursor’ 291 | cursor( j+31,k ); | ^~~~~~ store.c: At top level: store.c:305:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 305 | sch_hed() | ^~~~~~~ store.c: In function ‘sch_hed’: header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ store.c:338:9: note: in expansion of macro ‘cursor’ 338 | cursor(30,18); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ store.c:338:9: note: in expansion of macro ‘cursor’ 338 | cursor(30,18); | ^~~~~~ store.c: At top level: store.c:342:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 342 | oschool() | ^~~~~~~ store.c: In function ‘oschool’: header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ store.c:350:17: note: in expansion of macro ‘cursor’ 350 | cursor(57,18); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ store.c:350:17: note: in expansion of macro ‘cursor’ 350 | cursor(57,18); | ^~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ store.c:352:17: note: in expansion of macro ‘cursors’ 352 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ store.c:352:17: note: in expansion of macro ‘cursors’ 352 | cursors(); | ^~~~~~~ store.c:368:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 368 | return; | ^~~~~~ store.c:342:1: note: declared here 342 | oschool() | ^~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:133:27: note: in expansion of macro ‘cursor’ 133 | #define cl_line(x,y) do { cursor(1,(y)); *lpnt++ = CL_LINE; cursor((x),(y)); } while (0) | ^~~~~~ store.c:386:41: note: in expansion of macro ‘cl_line’ 386 | cl_line(16,7); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:133:27: note: in expansion of macro ‘cursor’ 133 | #define cl_line(x,y) do { cursor(1,(y)); *lpnt++ = CL_LINE; cursor((x),(y)); } while (0) | ^~~~~~ store.c:386:41: note: in expansion of macro ‘cl_line’ 386 | cl_line(16,7); | ^~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:133:61: note: in expansion of macro ‘cursor’ 133 | #define cl_line(x,y) do { cursor(1,(y)); *lpnt++ = CL_LINE; cursor((x),(y)); } while (0) | ^~~~~~ store.c:386:41: note: in expansion of macro ‘cl_line’ 386 | cl_line(16,7); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:133:61: note: in expansion of macro ‘cursor’ 133 | #define cl_line(x,y) do { cursor(1,(y)); *lpnt++ = CL_LINE; cursor((x),(y)); } while (0) | ^~~~~~ store.c:386:41: note: in expansion of macro ‘cl_line’ 386 | cl_line(16,7); | ^~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:133:27: note: in expansion of macro ‘cursor’ 133 | #define cl_line(x,y) do { cursor(1,(y)); *lpnt++ = CL_LINE; cursor((x),(y)); } while (0) | ^~~~~~ store.c:397:41: note: in expansion of macro ‘cl_line’ 397 | cl_line(16,8); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:133:27: note: in expansion of macro ‘cursor’ 133 | #define cl_line(x,y) do { cursor(1,(y)); *lpnt++ = CL_LINE; cursor((x),(y)); } while (0) | ^~~~~~ store.c:397:41: note: in expansion of macro ‘cl_line’ 397 | cl_line(16,8); | ^~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:133:61: note: in expansion of macro ‘cursor’ 133 | #define cl_line(x,y) do { cursor(1,(y)); *lpnt++ = CL_LINE; cursor((x),(y)); } while (0) | ^~~~~~ store.c:397:41: note: in expansion of macro ‘cl_line’ 397 | cl_line(16,8); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:133:61: note: in expansion of macro ‘cursor’ 133 | #define cl_line(x,y) do { cursor(1,(y)); *lpnt++ = CL_LINE; cursor((x),(y)); } while (0) | ^~~~~~ store.c:397:41: note: in expansion of macro ‘cl_line’ 397 | cl_line(16,8); | ^~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:133:27: note: in expansion of macro ‘cursor’ 133 | #define cl_line(x,y) do { cursor(1,(y)); *lpnt++ = CL_LINE; cursor((x),(y)); } while (0) | ^~~~~~ store.c:405:41: note: in expansion of macro ‘cl_line’ 405 | cl_line(16,9); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:133:27: note: in expansion of macro ‘cursor’ 133 | #define cl_line(x,y) do { cursor(1,(y)); *lpnt++ = CL_LINE; cursor((x),(y)); } while (0) | ^~~~~~ store.c:405:41: note: in expansion of macro ‘cl_line’ 405 | cl_line(16,9); | ^~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:133:61: note: in expansion of macro ‘cursor’ 133 | #define cl_line(x,y) do { cursor(1,(y)); *lpnt++ = CL_LINE; cursor((x),(y)); } while (0) | ^~~~~~ store.c:405:41: note: in expansion of macro ‘cl_line’ 405 | cl_line(16,9); | ^~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fcommon -c tok.c header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:133:61: note: in expansion of macro ‘cursor’ 133 | #define cl_line(x,y) do { cursor(1,(y)); *lpnt++ = CL_LINE; cursor((x),(y)); } while (0) | ^~~~~~ store.c:405:41: note: in expansion of macro ‘cl_line’ 405 | cl_line(16,9); | ^~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:133:27: note: in expansion of macro ‘cursor’ 133 | #define cl_line(x,y) do { cursor(1,(y)); *lpnt++ = CL_LINE; cursor((x),(y)); } while (0) | ^~~~~~ store.c:416:41: note: in expansion of macro ‘cl_line’ 416 | cl_line(16,10); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:133:27: note: in expansion of macro ‘cursor’ 133 | #define cl_line(x,y) do { cursor(1,(y)); *lpnt++ = CL_LINE; cursor((x),(y)); } while (0) | ^~~~~~ store.c:416:41: note: in expansion of macro ‘cl_line’ 416 | cl_line(16,10); | ^~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:133:61: note: in expansion of macro ‘cursor’ 133 | #define cl_line(x,y) do { cursor(1,(y)); *lpnt++ = CL_LINE; cursor((x),(y)); } while (0) | ^~~~~~ store.c:416:41: note: in expansion of macro ‘cl_line’ 416 | cl_line(16,10); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:133:61: note: in expansion of macro ‘cursor’ 133 | #define cl_line(x,y) do { cursor(1,(y)); *lpnt++ = CL_LINE; cursor((x),(y)); } while (0) | ^~~~~~ store.c:416:41: note: in expansion of macro ‘cl_line’ 416 | cl_line(16,10); | ^~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:133:27: note: in expansion of macro ‘cursor’ 133 | #define cl_line(x,y) do { cursor(1,(y)); *lpnt++ = CL_LINE; cursor((x),(y)); } while (0) | ^~~~~~ store.c:423:41: note: in expansion of macro ‘cl_line’ 423 | cl_line(16,11); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:133:27: note: in expansion of macro ‘cursor’ 133 | #define cl_line(x,y) do { cursor(1,(y)); *lpnt++ = CL_LINE; cursor((x),(y)); } while (0) | ^~~~~~ store.c:423:41: note: in expansion of macro ‘cl_line’ 423 | cl_line(16,11); | ^~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:133:61: note: in expansion of macro ‘cursor’ 133 | #define cl_line(x,y) do { cursor(1,(y)); *lpnt++ = CL_LINE; cursor((x),(y)); } while (0) | ^~~~~~ store.c:423:41: note: in expansion of macro ‘cl_line’ 423 | cl_line(16,11); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:133:61: note: in expansion of macro ‘cursor’ 133 | #define cl_line(x,y) do { cursor(1,(y)); *lpnt++ = CL_LINE; cursor((x),(y)); } while (0) | ^~~~~~ store.c:423:41: note: in expansion of macro ‘cl_line’ 423 | cl_line(16,11); | ^~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:133:27: note: in expansion of macro ‘cursor’ 133 | #define cl_line(x,y) do { cursor(1,(y)); *lpnt++ = CL_LINE; cursor((x),(y)); } while (0) | ^~~~~~ store.c:429:41: note: in expansion of macro ‘cl_line’ 429 | cl_line(16,12); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:133:27: note: in expansion of macro ‘cursor’ 133 | #define cl_line(x,y) do { cursor(1,(y)); *lpnt++ = CL_LINE; cursor((x),(y)); } while (0) | ^~~~~~ store.c:429:41: note: in expansion of macro ‘cl_line’ 429 | cl_line(16,12); | ^~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:133:61: note: in expansion of macro ‘cursor’ 133 | #define cl_line(x,y) do { cursor(1,(y)); *lpnt++ = CL_LINE; cursor((x),(y)); } while (0) | ^~~~~~ store.c:429:41: note: in expansion of macro ‘cl_line’ 429 | cl_line(16,12); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:133:61: note: in expansion of macro ‘cursor’ 133 | #define cl_line(x,y) do { cursor(1,(y)); *lpnt++ = CL_LINE; cursor((x),(y)); } while (0) | ^~~~~~ store.c:429:41: note: in expansion of macro ‘cl_line’ 429 | cl_line(16,12); | ^~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:133:27: note: in expansion of macro ‘cursor’ 133 | #define cl_line(x,y) do { cursor(1,(y)); *lpnt++ = CL_LINE; cursor((x),(y)); } while (0) | ^~~~~~ store.c:435:41: note: in expansion of macro ‘cl_line’ 435 | cl_line(16,13); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:133:27: note: in expansion of macro ‘cursor’ 133 | #define cl_line(x,y) do { cursor(1,(y)); *lpnt++ = CL_LINE; cursor((x),(y)); } while (0) | ^~~~~~ store.c:435:41: note: in expansion of macro ‘cl_line’ 435 | cl_line(16,13); | ^~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:133:61: note: in expansion of macro ‘cursor’ 133 | #define cl_line(x,y) do { cursor(1,(y)); *lpnt++ = CL_LINE; cursor((x),(y)); } while (0) | ^~~~~~ store.c:435:41: note: in expansion of macro ‘cl_line’ 435 | cl_line(16,13); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:133:61: note: in expansion of macro ‘cursor’ 133 | #define cl_line(x,y) do { cursor(1,(y)); *lpnt++ = CL_LINE; cursor((x),(y)); } while (0) | ^~~~~~ store.c:435:41: note: in expansion of macro ‘cl_line’ 435 | cl_line(16,13); | ^~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:133:27: note: in expansion of macro ‘cursor’ 133 | #define cl_line(x,y) do { cursor(1,(y)); *lpnt++ = CL_LINE; cursor((x),(y)); } while (0) | ^~~~~~ store.c:441:41: note: in expansion of macro ‘cl_line’ 441 | cl_line(16,14); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:133:27: note: in expansion of macro ‘cursor’ 133 | #define cl_line(x,y) do { cursor(1,(y)); *lpnt++ = CL_LINE; cursor((x),(y)); } while (0) | ^~~~~~ store.c:441:41: note: in expansion of macro ‘cl_line’ 441 | cl_line(16,14); | ^~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:133:61: note: in expansion of macro ‘cursor’ 133 | #define cl_line(x,y) do { cursor(1,(y)); *lpnt++ = CL_LINE; cursor((x),(y)); } while (0) | ^~~~~~ store.c:441:41: note: in expansion of macro ‘cl_line’ 441 | cl_line(16,14); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:133:61: note: in expansion of macro ‘cursor’ 133 | #define cl_line(x,y) do { cursor(1,(y)); *lpnt++ = CL_LINE; cursor((x),(y)); } while (0) | ^~~~~~ store.c:441:41: note: in expansion of macro ‘cl_line’ 441 | cl_line(16,14); | ^~~~~~~ store.c: At top level: store.c:473:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 473 | obank() | ^~~~~ store.c:477:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 477 | obank2() | ^~~~~~ store.c:482:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 482 | banktitle(str) | ^~~~~~~~~ store.c: In function ‘banktitle’: header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ store.c:495:17: note: in expansion of macro ‘cursors’ 495 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ store.c:495:17: note: in expansion of macro ‘cursors’ 495 | cursors(); | ^~~~~~~ store.c:506:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 506 | return; | ^~~~~~ store.c:482:1: note: declared here 482 | banktitle(str) | ^~~~~~~~~ store.c: At top level: store.c:520:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 520 | ointerest() | ^~~~~~~~~ store.c:540:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 540 | obanksub() | ^~~~~~~~ store.c: In function ‘obanksub’: header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ store.c:564:25: note: in expansion of macro ‘cursor’ 564 | cursor( (k%2)*40+1 , (k>>1)+4 ); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ store.c:564:25: note: in expansion of macro ‘cursor’ 564 | cursor( (k%2)*40+1 , (k>>1)+4 ); | ^~~~~~ In file included from header.h:2, from tok.c:2: config.h:23:21: warning: "/*" within comment [-Wcomment] 23 | /*#undef EUNICE /**/ config.h:24:18: warning: "/*" within comment [-Wcomment] 24 | /*#undef VMS /**/ config.h:107:21: warning: "/*" within comment [-Wcomment] 107 | /*#undef RANDOM /**/ config.h:113:27: warning: "/*" within comment [-Wcomment] 113 | /*#undef DEF_COMPRESS /**/ config.h:145:33: warning: "/*" within comment [-Wcomment] 145 | /*#undef BSDCOMPILE /**/ config.h:150:33: warning: "/*" within comment [-Wcomment] 150 | /*#undef HPUX /**/ config.h:158:1: warning: "/*" within comment [-Wcomment] 158 | /* SYSERRLISTDEFINED store.c:565:63: warning: array subscript has type ‘char’ [-Wchar-subscripts] 565 | lprintf("%c) %s",i+'a',objectname[iven[i]]); | ~~~~^~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ store.c:566:25: note: in expansion of macro ‘cursor’ 566 | cursor( (k%2)*40+33 , (k>>1)+4 ); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ store.c:566:25: note: in expansion of macro ‘cursor’ 566 | cursor( (k%2)*40+33 , (k>>1)+4 ); | ^~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ store.c:573:9: note: in expansion of macro ‘cursor’ 573 | cursor(31,17); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ store.c:573:9: note: in expansion of macro ‘cursor’ 573 | cursor(31,17); | ^~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ store.c:576:9: note: in expansion of macro ‘cursor’ 576 | cursor(40,18); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ store.c:576:9: note: in expansion of macro ‘cursor’ 576 | cursor(40,18); | ^~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ store.c:640:49: note: in expansion of macro ‘cursor’ 640 | cursor( (k%2)*40+1 , (k>>1)+4 ); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ store.c:640:49: note: in expansion of macro ‘cursor’ 640 | cursor( (k%2)*40+1 , (k>>1)+4 ); | ^~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ store.c:656:33: note: in expansion of macro ‘cursor’ 656 | cursor( (k%2)*40+1 , (k>>1)+4 ); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ store.c:656:33: note: in expansion of macro ‘cursor’ 656 | cursor( (k%2)*40+1 , (k>>1)+4 ); | ^~~~~~ store.c:661:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 661 | return; | ^~~~~~ store.c:540:1: note: declared here 540 | obanksub() | ^~~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ store.c:663:17: note: in expansion of macro ‘cursor’ 663 | cursor(40,17); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ store.c:663:17: note: in expansion of macro ‘cursor’ 663 | cursor(40,17); | ^~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ store.c:665:17: note: in expansion of macro ‘cursor’ 665 | cursor(49,18); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ store.c:665:17: note: in expansion of macro ‘cursor’ 665 | cursor(49,18); | ^~~~~~ tok.c:21:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 21 | yylex () | ^~~~~ store.c: At top level: store.c:670:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 670 | appraise(eye, order) | ^~~~~~~~ store.c: In function ‘appraise’: header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ store.c:694:25: note: in expansion of macro ‘cursor’ 694 | cursor( (order%2)*40+1 , (order>>1)+4 ); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ store.c:694:25: note: in expansion of macro ‘cursor’ 694 | cursor( (order%2)*40+1 , (order>>1)+4 ); | ^~~~~~ store.c: At top level: store.c:706:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 706 | otradhead() | ^~~~~~~~~ store.c:716:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 716 | otradepost() | ^~~~~~~~~~ store.c: In function ‘otradepost’: store.c:739:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 739 | return; | ^~~~~~ store.c:716:1: note: declared here 716 | otradepost() | ^~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fcommon -c nap.c tok.c: In function ‘yylex’: tok.c:52:33: warning: implicit declaration of function ‘wait’ [-Wimplicit-function-declaration] 52 | wait((int *)0); | ^~~~ tok.c: At top level: tok.c:124:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 124 | flushall() | ^~~~~~~~ tok.c:151:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 151 | sethard (hard) | ^~~~~~~ tok.c: In function ‘sethard’: tok.c:165:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 165 | if (k=c[HARDGAME]) | ^ tok.c: At top level: tok.c:183:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 183 | readopts () | ^~~~~~~~ tok.c: In function ‘readopts’: tok.c:193:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 193 | return; | ^~~~~~ tok.c:183:1: note: declared here 183 | readopts () | ^~~~~~~~ tok.c:234:51: warning: array subscript has type ‘char’ [-Wchar-subscripts] 234 | strcpy(usermonster[usermpoint],str); | ^ In file included from header.h:28: tok.c:239:58: warning: array subscript has type ‘char’ [-Wchar-subscripts] 239 | if (isalpha(j=usermonster[usermpoint][0])) { | ^ tok.c:242:73: warning: array subscript has type ‘char’ [-Wchar-subscripts] 242 | monster[k].name= &usermonster[usermpoint++][0]; | ~~~~~~~~~~^~ tok.c: In function ‘yylex’: tok.c:81:33: warning: ignoring return value of ‘setuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 81 | setuid(geteuid()); | ^~~~~~~~~~~~~~~~~ tok.c:82:33: warning: ignoring return value of ‘setgid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 82 | setgid(getegid()); | ^~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fcommon -c tty.c tok.c: In function ‘flushall’: tok.c:145:1: warning: control reaches end of non-void function [-Wreturn-type] 145 | } | ^ tok.c: In function ‘sethard’: store.c:757:20: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 757 | if (!j) | ^ store.c: At top level: store.c:813:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 813 | cnsitm() | ^~~~~~ tok.c:178:1: warning: control reaches end of non-void function [-Wreturn-type] 178 | } | ^ store.c:821:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 821 | olrs() | ^~~~ store.c: In function ‘olrs’: header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ store.c:829:9: note: in expansion of macro ‘cursor’ 829 | cursor(1,4); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ store.c:829:9: note: in expansion of macro ‘cursor’ 829 | cursor(1,4); | ^~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ store.c:834:25: note: in expansion of macro ‘cursors’ 834 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ store.c:834:25: note: in expansion of macro ‘cursors’ 834 | cursors(); | ^~~~~~~ store.c:841:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 841 | return; | ^~~~~~ store.c:821:1: note: declared here 821 | olrs() | ^~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ store.c:849:17: note: in expansion of macro ‘cursor’ 849 | cursor(1, 20); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ store.c:849:17: note: in expansion of macro ‘cursor’ 849 | cursor(1, 20); | ^~~~~~ store.c:873:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 873 | return; | ^~~~~~ store.c:821:1: note: declared here 821 | olrs() | ^~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ store.c:877:17: note: in expansion of macro ‘cursor’ 877 | cursor(1,6); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ store.c:877:17: note: in expansion of macro ‘cursor’ 877 | cursor(1,6); | ^~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ store.c:882:17: note: in expansion of macro ‘cursor’ 882 | cursor(1,8); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ store.c:882:17: note: in expansion of macro ‘cursor’ 882 | cursor(1,8); | ^~~~~~ store.c: At top level: store.c:891:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 891 | nomore() | ^~~~~~ In file included from header.h:2, from nap.c:2: config.h:23:21: warning: "/*" within comment [-Wcomment] 23 | /*#undef EUNICE /**/ config.h:24:18: warning: "/*" within comment [-Wcomment] 24 | /*#undef VMS /**/ config.h:107:21: warning: "/*" within comment [-Wcomment] 107 | /*#undef RANDOM /**/ config.h:113:27: warning: "/*" within comment [-Wcomment] 113 | /*#undef DEF_COMPRESS /**/ config.h:145:33: warning: "/*" within comment [-Wcomment] 145 | /*#undef BSDCOMPILE /**/ config.h:150:33: warning: "/*" within comment [-Wcomment] 150 | /*#undef HPUX /**/ config.h:158:1: warning: "/*" within comment [-Wcomment] 158 | /* SYSERRLISTDEFINED In file included from header.h:2, from tty.c:2: config.h:23:21: warning: "/*" within comment [-Wcomment] 23 | /*#undef EUNICE /**/ config.h:24:18: warning: "/*" within comment [-Wcomment] 24 | /*#undef VMS /**/ config.h:107:21: warning: "/*" within comment [-Wcomment] 107 | /*#undef RANDOM /**/ config.h:113:27: warning: "/*" within comment [-Wcomment] 113 | /*#undef DEF_COMPRESS /**/ config.h:145:33: warning: "/*" within comment [-Wcomment] 145 | /*#undef BSDCOMPILE /**/ config.h:150:33: warning: "/*" within comment [-Wcomment] 150 | /*#undef HPUX /**/ config.h:158:1: warning: "/*" within comment [-Wcomment] 158 | /* SYSERRLISTDEFINED store.c:897:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 897 | nocash() | ^~~~~~ store.c:911:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 911 | pad_hd() | ^~~~~~ store.c: In function ‘pad_hd’: header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ store.c:930:9: note: in expansion of macro ‘cursor’ 930 | cursor(30,18); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ store.c:930:9: note: in expansion of macro ‘cursor’ 930 | cursor(30,18); | ^~~~~~ store.c: At top level: store.c:934:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 934 | opad() | ^~~~ store.c: In function ‘opad’: header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ store.c:943:17: note: in expansion of macro ‘cursor’ 943 | cursor(57,18); | ^~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ store.c:943:17: note: in expansion of macro ‘cursor’ 943 | cursor(57,18); | ^~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ store.c:946:17: note: in expansion of macro ‘cursors’ 946 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ store.c:946:17: note: in expansion of macro ‘cursors’ 946 | cursors(); | ^~~~~~~ store.c:964:25: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 964 | return; | ^~~~~~ store.c:934:1: note: declared here 934 | opad() | ^~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:133:27: note: in expansion of macro ‘cursor’ 133 | #define cl_line(x,y) do { cursor(1,(y)); *lpnt++ = CL_LINE; cursor((x),(y)); } while (0) | ^~~~~~ store.c:1009:33: note: in expansion of macro ‘cl_line’ 1009 | cl_line(16,7); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:133:27: note: in expansion of macro ‘cursor’ 133 | #define cl_line(x,y) do { cursor(1,(y)); *lpnt++ = CL_LINE; cursor((x),(y)); } while (0) | ^~~~~~ store.c:1009:33: note: in expansion of macro ‘cl_line’ 1009 | cl_line(16,7); | ^~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:133:61: note: in expansion of macro ‘cursor’ 133 | #define cl_line(x,y) do { cursor(1,(y)); *lpnt++ = CL_LINE; cursor((x),(y)); } while (0) | ^~~~~~ store.c:1009:33: note: in expansion of macro ‘cl_line’ 1009 | cl_line(16,7); | ^~~~~~~ In file included from /usr/include/stdio.h:970, from header.h:32: In function ‘fprintf’, inlined from ‘yylex’ at tok.c:100:5: /usr/include/bits/stdio2.h:111:10: warning: ‘sh’ may be used uninitialized [-Wmaybe-uninitialized] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ tok.c: In function ‘yylex’: tok.c:24:15: note: ‘sh’ was declared here 24 | char *sh, *getenv(); | ^~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:133:61: note: in expansion of macro ‘cursor’ 133 | #define cl_line(x,y) do { cursor(1,(y)); *lpnt++ = CL_LINE; cursor((x),(y)); } while (0) | ^~~~~~ store.c:1009:33: note: in expansion of macro ‘cl_line’ 1009 | cl_line(16,7); | ^~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:133:27: note: in expansion of macro ‘cursor’ 133 | #define cl_line(x,y) do { cursor(1,(y)); *lpnt++ = CL_LINE; cursor((x),(y)); } while (0) | ^~~~~~ store.c:1017:33: note: in expansion of macro ‘cl_line’ 1017 | cl_line(16,8); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:133:27: note: in expansion of macro ‘cursor’ 133 | #define cl_line(x,y) do { cursor(1,(y)); *lpnt++ = CL_LINE; cursor((x),(y)); } while (0) | ^~~~~~ store.c:1017:33: note: in expansion of macro ‘cl_line’ 1017 | cl_line(16,8); | ^~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:133:61: note: in expansion of macro ‘cursor’ 133 | #define cl_line(x,y) do { cursor(1,(y)); *lpnt++ = CL_LINE; cursor((x),(y)); } while (0) | ^~~~~~ store.c:1017:33: note: in expansion of macro ‘cl_line’ 1017 | cl_line(16,8); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:133:61: note: in expansion of macro ‘cursor’ 133 | #define cl_line(x,y) do { cursor(1,(y)); *lpnt++ = CL_LINE; cursor((x),(y)); } while (0) | ^~~~~~ store.c:1017:33: note: in expansion of macro ‘cl_line’ 1017 | cl_line(16,8); | ^~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:133:27: note: in expansion of macro ‘cursor’ 133 | #define cl_line(x,y) do { cursor(1,(y)); *lpnt++ = CL_LINE; cursor((x),(y)); } while (0) | ^~~~~~ store.c:1025:33: note: in expansion of macro ‘cl_line’ 1025 | cl_line(16,9); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:133:27: note: in expansion of macro ‘cursor’ 133 | #define cl_line(x,y) do { cursor(1,(y)); *lpnt++ = CL_LINE; cursor((x),(y)); } while (0) | ^~~~~~ store.c:1025:33: note: in expansion of macro ‘cl_line’ 1025 | cl_line(16,9); | ^~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:133:61: note: in expansion of macro ‘cursor’ 133 | #define cl_line(x,y) do { cursor(1,(y)); *lpnt++ = CL_LINE; cursor((x),(y)); } while (0) | ^~~~~~ store.c:1025:33: note: in expansion of macro ‘cl_line’ 1025 | cl_line(16,9); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:133:61: note: in expansion of macro ‘cursor’ 133 | #define cl_line(x,y) do { cursor(1,(y)); *lpnt++ = CL_LINE; cursor((x),(y)); } while (0) | ^~~~~~ store.c:1025:33: note: in expansion of macro ‘cl_line’ 1025 | cl_line(16,9); | ^~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:133:27: note: in expansion of macro ‘cursor’ 133 | #define cl_line(x,y) do { cursor(1,(y)); *lpnt++ = CL_LINE; cursor((x),(y)); } while (0) | ^~~~~~ store.c:1033:33: note: in expansion of macro ‘cl_line’ 1033 | cl_line(16,10); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:133:27: note: in expansion of macro ‘cursor’ 133 | #define cl_line(x,y) do { cursor(1,(y)); *lpnt++ = CL_LINE; cursor((x),(y)); } while (0) | ^~~~~~ store.c:1033:33: note: in expansion of macro ‘cl_line’ 1033 | cl_line(16,10); | ^~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:133:61: note: in expansion of macro ‘cursor’ 133 | #define cl_line(x,y) do { cursor(1,(y)); *lpnt++ = CL_LINE; cursor((x),(y)); } while (0) | ^~~~~~ store.c:1033:33: note: in expansion of macro ‘cl_line’ 1033 | cl_line(16,10); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:133:61: note: in expansion of macro ‘cursor’ 133 | #define cl_line(x,y) do { cursor(1,(y)); *lpnt++ = CL_LINE; cursor((x),(y)); } while (0) | ^~~~~~ store.c:1033:33: note: in expansion of macro ‘cl_line’ 1033 | cl_line(16,10); | ^~~~~~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:133:27: note: in expansion of macro ‘cursor’ 133 | #define cl_line(x,y) do { cursor(1,(y)); *lpnt++ = CL_LINE; cursor((x),(y)); } while (0) | ^~~~~~ store.c:1041:33: note: in expansion of macro ‘cl_line’ 1041 | cl_line(16,11); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:133:27: note: in expansion of macro ‘cursor’ 133 | #define cl_line(x,y) do { cursor(1,(y)); *lpnt++ = CL_LINE; cursor((x),(y)); } while (0) | ^~~~~~ store.c:1041:33: note: in expansion of macro ‘cl_line’ 1041 | cl_line(16,11); | ^~~~~~~ nap.c:9:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 9 | nap(x) | ^~~ nap.c: In function ‘nap’: nap.c:13:17: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 13 | return; /* eliminate chance for infinite loop */ | ^~~~~~ nap.c:9:1: note: declared here 9 | nap(x) | ^~~ header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:133:61: note: in expansion of macro ‘cursor’ 133 | #define cl_line(x,y) do { cursor(1,(y)); *lpnt++ = CL_LINE; cursor((x),(y)); } while (0) | ^~~~~~ store.c:1041:33: note: in expansion of macro ‘cl_line’ 1041 | cl_line(16,11); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:133:61: note: in expansion of macro ‘cursor’ 133 | #define cl_line(x,y) do { cursor(1,(y)); *lpnt++ = CL_LINE; cursor((x),(y)); } while (0) | ^~~~~~ store.c:1041:33: note: in expansion of macro ‘cl_line’ 1041 | cl_line(16,11); | ^~~~~~~ store.c: At top level: nap.c:14:9: warning: implicit declaration of function ‘lflush’; did you mean ‘fflush’? [-Wimplicit-function-declaration] 14 | lflush(); | ^~~~~~ | fflush store.c:1054:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1054 | snag(itm) | ^~~~ store.c:1075:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1075 | pick_char(foo) | ^~~~~~~~~ store.c: In function ‘pick_char’: header.h:113:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 113 | do { if (lpnt >= lpend) \ | ^~ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ store.c:1105:17: note: in expansion of macro ‘cursors’ 1105 | cursors(); | ^~~~~~~ header.h:115:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 115 | *lpnt++ = CURSOR; \ | ^ header.h:148:30: note: in expansion of macro ‘cursor’ 148 | #define cursors() do { cursor(1,24); } while (0) | ^~~~~~ store.c:1105:17: note: in expansion of macro ‘cursors’ 1105 | cursors(); | ^~~~~~~ tty.c:58:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 58 | setctty() | ^~~~~~~ tty.c:71:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 71 | gettty() | ^~~~~~ tty.c:91:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 91 | settty() | ^~~~~~ tty.c:101:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 101 | setuptty() | ^~~~~~~~ tty.c:121:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 121 | scbr () | ^~~~ tty.c:136:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 136 | sncbr () | ^~~~~ tty.c:152:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 152 | setupvt100 () | ^~~~~~~~~~ tty.c:164:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 164 | clearvt100 () | ^~~~~~~~~~ tty.c: In function ‘setctty’: nap.c:17:14: warning: implicit declaration of function ‘napms’; did you mean ‘nap’? [-Wimplicit-function-declaration] 17 | else napms(x); | ^~~~~ | nap tty.c:64:1: warning: control reaches end of non-void function [-Wreturn-type] 64 | } | ^ tty.c: In function ‘gettty’: tty.c:88:1: warning: control reaches end of non-void function [-Wreturn-type] 88 | } | ^ store.c: In function ‘dnd_2hed’: store.c:144:1: warning: control reaches end of non-void function [-Wreturn-type] 144 | } | ^ tty.c: In function ‘settty’: tty.c:99:1: warning: control reaches end of non-void function [-Wreturn-type] 99 | } | ^ tty.c: In function ‘setuptty’: store.c: In function ‘dnd_hed’: tty.c:114:1: warning: control reaches end of non-void function [-Wreturn-type] 114 | } | ^ store.c:154:1: warning: control reaches end of non-void function [-Wreturn-type] 154 | } | ^ tty.c: In function ‘scbr’: tty.c:130:1: warning: control reaches end of non-void function [-Wreturn-type] 130 | } | ^ tty.c: In function ‘sncbr’: tty.c:145:1: warning: control reaches end of non-void function [-Wreturn-type] 145 | } | ^ tty.c: In function ‘setupvt100’: tty.c:157:1: warning: control reaches end of non-void function [-Wreturn-type] 157 | } | ^ tty.c: In function ‘clearvt100’: tty.c:168:1: warning: control reaches end of non-void function [-Wreturn-type] 168 | } | ^ store.c: In function ‘handsfull’: store.c:246:1: warning: control reaches end of non-void function [-Wreturn-type] 246 | } | ^ store.c: In function ‘outofstock’: store.c:252:1: warning: control reaches end of non-void function [-Wreturn-type] 252 | } | ^ store.c: In function ‘nogold’: store.c:258:1: warning: control reaches end of non-void function [-Wreturn-type] 258 | } | ^ nap.c: At top level: nap.c:26:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 26 | napms(time) | ^~~~~ nap.c: In function ‘napms’: nap.c:33:24: warning: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch] 33 | if (time <= 0) return; | ^~~~~~ nap.c:26:1: note: declared here 26 | napms(time) | ^~~~~ store.c: In function ‘sch_hed’: store.c:340:1: warning: control reaches end of non-void function [-Wreturn-type] 340 | } | ^ nap.c:42:9: warning: implicit declaration of function ‘sigpause’; did you mean ‘pause’? [-Wimplicit-function-declaration] 42 | sigpause(oldsig); | ^~~~~~~~ | pause store.c: In function ‘obank’: store.c:476:1: warning: control reaches end of non-void function [-Wreturn-type] 476 | } | ^ store.c: In function ‘obank2’: store.c:480:1: warning: control reaches end of non-void function [-Wreturn-type] 480 | } | ^ store.c: In function ‘ointerest’: store.c:535:1: warning: control reaches end of non-void function [-Wreturn-type] 535 | } | ^ store.c: In function ‘appraise’: store.c:701:1: warning: control reaches end of non-void function [-Wreturn-type] 701 | } | ^ store.c: In function ‘otradhead’: store.c:714:1: warning: control reaches end of non-void function [-Wreturn-type] 714 | } | ^ store.c: In function ‘cnsitm’: store.c:816:1: warning: control reaches end of non-void function [-Wreturn-type] 816 | } | ^ store.c: In function ‘nomore’: store.c:896:1: warning: control reaches end of non-void function [-Wreturn-type] 896 | } | ^ store.c: In function ‘nocash’: store.c:902:1: warning: control reaches end of non-void function [-Wreturn-type] 902 | } | ^ store.c: In function ‘pad_hd’: store.c:932:1: warning: control reaches end of non-void function [-Wreturn-type] 932 | } | ^ store.c: In function ‘pick_char’: store.c:1258:1: warning: control reaches end of non-void function [-Wreturn-type] 1258 | } /* end pick_char */ | ^ tok.c: In function ‘readopts’: tok.c:205:17: warning: ‘__strncpy_chk’ specified bound depends on the length of the source argument [-Wstringop-truncation] 205 | strncpy (str, s2buf, strlen(s2buf)-1); | ^ tok.c:205:38: note: length computed here 205 | strncpy (str, s2buf, strlen(s2buf)-1); | ^~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fcommon -o Ularn action.o bill.o create.o data.o diag.o display.o fortune.o player.o help.o io.o main.o monster.o moreobj.o movem.o object.o regen.o savelev.o scores.o show.o signal.o sphere.o store.o tok.o nap.o tty.o -lcurses + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.sVJh6u + umask 022 + cd /builddir/build/BUILD/ularn-1.5p4-build + '[' /builddir/build/BUILD/ularn-1.5p4-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/ularn-1.5p4-build/BUILDROOT ++ dirname /builddir/build/BUILD/ularn-1.5p4-build/BUILDROOT + mkdir -p /builddir/build/BUILD/ularn-1.5p4-build + mkdir /builddir/build/BUILD/ularn-1.5p4-build/BUILDROOT + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -fpermissive -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd Ularn + make install DESTDIR=/builddir/build/BUILD/ularn-1.5p4-build/BUILDROOT if test ! -d /builddir/build/BUILD/ularn-1.5p4-build/BUILDROOT/usr/share/ularn ; then mkdir -p /builddir/build/BUILD/ularn-1.5p4-build/BUILDROOT/usr/share/ularn ; fi cp Umaps Ufortune Uhelp /builddir/build/BUILD/ularn-1.5p4-build/BUILDROOT/usr/share/ularn chmod 644 /builddir/build/BUILD/ularn-1.5p4-build/BUILDROOT/usr/share/ularn/Umaps /builddir/build/BUILD/ularn-1.5p4-build/BUILDROOT/usr/share/ularn/Ufortune \ /builddir/build/BUILD/ularn-1.5p4-build/BUILDROOT/usr/share/ularn/Uhelp if test ! -d /builddir/build/BUILD/ularn-1.5p4-build/BUILDROOT/usr/bin ; then mkdir -p /builddir/build/BUILD/ularn-1.5p4-build/BUILDROOT/usr/bin ; fi cp Ularn /builddir/build/BUILD/ularn-1.5p4-build/BUILDROOT/usr/bin + mkdir -p /builddir/build/BUILD/ularn-1.5p4-build/BUILDROOT//var/games + touch /builddir/build/BUILD/ularn-1.5p4-build/BUILDROOT//var/games/Ularn-scoreboard + desktop-file-install --dir /builddir/build/BUILD/ularn-1.5p4-build/BUILDROOT/usr/share/applications /builddir/build/SOURCES/ularn.desktop /builddir/build/BUILD/ularn-1.5p4-build/BUILDROOT/usr/share/applications/ularn.desktop: error: (will be fatal in the future): value "ularn.png" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path + mkdir -p /builddir/build/BUILD/ularn-1.5p4-build/BUILDROOT//usr/share/icons/hicolor/32x32/apps/ + install -p -m 644 /builddir/build/SOURCES/ularn.png /builddir/build/BUILD/ularn-1.5p4-build/BUILDROOT//usr/share/icons/hicolor/32x32/apps/ + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 1.5p4-47.fc42 --unique-debug-suffix -1.5p4-47.fc42.aarch64 --unique-debug-src-base ularn-1.5p4-47.fc42.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/ularn-1.5p4-build/Ularn find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/ularn-1.5p4-47.fc42.aarch64 find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j4 /builddir/build/BUILD/ularn-1.5p4-build/BUILDROOT Scanned 19 directories and 37 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/ularn-1.5p4-build/SPECPARTS/rpm-debuginfo.specpart Processing files: ularn-1.5p4-47.fc42.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Bz7CmJ + umask 022 + cd /builddir/build/BUILD/ularn-1.5p4-build + cd Ularn + DOCDIR=/builddir/build/BUILD/ularn-1.5p4-build/BUILDROOT/usr/share/doc/ularn + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/ularn-1.5p4-build/BUILDROOT/usr/share/doc/ularn + cp -pr /builddir/build/BUILD/ularn-1.5p4-build/Ularn/README /builddir/build/BUILD/ularn-1.5p4-build/BUILDROOT/usr/share/doc/ularn + cp -pr /builddir/build/BUILD/ularn-1.5p4-build/Ularn/README.spoilers /builddir/build/BUILD/ularn-1.5p4-build/BUILDROOT/usr/share/doc/ularn + cp -pr /builddir/build/BUILD/ularn-1.5p4-build/Ularn/CHANGES.text /builddir/build/BUILD/ularn-1.5p4-build/BUILDROOT/usr/share/doc/ularn + cp -pr /builddir/build/BUILD/ularn-1.5p4-build/Ularn/Ularnopts /builddir/build/BUILD/ularn-1.5p4-build/BUILDROOT/usr/share/doc/ularn + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.BZkJma + umask 022 + cd /builddir/build/BUILD/ularn-1.5p4-build + cd Ularn + LICENSEDIR=/builddir/build/BUILD/ularn-1.5p4-build/BUILDROOT/usr/share/licenses/ularn + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/ularn-1.5p4-build/BUILDROOT/usr/share/licenses/ularn + cp -pr /builddir/build/BUILD/ularn-1.5p4-build/Ularn/GPL /builddir/build/BUILD/ularn-1.5p4-build/BUILDROOT/usr/share/licenses/ularn + RPM_EC=0 ++ jobs -p + exit 0 Provides: application() application(ularn.desktop) config(ularn) = 1.5p4-47.fc42 ularn = 1.5p4-47.fc42 ularn(aarch-64) = 1.5p4-47.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libncurses.so.6()(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Recommends: group(games) Processing files: ularn-debugsource-1.5p4-47.fc42.aarch64 Provides: ularn-debugsource = 1.5p4-47.fc42 ularn-debugsource(aarch-64) = 1.5p4-47.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ularn-debuginfo-1.5p4-47.fc42.aarch64 Provides: debuginfo(build-id) = 73cedbd1b83bc6de5a252d77bdbbd48f49720003 ularn-debuginfo = 1.5p4-47.fc42 ularn-debuginfo(aarch-64) = 1.5p4-47.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ularn-debugsource(aarch-64) = 1.5p4-47.fc42 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/ularn-1.5p4-build/BUILDROOT Wrote: /builddir/build/RPMS/ularn-1.5p4-47.fc42.aarch64.rpm Wrote: /builddir/build/RPMS/ularn-debugsource-1.5p4-47.fc42.aarch64.rpm Wrote: /builddir/build/RPMS/ularn-debuginfo-1.5p4-47.fc42.aarch64.rpm Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.QDNteO + umask 022 + cd /builddir/build/BUILD/ularn-1.5p4-build + test -d /builddir/build/BUILD/ularn-1.5p4-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/ularn-1.5p4-build + rm -rf /builddir/build/BUILD/ularn-1.5p4-build + RPM_EC=0 ++ jobs -p + exit 0 Finish: rpmbuild ularn-1.5p4-47.fc42.src.rpm Finish: build phase for ularn-1.5p4-47.fc42.src.rpm INFO: chroot_scan: 1 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/fedora-rawhide-aarch64-1734140909.303404/root/var/log/dnf5.log INFO: chroot_scan: creating tarball /var/lib/copr-rpmbuild/results/chroot_scan.tar.gz /bin/tar: Removing leading `/' from member names INFO: Done(/var/lib/copr-rpmbuild/results/ularn-1.5p4-47.fc42.src.rpm) Config(child) 0 minutes 10 seconds INFO: Results and/or logs in: /var/lib/copr-rpmbuild/results INFO: Cleaning up build root ('cleanup_on_success=True') Start: clean chroot INFO: unmounting tmpfs. Finish: clean chroot Finish: run Running RPMResults tool Package info: { "packages": [ { "name": "ularn", "epoch": null, "version": "1.5p4", "release": "47.fc42", "arch": "aarch64" }, { "name": "ularn", "epoch": null, "version": "1.5p4", "release": "47.fc42", "arch": "src" }, { "name": "ularn-debuginfo", "epoch": null, "version": "1.5p4", "release": "47.fc42", "arch": "aarch64" }, { "name": "ularn-debugsource", "epoch": null, "version": "1.5p4", "release": "47.fc42", "arch": "aarch64" } ] } RPMResults finished