Warning: Permanently added '3.84.131.77' (ED25519) to the list of known hosts. You can reproduce this build on your computer by running: sudo dnf install copr-rpmbuild /usr/bin/copr-rpmbuild --verbose --drop-resultdir --task-url https://copr.fedorainfracloud.org/backend/get-build-task/11082159-fedora-43-x86_64 --chroot fedora-43-x86_64 Version: 1.10 PID: 51827 Logging PID: 51829 Task: {'allow_user_ssh': False, 'appstream': False, 'background': False, 'build_id': 11082159, 'buildroot_pkgs': [], 'chroot': 'fedora-43-x86_64', 'enable_net': False, 'fedora_review': False, 'git_hash': 'a42babe29ac3a69ce7dab5f4ae7df83c66552197', 'git_repo': 'https://copr-dist-git.fedorainfracloud.org/git/mhough/neurofedora/laynii', 'isolation': 'default', 'memory_reqs': 2048, 'package_name': 'laynii', 'package_version': '2.10.0-2', 'project_dirname': 'neurofedora', 'project_name': 'neurofedora', 'project_owner': 'mhough', 'repo_priority': None, 'repos': [{'baseurl': 'https://download.copr.fedorainfracloud.org/results/mhough/neurofedora/fedora-43-x86_64/', 'id': 'copr_base', 'name': 'Copr repository', 'priority': None, 'repo_gpgcheck': False}], 'sandbox': 'mhough/neurofedora--mhough', 'source_json': {}, 'source_type': None, 'ssh_public_keys': None, 'storage': 0, 'submitter': 'mhough', 'tags': [], 'task_id': '11082159-fedora-43-x86_64', 'timeout': 86400, 'uses_devel_repo': False, 'with_opts': [], 'without_opts': []} Running: git clone https://copr-dist-git.fedorainfracloud.org/git/mhough/neurofedora/laynii /var/lib/copr-rpmbuild/workspace/workdir-3kg4smnw/laynii --depth 500 --no-single-branch --recursive cmd: ['git', 'clone', 'https://copr-dist-git.fedorainfracloud.org/git/mhough/neurofedora/laynii', '/var/lib/copr-rpmbuild/workspace/workdir-3kg4smnw/laynii', '--depth', '500', '--no-single-branch', '--recursive'] cwd: . rc: 0 stdout: stderr: Cloning into '/var/lib/copr-rpmbuild/workspace/workdir-3kg4smnw/laynii'... Running: git checkout a42babe29ac3a69ce7dab5f4ae7df83c66552197 -- cmd: ['git', 'checkout', 'a42babe29ac3a69ce7dab5f4ae7df83c66552197', '--'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-3kg4smnw/laynii rc: 0 stdout: stderr: Note: switching to 'a42babe29ac3a69ce7dab5f4ae7df83c66552197'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at a42babe automatic import of laynii Running: dist-git-client sources cmd: ['dist-git-client', 'sources'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-3kg4smnw/laynii rc: 0 stdout: stderr: INFO: Reading stdout from command: git rev-parse --abbrev-ref HEAD INFO: Reading stdout from command: git rev-parse HEAD INFO: Reading sources specification file: sources INFO: Downloading LAYNII-2.10.0.tar.gz INFO: Reading stdout from command: curl --help all INFO: Calling: curl -H Pragma: -H 'Accept-Encoding: identity' -o LAYNII-2.10.0.tar.gz --location --connect-timeout 60 --retry 3 --retry-delay 10 --remote-time --show-error --fail --retry-all-errors https://copr-dist-git.fedorainfracloud.org/repo/pkgs/mhough/neurofedora/laynii/LAYNII-2.10.0.tar.gz/md5/19757092b0ecceee37bd56efbbb2fb15/LAYNII-2.10.0.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 88.31M 100 88.31M 0 0 27.94M 0 00:03 00:03 27.90M INFO: Reading stdout from command: md5sum LAYNII-2.10.0.tar.gz tail: /var/lib/copr-rpmbuild/main.log: file truncated Running (timeout=86400): unbuffer mock --spec /var/lib/copr-rpmbuild/workspace/workdir-3kg4smnw/laynii/laynii.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-3kg4smnw/laynii --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1791261029.574416 -r /var/lib/copr-rpmbuild/results/configs/child.cfg INFO: mock.py version 6.9 starting (python version = 3.14.5, NVR = mock-6.9-1.fc44), args: /usr/libexec/mock/mock --spec /var/lib/copr-rpmbuild/workspace/workdir-3kg4smnw/laynii/laynii.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-3kg4smnw/laynii --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1791261029.574416 -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-3kg4smnw/laynii/laynii.spec) Config(fedora-43-x86_64) Start: clean chroot Finish: clean chroot Mock Version: 6.9 INFO: Mock Version: 6.9 Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-43-x86_64-bootstrap-1791261029.574416/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 container image: registry.fedoraproject.org/fedora:43 INFO: Pulling image: registry.fedoraproject.org/fedora:43 INFO: Tagging container image as mock-bootstrap-6e3820fe-0c1e-40f4-921c-c90d668c623b INFO: Checking that 33b4bbb600a341224952c3dbd7a017ff3d30d397d793e44f65fe365b0deb4260 image matches host's architecture INFO: Copy content of container 33b4bbb600a341224952c3dbd7a017ff3d30d397d793e44f65fe365b0deb4260 to /var/lib/mock/fedora-43-x86_64-bootstrap-1791261029.574416/root INFO: mounting 33b4bbb600a341224952c3dbd7a017ff3d30d397d793e44f65fe365b0deb4260 with podman image mount INFO: image 33b4bbb600a341224952c3dbd7a017ff3d30d397d793e44f65fe365b0deb4260 as /var/lib/containers/storage/overlay/79c81aedaec32850fd7831e9505a1ad630cdfc47b73a4d30ff93cea3c8b34191/merged INFO: umounting image 33b4bbb600a341224952c3dbd7a017ff3d30d397d793e44f65fe365b0deb4260 (/var/lib/containers/storage/overlay/79c81aedaec32850fd7831e9505a1ad630cdfc47b73a4d30ff93cea3c8b34191/merged) with podman image umount INFO: Removing image mock-bootstrap-6e3820fe-0c1e-40f4-921c-c90d668c623b 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-43-x86_64-1791261029.574416/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-6.0.2-1.fc43.x86_64 rpm-sequoia-1.10.3-1.fc43.x86_64 dnf5-5.2.18.0-5.fc43.x86_64 dnf5-plugins-5.2.18.0-5.fc43.x86_64 Start: installing minimal buildroot with dnf5 Updating and loading repositories: Copr repository 100% | 17.6 KiB/s | 1.5 KiB | 00m00s fedora 100% | 59.5 KiB/s | 25.2 KiB | 00m00s updates 100% | 103.0 KiB/s | 18.7 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing group/module packages: bash x86_64 5.3.0-2.fc43 fedora 8.4 MiB bzip2 x86_64 1.0.8-21.fc43 fedora 95.3 KiB coreutils x86_64 9.7-10.fc43 updates 5.4 MiB cpio x86_64 2.15-6.fc43 fedora 1.1 MiB diffutils x86_64 3.12-3.fc43 fedora 1.6 MiB fedora-release-common noarch 43-27 updates 20.6 KiB findutils x86_64 1:4.10.0-6.fc43 fedora 1.8 MiB gawk x86_64 5.3.2-2.fc43 fedora 1.8 MiB glibc-minimal-langpack x86_64 2.42-16.fc43 updates 0.0 B grep x86_64 3.12-2.fc43 fedora 1.0 MiB gzip x86_64 1.13-4.fc43 fedora 388.8 KiB info x86_64 7.2-7.fc43 updates 353.9 KiB patch x86_64 2.8-2.fc43 fedora 222.8 KiB redhat-rpm-config noarch 343-14.fc43 updates 182.9 KiB rpm-build x86_64 6.0.2-1.fc43 updates 286.4 KiB sed x86_64 4.9-5.fc43 fedora 857.3 KiB shadow-utils x86_64 2:4.18.0-3.fc43 fedora 3.9 MiB tar x86_64 2:1.35-6.fc43 fedora 2.9 MiB unzip x86_64 6.0-67.fc43 fedora 386.3 KiB util-linux x86_64 2.41.5-1.fc43 updates 3.5 MiB which x86_64 2.23-3.fc43 fedora 83.5 KiB xz x86_64 1:5.8.1-4.fc43 updates 1.3 MiB Installing dependencies: add-determinism x86_64 0.6.0-3.fc43 updates 2.3 MiB alternatives x86_64 1.33-3.fc43 updates 62.2 KiB ansible-srpm-macros noarch 1-18.1.fc43 fedora 35.7 KiB audit-libs x86_64 4.2.1-1.fc43 updates 382.5 KiB binutils x86_64 2.45.1-5.fc43 updates 27.3 MiB build-reproducibility-srpm-macros noarch 0.6.0-3.fc43 updates 735.0 B bzip2-libs x86_64 1.0.8-21.fc43 fedora 80.6 KiB ca-certificates noarch 2026.2.90_v9.0.317-1.fc43 updates 2.7 MiB cmake-srpm-macros noarch 3.31.11-1.fc43 updates 524.0 B coreutils-common x86_64 9.7-10.fc43 updates 11.3 MiB crypto-policies noarch 20251125-1.git63291f8.fc43 updates 147.1 KiB curl x86_64 8.15.0-10.fc43 updates 461.4 KiB cyrus-sasl-lib x86_64 2.1.28-33.fc43 fedora 2.3 MiB debugedit x86_64 5.2-3.fc43 fedora 214.0 KiB dwz x86_64 0.16-2.fc43 fedora 287.1 KiB ed x86_64 1.22.2-1.fc43 fedora 148.1 KiB efi-srpm-macros noarch 6-4.fc43 fedora 40.1 KiB elfutils x86_64 0.196-1.fc43 updates 3.1 MiB elfutils-debuginfod-client x86_64 0.196-1.fc43 updates 83.9 KiB elfutils-default-yama-scope noarch 0.196-1.fc43 updates 1.8 KiB elfutils-libelf x86_64 0.196-1.fc43 updates 1.4 MiB elfutils-libs x86_64 0.196-1.fc43 updates 695.4 KiB fedora-gpg-keys noarch 43-2 updates 259.0 KiB fedora-release noarch 43-27 updates 0.0 B fedora-release-identity-basic noarch 43-27 updates 631.0 B fedora-repos noarch 43-2 updates 4.9 KiB file x86_64 5.46-9.fc43 updates 100.2 KiB file-libs x86_64 5.46-9.fc43 updates 11.9 MiB filesystem x86_64 3.18-50.fc43 fedora 112.0 B filesystem-srpm-macros noarch 3.18-50.fc43 fedora 38.2 KiB fonts-srpm-macros noarch 1:2.0.5-23.fc43 fedora 55.8 KiB forge-srpm-macros noarch 0.4.0-3.fc43 fedora 38.9 KiB fpc-srpm-macros noarch 1.3-15.fc43 fedora 144.0 B gap-srpm-macros noarch 2-1.fc43 fedora 2.1 KiB gdb-minimal x86_64 17.2-2.fc43 updates 13.6 MiB gdbm-libs x86_64 1:1.23-10.fc43 fedora 129.9 KiB ghc-srpm-macros noarch 1.9.2-3.fc43 fedora 779.0 B glibc x86_64 2.42-16.fc43 updates 6.7 MiB glibc-common x86_64 2.42-16.fc43 updates 1.0 MiB glibc-gconv-extra x86_64 2.42-16.fc43 updates 7.2 MiB gmp x86_64 1:6.3.0-4.fc43 fedora 811.2 KiB gnat-srpm-macros noarch 7-1.fc43 updates 1.0 KiB gnome-srpm-macros noarch 1.0-1.fc43 updates 3.5 KiB gnulib-l10n noarch 20241231-1.fc43 fedora 655.0 KiB gnupg2 x86_64 2.4.9-5.fc43 updates 6.6 MiB gnupg2-dirmngr x86_64 2.4.9-5.fc43 updates 618.4 KiB gnupg2-gpg-agent x86_64 2.4.9-5.fc43 updates 671.4 KiB gnupg2-gpgconf x86_64 2.4.9-5.fc43 updates 250.0 KiB gnupg2-keyboxd x86_64 2.4.9-5.fc43 updates 201.4 KiB gnupg2-verify x86_64 2.4.9-5.fc43 updates 348.5 KiB gnutls x86_64 3.8.13-1.fc43 updates 3.8 MiB go-srpm-macros noarch 3.8.0-1.fc43 fedora 61.9 KiB gpgverify noarch 2.2-3.fc43 fedora 8.7 KiB ima-evm-utils-libs x86_64 1.6.2-6.fc43 fedora 60.7 KiB jansson x86_64 2.14-3.fc43 fedora 89.1 KiB java-srpm-macros noarch 1-7.fc43 fedora 870.0 B json-c x86_64 0.18-7.fc43 fedora 82.7 KiB kernel-srpm-macros noarch 1.0-27.fc43 fedora 1.9 KiB keyutils-libs x86_64 1.6.3-6.fc43 fedora 54.3 KiB krb5-libs x86_64 1.22.2-4.fc43 updates 2.3 MiB libacl x86_64 2.4.0-1.fc43 updates 39.9 KiB libarchive x86_64 3.8.4-1.fc43 updates 955.3 KiB libassuan x86_64 2.5.7-4.fc43 fedora 163.8 KiB libattr x86_64 2.6.0-1.fc43 updates 24.3 KiB libblkid x86_64 2.41.5-1.fc43 updates 262.3 KiB libbrotli x86_64 1.2.0-1.fc43 updates 865.4 KiB libcap x86_64 2.76-4.fc43 updates 209.1 KiB libcap-ng x86_64 0.9.6-1.fc43 updates 68.8 KiB libcom_err x86_64 1.47.3-2.fc43 fedora 63.1 KiB libcurl x86_64 8.15.0-10.fc43 updates 907.0 KiB libeconf x86_64 0.7.9-2.fc43 fedora 64.9 KiB libevent x86_64 2.1.13-1.fc43 updates 884.4 KiB libfdisk x86_64 2.41.5-1.fc43 updates 380.3 KiB libffi x86_64 3.5.2-1.fc43 updates 83.8 KiB libfsverity x86_64 1.6-3.fc43 fedora 28.5 KiB libgcc x86_64 15.3.1-1.fc43 updates 266.6 KiB libgcrypt x86_64 1.11.1-4.fc43 updates 1.6 MiB libgomp x86_64 15.3.1-1.fc43 updates 541.8 KiB libgpg-error x86_64 1.55-2.fc43 fedora 915.3 KiB libidn2 x86_64 2.3.8-2.fc43 fedora 552.5 KiB libksba x86_64 1.6.7-4.fc43 fedora 398.5 KiB liblastlog2 x86_64 2.41.5-1.fc43 updates 37.6 KiB libmount x86_64 2.41.5-1.fc43 updates 376.6 KiB libnghttp2 x86_64 1.66.0-3.fc43 updates 162.1 KiB libpfm x86_64 4.13.0-20.fc43 updates 1.7 MiB libpkgconf x86_64 2.3.0-3.fc43 fedora 78.1 KiB libpsl x86_64 0.21.5-6.fc43 fedora 76.4 KiB libselinux x86_64 3.9-5.fc43 fedora 193.1 KiB libsemanage x86_64 3.9-4.fc43 fedora 308.5 KiB libsepol x86_64 3.9-2.fc43 fedora 822.0 KiB libsmartcols x86_64 2.41.5-1.fc43 updates 180.3 KiB libssh x86_64 0.11.5-1.fc43 updates 573.1 KiB libssh-config noarch 0.11.5-1.fc43 updates 277.0 B libstdc++ x86_64 15.3.1-1.fc43 updates 2.8 MiB libtasn1 x86_64 4.21.0-1.fc43 updates 176.7 KiB libtool-ltdl x86_64 2.5.4-8.fc43 updates 70.1 KiB libunistring x86_64 1.1-10.fc43 fedora 1.7 MiB libusb1 x86_64 1.0.30-1.fc43 updates 176.0 KiB libuuid x86_64 2.41.5-1.fc43 updates 37.2 KiB libverto x86_64 0.3.2-11.fc43 fedora 25.4 KiB libxcrypt x86_64 4.5.2-1.fc43 updates 285.3 KiB libxml2 x86_64 2.12.10-5.fc43 fedora 1.7 MiB libzstd x86_64 1.5.7-2.fc43 fedora 799.9 KiB lua-libs x86_64 5.4.8-4.fc43 updates 281.9 KiB lua-srpm-macros noarch 1-16.fc43 fedora 1.3 KiB lz4-libs x86_64 1.10.0-3.fc43 fedora 161.4 KiB mpfr x86_64 4.2.2-2.fc43 fedora 832.8 KiB ncurses-base noarch 6.5-7.20250614.fc43 fedora 328.1 KiB ncurses-libs x86_64 6.5-7.20250614.fc43 fedora 946.3 KiB nettle x86_64 3.10.1-2.fc43 fedora 790.6 KiB npth x86_64 1.8-3.fc43 fedora 49.6 KiB ocaml-srpm-macros noarch 11-2.fc43 fedora 1.9 KiB openblas-srpm-macros noarch 2-20.fc43 fedora 112.0 B openldap x86_64 2.6.14-1.fc43 updates 658.7 KiB openssl-libs x86_64 1:3.5.8-1.fc43 updates 8.9 MiB p11-kit x86_64 0.26.5-1.fc43 updates 2.5 MiB p11-kit-trust x86_64 0.26.5-1.fc43 updates 466.3 KiB package-notes-srpm-macros noarch 0.20-1.fc43 updates 1.6 KiB pam-libs x86_64 1.7.1-5.fc43 updates 126.5 KiB pcre2 x86_64 10.47-1.fc43 updates 702.6 KiB pcre2-syntax noarch 10.47-1.fc43 updates 281.9 KiB perl-srpm-macros noarch 1-60.fc43 fedora 861.0 B pkgconf x86_64 2.3.0-3.fc43 fedora 88.5 KiB pkgconf-m4 noarch 2.3.0-3.fc43 fedora 14.4 KiB pkgconf-pkg-config x86_64 2.3.0-3.fc43 fedora 989.0 B popt x86_64 1.19-9.fc43 fedora 132.8 KiB publicsuffix-list-dafsa noarch 20260116-1.fc43 updates 70.4 KiB pyproject-srpm-macros noarch 1.23.2-1.fc43 updates 3.4 KiB python-srpm-macros noarch 3.14-5.fc43 fedora 51.5 KiB qt5-srpm-macros noarch 5.15.18-1.fc43 updates 500.0 B qt6-srpm-macros noarch 6.10.3-1.fc43 updates 472.0 B readline x86_64 8.3-2.fc43 fedora 511.7 KiB rpm x86_64 6.0.2-1.fc43 updates 3.1 MiB rpm-build-libs x86_64 6.0.2-1.fc43 updates 264.3 KiB rpm-libs x86_64 6.0.2-1.fc43 updates 933.5 KiB rpm-sequoia x86_64 1.10.3-1.fc43 updates 2.4 MiB rpm-sign-libs x86_64 6.0.2-1.fc43 updates 39.6 KiB rust-srpm-macros noarch 28.5-1.fc43 updates 5.5 KiB setup noarch 2.15.0-26.fc43 fedora 725.0 KiB sqlite-libs x86_64 3.50.2-3.fc43 updates 1.5 MiB systemd-libs x86_64 258.11-1.fc43 updates 2.3 MiB systemd-standalone-sysusers x86_64 258.11-1.fc43 updates 297.4 KiB tpm2-tss x86_64 4.1.3-8.fc43 fedora 1.6 MiB tree-sitter-srpm-macros noarch 0.4.2-1.fc43 fedora 8.3 KiB util-linux-core x86_64 2.41.5-1.fc43 updates 1.5 MiB xxhash-libs x86_64 0.8.4-1.fc43 updates 90.0 KiB xz-libs x86_64 1:5.8.1-4.fc43 updates 217.8 KiB zig-srpm-macros noarch 1-5.fc43 fedora 1.1 KiB zip x86_64 3.0-44.fc43 fedora 694.5 KiB zlib-ng-compat x86_64 2.3.3-2.fc43 updates 161.7 KiB zstd x86_64 1.5.7-2.fc43 fedora 1.7 MiB Installing groups: Buildsystem building group Transaction Summary: Installing: 173 packages Total size of inbound packages is 60 MiB. Need to download 0 B. After this operation, 203 MiB extra will be used (install 203 MiB, remove 0 B). [ 1/173] tar-2:1.35-6.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 2/173] bzip2-0:1.0.8-21.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 3/173] unzip-0:6.0-67.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 4/173] cpio-0:2.15-6.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 5/173] which-0:2.23-3.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 6/173] bash-0:5.3.0-2.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 7/173] grep-0:3.12-2.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 8/173] patch-0:2.8-2.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 9/173] sed-0:4.9-5.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 10/173] shadow-utils-2:4.18.0-3.fc43. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 11/173] diffutils-0:3.12-3.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 12/173] findutils-1:4.10.0-6.fc43.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 13/173] gzip-0:1.13-4.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 14/173] redhat-rpm-config-0:343-14.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 15/173] rpm-build-0:6.0.2-1.fc43.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 16/173] coreutils-0:9.7-10.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 17/173] util-linux-0:2.41.5-1.fc43.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 18/173] fedora-release-common-0:43-27 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 19/173] gawk-0:5.3.2-2.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 20/173] glibc-minimal-langpack-0:2.42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 21/173] info-0:7.2-7.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 22/173] xz-1:5.8.1-4.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 23/173] libselinux-0:3.9-5.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 24/173] bzip2-libs-0:1.0.8-21.fc43.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 25/173] filesystem-0:3.18-50.fc43.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 26/173] ncurses-libs-0:6.5-7.20250614 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 27/173] ed-0:1.22.2-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 28/173] libeconf-0:0.7.9-2.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 29/173] libsemanage-0:3.9-4.fc43.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 30/173] setup-0:2.15.0-26.fc43.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 31/173] ansible-srpm-macros-0:1-18.1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 32/173] dwz-0:0.16-2.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 33/173] efi-srpm-macros-0:6-4.fc43.no 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 34/173] filesystem-srpm-macros-0:3.18 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 35/173] fonts-srpm-macros-1:2.0.5-23. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 36/173] forge-srpm-macros-0:0.4.0-3.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 37/173] fpc-srpm-macros-0:1.3-15.fc43 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 38/173] gap-srpm-macros-0:2-1.fc43.no 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 39/173] ghc-srpm-macros-0:1.9.2-3.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 40/173] go-srpm-macros-0:3.8.0-1.fc43 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 41/173] java-srpm-macros-0:1-7.fc43.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 42/173] kernel-srpm-macros-0:1.0-27.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 43/173] lua-srpm-macros-0:1-16.fc43.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 44/173] ocaml-srpm-macros-0:11-2.fc43 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 45/173] openblas-srpm-macros-0:2-20.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 46/173] perl-srpm-macros-0:1-60.fc43. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 47/173] python-srpm-macros-0:3.14-5.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 48/173] tree-sitter-srpm-macros-0:0.4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 49/173] zig-srpm-macros-0:1-5.fc43.no 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 50/173] zip-0:3.0-44.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 51/173] cmake-srpm-macros-0:3.31.11-1 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 52/173] gnome-srpm-macros-0:1.0-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 53/173] debugedit-0:5.2-3.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 54/173] popt-0:1.19-9.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 55/173] readline-0:8.3-2.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 56/173] zstd-0:1.5.7-2.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 57/173] rpm-0:6.0.2-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 58/173] gmp-1:6.3.0-4.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 59/173] coreutils-common-0:9.7-10.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 60/173] util-linux-core-0:2.41.5-1.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 61/173] mpfr-0:4.2.2-2.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 62/173] glibc-common-0:2.42-16.fc43.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 63/173] xz-libs-1:5.8.1-4.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 64/173] libsepol-0:3.9-2.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 65/173] ncurses-base-0:6.5-7.20250614 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 66/173] lz4-libs-0:1.10.0-3.fc43.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 67/173] gnulib-l10n-0:20241231-1.fc43 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 68/173] rpm-libs-0:6.0.2-1.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 69/173] glibc-0:2.42-16.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 70/173] libzstd-0:1.5.7-2.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 71/173] rpm-build-libs-0:6.0.2-1.fc43 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 72/173] glibc-gconv-extra-0:2.42-16.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 73/173] rpm-sign-libs-0:6.0.2-1.fc43. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 74/173] ima-evm-utils-libs-0:1.6.2-6. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 75/173] libfsverity-0:1.6-3.fc43.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 76/173] tpm2-tss-0:4.1.3-8.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 77/173] json-c-0:0.18-7.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 78/173] libblkid-0:2.41.5-1.fc43.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 79/173] libuuid-0:2.41.5-1.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 80/173] libmount-0:2.41.5-1.fc43.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 81/173] libgcc-0:15.3.1-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 82/173] libsmartcols-0:2.41.5-1.fc43. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 83/173] libxcrypt-0:4.5.2-1.fc43.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 84/173] systemd-libs-0:258.11-1.fc43. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 85/173] audit-libs-0:4.2.1-1.fc43.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 86/173] libcap-ng-0:0.9.6-1.fc43.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 87/173] libfdisk-0:2.41.5-1.fc43.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 88/173] liblastlog2-0:2.41.5-1.fc43.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 89/173] pam-libs-0:1.7.1-5.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 90/173] zlib-ng-compat-0:2.3.3-2.fc43 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 91/173] libcap-0:2.76-4.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 92/173] gnupg2-0:2.4.9-5.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 93/173] gpgverify-0:2.2-3.fc43.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 94/173] libassuan-0:2.5.7-4.fc43.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 95/173] libgpg-error-0:1.55-2.fc43.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 96/173] npth-0:1.8-3.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 97/173] gnupg2-dirmngr-0:2.4.9-5.fc43 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 98/173] gnupg2-gpg-agent-0:2.4.9-5.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 99/173] gnupg2-gpgconf-0:2.4.9-5.fc43 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [100/173] gnupg2-keyboxd-0:2.4.9-5.fc43 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [101/173] gnupg2-verify-0:2.4.9-5.fc43. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [102/173] libksba-0:1.6.7-4.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [103/173] libstdc++-0:15.3.1-1.fc43.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [104/173] libacl-0:2.4.0-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [105/173] lua-libs-0:5.4.8-4.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [106/173] rpm-sequoia-0:1.10.3-1.fc43.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [107/173] sqlite-libs-0:3.50.2-3.fc43.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [108/173] elfutils-libelf-0:0.196-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [109/173] elfutils-libs-0:0.196-1.fc43. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [110/173] elfutils-0:0.196-1.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [111/173] elfutils-debuginfod-client-0: 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [112/173] file-libs-0:5.46-9.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [113/173] file-0:5.46-9.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [114/173] libgomp-0:15.3.1-1.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [115/173] binutils-0:2.45.1-5.fc43.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [116/173] jansson-0:2.14-3.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [117/173] libarchive-0:3.8.4-1.fc43.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [118/173] libxml2-0:2.12.10-5.fc43.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [119/173] pkgconf-pkg-config-0:2.3.0-3. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [120/173] pkgconf-0:2.3.0-3.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [121/173] pkgconf-m4-0:2.3.0-3.fc43.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [122/173] libpkgconf-0:2.3.0-3.fc43.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [123/173] curl-0:8.15.0-10.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [124/173] build-reproducibility-srpm-ma 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [125/173] add-determinism-0:0.6.0-3.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [126/173] gnat-srpm-macros-0:7-1.fc43.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [127/173] package-notes-srpm-macros-0:0 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [128/173] pyproject-srpm-macros-0:1.23. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [129/173] qt5-srpm-macros-0:5.15.18-1.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [130/173] qt6-srpm-macros-0:6.10.3-1.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [131/173] rust-srpm-macros-0:28.5-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [132/173] openssl-libs-1:3.5.8-1.fc43.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [133/173] libgcrypt-0:1.11.1-4.fc43.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [134/173] gnutls-0:3.8.13-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [135/173] libidn2-0:2.3.8-2.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [136/173] libunistring-0:1.1-10.fc43.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [137/173] nettle-0:3.10.1-2.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [138/173] openldap-0:2.6.14-1.fc43.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [139/173] cyrus-sasl-lib-0:2.1.28-33.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [140/173] gdbm-libs-1:1.23-10.fc43.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [141/173] fedora-repos-0:43-2.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [142/173] fedora-gpg-keys-0:43-2.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [143/173] elfutils-default-yama-scope-0 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [144/173] libpfm-0:4.13.0-20.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [145/173] libattr-0:2.6.0-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [146/173] alternatives-0:1.33-3.fc43.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [147/173] libusb1-0:1.0.30-1.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [148/173] pcre2-0:10.47-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [149/173] pcre2-syntax-0:10.47-1.fc43.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [150/173] ca-certificates-0:2026.2.90_v 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [151/173] crypto-policies-0:20251125-1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [152/173] libevent-0:2.1.13-1.fc43.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [153/173] libtool-ltdl-0:2.5.4-8.fc43.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [154/173] libtasn1-0:4.21.0-1.fc43.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [155/173] p11-kit-0:0.26.5-1.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [156/173] p11-kit-trust-0:0.26.5-1.fc43 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [157/173] libffi-0:3.5.2-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [158/173] systemd-standalone-sysusers-0 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [159/173] gdb-minimal-0:17.2-2.fc43.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [160/173] xxhash-libs-0:0.8.4-1.fc43.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [161/173] fedora-release-0:43-27.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [162/173] fedora-release-identity-basic 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [163/173] libcurl-0:8.15.0-10.fc43.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [164/173] libpsl-0:0.21.5-6.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [165/173] libssh-0:0.11.5-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [166/173] libssh-config-0:0.11.5-1.fc43 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [167/173] publicsuffix-list-dafsa-0:202 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [168/173] krb5-libs-0:1.22.2-4.fc43.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [169/173] keyutils-libs-0:1.6.3-6.fc43. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [170/173] libcom_err-0:1.47.3-2.fc43.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [171/173] libverto-0:0.3.2-11.fc43.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [172/173] libbrotli-0:1.2.0-1.fc43.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [173/173] libnghttp2-0:1.66.0-3.fc43.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [173/173] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction 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/175] Verify package files 100% | 816.0 B/s | 173.0 B | 00m00s [ 2/175] Prepare transaction 100% | 4.4 KiB/s | 173.0 B | 00m00s [ 3/175] Installing libgcc-0:15.3.1-1. 100% | 262.0 MiB/s | 268.3 KiB | 00m00s [ 4/175] Installing publicsuffix-list- 100% | 0.0 B/s | 71.1 KiB | 00m00s [ 5/175] Installing libssh-config-0:0. 100% | 0.0 B/s | 816.0 B | 00m00s [ 6/175] Installing fedora-release-ide 100% | 867.2 KiB/s | 888.0 B | 00m00s [ 7/175] Installing fedora-gpg-keys-0: 100% | 57.8 MiB/s | 355.0 KiB | 00m00s [ 8/175] Installing fedora-repos-0:43- 100% | 0.0 B/s | 5.7 KiB | 00m00s [ 9/175] Installing fedora-release-com 100% | 24.3 MiB/s | 24.8 KiB | 00m00s [ 10/175] Installing fedora-release-0:4 100% | 17.3 KiB/s | 124.0 B | 00m00s >>> Running sysusers scriptlet: setup-0:2.15.0-26.fc43.noarch >>> Finished sysusers scriptlet: setup-0:2.15.0-26.fc43.noarch >>> Scriptlet output: >>> Creating group 'adm' with GID 4. >>> Creating group 'audio' with GID 63. >>> Creating group 'cdrom' with GID 11. >>> Creating group 'clock' with GID 103. >>> Creating group 'dialout' with GID 18. >>> Creating group 'disk' with GID 6. >>> Creating group 'floppy' with GID 19. >>> Creating group 'ftp' with GID 50. >>> Creating group 'games' with GID 20. >>> Creating group 'input' with GID 104. >>> Creating group 'kmem' with GID 9. >>> Creating group 'kvm' with GID 36. >>> Creating group 'lock' with GID 54. >>> Creating group 'lp' with GID 7. >>> Creating group 'mail' with GID 12. >>> Creating group 'man' with GID 15. >>> Creating group 'mem' with GID 8. >>> Creating group 'nobody' with GID 65534. >>> Creating group 'render' with GID 105. >>> Creating group 'root' with GID 0. >>> Creating group 'sgx' with GID 106. >>> Creating group 'sys' with GID 3. >>> Creating group 'tape' with GID 33. >>> Creating group 'tty' with GID 5. >>> Creating group 'users' with GID 100. >>> Creating group 'utmp' with GID 22. >>> Creating group 'video' with GID 39. >>> Creating group 'wheel' with GID 10. >>> Creating user 'adm' (adm) with UID 3 and GID 4. >>> Creating group 'bin' with GID 1. >>> Creating user 'bin' (bin) with UID 1 and GID 1. >>> Creating group 'daemon' with GID 2. >>> Creating user 'daemon' (daemon) with UID 2 and GID 2. >>> Creating user 'ftp' (FTP User) with UID 14 and GID 50. >>> Creating user 'games' (games) with UID 12 and GID 100. >>> Creating user 'halt' (halt) with UID 7 and GID 0. >>> Creating user 'lp' (lp) with UID 4 and GID 7. >>> Creating user 'mail' (mail) with UID 8 and GID 12. >>> Creating user 'nobody' (Kernel Overflow User) with UID 65534 and GID 65534. >>> Creating user 'operator' (operator) with UID 11 and GID 0. >>> Creating user 'root' (Super User) with UID 0 and GID 0. >>> Creating user 'shutdown' (shutdown) with UID 6 and GID 0. >>> Creating user 'sync' (sync) with UID 5 and GID 0. >>> [ 11/175] Installing setup-0:2.15.0-26. 100% | 54.9 MiB/s | 730.6 KiB | 00m00s >>> [RPM] /etc/hosts created as /etc/hosts.rpmnew [ 12/175] Installing filesystem-0:3.18- 100% | 3.2 MiB/s | 212.8 KiB | 00m00s [ 13/175] Installing pcre2-syntax-0:10. 100% | 277.7 MiB/s | 284.3 KiB | 00m00s [ 14/175] Installing rust-srpm-macros-0 100% | 0.0 B/s | 6.4 KiB | 00m00s [ 15/175] Installing qt6-srpm-macros-0: 100% | 0.0 B/s | 748.0 B | 00m00s [ 16/175] Installing qt5-srpm-macros-0: 100% | 0.0 B/s | 776.0 B | 00m00s [ 17/175] Installing package-notes-srpm 100% | 0.0 B/s | 2.1 KiB | 00m00s [ 18/175] Installing gnat-srpm-macros-0 100% | 0.0 B/s | 1.3 KiB | 00m00s [ 19/175] Installing pkgconf-m4-0:2.3.0 100% | 0.0 B/s | 14.8 KiB | 00m00s [ 20/175] Installing gnulib-l10n-0:2024 100% | 215.5 MiB/s | 661.9 KiB | 00m00s [ 21/175] Installing coreutils-common-0 100% | 434.3 MiB/s | 11.3 MiB | 00m00s [ 22/175] Installing ncurses-base-0:6.5 100% | 115.1 MiB/s | 353.5 KiB | 00m00s [ 23/175] Installing bash-0:5.3.0-2.fc4 100% | 301.1 MiB/s | 8.4 MiB | 00m00s [ 24/175] Installing glibc-common-0:2.4 100% | 67.9 MiB/s | 1.0 MiB | 00m00s [ 25/175] Installing glibc-gconv-extra- 100% | 316.6 MiB/s | 7.3 MiB | 00m00s [ 26/175] Installing glibc-0:2.42-16.fc 100% | 202.9 MiB/s | 6.7 MiB | 00m00s [ 27/175] Installing ncurses-libs-0:6.5 100% | 310.1 MiB/s | 952.8 KiB | 00m00s [ 28/175] Installing glibc-minimal-lang 100% | 0.0 B/s | 124.0 B | 00m00s [ 29/175] Installing zlib-ng-compat-0:2 100% | 158.7 MiB/s | 162.6 KiB | 00m00s [ 30/175] Installing bzip2-libs-0:1.0.8 100% | 0.0 B/s | 81.7 KiB | 00m00s [ 31/175] Installing libgpg-error-0:1.5 100% | 69.2 MiB/s | 921.1 KiB | 00m00s [ 32/175] Installing libstdc++-0:15.3.1 100% | 407.0 MiB/s | 2.8 MiB | 00m00s [ 33/175] Installing xz-libs-1:5.8.1-4. 100% | 213.8 MiB/s | 218.9 KiB | 00m00s [ 34/175] Installing libassuan-0:2.5.7- 100% | 161.7 MiB/s | 165.6 KiB | 00m00s [ 35/175] Installing libgcrypt-0:1.11.1 100% | 393.7 MiB/s | 1.6 MiB | 00m00s [ 36/175] Installing readline-0:8.3-2.f 100% | 250.9 MiB/s | 513.9 KiB | 00m00s [ 37/175] Installing gmp-1:6.3.0-4.fc43 100% | 397.2 MiB/s | 813.5 KiB | 00m00s [ 38/175] Installing libuuid-0:2.41.5-1 100% | 0.0 B/s | 38.4 KiB | 00m00s [ 39/175] Installing libacl-0:2.4.0-1.f 100% | 0.0 B/s | 40.7 KiB | 00m00s [ 40/175] Installing popt-0:1.19-9.fc43 100% | 68.1 MiB/s | 139.4 KiB | 00m00s [ 41/175] Installing libzstd-0:1.5.7-2. 100% | 391.2 MiB/s | 801.1 KiB | 00m00s [ 42/175] Installing elfutils-libelf-0: 100% | 479.6 MiB/s | 1.4 MiB | 00m00s [ 43/175] Installing npth-0:1.8-3.fc43. 100% | 0.0 B/s | 50.7 KiB | 00m00s [ 44/175] Installing libblkid-0:2.41.5- 100% | 257.3 MiB/s | 263.4 KiB | 00m00s [ 45/175] Installing libxcrypt-0:4.5.2- 100% | 281.3 MiB/s | 288.0 KiB | 00m00s [ 46/175] Installing sqlite-libs-0:3.50 100% | 379.1 MiB/s | 1.5 MiB | 00m00s [ 47/175] Installing gnupg2-gpgconf-0:2 100% | 20.5 MiB/s | 252.1 KiB | 00m00s [ 48/175] Installing json-c-0:0.18-7.fc 100% | 0.0 B/s | 84.0 KiB | 00m00s [ 49/175] Installing libunistring-0:1.1 100% | 431.7 MiB/s | 1.7 MiB | 00m00s [ 50/175] Installing libidn2-0:2.3.8-2. 100% | 272.8 MiB/s | 558.7 KiB | 00m00s [ 51/175] Installing libtasn1-0:4.21.0- 100% | 29.1 MiB/s | 178.6 KiB | 00m00s [ 52/175] Installing crypto-policies-0: 100% | 42.0 MiB/s | 172.2 KiB | 00m00s [ 53/175] Installing gnupg2-verify-0:2. 100% | 26.3 MiB/s | 349.9 KiB | 00m00s [ 54/175] Installing dwz-0:0.16-2.fc43. 100% | 25.6 MiB/s | 288.5 KiB | 00m00s [ 55/175] Installing mpfr-0:4.2.2-2.fc4 100% | 271.6 MiB/s | 834.4 KiB | 00m00s [ 56/175] Installing gawk-0:5.3.2-2.fc4 100% | 113.5 MiB/s | 1.8 MiB | 00m00s [ 57/175] Installing libksba-0:1.6.7-4. 100% | 391.7 MiB/s | 401.1 KiB | 00m00s [ 58/175] Installing unzip-0:6.0-67.fc4 100% | 31.7 MiB/s | 389.8 KiB | 00m00s [ 59/175] Installing file-libs-0:5.46-9 100% | 741.3 MiB/s | 11.9 MiB | 00m00s [ 60/175] Installing file-0:5.46-9.fc43 100% | 9.0 MiB/s | 101.7 KiB | 00m00s [ 61/175] Installing libeconf-0:0.7.9-2 100% | 65.0 MiB/s | 66.5 KiB | 00m00s [ 62/175] Installing libsepol-0:3.9-2.f 100% | 401.8 MiB/s | 822.9 KiB | 00m00s [ 63/175] Installing lz4-libs-0:1.10.0- 100% | 158.6 MiB/s | 162.5 KiB | 00m00s [ 64/175] Installing libsmartcols-0:2.4 100% | 177.2 MiB/s | 181.5 KiB | 00m00s [ 65/175] Installing libcap-ng-0:0.9.6- 100% | 69.0 MiB/s | 70.6 KiB | 00m00s [ 66/175] Installing audit-libs-0:4.2.1 100% | 375.9 MiB/s | 384.9 KiB | 00m00s [ 67/175] Installing pam-libs-0:1.7.1-5 100% | 125.7 MiB/s | 128.8 KiB | 00m00s [ 68/175] Installing libcap-0:2.76-4.fc 100% | 17.4 MiB/s | 214.3 KiB | 00m00s [ 69/175] Installing systemd-libs-0:258 100% | 391.3 MiB/s | 2.3 MiB | 00m00s [ 70/175] Installing lua-libs-0:5.4.8-4 100% | 276.7 MiB/s | 283.3 KiB | 00m00s [ 71/175] Installing libattr-0:2.6.0-1. 100% | 0.0 B/s | 25.2 KiB | 00m00s [ 72/175] Installing alternatives-0:1.3 100% | 5.7 MiB/s | 63.8 KiB | 00m00s [ 73/175] Installing pcre2-0:10.47-1.fc 100% | 343.8 MiB/s | 704.1 KiB | 00m00s [ 74/175] Installing libselinux-0:3.9-5 100% | 189.8 MiB/s | 194.4 KiB | 00m00s [ 75/175] Installing grep-0:3.12-2.fc43 100% | 71.6 MiB/s | 1.0 MiB | 00m00s [ 76/175] Installing sed-0:4.9-5.fc43.x 100% | 65.0 MiB/s | 865.5 KiB | 00m00s [ 77/175] Installing findutils-1:4.10.0 100% | 116.1 MiB/s | 1.9 MiB | 00m00s [ 78/175] Installing xz-1:5.8.1-4.fc43. 100% | 88.8 MiB/s | 1.3 MiB | 00m00s [ 79/175] Installing libmount-0:2.41.5- 100% | 368.9 MiB/s | 377.7 KiB | 00m00s [ 80/175] Installing libffi-0:3.5.2-1.f 100% | 83.2 MiB/s | 85.2 KiB | 00m00s [ 81/175] Installing p11-kit-0:0.26.5-1 100% | 141.4 MiB/s | 2.5 MiB | 00m00s [ 82/175] Installing p11-kit-trust-0:0. 100% | 24.0 MiB/s | 467.9 KiB | 00m00s [ 83/175] Installing openssl-libs-1:3.5 100% | 405.6 MiB/s | 8.9 MiB | 00m00s [ 84/175] Installing coreutils-0:9.7-10 100% | 181.0 MiB/s | 5.4 MiB | 00m00s [ 85/175] Installing ca-certificates-0: 100% | 2.4 MiB/s | 2.5 MiB | 00m01s [ 86/175] Installing gzip-0:1.13-4.fc43 100% | 29.6 MiB/s | 394.4 KiB | 00m00s [ 87/175] Installing libfsverity-0:1.6- 100% | 28.8 MiB/s | 29.5 KiB | 00m00s [ 88/175] Installing rpm-sequoia-0:1.10 100% | 350.2 MiB/s | 2.5 MiB | 00m00s [ 89/175] Installing libevent-0:2.1.13- 100% | 289.1 MiB/s | 888.2 KiB | 00m00s [ 90/175] Installing util-linux-core-0: 100% | 92.2 MiB/s | 1.5 MiB | 00m00s [ 91/175] Installing tar-2:1.35-6.fc43. 100% | 164.3 MiB/s | 3.0 MiB | 00m00s [ 92/175] Installing libsemanage-0:3.9- 100% | 303.0 MiB/s | 310.2 KiB | 00m00s [ 93/175] Installing systemd-standalone 100% | 24.3 MiB/s | 298.1 KiB | 00m00s [ 94/175] Installing rpm-libs-0:6.0.2-1 100% | 304.4 MiB/s | 935.1 KiB | 00m00s [ 95/175] Installing libusb1-0:1.0.30-1 100% | 21.7 MiB/s | 177.7 KiB | 00m00s >>> Running sysusers scriptlet: tpm2-tss-0:4.1.3-8.fc43.x86_64 >>> Finished sysusers scriptlet: tpm2-tss-0:4.1.3-8.fc43.x86_64 >>> Scriptlet output: >>> Creating group 'tss' with GID 59. >>> Creating user 'tss' (Account used for TPM access) with UID 59 and GID 59. >>> [ 96/175] Installing tpm2-tss-0:4.1.3-8 100% | 314.4 MiB/s | 1.6 MiB | 00m00s [ 97/175] Installing ima-evm-utils-libs 100% | 60.5 MiB/s | 62.0 KiB | 00m00s [ 98/175] Installing gnupg2-gpg-agent-0 100% | 34.7 MiB/s | 675.4 KiB | 00m00s [ 99/175] Installing liblastlog2-0:2.41 100% | 7.7 MiB/s | 39.5 KiB | 00m00s [100/175] Installing zstd-0:1.5.7-2.fc4 100% | 106.9 MiB/s | 1.7 MiB | 00m00s [101/175] Installing zip-0:3.0-44.fc43. 100% | 52.5 MiB/s | 698.4 KiB | 00m00s [102/175] Installing gnupg2-keyboxd-0:2 100% | 33.0 MiB/s | 202.7 KiB | 00m00s [103/175] Installing libpsl-0:0.21.5-6. 100% | 75.7 MiB/s | 77.5 KiB | 00m00s [104/175] Installing libfdisk-0:2.41.5- 100% | 372.5 MiB/s | 381.4 KiB | 00m00s [105/175] Installing nettle-0:3.10.1-2. 100% | 258.4 MiB/s | 793.7 KiB | 00m00s [106/175] Installing gnutls-0:3.8.13-1. 100% | 376.7 MiB/s | 3.8 MiB | 00m00s [107/175] Installing libxml2-0:2.12.10- 100% | 100.3 MiB/s | 1.7 MiB | 00m00s [108/175] Installing libarchive-0:3.8.4 100% | 311.6 MiB/s | 957.2 KiB | 00m00s [109/175] Installing bzip2-0:1.0.8-21.f 100% | 8.1 MiB/s | 99.8 KiB | 00m00s [110/175] Installing add-determinism-0: 100% | 143.9 MiB/s | 2.3 MiB | 00m00s [111/175] Installing build-reproducibil 100% | 0.0 B/s | 1.0 KiB | 00m00s [112/175] Installing cpio-0:2.15-6.fc43 100% | 78.5 MiB/s | 1.1 MiB | 00m00s [113/175] Installing diffutils-0:3.12-3 100% | 104.1 MiB/s | 1.6 MiB | 00m00s [114/175] Installing ed-0:1.22.2-1.fc43 100% | 13.3 MiB/s | 150.4 KiB | 00m00s [115/175] Installing patch-0:2.8-2.fc43 100% | 19.9 MiB/s | 224.3 KiB | 00m00s [116/175] Installing libgomp-0:15.3.1-1 100% | 530.4 MiB/s | 543.2 KiB | 00m00s [117/175] Installing jansson-0:2.14-3.f 100% | 88.3 MiB/s | 90.5 KiB | 00m00s [118/175] Installing libpkgconf-0:2.3.0 100% | 77.4 MiB/s | 79.2 KiB | 00m00s [119/175] Installing pkgconf-0:2.3.0-3. 100% | 8.1 MiB/s | 91.0 KiB | 00m00s [120/175] Installing pkgconf-pkg-config 100% | 161.2 KiB/s | 1.8 KiB | 00m00s [121/175] Installing gdbm-libs-1:1.23-1 100% | 128.5 MiB/s | 131.6 KiB | 00m00s [122/175] Installing cyrus-sasl-lib-0:2 100% | 143.5 MiB/s | 2.3 MiB | 00m00s [123/175] Installing libpfm-0:4.13.0-20 100% | 573.5 MiB/s | 1.7 MiB | 00m00s [124/175] Installing libtool-ltdl-0:2.5 100% | 69.6 MiB/s | 71.2 KiB | 00m00s [125/175] Installing openldap-0:2.6.14- 100% | 323.5 MiB/s | 662.5 KiB | 00m00s [126/175] Installing gnupg2-dirmngr-0:2 100% | 33.7 MiB/s | 621.1 KiB | 00m00s [127/175] Installing gnupg2-0:2.4.9-5.f 100% | 243.1 MiB/s | 6.6 MiB | 00m00s [128/175] Installing rpm-sign-libs-0:6. 100% | 0.0 B/s | 40.5 KiB | 00m00s [129/175] Installing gpgverify-0:2.2-3. 100% | 0.0 B/s | 9.4 KiB | 00m00s [130/175] Installing xxhash-libs-0:0.8. 100% | 89.2 MiB/s | 91.4 KiB | 00m00s [131/175] Installing keyutils-libs-0:1. 100% | 0.0 B/s | 55.7 KiB | 00m00s [132/175] Installing libcom_err-0:1.47. 100% | 0.0 B/s | 64.2 KiB | 00m00s [133/175] Installing libverto-0:0.3.2-1 100% | 26.6 MiB/s | 27.2 KiB | 00m00s [134/175] Installing krb5-libs-0:1.22.2 100% | 333.1 MiB/s | 2.3 MiB | 00m00s [135/175] Installing libssh-0:0.11.5-1. 100% | 280.8 MiB/s | 575.1 KiB | 00m00s [136/175] Installing libbrotli-0:1.2.0- 100% | 282.4 MiB/s | 867.7 KiB | 00m00s [137/175] Installing libnghttp2-0:1.66. 100% | 159.4 MiB/s | 163.2 KiB | 00m00s [138/175] Installing libcurl-0:8.15.0-1 100% | 295.6 MiB/s | 908.1 KiB | 00m00s [139/175] Installing curl-0:8.15.0-10.f 100% | 22.7 MiB/s | 463.9 KiB | 00m00s [140/175] Installing rpm-0:6.0.2-1.fc43 100% | 88.8 MiB/s | 2.6 MiB | 00m00s [141/175] Installing efi-srpm-macros-0: 100% | 40.2 MiB/s | 41.1 KiB | 00m00s [142/175] Installing java-srpm-macros-0 100% | 0.0 B/s | 1.1 KiB | 00m00s [143/175] Installing lua-srpm-macros-0: 100% | 0.0 B/s | 1.9 KiB | 00m00s [144/175] Installing tree-sitter-srpm-m 100% | 0.0 B/s | 9.3 KiB | 00m00s [145/175] Installing zig-srpm-macros-0: 100% | 0.0 B/s | 1.7 KiB | 00m00s [146/175] Installing cmake-srpm-macros- 100% | 0.0 B/s | 804.0 B | 00m00s [147/175] Installing filesystem-srpm-ma 100% | 0.0 B/s | 38.9 KiB | 00m00s [148/175] Installing elfutils-default-y 100% | 510.7 KiB/s | 2.0 KiB | 00m00s [149/175] Installing elfutils-libs-0:0. 100% | 227.0 MiB/s | 697.2 KiB | 00m00s [150/175] Installing elfutils-debuginfo 100% | 7.0 MiB/s | 86.2 KiB | 00m00s [151/175] Installing elfutils-0:0.196-1 100% | 172.8 MiB/s | 3.1 MiB | 00m00s [152/175] Installing binutils-0:2.45.1- 100% | 360.2 MiB/s | 27.4 MiB | 00m00s [153/175] Installing gdb-minimal-0:17.2 100% | 309.5 MiB/s | 13.6 MiB | 00m00s [154/175] Installing debugedit-0:5.2-3. 100% | 17.7 MiB/s | 217.3 KiB | 00m00s [155/175] Installing rpm-build-libs-0:6 100% | 258.9 MiB/s | 265.1 KiB | 00m00s [156/175] Installing gnome-srpm-macros- 100% | 0.0 B/s | 4.1 KiB | 00m00s [157/175] Installing perl-srpm-macros-0 100% | 0.0 B/s | 1.1 KiB | 00m00s [158/175] Installing openblas-srpm-macr 100% | 0.0 B/s | 392.0 B | 00m00s [159/175] Installing ocaml-srpm-macros- 100% | 0.0 B/s | 2.1 KiB | 00m00s [160/175] Installing kernel-srpm-macros 100% | 0.0 B/s | 2.3 KiB | 00m00s [161/175] Installing ghc-srpm-macros-0: 100% | 0.0 B/s | 1.0 KiB | 00m00s [162/175] Installing gap-srpm-macros-0: 100% | 0.0 B/s | 2.7 KiB | 00m00s [163/175] Installing fpc-srpm-macros-0: 100% | 0.0 B/s | 420.0 B | 00m00s [164/175] Installing ansible-srpm-macro 100% | 0.0 B/s | 36.2 KiB | 00m00s [165/175] Installing rpm-build-0:6.0.2- 100% | 22.2 MiB/s | 295.6 KiB | 00m00s [166/175] Installing pyproject-srpm-mac 100% | 0.0 B/s | 4.0 KiB | 00m00s [167/175] Installing redhat-rpm-config- 100% | 184.7 MiB/s | 189.1 KiB | 00m00s [168/175] Installing forge-srpm-macros- 100% | 0.0 B/s | 40.3 KiB | 00m00s [169/175] Installing fonts-srpm-macros- 100% | 0.0 B/s | 57.0 KiB | 00m00s [170/175] Installing go-srpm-macros-0:3 100% | 0.0 B/s | 63.0 KiB | 00m00s [171/175] Installing python-srpm-macros 100% | 51.6 MiB/s | 52.8 KiB | 00m00s [172/175] Installing util-linux-0:2.41. 100% | 108.0 MiB/s | 3.6 MiB | 00m00s [173/175] Installing shadow-utils-2:4.1 100% | 152.7 MiB/s | 4.0 MiB | 00m00s [174/175] Installing which-0:2.23-3.fc4 100% | 7.0 MiB/s | 85.7 KiB | 00m00s [175/175] Installing info-0:7.2-7.fc43. 100% | 265.8 KiB/s | 354.3 KiB | 00m01s 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.6.0-3.fc43.x86_64 alternatives-1.33-3.fc43.x86_64 ansible-srpm-macros-1-18.1.fc43.noarch audit-libs-4.2.1-1.fc43.x86_64 bash-5.3.0-2.fc43.x86_64 binutils-2.45.1-5.fc43.x86_64 build-reproducibility-srpm-macros-0.6.0-3.fc43.noarch bzip2-1.0.8-21.fc43.x86_64 bzip2-libs-1.0.8-21.fc43.x86_64 ca-certificates-2026.2.90_v9.0.317-1.fc43.noarch cmake-srpm-macros-3.31.11-1.fc43.noarch coreutils-9.7-10.fc43.x86_64 coreutils-common-9.7-10.fc43.x86_64 cpio-2.15-6.fc43.x86_64 crypto-policies-20251125-1.git63291f8.fc43.noarch curl-8.15.0-10.fc43.x86_64 cyrus-sasl-lib-2.1.28-33.fc43.x86_64 debugedit-5.2-3.fc43.x86_64 diffutils-3.12-3.fc43.x86_64 dwz-0.16-2.fc43.x86_64 ed-1.22.2-1.fc43.x86_64 efi-srpm-macros-6-4.fc43.noarch elfutils-0.196-1.fc43.x86_64 elfutils-debuginfod-client-0.196-1.fc43.x86_64 elfutils-default-yama-scope-0.196-1.fc43.noarch elfutils-libelf-0.196-1.fc43.x86_64 elfutils-libs-0.196-1.fc43.x86_64 fedora-gpg-keys-43-2.noarch fedora-release-43-27.noarch fedora-release-common-43-27.noarch fedora-release-identity-basic-43-27.noarch fedora-repos-43-2.noarch file-5.46-9.fc43.x86_64 file-libs-5.46-9.fc43.x86_64 filesystem-3.18-50.fc43.x86_64 filesystem-srpm-macros-3.18-50.fc43.noarch findutils-4.10.0-6.fc43.x86_64 fonts-srpm-macros-2.0.5-23.fc43.noarch forge-srpm-macros-0.4.0-3.fc43.noarch fpc-srpm-macros-1.3-15.fc43.noarch gap-srpm-macros-2-1.fc43.noarch gawk-5.3.2-2.fc43.x86_64 gdb-minimal-17.2-2.fc43.x86_64 gdbm-libs-1.23-10.fc43.x86_64 ghc-srpm-macros-1.9.2-3.fc43.noarch glibc-2.42-16.fc43.x86_64 glibc-common-2.42-16.fc43.x86_64 glibc-gconv-extra-2.42-16.fc43.x86_64 glibc-minimal-langpack-2.42-16.fc43.x86_64 gmp-6.3.0-4.fc43.x86_64 gnat-srpm-macros-7-1.fc43.noarch gnome-srpm-macros-1.0-1.fc43.noarch gnulib-l10n-20241231-1.fc43.noarch gnupg2-2.4.9-5.fc43.x86_64 gnupg2-dirmngr-2.4.9-5.fc43.x86_64 gnupg2-gpg-agent-2.4.9-5.fc43.x86_64 gnupg2-gpgconf-2.4.9-5.fc43.x86_64 gnupg2-keyboxd-2.4.9-5.fc43.x86_64 gnupg2-verify-2.4.9-5.fc43.x86_64 gnutls-3.8.13-1.fc43.x86_64 go-srpm-macros-3.8.0-1.fc43.noarch gpg-pubkey-c6e7f081cf80e13146676e88829b606631645531-66b6dccf gpgverify-2.2-3.fc43.noarch grep-3.12-2.fc43.x86_64 gzip-1.13-4.fc43.x86_64 ima-evm-utils-libs-1.6.2-6.fc43.x86_64 info-7.2-7.fc43.x86_64 jansson-2.14-3.fc43.x86_64 java-srpm-macros-1-7.fc43.noarch json-c-0.18-7.fc43.x86_64 kernel-srpm-macros-1.0-27.fc43.noarch keyutils-libs-1.6.3-6.fc43.x86_64 krb5-libs-1.22.2-4.fc43.x86_64 libacl-2.4.0-1.fc43.x86_64 libarchive-3.8.4-1.fc43.x86_64 libassuan-2.5.7-4.fc43.x86_64 libattr-2.6.0-1.fc43.x86_64 libblkid-2.41.5-1.fc43.x86_64 libbrotli-1.2.0-1.fc43.x86_64 libcap-2.76-4.fc43.x86_64 libcap-ng-0.9.6-1.fc43.x86_64 libcom_err-1.47.3-2.fc43.x86_64 libcurl-8.15.0-10.fc43.x86_64 libeconf-0.7.9-2.fc43.x86_64 libevent-2.1.13-1.fc43.x86_64 libfdisk-2.41.5-1.fc43.x86_64 libffi-3.5.2-1.fc43.x86_64 libfsverity-1.6-3.fc43.x86_64 libgcc-15.3.1-1.fc43.x86_64 libgcrypt-1.11.1-4.fc43.x86_64 libgomp-15.3.1-1.fc43.x86_64 libgpg-error-1.55-2.fc43.x86_64 libidn2-2.3.8-2.fc43.x86_64 libksba-1.6.7-4.fc43.x86_64 liblastlog2-2.41.5-1.fc43.x86_64 libmount-2.41.5-1.fc43.x86_64 libnghttp2-1.66.0-3.fc43.x86_64 libpfm-4.13.0-20.fc43.x86_64 libpkgconf-2.3.0-3.fc43.x86_64 libpsl-0.21.5-6.fc43.x86_64 libselinux-3.9-5.fc43.x86_64 libsemanage-3.9-4.fc43.x86_64 libsepol-3.9-2.fc43.x86_64 libsmartcols-2.41.5-1.fc43.x86_64 libssh-0.11.5-1.fc43.x86_64 libssh-config-0.11.5-1.fc43.noarch libstdc++-15.3.1-1.fc43.x86_64 libtasn1-4.21.0-1.fc43.x86_64 libtool-ltdl-2.5.4-8.fc43.x86_64 libunistring-1.1-10.fc43.x86_64 libusb1-1.0.30-1.fc43.x86_64 libuuid-2.41.5-1.fc43.x86_64 libverto-0.3.2-11.fc43.x86_64 libxcrypt-4.5.2-1.fc43.x86_64 libxml2-2.12.10-5.fc43.x86_64 libzstd-1.5.7-2.fc43.x86_64 lua-libs-5.4.8-4.fc43.x86_64 lua-srpm-macros-1-16.fc43.noarch lz4-libs-1.10.0-3.fc43.x86_64 mpfr-4.2.2-2.fc43.x86_64 ncurses-base-6.5-7.20250614.fc43.noarch ncurses-libs-6.5-7.20250614.fc43.x86_64 nettle-3.10.1-2.fc43.x86_64 npth-1.8-3.fc43.x86_64 ocaml-srpm-macros-11-2.fc43.noarch openblas-srpm-macros-2-20.fc43.noarch openldap-2.6.14-1.fc43.x86_64 openssl-libs-3.5.8-1.fc43.x86_64 p11-kit-0.26.5-1.fc43.x86_64 p11-kit-trust-0.26.5-1.fc43.x86_64 package-notes-srpm-macros-0.20-1.fc43.noarch pam-libs-1.7.1-5.fc43.x86_64 patch-2.8-2.fc43.x86_64 pcre2-10.47-1.fc43.x86_64 pcre2-syntax-10.47-1.fc43.noarch perl-srpm-macros-1-60.fc43.noarch pkgconf-2.3.0-3.fc43.x86_64 pkgconf-m4-2.3.0-3.fc43.noarch pkgconf-pkg-config-2.3.0-3.fc43.x86_64 popt-1.19-9.fc43.x86_64 publicsuffix-list-dafsa-20260116-1.fc43.noarch pyproject-srpm-macros-1.23.2-1.fc43.noarch python-srpm-macros-3.14-5.fc43.noarch qt5-srpm-macros-5.15.18-1.fc43.noarch qt6-srpm-macros-6.10.3-1.fc43.noarch readline-8.3-2.fc43.x86_64 redhat-rpm-config-343-14.fc43.noarch rpm-6.0.2-1.fc43.x86_64 rpm-build-6.0.2-1.fc43.x86_64 rpm-build-libs-6.0.2-1.fc43.x86_64 rpm-libs-6.0.2-1.fc43.x86_64 rpm-sequoia-1.10.3-1.fc43.x86_64 rpm-sign-libs-6.0.2-1.fc43.x86_64 rust-srpm-macros-28.5-1.fc43.noarch sed-4.9-5.fc43.x86_64 setup-2.15.0-26.fc43.noarch shadow-utils-4.18.0-3.fc43.x86_64 sqlite-libs-3.50.2-3.fc43.x86_64 systemd-libs-258.11-1.fc43.x86_64 systemd-standalone-sysusers-258.11-1.fc43.x86_64 tar-1.35-6.fc43.x86_64 tpm2-tss-4.1.3-8.fc43.x86_64 tree-sitter-srpm-macros-0.4.2-1.fc43.noarch unzip-6.0-67.fc43.x86_64 util-linux-2.41.5-1.fc43.x86_64 util-linux-core-2.41.5-1.fc43.x86_64 which-2.23-3.fc43.x86_64 xxhash-libs-0.8.4-1.fc43.x86_64 xz-5.8.1-4.fc43.x86_64 xz-libs-5.8.1-4.fc43.x86_64 zig-srpm-macros-1-5.fc43.noarch zip-3.0-44.fc43.x86_64 zlib-ng-compat-2.3.3-2.fc43.x86_64 zstd-1.5.7-2.fc43.x86_64 Start: buildsrpm Start: rpmbuild -bs Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1779494400 Wrote: /builddir/build/SRPMS/laynii-2.10.0-2.fc43.src.rpm Finish: rpmbuild -bs INFO: chroot_scan: 1 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/fedora-43-x86_64-1791261029.574416/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-3kg4smnw/laynii/laynii.spec) Config(child) 0 minutes 12 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/laynii-2.10.0-2.fc43.src.rpm) Config(fedora-43-x86_64) Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-43-x86_64-bootstrap-1791261029.574416/root. INFO: reusing tmpfs at /var/lib/mock/fedora-43-x86_64-bootstrap-1791261029.574416/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-43-x86_64-1791261029.574416/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-6.0.2-1.fc43.x86_64 rpm-sequoia-1.10.3-1.fc43.x86_64 dnf5-5.2.18.0-5.fc43.x86_64 dnf5-plugins-5.2.18.0-5.fc43.x86_64 Finish: chroot init Start: build phase for laynii-2.10.0-2.fc43.src.rpm Start: build setup for laynii-2.10.0-2.fc43.src.rpm Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1779494400 Wrote: /builddir/build/SRPMS/laynii-2.10.0-2.fc43.src.rpm Updating and loading repositories: Copr repository 100% | 95.7 KiB/s | 1.5 KiB | 00m00s fedora 100% | 97.1 KiB/s | 25.2 KiB | 00m00s updates 100% | 172.0 KiB/s | 18.7 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: desktop-file-utils x86_64 0.28-2.fc43 fedora 218.4 KiB gcc-c++ x86_64 15.3.1-1.fc43 updates 41.8 MiB make x86_64 1:4.4.1-11.fc43 fedora 1.8 MiB mesa-libGL-devel x86_64 25.3.6-3.fc43 updates 80.8 KiB sdl2-compat-devel x86_64 2.32.72-1.fc43 updates 3.3 MiB zlib-ng-compat-devel x86_64 2.3.3-2.fc43 updates 107.0 KiB Installing dependencies: SDL3 x86_64 3.4.16-1.fc43 updates 3.1 MiB abattis-cantarell-vf-fonts noarch 0.301-15.fc43 fedora 192.7 KiB adwaita-cursor-theme noarch 49.0-1.fc43 fedora 11.4 MiB adwaita-icon-theme noarch 49.0-1.fc43 fedora 1.2 MiB adwaita-icon-theme-legacy noarch 46.2-4.fc43 fedora 2.1 MiB annobin-docs noarch 12.99-1.fc43 fedora 98.9 KiB annobin-plugin-gcc x86_64 12.99-1.fc43 fedora 1.0 MiB at-spi2-atk x86_64 2.58.9-1.fc43 updates 283.4 KiB at-spi2-core x86_64 2.58.9-1.fc43 updates 1.6 MiB atk x86_64 2.58.9-1.fc43 updates 248.5 KiB avahi-glib x86_64 0.9~rc2-6.fc43 fedora 19.6 KiB avahi-libs x86_64 0.9~rc2-6.fc43 fedora 171.6 KiB bubblewrap x86_64 0.12.0-1.fc43 updates 139.8 KiB cairo x86_64 1.18.4-2.fc43 fedora 1.8 MiB cairo-gobject x86_64 1.18.4-2.fc43 fedora 31.1 KiB cmake-filesystem x86_64 3.31.11-1.fc43 updates 0.0 B colord-libs x86_64 1.4.8-2.fc43 fedora 830.7 KiB cpp x86_64 15.3.1-1.fc43 updates 38.4 MiB cups-filesystem noarch 1:2.4.19-3.fc43 updates 0.0 B cups-libs x86_64 1:2.4.19-3.fc43 updates 618.5 KiB dbus x86_64 1:1.16.2-1.fc43 updates 0.0 B dbus-libs x86_64 1:1.16.2-1.fc43 updates 345.4 KiB default-fonts-core-sans noarch 4.2-5.fc43 fedora 11.9 KiB emacs-filesystem noarch 1:30.0-5.fc43 fedora 0.0 B expat x86_64 2.8.3-1.fc43 updates 322.3 KiB fontconfig x86_64 2.17.0-3.fc43 fedora 765.9 KiB fonts-filesystem noarch 1:2.0.5-23.fc43 fedora 0.0 B freetype x86_64 2.13.3-3.fc43 fedora 850.2 KiB fribidi x86_64 1.0.16-3.fc43 fedora 190.3 KiB gcc x86_64 15.3.1-1.fc43 updates 112.9 MiB gcc-plugin-annobin x86_64 15.3.1-1.fc43 updates 57.2 KiB gdk-pixbuf2 x86_64 2.44.6^really2.44.4-3.fc43 updates 2.5 MiB glib2 x86_64 2.86.5-1.fc43 updates 15.0 MiB glibc-devel x86_64 2.42-16.fc43 updates 2.3 MiB glycin-libs x86_64 2.0.8-1.fc43 updates 4.2 MiB glycin-loaders x86_64 2.0.8-1.fc43 updates 12.7 MiB google-noto-fonts-common noarch 20251101-2.fc43 updates 17.7 KiB google-noto-sans-vf-fonts noarch 20251101-2.fc43 updates 1.4 MiB graphite2 x86_64 1.3.14-19.fc43 fedora 191.8 KiB gtk-update-icon-cache x86_64 3.24.52-1.fc43 updates 62.2 KiB gtk3 x86_64 3.24.52-1.fc43 updates 22.5 MiB harfbuzz x86_64 11.5.1-2.fc43 updates 2.8 MiB hicolor-icon-theme noarch 0.18-2.fc43 fedora 72.4 KiB highway x86_64 1.3.0-1.fc43 updates 5.5 MiB hwdata noarch 0.411-1.fc43 updates 10.1 MiB json-glib x86_64 1.10.8-4.fc43 updates 592.3 KiB kernel-headers x86_64 7.2.4-100.fc43 updates 7.0 MiB lcms2 x86_64 2.16-6.fc43 fedora 433.7 KiB libX11 x86_64 1.8.13-1.fc43 updates 1.3 MiB libX11-common noarch 1.8.13-1.fc43 updates 1.1 MiB libX11-devel x86_64 1.8.13-1.fc43 updates 1.0 MiB libX11-xcb x86_64 1.8.13-1.fc43 updates 10.9 KiB libXau x86_64 1.0.12-3.fc43 fedora 72.9 KiB libXau-devel x86_64 1.0.12-3.fc43 fedora 7.5 KiB libXcomposite x86_64 0.4.6-6.fc43 fedora 40.5 KiB libXcursor x86_64 1.2.3-3.fc43 fedora 53.4 KiB libXdamage x86_64 1.1.6-6.fc43 fedora 39.6 KiB libXext x86_64 1.3.6-4.fc43 fedora 90.0 KiB libXfixes x86_64 6.0.1-6.fc43 fedora 26.2 KiB libXft x86_64 2.3.8-9.fc43 fedora 164.4 KiB libXi x86_64 1.8.2-3.fc43 fedora 80.6 KiB libXinerama x86_64 1.1.5-9.fc43 fedora 15.0 KiB libXrandr x86_64 1.5.4-6.fc43 fedora 51.8 KiB libXrender x86_64 0.9.12-3.fc43 fedora 46.0 KiB libXtst x86_64 1.2.5-3.fc43 fedora 33.5 KiB libXxf86vm x86_64 1.1.6-3.fc43 fedora 25.3 KiB libaom x86_64 3.13.3-1.fc43 updates 5.0 MiB libcloudproviders x86_64 0.3.6-2.fc43 fedora 124.3 KiB libdatrie x86_64 0.2.13-12.fc43 fedora 53.8 KiB libdav1d x86_64 1.5.4-1.fc43 updates 1.8 MiB libdecor x86_64 0.2.5-1.fc43 updates 165.2 KiB libdrm x86_64 2.4.134-1.fc43 updates 405.8 KiB libdrm-devel x86_64 2.4.134-1.fc43 updates 743.7 KiB libedit x86_64 3.1-58.20260512cvs.fc43 updates 240.3 KiB libepoxy x86_64 1.5.10-11.fc43 fedora 1.1 MiB libglvnd x86_64 1:1.7.0-8.fc43 fedora 526.1 KiB libglvnd-core-devel x86_64 1:1.7.0-8.fc43 fedora 40.3 KiB libglvnd-devel x86_64 1:1.7.0-8.fc43 fedora 2.1 MiB libglvnd-egl x86_64 1:1.7.0-8.fc43 fedora 64.7 KiB libglvnd-gles x86_64 1:1.7.0-8.fc43 fedora 97.9 KiB libglvnd-glx x86_64 1:1.7.0-8.fc43 fedora 601.2 KiB libglvnd-opengl x86_64 1:1.7.0-8.fc43 fedora 144.8 KiB libgusb x86_64 0.4.9-4.fc43 fedora 162.0 KiB libheif x86_64 1.23.5-3.fc43 updates 2.3 MiB libicu x86_64 77.1-1.fc43 fedora 36.4 MiB libjpeg-turbo x86_64 3.1.3-1.fc43 updates 806.3 KiB libjxl x86_64 1:0.11.2-1.fc43 updates 4.1 MiB libmpc x86_64 1.3.1-8.fc43 fedora 160.6 KiB libopenjph x86_64 0.22.0-2.fc43 fedora 466.2 KiB libpciaccess x86_64 0.16-16.fc43 fedora 44.5 KiB libpciaccess-devel x86_64 0.16-16.fc43 fedora 15.3 KiB libpng x86_64 2:1.6.58-1.fc43 updates 245.7 KiB librsvg2 x86_64 2.61.4-1.fc43 updates 5.0 MiB libseccomp x86_64 2.6.1-2.fc43 updates 218.2 KiB libsoup3 x86_64 3.6.6-5.fc43 updates 1.7 MiB libstdc++-devel x86_64 15.3.1-1.fc43 updates 37.3 MiB libstemmer x86_64 3.0.1-8.fc43 fedora 661.5 KiB libthai x86_64 0.1.29-11.fc43 fedora 783.4 KiB libtinysparql x86_64 3.10.1-5.fc43 updates 995.0 KiB libvmaf x86_64 3.0.0-4.fc43 fedora 827.0 KiB libwayland-client x86_64 1.26.0-1.fc43 updates 66.0 KiB libwayland-cursor x86_64 1.26.0-1.fc43 updates 37.2 KiB libwayland-egl x86_64 1.26.0-1.fc43 updates 12.3 KiB libwebp x86_64 1.6.0-2.fc43 fedora 956.6 KiB libxcb x86_64 1.17.0-6.fc43 fedora 1.1 MiB libxcb-devel x86_64 1.17.0-6.fc43 fedora 2.7 MiB libxcrypt-devel x86_64 4.5.2-1.fc43 updates 31.1 KiB libxkbcommon x86_64 1.11.0-1.fc43 fedora 408.2 KiB libxshmfence x86_64 1.3.2-7.fc43 fedora 12.4 KiB llvm-filesystem x86_64 21.1.8-6.fc43 updates 0.0 B llvm-libs x86_64 21.1.8-6.fc43 updates 138.6 MiB lm_sensors-libs x86_64 3.6.0-23.fc43 fedora 85.8 KiB lzo x86_64 2.10-15.fc43 fedora 178.9 KiB mesa-dri-drivers x86_64 25.3.6-3.fc43 updates 48.8 MiB mesa-filesystem x86_64 25.3.6-3.fc43 updates 3.6 KiB mesa-libEGL x86_64 25.3.6-3.fc43 updates 310.4 KiB mesa-libGL x86_64 25.3.6-3.fc43 updates 286.0 KiB mesa-libGLU x86_64 9.0.3-7.fc43 fedora 361.8 KiB mesa-libGLU-devel x86_64 9.0.3-7.fc43 fedora 17.0 KiB mesa-libgbm x86_64 25.3.6-3.fc43 updates 19.7 KiB mpdecimal x86_64 4.0.1-2.fc43 fedora 217.2 KiB noopenh264 x86_64 2.6.0-2.fc43 fedora 39.2 KiB openjpeg x86_64 2.5.4-1.fc43 fedora 456.3 KiB pango x86_64 1.57.1-1.fc43 updates 1.0 MiB pixman x86_64 0.46.2-2.fc43 fedora 710.3 KiB python-pip-wheel noarch 25.1.1-19.fc43 updates 1.2 MiB python3 x86_64 3.14.7-1.fc43 updates 28.7 KiB python3-libs x86_64 3.14.7-1.fc43 updates 43.4 MiB rav1e-libs x86_64 0.8.1-2.fc43 updates 3.1 MiB sdl2-compat x86_64 2.32.72-1.fc43 updates 408.4 KiB shared-mime-info x86_64 2.4-2.fc43 fedora 5.2 MiB spirv-tools-libs x86_64 2026.1-2.fc43 updates 5.9 MiB svt-av1-libs x86_64 3.1.2-1.fc43 fedora 5.6 MiB tzdata noarch 2026c-1.fc43 updates 1.6 MiB xkeyboard-config noarch 2.46-1.fc43 updates 10.2 MiB xml-common noarch 0.6.3-67.fc43 fedora 78.4 KiB xorg-x11-proto-devel noarch 2024.1-5.fc43 fedora 1.7 MiB xprop x86_64 1.2.8-4.fc43 fedora 54.7 KiB Transaction Summary: Installing: 144 packages Total size of inbound packages is 197 MiB. Need to download 46 MiB. After this operation, 698 MiB extra will be used (install 698 MiB, remove 0 B). [ 1/144] make-1:4.4.1-11.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 2/144] gcc-c++-0:15.3.1-1.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 3/144] zlib-ng-compat-devel-0:2.3.3- 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 4/144] emacs-filesystem-1:30.0-5.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 5/144] libmpc-0:1.3.1-8.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 6/144] gcc-0:15.3.1-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 7/144] cpp-0:15.3.1-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 8/144] libXext-0:1.3.6-4.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 9/144] cmake-filesystem-0:3.31.11-1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 10/144] kernel-headers-0:7.2.4-100.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 11/144] libX11-0:1.8.13-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 12/144] libxcb-0:1.17.0-6.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 13/144] libX11-common-0:1.8.13-1.fc43 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 14/144] libXau-0:1.0.12-3.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 15/144] libstdc++-devel-0:15.3.1-1.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 16/144] glibc-devel-0:2.42-16.fc43.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 17/144] glib2-0:2.86.5-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 18/144] expat-0:2.8.3-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 19/144] llvm-libs-0:21.1.8-6.fc43.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 20/144] llvm-filesystem-0:21.1.8-6.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 21/144] libedit-0:3.1-58.20260512cvs. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 22/144] cairo-0:1.18.4-2.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 23/144] fontconfig-0:2.17.0-3.fc43.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 24/144] freetype-0:2.13.3-3.fc43.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 25/144] libXrender-0:0.9.12-3.fc43.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 26/144] lzo-0:2.10-15.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 27/144] pixman-0:0.46.2-2.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 28/144] default-fonts-core-sans-0:4.2 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 29/144] fonts-filesystem-1:2.0.5-23.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 30/144] xml-common-0:0.6.3-67.fc43.no 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 31/144] abattis-cantarell-vf-fonts-0: 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 32/144] dbus-libs-1:1.16.2-1.fc43.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 33/144] cairo-gobject-0:1.18.4-2.fc43 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 34/144] fribidi-0:1.0.16-3.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 35/144] lcms2-0:2.16-6.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 36/144] pango-0:1.57.1-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 37/144] libXft-0:2.3.8-9.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 38/144] libthai-0:0.1.29-11.fc43.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 39/144] libdatrie-0:0.2.13-12.fc43.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 40/144] cups-libs-1:2.4.19-3.fc43.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 41/144] avahi-libs-0:0.9~rc2-6.fc43.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 42/144] cups-filesystem-1:2.4.19-3.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 43/144] gdk-pixbuf2-0:2.44.6^really2. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 44/144] shared-mime-info-0:2.4-2.fc43 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 45/144] harfbuzz-0:11.5.1-2.fc43.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 46/144] graphite2-0:1.3.14-19.fc43.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 47/144] libxcrypt-devel-0:4.5.2-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 48/144] glycin-libs-0:2.0.8-1.fc43.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 49/144] glycin-loaders-0:2.0.8-1.fc43 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 50/144] python3-0:3.14.7-1.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 51/144] python3-libs-0:3.14.7-1.fc43. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 52/144] mpdecimal-0:4.0.1-2.fc43.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 53/144] libpng-2:1.6.58-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 54/144] google-noto-sans-vf-fonts-0:2 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 55/144] google-noto-fonts-common-0:20 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 56/144] python-pip-wheel-0:25.1.1-19. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 57/144] tzdata-0:2026c-1.fc43.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 58/144] bubblewrap-0:0.12.0-1.fc43.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 59/144] libheif-0:1.23.5-3.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 60/144] libopenjph-0:0.22.0-2.fc43.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 61/144] libwebp-0:1.6.0-2.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 62/144] noopenh264-0:2.6.0-2.fc43.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 63/144] openjpeg-0:2.5.4-1.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 64/144] svt-av1-libs-0:3.1.2-1.fc43.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 65/144] libjxl-1:0.11.2-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 66/144] librsvg2-0:2.61.4-1.fc43.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 67/144] libseccomp-0:2.6.1-2.fc43.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 68/144] libdav1d-0:1.5.4-1.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 69/144] highway-0:1.3.0-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 70/144] libaom-0:3.13.3-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 71/144] libvmaf-0:3.0.0-4.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 72/144] libjpeg-turbo-0:3.1.3-1.fc43. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 73/144] rav1e-libs-0:0.8.1-2.fc43.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 74/144] annobin-plugin-gcc-0:12.99-1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 75/144] gcc-plugin-annobin-0:15.3.1-1 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 76/144] annobin-docs-0:12.99-1.fc43.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 77/144] desktop-file-utils-0:0.28-2.f 100% | 4.8 MiB/s | 68.9 KiB | 00m00s [ 78/144] mesa-libGL-devel-0:25.3.6-3.f 100% | 1.7 MiB/s | 27.8 KiB | 00m00s [ 79/144] xorg-x11-proto-devel-0:2024.1 100% | 97.7 MiB/s | 300.0 KiB | 00m00s [ 80/144] sdl2-compat-0:2.32.72-1.fc43. 100% | 44.8 MiB/s | 137.7 KiB | 00m00s [ 81/144] libglvnd-devel-1:1.7.0-8.fc43 100% | 52.8 MiB/s | 162.2 KiB | 00m00s [ 82/144] SDL3-0:3.4.16-1.fc43.x86_64 100% | 143.9 MiB/s | 1.2 MiB | 00m00s [ 83/144] libglvnd-1:1.7.0-8.fc43.x86_6 100% | 18.6 MiB/s | 114.0 KiB | 00m00s [ 84/144] libglvnd-core-devel-1:1.7.0-8 100% | 16.9 MiB/s | 17.3 KiB | 00m00s [ 85/144] libglvnd-egl-1:1.7.0-8.fc43.x 100% | 17.6 MiB/s | 36.0 KiB | 00m00s [ 86/144] libglvnd-gles-1:1.7.0-8.fc43. 100% | 13.9 MiB/s | 28.5 KiB | 00m00s [ 87/144] libglvnd-glx-1:1.7.0-8.fc43.x 100% | 64.5 MiB/s | 132.1 KiB | 00m00s [ 88/144] libglvnd-opengl-1:1.7.0-8.fc4 100% | 18.1 MiB/s | 37.0 KiB | 00m00s [ 89/144] mesa-libGLU-devel-0:9.0.3-7.f 100% | 11.6 MiB/s | 11.9 KiB | 00m00s [ 90/144] libX11-devel-0:1.8.13-1.fc43. 100% | 169.5 MiB/s | 1.0 MiB | 00m00s [ 91/144] mesa-libGLU-0:9.0.3-7.fc43.x8 100% | 40.5 MiB/s | 166.0 KiB | 00m00s [ 92/144] libdrm-devel-0:2.4.134-1.fc43 100% | 45.7 MiB/s | 187.0 KiB | 00m00s [ 93/144] libdrm-0:2.4.134-1.fc43.x86_6 100% | 53.1 MiB/s | 163.3 KiB | 00m00s [ 94/144] libpciaccess-0:0.16-16.fc43.x 100% | 12.8 MiB/s | 26.2 KiB | 00m00s [ 95/144] libpciaccess-devel-0:0.16-16. 100% | 4.1 MiB/s | 12.4 KiB | 00m00s [ 96/144] libX11-xcb-0:1.8.13-1.fc43.x8 100% | 5.4 MiB/s | 11.0 KiB | 00m00s [ 97/144] libXau-devel-0:1.0.12-3.fc43. 100% | 13.6 MiB/s | 13.9 KiB | 00m00s [ 98/144] libxcb-devel-0:1.17.0-6.fc43. 100% | 179.7 MiB/s | 1.4 MiB | 00m00s [ 99/144] mesa-libGL-0:25.3.6-3.fc43.x8 100% | 29.0 MiB/s | 119.0 KiB | 00m00s [100/144] hwdata-0:0.411-1.fc43.noarch 100% | 155.8 MiB/s | 1.7 MiB | 00m00s [101/144] libXxf86vm-0:1.1.6-3.fc43.x86 100% | 17.3 MiB/s | 17.7 KiB | 00m00s [102/144] libxshmfence-0:1.3.2-7.fc43.x 100% | 13.0 MiB/s | 13.3 KiB | 00m00s [103/144] lm_sensors-libs-0:3.6.0-23.fc 100% | 19.8 MiB/s | 40.6 KiB | 00m00s [104/144] sdl2-compat-devel-0:2.32.72-1 100% | 7.1 MiB/s | 507.7 KiB | 00m00s [105/144] mesa-filesystem-0:25.3.6-3.fc 100% | 3.4 MiB/s | 10.5 KiB | 00m00s [106/144] mesa-libgbm-0:25.3.6-3.fc43.x 100% | 2.7 MiB/s | 16.5 KiB | 00m00s [107/144] mesa-libEGL-0:25.3.6-3.fc43.x 100% | 23.6 MiB/s | 120.7 KiB | 00m00s [108/144] libwayland-client-0:1.26.0-1. 100% | 8.5 MiB/s | 35.0 KiB | 00m00s [109/144] libdecor-0:0.2.5-1.fc43.x86_6 100% | 7.1 MiB/s | 57.9 KiB | 00m00s [110/144] spirv-tools-libs-0:2026.1-2.f 100% | 105.2 MiB/s | 1.7 MiB | 00m00s [111/144] libwayland-cursor-0:1.26.0-1. 100% | 3.1 MiB/s | 18.9 KiB | 00m00s [112/144] adwaita-icon-theme-0:49.0-1.f 100% | 78.9 MiB/s | 403.9 KiB | 00m00s [113/144] colord-libs-0:1.4.8-2.fc43.x8 100% | 25.0 MiB/s | 230.5 KiB | 00m00s [114/144] mesa-dri-drivers-0:25.3.6-3.f 100% | 213.4 MiB/s | 12.8 MiB | 00m00s [115/144] gtk3-0:3.24.52-1.fc43.x86_64 100% | 161.0 MiB/s | 6.0 MiB | 00m00s [116/144] hicolor-icon-theme-0:0.18-2.f 100% | 3.2 MiB/s | 65.9 KiB | 00m00s [117/144] libXcomposite-0:0.4.6-6.fc43. 100% | 3.4 MiB/s | 24.2 KiB | 00m00s [118/144] libXcursor-0:1.2.3-3.fc43.x86 100% | 15.2 MiB/s | 31.2 KiB | 00m00s [119/144] libXdamage-0:1.1.6-6.fc43.x86 100% | 11.4 MiB/s | 23.3 KiB | 00m00s [120/144] libXfixes-0:6.0.1-6.fc43.x86_ 100% | 9.3 MiB/s | 19.1 KiB | 00m00s [121/144] libXi-0:1.8.2-3.fc43.x86_64 100% | 19.7 MiB/s | 40.3 KiB | 00m00s [122/144] libXinerama-0:1.1.5-9.fc43.x8 100% | 6.9 MiB/s | 14.2 KiB | 00m00s [123/144] libXrandr-0:1.5.4-6.fc43.x86_ 100% | 13.5 MiB/s | 27.6 KiB | 00m00s [124/144] libcloudproviders-0:0.3.6-2.f 100% | 22.9 MiB/s | 46.9 KiB | 00m00s [125/144] libxkbcommon-0:1.11.0-1.fc43. 100% | 56.8 MiB/s | 174.3 KiB | 00m00s [126/144] libepoxy-0:1.5.10-11.fc43.x86 100% | 56.0 MiB/s | 229.5 KiB | 00m00s [127/144] adwaita-cursor-theme-0:49.0-1 100% | 74.2 MiB/s | 380.1 KiB | 00m00s [128/144] libgusb-0:0.4.9-4.fc43.x86_64 100% | 12.6 MiB/s | 64.5 KiB | 00m00s [129/144] adwaita-icon-theme-legacy-0:4 100% | 206.5 MiB/s | 2.5 MiB | 00m00s [130/144] at-spi2-atk-0:2.58.9-1.fc43.x 100% | 10.7 MiB/s | 87.7 KiB | 00m00s [131/144] at-spi2-core-0:2.58.9-1.fc43. 100% | 48.2 MiB/s | 394.9 KiB | 00m00s [132/144] libXtst-0:1.2.5-3.fc43.x86_64 100% | 6.7 MiB/s | 20.5 KiB | 00m00s [133/144] atk-0:2.58.9-1.fc43.x86_64 100% | 19.5 MiB/s | 80.0 KiB | 00m00s [134/144] xprop-0:1.2.8-4.fc43.x86_64 100% | 11.3 MiB/s | 34.8 KiB | 00m00s [135/144] gtk-update-icon-cache-0:3.24. 100% | 10.9 MiB/s | 33.6 KiB | 00m00s [136/144] avahi-glib-0:0.9~rc2-6.fc43.x 100% | 7.4 MiB/s | 15.2 KiB | 00m00s [137/144] libtinysparql-0:3.10.1-5.fc43 100% | 84.7 MiB/s | 347.1 KiB | 00m00s [138/144] libwayland-egl-0:1.26.0-1.fc4 100% | 4.0 MiB/s | 12.4 KiB | 00m00s [139/144] libstemmer-0:3.0.1-8.fc43.x86 100% | 37.9 MiB/s | 155.3 KiB | 00m00s [140/144] dbus-1:1.16.2-1.fc43.x86_64 100% | 3.5 MiB/s | 7.2 KiB | 00m00s [141/144] json-glib-0:1.10.8-4.fc43.x86 100% | 42.2 MiB/s | 172.7 KiB | 00m00s [142/144] xkeyboard-config-0:2.46-1.fc4 100% | 69.3 MiB/s | 993.6 KiB | 00m00s [143/144] libsoup3-0:3.6.6-5.fc43.x86_6 100% | 40.2 MiB/s | 452.3 KiB | 00m00s [144/144] libicu-0:77.1-1.fc43.x86_64 100% | 201.9 MiB/s | 10.7 MiB | 00m00s -------------------------------------------------------------------------------- [144/144] Total 100% | 133.6 MiB/s | 46.0 MiB | 00m00s Running transaction [ 1/146] Verify package files 100% | 221.0 B/s | 144.0 B | 00m01s [ 2/146] Prepare transaction 100% | 1.9 KiB/s | 144.0 B | 00m00s [ 3/146] Installing glib2-0:2.86.5-1.f 100% | 306.2 MiB/s | 15.0 MiB | 00m00s [ 4/146] Installing expat-0:2.8.3-1.fc 100% | 26.4 MiB/s | 324.4 KiB | 00m00s [ 5/146] Installing libglvnd-1:1.7.0-8 100% | 515.1 MiB/s | 527.5 KiB | 00m00s [ 6/146] Installing dbus-libs-1:1.16.2 100% | 338.4 MiB/s | 346.5 KiB | 00m00s [ 7/146] Installing libwayland-client- 100% | 65.6 MiB/s | 67.2 KiB | 00m00s [ 8/146] Installing libX11-xcb-0:1.8.1 100% | 0.0 B/s | 11.8 KiB | 00m00s [ 9/146] Installing avahi-libs-0:0.9~r 100% | 170.0 MiB/s | 174.0 KiB | 00m00s [ 10/146] Installing fonts-filesystem-1 100% | 0.0 B/s | 788.0 B | 00m00s [ 11/146] Installing libmpc-0:1.3.1-8.f 100% | 158.3 MiB/s | 162.1 KiB | 00m00s [ 12/146] Installing xorg-x11-proto-dev 100% | 297.1 MiB/s | 1.8 MiB | 00m00s [ 13/146] Installing libwayland-cursor- 100% | 0.0 B/s | 38.3 KiB | 00m00s [ 14/146] Installing libglvnd-opengl-1: 100% | 142.2 MiB/s | 145.6 KiB | 00m00s [ 15/146] Installing shared-mime-info-0 100% | 107.9 MiB/s | 2.6 MiB | 00m00s [ 16/146] Installing json-glib-0:1.10.8 100% | 147.6 MiB/s | 604.4 KiB | 00m00s [ 17/146] Installing libdav1d-0:1.5.4-1 100% | 440.0 MiB/s | 1.8 MiB | 00m00s [ 18/146] Installing libpng-2:1.6.58-1. 100% | 241.1 MiB/s | 246.9 KiB | 00m00s [ 19/146] Installing lcms2-0:2.16-6.fc4 100% | 212.6 MiB/s | 435.3 KiB | 00m00s [ 20/146] Installing fribidi-0:1.0.16-3 100% | 15.7 MiB/s | 192.8 KiB | 00m00s [ 21/146] Installing libXau-0:1.0.12-3. 100% | 72.7 MiB/s | 74.5 KiB | 00m00s [ 22/146] Installing libxcb-0:1.17.0-6. 100% | 180.0 MiB/s | 1.1 MiB | 00m00s [ 23/146] Installing kernel-headers-0:7 100% | 230.6 MiB/s | 7.1 MiB | 00m00s [ 24/146] Installing glibc-devel-0:2.42 100% | 214.0 MiB/s | 2.4 MiB | 00m00s [ 25/146] Installing libxcrypt-devel-0: 100% | 0.0 B/s | 33.4 KiB | 00m00s [ 26/146] Installing cmake-filesystem-0 100% | 7.4 MiB/s | 7.6 KiB | 00m00s [ 27/146] Installing libXau-devel-0:1.0 100% | 1.8 MiB/s | 9.4 KiB | 00m00s [ 28/146] Installing libxcb-devel-0:1.1 100% | 85.2 MiB/s | 3.1 MiB | 00m00s [ 29/146] Installing libgusb-0:0.4.9-4. 100% | 159.8 MiB/s | 163.7 KiB | 00m00s [ 30/146] Installing colord-libs-0:1.4. 100% | 407.1 MiB/s | 833.8 KiB | 00m00s [ 31/146] Installing mesa-libGLU-0:9.0. 100% | 177.1 MiB/s | 362.6 KiB | 00m00s [ 32/146] Installing cpp-0:15.3.1-1.fc4 100% | 376.5 MiB/s | 38.4 MiB | 00m00s [ 33/146] Installing abattis-cantarell- 100% | 189.9 MiB/s | 194.4 KiB | 00m00s [ 34/146] Installing avahi-glib-0:0.9~r 100% | 0.0 B/s | 20.4 KiB | 00m00s [ 35/146] Installing libcloudproviders- 100% | 123.3 MiB/s | 126.2 KiB | 00m00s [ 36/146] Installing libsoup3-0:3.6.6-5 100% | 148.8 MiB/s | 1.8 MiB | 00m00s [ 37/146] Installing annobin-docs-0:12. 100% | 0.0 B/s | 100.1 KiB | 00m00s [ 38/146] Installing rav1e-libs-0:0.8.1 100% | 385.4 MiB/s | 3.1 MiB | 00m00s [ 39/146] Installing libjpeg-turbo-0:3. 100% | 394.5 MiB/s | 808.0 KiB | 00m00s [ 40/146] Installing libvmaf-0:3.0.0-4. 100% | 404.5 MiB/s | 828.4 KiB | 00m00s [ 41/146] Installing libaom-0:3.13.3-1. 100% | 457.4 MiB/s | 5.0 MiB | 00m00s [ 42/146] Installing highway-0:1.3.0-1. 100% | 553.5 MiB/s | 5.5 MiB | 00m00s [ 43/146] Installing libjxl-1:0.11.2-1. 100% | 456.7 MiB/s | 4.1 MiB | 00m00s [ 44/146] Installing libseccomp-0:2.6.1 100% | 214.9 MiB/s | 220.0 KiB | 00m00s [ 45/146] Installing svt-av1-libs-0:3.1 100% | 428.4 MiB/s | 5.6 MiB | 00m00s [ 46/146] Installing openjpeg-0:2.5.4-1 100% | 223.8 MiB/s | 458.2 KiB | 00m00s [ 47/146] Installing noopenh264-0:2.6.0 100% | 0.0 B/s | 40.7 KiB | 00m00s [ 48/146] Installing libwebp-0:1.6.0-2. 100% | 312.7 MiB/s | 960.7 KiB | 00m00s [ 49/146] Installing libopenjph-0:0.22. 100% | 456.3 MiB/s | 467.3 KiB | 00m00s [ 50/146] Installing libheif-0:1.23.5-3 100% | 385.0 MiB/s | 2.3 MiB | 00m00s [ 51/146] Installing bubblewrap-0:0.12. 100% | 9.3 MiB/s | 142.1 KiB | 00m00s [ 52/146] Installing tzdata-0:2026c-1.f 100% | 72.4 MiB/s | 1.9 MiB | 00m00s [ 53/146] Installing python-pip-wheel-0 100% | 623.0 MiB/s | 1.2 MiB | 00m00s [ 54/146] Installing google-noto-fonts- 100% | 0.0 B/s | 18.5 KiB | 00m00s [ 55/146] Installing google-noto-sans-v 100% | 347.8 MiB/s | 1.4 MiB | 00m00s [ 56/146] Installing default-fonts-core 100% | 8.9 MiB/s | 18.2 KiB | 00m00s [ 57/146] Installing xkeyboard-config-0 100% | 468.5 MiB/s | 10.3 MiB | 00m00s [ 58/146] Installing libxkbcommon-0:1.1 100% | 400.3 MiB/s | 409.9 KiB | 00m00s [ 59/146] Installing mpdecimal-0:4.0.1- 100% | 42.7 MiB/s | 218.8 KiB | 00m00s [ 60/146] Installing python3-libs-0:3.1 100% | 384.2 MiB/s | 43.8 MiB | 00m00s [ 61/146] Installing python3-0:3.14.7-1 100% | 2.5 MiB/s | 30.5 KiB | 00m00s [ 62/146] Installing dbus-1:1.16.2-1.fc 100% | 0.0 B/s | 124.0 B | 00m00s [ 63/146] Installing libwayland-egl-0:1 100% | 0.0 B/s | 13.4 KiB | 00m00s [ 64/146] Installing libstemmer-0:3.0.1 100% | 323.7 MiB/s | 662.9 KiB | 00m00s [ 65/146] Installing libicu-0:77.1-1.fc 100% | 433.2 MiB/s | 36.4 MiB | 00m00s [ 66/146] Installing libtinysparql-0:3. 100% | 324.8 MiB/s | 997.9 KiB | 00m00s [ 67/146] Installing graphite2-0:1.3.14 100% | 15.8 MiB/s | 193.9 KiB | 00m00s [ 68/146] Installing harfbuzz-0:11.5.1- 100% | 404.0 MiB/s | 2.8 MiB | 00m00s [ 69/146] Installing freetype-0:2.13.3- 100% | 277.3 MiB/s | 851.9 KiB | 00m00s [ 70/146] Installing cups-filesystem-1: 100% | 0.0 B/s | 1.8 KiB | 00m00s [ 71/146] Installing cups-libs-1:2.4.19 100% | 302.7 MiB/s | 620.0 KiB | 00m00s [ 72/146] Installing libdatrie-0:0.2.13 100% | 0.0 B/s | 54.9 KiB | 00m00s [ 73/146] Installing libthai-0:0.1.29-1 100% | 127.8 MiB/s | 785.2 KiB | 00m00s [ 74/146] Installing adwaita-icon-theme 100% | 86.9 MiB/s | 2.4 MiB | 00m00s [ 75/146] Installing adwaita-cursor-the 100% | 714.3 MiB/s | 11.4 MiB | 00m00s [ 76/146] Installing adwaita-icon-theme 100% | 101.1 MiB/s | 1.3 MiB | 00m00s [ 77/146] Installing libepoxy-0:1.5.10- 100% | 359.4 MiB/s | 1.1 MiB | 00m00s [ 78/146] Installing hicolor-icon-theme 100% | 14.6 MiB/s | 179.7 KiB | 00m00s [ 79/146] Installing xml-common-0:0.6.3 100% | 79.2 MiB/s | 81.1 KiB | 00m00s [ 80/146] Installing fontconfig-0:2.17. 100% | 761.0 KiB/s | 785.3 KiB | 00m01s [ 81/146] Installing pixman-0:0.46.2-2. 100% | 347.4 MiB/s | 711.4 KiB | 00m00s [ 82/146] Installing lzo-0:2.10-15.fc43 100% | 176.3 MiB/s | 180.5 KiB | 00m00s [ 83/146] Installing libedit-0:3.1-58.2 100% | 236.3 MiB/s | 242.0 KiB | 00m00s [ 84/146] Installing spirv-tools-libs-0 100% | 425.1 MiB/s | 6.0 MiB | 00m00s [ 85/146] Installing llvm-filesystem-0: 100% | 0.0 B/s | 1.1 KiB | 00m00s [ 86/146] Installing llvm-libs-0:21.1.8 100% | 488.1 MiB/s | 138.6 MiB | 00m00s [ 87/146] Installing mesa-filesystem-0: 100% | 0.0 B/s | 4.3 KiB | 00m00s [ 88/146] Installing lm_sensors-libs-0: 100% | 84.9 MiB/s | 86.9 KiB | 00m00s [ 89/146] Installing libxshmfence-0:1.3 100% | 0.0 B/s | 13.6 KiB | 00m00s [ 90/146] Installing hwdata-0:0.411-1.f 100% | 593.3 MiB/s | 10.1 MiB | 00m00s [ 91/146] Installing libpciaccess-0:0.1 100% | 0.0 B/s | 45.9 KiB | 00m00s [ 92/146] Installing libdrm-0:2.4.134-1 100% | 200.0 MiB/s | 409.6 KiB | 00m00s [ 93/146] Installing mesa-libgbm-0:25.3 100% | 0.0 B/s | 20.5 KiB | 00m00s [ 94/146] Installing mesa-dri-drivers-0 100% | 493.1 MiB/s | 48.8 MiB | 00m00s [ 95/146] Installing libpciaccess-devel 100% | 0.0 B/s | 15.9 KiB | 00m00s [ 96/146] Installing libdrm-devel-0:2.4 100% | 183.8 MiB/s | 752.7 KiB | 00m00s [ 97/146] Installing libstdc++-devel-0: 100% | 520.3 MiB/s | 37.5 MiB | 00m00s [ 98/146] Installing libX11-common-0:1. 100% | 169.6 MiB/s | 1.2 MiB | 00m00s [ 99/146] Installing libX11-0:1.8.13-1. 100% | 427.2 MiB/s | 1.3 MiB | 00m00s [100/146] Installing libXext-0:1.3.6-4. 100% | 0.0 B/s | 91.2 KiB | 00m00s [101/146] Installing libXrender-0:0.9.1 100% | 0.0 B/s | 47.3 KiB | 00m00s [102/146] Installing cairo-0:1.18.4-2.f 100% | 354.4 MiB/s | 1.8 MiB | 00m00s [103/146] Installing libXi-0:1.8.2-3.fc 100% | 0.0 B/s | 81.7 KiB | 00m00s [104/146] Installing libXfixes-0:6.0.1- 100% | 0.0 B/s | 27.6 KiB | 00m00s [105/146] Installing cairo-gobject-0:1. 100% | 15.6 MiB/s | 32.0 KiB | 00m00s [106/146] Installing libX11-devel-0:1.8 100% | 93.2 MiB/s | 1.1 MiB | 00m00s [107/146] Installing libglvnd-egl-1:1.7 100% | 64.8 MiB/s | 66.3 KiB | 00m00s [108/146] Installing mesa-libEGL-0:25.3 100% | 304.0 MiB/s | 311.3 KiB | 00m00s [109/146] Installing libglvnd-gles-1:1. 100% | 0.0 B/s | 99.3 KiB | 00m00s [110/146] Installing libXcursor-0:1.2.3 100% | 53.8 MiB/s | 55.1 KiB | 00m00s [111/146] Installing libXdamage-0:1.1.6 100% | 0.0 B/s | 41.2 KiB | 00m00s [112/146] Installing libXtst-0:1.2.5-3. 100% | 0.0 B/s | 34.6 KiB | 00m00s [113/146] Installing libXrandr-0:1.5.4- 100% | 0.0 B/s | 53.0 KiB | 00m00s [114/146] Installing libXft-0:2.3.8-9.f 100% | 162.0 MiB/s | 165.9 KiB | 00m00s [115/146] Installing pango-0:1.57.1-1.f 100% | 71.8 MiB/s | 1.0 MiB | 00m00s [116/146] Installing librsvg2-0:2.61.4- 100% | 420.8 MiB/s | 5.0 MiB | 00m00s [117/146] Installing glycin-loaders-0:2 100% | 530.7 MiB/s | 12.7 MiB | 00m00s [118/146] Installing glycin-libs-0:2.0. 100% | 424.0 MiB/s | 4.2 MiB | 00m00s [119/146] Installing gdk-pixbuf2-0:2.44 100% | 132.9 MiB/s | 2.5 MiB | 00m00s [120/146] Installing gtk-update-icon-ca 100% | 5.2 MiB/s | 63.3 KiB | 00m00s [121/146] Installing libXxf86vm-0:1.1.6 100% | 0.0 B/s | 26.5 KiB | 00m00s [122/146] Installing libglvnd-glx-1:1.7 100% | 588.5 MiB/s | 602.6 KiB | 00m00s [123/146] Installing mesa-libGL-0:25.3. 100% | 280.2 MiB/s | 286.9 KiB | 00m00s [124/146] Installing libXinerama-0:1.1. 100% | 0.0 B/s | 16.1 KiB | 00m00s [125/146] Installing libXcomposite-0:0. 100% | 0.0 B/s | 42.0 KiB | 00m00s [126/146] Installing xprop-0:1.2.8-4.fc 100% | 4.6 MiB/s | 56.0 KiB | 00m00s [127/146] Installing at-spi2-core-0:2.5 100% | 226.8 MiB/s | 1.6 MiB | 00m00s [128/146] Installing atk-0:2.58.9-1.fc4 100% | 244.0 MiB/s | 249.9 KiB | 00m00s [129/146] Installing at-spi2-atk-0:2.58 100% | 139.4 MiB/s | 285.4 KiB | 00m00s [130/146] Installing gtk3-0:3.24.52-1.f 100% | 352.1 MiB/s | 22.5 MiB | 00m00s [131/146] Installing libdecor-0:0.2.5-1 100% | 163.9 MiB/s | 167.8 KiB | 00m00s [132/146] Installing SDL3-0:3.4.16-1.fc 100% | 438.0 MiB/s | 3.1 MiB | 00m00s [133/146] Installing sdl2-compat-0:2.32 100% | 400.5 MiB/s | 410.1 KiB | 00m00s [134/146] Installing libglvnd-core-deve 100% | 0.0 B/s | 41.1 KiB | 00m00s [135/146] Installing libglvnd-devel-1:1 100% | 530.1 MiB/s | 2.1 MiB | 00m00s [136/146] Installing mesa-libGLU-devel- 100% | 0.0 B/s | 17.5 KiB | 00m00s [137/146] Installing emacs-filesystem-1 100% | 0.0 B/s | 544.0 B | 00m00s [138/146] Installing make-1:4.4.1-11.fc 100% | 105.9 MiB/s | 1.8 MiB | 00m00s [139/146] Installing gcc-0:15.3.1-1.fc4 100% | 429.6 MiB/s | 113.0 MiB | 00m00s [140/146] Installing gcc-c++-0:15.3.1-1 100% | 373.3 MiB/s | 41.8 MiB | 00m00s [141/146] Installing annobin-plugin-gcc 100% | 75.9 MiB/s | 1.0 MiB | 00m00s [142/146] Installing gcc-plugin-annobin 100% | 4.8 MiB/s | 58.8 KiB | 00m00s [143/146] Installing desktop-file-utils 100% | 15.5 MiB/s | 222.2 KiB | 00m00s [144/146] Installing sdl2-compat-devel- 100% | 181.6 MiB/s | 3.3 MiB | 00m00s [145/146] Installing mesa-libGL-devel-0 100% | 0.0 B/s | 81.5 KiB | 00m00s [146/146] Installing zlib-ng-compat-dev 100% | 298.3 KiB/s | 108.6 KiB | 00m00s Complete! Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1779494400 Wrote: /builddir/build/SRPMS/laynii-2.10.0-2.fc43.src.rpm Updating and loading repositories: Copr repository 100% | 95.7 KiB/s | 1.5 KiB | 00m00s fedora 100% | 143.4 KiB/s | 25.2 KiB | 00m00s updates 100% | 165.9 KiB/s | 18.7 KiB | 00m00s Repositories loaded. Nothing to do. Package "sdl2-compat-devel-2.32.72-1.fc43.x86_64" is already installed. Package "desktop-file-utils-0.28-2.fc43.x86_64" is already installed. Package "gcc-c++-15.3.1-1.fc43.x86_64" is already installed. Package "make-1:4.4.1-11.fc43.x86_64" is already installed. Package "mesa-libGL-devel-25.3.6-3.fc43.x86_64" is already installed. Package "zlib-ng-compat-devel-2.3.3-2.fc43.x86_64" is already installed. Finish: build setup for laynii-2.10.0-2.fc43.src.rpm Start: rpmbuild laynii-2.10.0-2.fc43.src.rpm Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1779494400 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.nYDs6C Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.KwtkPJ + umask 022 + cd /builddir/build/BUILD/laynii-2.10.0-build + cd /builddir/build/BUILD/laynii-2.10.0-build + rm -rf LAYNII-2.10.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/LAYNII-2.10.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd LAYNII-2.10.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i 's|^CFLAGS\t*=.*-std=c++11 -DHAVE_ZLIB|CFLAGS = -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB|' Makefile + sed -i '/^CFLAGS.*+=.*-O3/d' Makefile + sed -i 's|^LFLAGS\t*=.*|LFLAGS = -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz|' Makefile + sed -i 's|^CXXFLAGS = -std=c++11|CXXFLAGS = -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -include cstdint|' ida/src/Makefile + sed -i '/^CXXFLAGS += -O3/d' ida/src/Makefile + sed -i '/^CXXFLAGS += -g -Wall -Wformat/s/$/ -Wno-error=format-security -Wno-format-zero-length/' ida/src/Makefile + cat + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.6O5Ffk + umask 022 + cd /builddir/build/BUILD/laynii-2.10.0-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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-hardened-ld-errors -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 LAYNII-2.10.0 + /usr/bin/make -O -j4 V=1 VERBOSE=1 g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN2_CONNECTED_CLUSTERS src/LN2_CONNECTED_CLUSTERS.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz src/LN2_CONNECTED_CLUSTERS.cpp: In function ‘main’: src/LN2_CONNECTED_CLUSTERS.cpp:135:32: warning: ‘start_voxel’ may be used uninitialized [-Wmaybe-uninitialized] 135 | *(nii_input_data + start_voxel) = init_voxel_id; | ^~~~~~~~~~~ src/LN2_CONNECTED_CLUSTERS.cpp:127:22: note: ‘start_voxel’ was declared here 127 | uint32_t start_voxel; | ^~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN2_COLUMNS src/LN2_COLUMNS.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz src/LN2_COLUMNS.cpp: In function ‘int main(int, char**)’: src/LN2_COLUMNS.cpp:875:13: warning: variable ‘idx_new_point’ set but not used [-Wunused-but-set-variable] 875 | int idx_new_point; | ^~~~~~~~~~~~~ src/LN2_COLUMNS.cpp:1338:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const uint32_t’ {aka ‘const unsigned int’} [-Wsign-compare] 1338 | for (int i = 0; i != nr_voxels; ++i) { | ~~^~~~~~~~~~~~ src/LN2_COLUMNS.cpp:1342:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const uint32_t’ {aka ‘const unsigned int’} [-Wsign-compare] 1342 | for (int i = 0; i != nr_voxels; ++i) { | ~~^~~~~~~~~~~~ src/LN2_COLUMNS.cpp:1386:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const uint32_t’ {aka ‘const unsigned int’} [-Wsign-compare] 1386 | for (int i = 0; i != nr_voxels; ++i) { | ~~^~~~~~~~~~~~ src/LN2_COLUMNS.cpp:470:28: warning: ‘start_voxel’ may be used uninitialized [-Wmaybe-uninitialized] 470 | *(nii_midgm_data + start_voxel) = 2; // Reduce to single initial voxel | ^~~~~~~~~~~ src/LN2_COLUMNS.cpp:461:14: note: ‘start_voxel’ was declared here 461 | uint32_t start_voxel; | ^~~~~~~~~~~ src/LN2_COLUMNS.cpp:262:32: warning: ‘start_voxel’ may be used uninitialized [-Wmaybe-uninitialized] 262 | *(nii_midgm_data + start_voxel) = init_voxel_id; | ^~~~~~~~~~~ src/LN2_COLUMNS.cpp:254:22: note: ‘start_voxel’ was declared here 254 | uint32_t start_voxel; | ^~~~~~~~~~~ src/LN2_COLUMNS.cpp:477:38: warning: ‘nii_centroids_data’ may be used uninitialized [-Wmaybe-uninitialized] 477 | if (*(nii_centroids_data + i) > 0) { | ~~~~~~~~~~~~~~~~~~~~^~~~ src/LN2_COLUMNS.cpp:181:14: note: ‘nii_centroids_data’ was declared here 181 | int32_t* nii_centroids_data; | ^~~~~~~~~~~~~~~~~~ src/LN2_COLUMNS.cpp:868:46: warning: ‘new_voxel_id’ may be used uninitialized [-Wmaybe-uninitialized] 868 | flood_dist_thr = *(flood_dist_data + new_voxel_id) / 2.; | ^~~~~~~~~~~~ src/LN2_COLUMNS.cpp:484:14: note: ‘new_voxel_id’ was declared here 484 | uint32_t new_voxel_id; | ^~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN2_LAYERS src/LN2_LAYERS.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz src/LN2_LAYERS.cpp: In function ‘main’: src/LN2_LAYERS.cpp:1459:45: warning: ‘w’ may be used uninitialized [-Wmaybe-uninitialized] 1459 | *(equivol_factors_data + i) = w; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ src/LN2_LAYERS.cpp:1442:15: note: ‘w’ was declared here 1442 | float w; | ^ dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN2_MULTILATERATE src/LN2_MULTILATERATE.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz src/LN2_MULTILATERATE.cpp: In function ‘main’: src/LN2_MULTILATERATE.cpp:306:24: warning: ‘control_point0’ may be used uninitialized [-Wmaybe-uninitialized] 306 | if (control_point0 != 0 && control_point1 !=0 && control_point2 !=0 | ~~~~~~~~~~~~~~~^~~~ src/LN2_MULTILATERATE.cpp:288:14: note: ‘control_point0’ was declared here 288 | uint32_t control_point0; // Origin | ^~~~~~~~~~~~~~ src/LN2_MULTILATERATE.cpp:1519:41: warning: ‘idx_new_point’ may be used uninitialized [-Wmaybe-uninitialized] 1519 | *(control_points_data + idx_new_point) = n; | ^~~~~~~~~~~~~ src/LN2_MULTILATERATE.cpp:1509:21: note: ‘idx_new_point’ was declared here 1509 | int idx_new_point; | ^~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN2_PATCH_FLATTEN src/LN2_PATCH_FLATTEN.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN2_PATCH_UNFLATTEN src/LN2_PATCH_UNFLATTEN.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN2_PATCH_FLATTEN_2D src/LN2_PATCH_FLATTEN_2D.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN2_CHOLMO src/LN2_CHOLMO.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz src/LN2_CHOLMO.cpp: In function ‘int main(int, char**)’: src/LN2_CHOLMO.cpp:192:29: warning: unused variable ‘k’ [-Wunused-variable] 192 | uint32_t ix, iy, iz, j, k; | ^ dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN2_LAYERDIMENSION src/LN2_LAYERDIMENSION.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz src/LN2_LAYERDIMENSION.cpp: In function ‘int main(int, char**)’: src/LN2_LAYERDIMENSION.cpp:51:30: warning: variable ‘mode_singleTR’ set but not used [-Wunused-but-set-variable] 51 | bool mode_debug = false, mode_singleTR = true, use_outpath = false; | ^~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN2_PROFILE src/LN2_PROFILE.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz src/LN2_PROFILE.cpp: In function ‘int main(int, char**)’: src/LN2_PROFILE.cpp:176:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const uint32_t’ {aka ‘const unsigned int’} [-Wsign-compare] 176 | for (int j = 0; j != nr_voxels; ++j) { | ~~^~~~~~~~~~~~ src/LN2_PROFILE.cpp:212:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const uint32_t’ {aka ‘const unsigned int’} [-Wsign-compare] 212 | for (int j = 0; j != nr_voxels; ++j) { | ~~^~~~~~~~~~~~ src/LN2_PROFILE.cpp:239:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const uint32_t’ {aka ‘const unsigned int’} [-Wsign-compare] 239 | for (int j = 0; j != nr_voxels; ++j) { | ~~^~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN2_MASK src/LN2_MASK.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN2_BORDERIZE src/LN2_BORDERIZE.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN2_GEODISTANCE src/LN2_GEODISTANCE.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN2_IFPOINTS src/LN2_IFPOINTS.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz src/LN2_IFPOINTS.cpp: In function ‘main’: src/LN2_IFPOINTS.cpp:556:29: warning: ‘idx_new_point’ may be used uninitialized [-Wmaybe-uninitialized] 556 | *(nii_domain_data + idx_new_point) = 2; | ^~~~~~~~~~~~~ src/LN2_IFPOINTS.cpp:546:13: note: ‘idx_new_point’ was declared here 546 | int idx_new_point; | ^~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN2_DEVEIN src/LN2_DEVEIN.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN2_RIMIFY src/LN2_RIMIFY.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN2_VORONOI src/LN2_VORONOI.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN2_ZERO_CROSSING src/LN2_ZERO_CROSSING.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN2_UVD_FILTER src/LN2_UVD_FILTER.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz src/LN2_UVD_FILTER.cpp: In function ‘int main(int, char**)’: src/LN2_UVD_FILTER.cpp:338:19: warning: unused variable ‘temp_ref’ [-Wunused-variable] 338 | float temp_ref = vec_val[i]; | ^~~~~~~~ src/LN2_UVD_FILTER.cpp:415:19: warning: unused variable ‘temp_ref’ [-Wunused-variable] 415 | float temp_ref = vec_val[i]; | ^~~~~~~~ src/LN2_UVD_FILTER.cpp:382:48: warning: ‘m’ may be used uninitialized [-Wmaybe-uninitialized] 382 | *(nii_output_data + vec_voi_id[i]) = m; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ src/LN2_UVD_FILTER.cpp:355:17: note: ‘m’ was declared here 355 | int m, c, t; | ^ src/LN2_UVD_FILTER.cpp:383:56: warning: ‘c’ may be used uninitialized [-Wmaybe-uninitialized] 383 | *(nii_output_extra_data + vec_voi_id[i]) = static_cast(c)/t; | ^~~~~~~~~~~~~~~~~~~~~ src/LN2_UVD_FILTER.cpp:355:20: note: ‘c’ was declared here 355 | int m, c, t; | ^ dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN2_HEXBIN src/LN2_HEXBIN.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN2_SENSITIVITY src/LN2_SENSITIVITY.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz src/LN2_SENSITIVITY.cpp: In function ‘int main(int, char**)’: src/LN2_SENSITIVITY.cpp:38:25: warning: unused variable ‘fin2’ [-Wunused-variable] 38 | char *fin1 = NULL, *fin2 = NULL, *fout = NULL; | ^~~~ dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN2_RIM_BORDERIZE src/LN2_RIM_BORDERIZE.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz src/LN2_RIM_BORDERIZE.cpp: In function ‘int main(int, char**)’: src/LN2_RIM_BORDERIZE.cpp:31:24: warning: unused variable ‘label’ [-Wunused-variable] 31 | int ac, jumps = 1, label = 0; | ^~~~~ dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN2_NEIGHBORS src/LN2_NEIGHBORS.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz src/LN2_NEIGHBORS.cpp: In function ‘int main(int, char**)’: src/LN2_NEIGHBORS.cpp:363:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare] 363 | for (int i = 0; i != max_nr_neighbors; ++i) { | ~~^~~~~~~~~~~~~~~~~~~ src/LN2_NEIGHBORS.cpp:372:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 372 | for (int m = 0; m != vec_neighbors[c].size(); ++m) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/LN2_NEIGHBORS.cpp:407:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 407 | for (int m = 0; m != vec_neighbors[j].size(); ++m) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN2_RIM_POLISH src/LN2_RIM_POLISH.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz src/LN2_RIM_POLISH.cpp: In function ‘int main(int, char**)’: src/LN2_RIM_POLISH.cpp:122:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 122 | for (uint32_t n = 0; n != steps_voronoi; ++n) { | ~~^~~~~~~~~~~~~~~~ src/LN2_RIM_POLISH.cpp:123:32: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘const int’ [-Wsign-compare] 123 | for (uint32_t i = 0; i != nr_voxels; ++i) { | ~~^~~~~~~~~~~~ src/LN2_RIM_POLISH.cpp:169:32: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘const int’ [-Wsign-compare] 169 | for (uint32_t i = 0; i != nr_voxels; ++i) { | ~~^~~~~~~~~~~~ src/LN2_RIM_POLISH.cpp:174:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘const int’ [-Wsign-compare] 174 | for (uint32_t i = 0; i != nr_voxels; ++i) { | ~~^~~~~~~~~~~~ src/LN2_RIM_POLISH.cpp:220:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘const int’ [-Wsign-compare] 220 | for (uint32_t i = 0; i != nr_voxels; ++i) { | ~~^~~~~~~~~~~~ src/LN2_RIM_POLISH.cpp:225:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 225 | for (uint32_t n = 0; n != steps; ++n) { | ~~^~~~~~~~ src/LN2_RIM_POLISH.cpp:226:32: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘const int’ [-Wsign-compare] 226 | for (uint32_t i = 0; i != nr_voxels; ++i) { | ~~^~~~~~~~~~~~ src/LN2_RIM_POLISH.cpp:272:32: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘const int’ [-Wsign-compare] 272 | for (uint32_t i = 0; i != nr_voxels; ++i) { | ~~^~~~~~~~~~~~ src/LN2_RIM_POLISH.cpp:292:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘const int’ [-Wsign-compare] 292 | for (uint32_t i = 0; i != nr_voxels; ++i) { | ~~^~~~~~~~~~~~ src/LN2_RIM_POLISH.cpp:312:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘const int’ [-Wsign-compare] 312 | for (uint32_t i = 0; i != nr_voxels; ++i) { | ~~^~~~~~~~~~~~ src/LN2_RIM_POLISH.cpp:329:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘const int’ [-Wsign-compare] 329 | for (uint32_t i = 0; i != nr_voxels; ++i) { | ~~^~~~~~~~~~~~ src/LN2_RIM_POLISH.cpp:334:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 334 | for (uint32_t n = 0; n != steps; ++n) { | ~~^~~~~~~~ src/LN2_RIM_POLISH.cpp:335:32: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘const int’ [-Wsign-compare] 335 | for (uint32_t i = 0; i != nr_voxels; ++i) { | ~~^~~~~~~~~~~~ src/LN2_RIM_POLISH.cpp:381:32: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘const int’ [-Wsign-compare] 381 | for (uint32_t i = 0; i != nr_voxels; ++i) { | ~~^~~~~~~~~~~~ src/LN2_RIM_POLISH.cpp:397:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘const int’ [-Wsign-compare] 397 | for (uint32_t i = 0; i != nr_voxels; ++i) { | ~~^~~~~~~~~~~~ src/LN2_RIM_POLISH.cpp:402:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 402 | for (uint32_t n = 0; n != steps; ++n) { | ~~^~~~~~~~ src/LN2_RIM_POLISH.cpp:403:32: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘const int’ [-Wsign-compare] 403 | for (uint32_t i = 0; i != nr_voxels; ++i) { | ~~^~~~~~~~~~~~ src/LN2_RIM_POLISH.cpp:449:32: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘const int’ [-Wsign-compare] 449 | for (uint32_t i = 0; i != nr_voxels; ++i) { | ~~^~~~~~~~~~~~ src/LN2_RIM_POLISH.cpp:477:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘const int’ [-Wsign-compare] 477 | for (uint32_t i = 0; i != nr_voxels; ++i) { | ~~^~~~~~~~~~~~ src/LN2_RIM_POLISH.cpp:495:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘const int’ [-Wsign-compare] 495 | for (uint32_t i = 0; i != nr_voxels; ++i) { | ~~^~~~~~~~~~~~ src/LN2_RIM_POLISH.cpp:500:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 500 | for (uint32_t n = 0; n != steps; ++n) { | ~~^~~~~~~~ src/LN2_RIM_POLISH.cpp:501:32: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘const int’ [-Wsign-compare] 501 | for (uint32_t i = 0; i != nr_voxels; ++i) { | ~~^~~~~~~~~~~~ src/LN2_RIM_POLISH.cpp:547:32: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘const int’ [-Wsign-compare] 547 | for (uint32_t i = 0; i != nr_voxels; ++i) { | ~~^~~~~~~~~~~~ src/LN2_RIM_POLISH.cpp:564:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘const int’ [-Wsign-compare] 564 | for (uint32_t i = 0; i != nr_voxels; ++i) { | ~~^~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN2_SPECIFICITY src/LN2_SPECIFICITY.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz src/LN2_SPECIFICITY.cpp: In function ‘int main(int, char**)’: src/LN2_SPECIFICITY.cpp:42:25: warning: unused variable ‘fin2’ [-Wunused-variable] 42 | char *fin1 = NULL, *fin2 = NULL, *fout = NULL; | ^~~~ dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN2_INTPRO src/LN2_INTPRO.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN2_FRISGO src/LN2_FRISGO.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz src/LN2_FRISGO.cpp: In function ‘int main(int, char**)’: src/LN2_FRISGO.cpp:174:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const uint64_t’ {aka ‘const long unsigned int’} [-Wsign-compare] 174 | for (int i = 0; i < nxyzt; ++i) { | ~~^~~~~~~ src/LN2_FRISGO.cpp:206:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const uint64_t’ {aka ‘const long unsigned int’} [-Wsign-compare] 206 | for (int i = 0; i < nxyzt; ++i) { | ~~^~~~~~~ src/LN2_FRISGO.cpp:277:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const uint64_t’ {aka ‘const long unsigned int’} [-Wsign-compare] 277 | for (int i = 0; i < nxyzt; ++i) { | ~~^~~~~~~ src/LN2_FRISGO.cpp:55:10: warning: unused variable ‘use_outpath’ [-Wunused-variable] 55 | bool use_outpath = false, mode_debug = false; | ^~~~~~~~~~~ src/LN2_FRISGO.cpp:161:12: warning: unused variable ‘nii_weight_data’ [-Wunused-variable] 161 | float* nii_weight_data = static_cast(nii_weight->data); | ^~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN2_DESPIKE src/LN2_DESPIKE.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz src/LN2_DESPIKE.cpp: In function ‘int main(int, char**)’: src/LN2_DESPIKE.cpp:32:10: warning: variable ‘use_outpath’ set but not used [-Wunused-but-set-variable] 32 | bool use_outpath = false, mode_debug = false; | ^~~~~~~~~~~ src/LN2_DESPIKE.cpp:91:20: warning: unused variable ‘end_x’ [-Wunused-variable] 91 | const uint64_t end_x = size_x - 1; | ^~~~~ src/LN2_DESPIKE.cpp:92:20: warning: unused variable ‘end_y’ [-Wunused-variable] 92 | const uint64_t end_y = size_y - 1; | ^~~~~ src/LN2_DESPIKE.cpp:93:20: warning: unused variable ‘end_z’ [-Wunused-variable] 93 | const uint64_t end_z = size_z - 1; | ^~~~~ dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN2_ZSCORE src/LN2_ZSCORE.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz src/LN2_ZSCORE.cpp: In function ‘int main(int, char**)’: src/LN2_ZSCORE.cpp:28:10: warning: variable ‘use_outpath’ set but not used [-Wunused-but-set-variable] 28 | bool use_outpath = false, mode_mean=false, mode_std=false; | ^~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN2_RECIPROCAL src/LN2_RECIPROCAL.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz src/LN2_RECIPROCAL.cpp: In function ‘int main(int, char**)’: src/LN2_RECIPROCAL.cpp:28:25: warning: unused variable ‘fin2’ [-Wunused-variable] 28 | char *fin1 = NULL, *fin2 = NULL, *fout = NULL; | ^~~~ dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN2_SNAPCAST src/LN2_SNAPCAST.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz src/LN2_SNAPCAST.cpp: In function ‘int main(int, char**)’: src/LN2_SNAPCAST.cpp:101:19: warning: unused variable ‘end_x’ [-Wunused-variable] 101 | const int64_t end_x = size_x - 1; | ^~~~~ src/LN2_SNAPCAST.cpp:102:19: warning: unused variable ‘end_y’ [-Wunused-variable] 102 | const int64_t end_y = size_y - 1; | ^~~~~ src/LN2_SNAPCAST.cpp:103:19: warning: unused variable ‘end_z’ [-Wunused-variable] 103 | const int64_t end_z = size_z - 1; | ^~~~~ src/LN2_SNAPCAST.cpp:105:19: warning: unused variable ‘nr_voxels’ [-Wunused-variable] 105 | const int64_t nr_voxels = size_z * size_y * size_x; | ^~~~~~~~~ dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN_BOCO src/LN_BOCO.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz src/LN_BOCO.cpp: In function ‘int main(int, char**)’: src/LN_BOCO.cpp:143:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const uint64_t’ {aka ‘const long unsigned int’} [-Wsign-compare] 143 | for (int i = 0; i != nr_voxels; ++i) { | ~~^~~~~~~~~~~~ src/LN_BOCO.cpp:148:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const uint64_t’ {aka ‘const long unsigned int’} [-Wsign-compare] 148 | for (int i = 0; i != nr_voxels; ++i) { | ~~^~~~~~~~~~~~ src/LN_BOCO.cpp:300:46: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 300 | for (uint64_t it = 0; it < trialdur; ++it) { | ~~~^~~~~~~~~~ src/LN_BOCO.cpp:304:46: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 304 | for (uint64_t it = 0; it < trialdur * nr_trials; ++it) { | ~~~^~~~~~~~~~~~~~~~~~~~~~ src/LN_BOCO.cpp:310:46: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 310 | for (uint64_t it = 0; it < trialdur; ++it) { | ~~~^~~~~~~~~~ src/LN_BOCO.cpp:324:46: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 324 | for (uint64_t it = 0; it < trialdur; ++it) { | ~~~^~~~~~~~~~ dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN_MP2RAGE_DNOISE src/LN_MP2RAGE_DNOISE.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN2_LAYER_SMOOTH src/LN2_LAYER_SMOOTH.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN_LAYER_SMOOTH src/LN_LAYER_SMOOTH.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN_3DCOLUMNS src/LN_3DCOLUMNS.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz src/LN_3DCOLUMNS.cpp: In function ‘int main(int, char**)’: src/LN_3DCOLUMNS.cpp:190:11: warning: variable ‘d_p1’ set but not used [-Wunused-but-set-variable] 190 | float d_p1 = 0.; | ^~~~ dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN_COLUMNAR_DIST src/LN_COLUMNAR_DIST.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz src/LN_COLUMNAR_DIST.cpp: In function ‘int main(int, char**)’: src/LN_COLUMNAR_DIST.cpp:127:15: warning: unused variable ‘nxyz’ [-Wunused-variable] 127 | const int nxyz = nii_input1->nx * nii_input1->ny * nii_input1->nz; | ^~~~ src/LN_COLUMNAR_DIST.cpp:179:11: warning: variable ‘dist_p1’ set but not used [-Wunused-but-set-variable] 179 | float dist_p1; | ^~~~~~~ dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN_CORREL2FILES src/LN_CORREL2FILES.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN_DIRECT_SMOOTH src/LN_DIRECT_SMOOTH.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz src/LN_DIRECT_SMOOTH.cpp: In function ‘main’: src/LN_DIRECT_SMOOTH.cpp:170:45: warning: ‘start_j’ may be used uninitialized [-Wmaybe-uninitialized] 170 | for (int j = start_j; j < stop_j; ++j) { | ~~^~~~~~~~ src/LN_DIRECT_SMOOTH.cpp:157:25: note: ‘start_j’ was declared here 157 | int start_j, stop_j; | ^~~~~~~ src/LN_DIRECT_SMOOTH.cpp:170:45: warning: ‘stop_j’ may be used uninitialized [-Wmaybe-uninitialized] 170 | for (int j = start_j; j < stop_j; ++j) { | ~~^~~~~~~~ src/LN_DIRECT_SMOOTH.cpp:157:34: note: ‘stop_j’ was declared here 157 | int start_j, stop_j; | ^~~~~~ src/LN_DIRECT_SMOOTH.cpp:191:48: warning: ‘voxel_j’ may be used uninitialized [-Wmaybe-uninitialized] 191 | if (*(nii_input_data + voxel_j) != 0) { | ^~~~~~~ src/LN_DIRECT_SMOOTH.cpp:171:29: note: ‘voxel_j’ was declared here 171 | int voxel_j; | ^~~~~~~ In function ‘ASLFt(float, float)’, inlined from ‘main’ at src/LN_DIRECT_SMOOTH.cpp:197:42: src/LN_DIRECT_SMOOTH.cpp:239:5: warning: ‘d’ may be used uninitialized [-Wmaybe-uninitialized] 239 | if (distance <= 4.0) value = 0.0245; | ^~ src/LN_DIRECT_SMOOTH.cpp: In function ‘main’: src/LN_DIRECT_SMOOTH.cpp:172:31: note: ‘d’ was declared here 172 | float d, w; | ^ dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN_GRADSMOOTH src/LN_GRADSMOOTH.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN_FLOAT_ME src/LN_FLOAT_ME.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN_ZOOM src/LN_ZOOM.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN_SHORT_ME src/LN_SHORT_ME.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN_EXTREMETR src/LN_EXTREMETR.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN_IMAGIRO src/LN_IMAGIRO.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz src/LN_IMAGIRO.cpp: In function ‘int main(int, char**)’: src/LN_IMAGIRO.cpp:120:11: warning: unused variable ‘dX’ [-Wunused-variable] 120 | float dX = nim_layers_r->pixdim[1]; | ^~ src/LN_IMAGIRO.cpp:121:11: warning: unused variable ‘dY’ [-Wunused-variable] 121 | float dY = nim_layers_r->pixdim[2]; | ^~ src/LN_IMAGIRO.cpp:122:11: warning: unused variable ‘dZ’ [-Wunused-variable] 122 | float dZ = nim_layers_r->pixdim[3]; | ^~ src/LN_IMAGIRO.cpp:187:11: warning: unused variable ‘dX_imagiro’ [-Wunused-variable] 187 | float dX_imagiro = imagiro->pixdim[1]; | ^~~~~~~~~~ src/LN_IMAGIRO.cpp:188:11: warning: unused variable ‘dY_imagiro’ [-Wunused-variable] 188 | float dY_imagiro = imagiro->pixdim[2]; | ^~~~~~~~~~ src/LN_IMAGIRO.cpp:189:11: warning: unused variable ‘dZ_imagiro’ [-Wunused-variable] 189 | float dZ_imagiro = imagiro->pixdim[3]; | ^~~~~~~~~~ dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN_GFACTOR src/LN_GFACTOR.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz src/LN_GFACTOR.cpp: In function ‘main’: src/LN_GFACTOR.cpp:115:33: warning: ‘grappa_int’ may be used uninitialized [-Wmaybe-uninitialized] 115 | cout << " GRAPPA = " << grappa_int << endl; | ^~~~~~~~~~ src/LN_GFACTOR.cpp:47:9: note: ‘grappa_int’ was declared here 47 | int grappa_int, direction_int, ac; | ^~~~~~~~~~ src/LN_GFACTOR.cpp:127:5: warning: ‘direction_int’ may be used uninitialized [-Wmaybe-uninitialized] 127 | if (direction_int == 0) { | ^~ src/LN_GFACTOR.cpp:47:21: note: ‘direction_int’ was declared here 47 | int grappa_int, direction_int, ac; | ^~~~~~~~~~~~~ In file included from /usr/include/c++/15/ostream:42, from /usr/include/c++/15/iostream:43, from src/../dep/laynii_lib.h:7, from src/LN_GFACTOR.cpp:3: In function ‘std::basic_ostream >::_S_cast_flt(float)double’, inlined from ‘std::basic_ostream >::operator<<(float)’ at /usr/include/c++/15/bits/ostream.h:239:18, inlined from ‘main’ at src/LN_GFACTOR.cpp:116:33: /usr/include/c++/15/bits/ostream.h:486:15: warning: ‘cutoff’ may be used uninitialized [-Wmaybe-uninitialized] 486 | _To __d = static_cast<_To>(__f); | ^~~ src/LN_GFACTOR.cpp: In function ‘main’: src/LN_GFACTOR.cpp:48:11: note: ‘cutoff’ was declared here 48 | float cutoff, variance_val; | ^~~~~~ In function ‘std::basic_ostream >::_S_cast_flt(float)double’, inlined from ‘std::basic_ostream >::operator<<(float)’ at /usr/include/c++/15/bits/ostream.h:239:18, inlined from ‘main’ at src/LN_GFACTOR.cpp:113:33: /usr/include/c++/15/bits/ostream.h:486:15: warning: ‘variance_val’ may be used uninitialized [-Wmaybe-uninitialized] 486 | _To __d = static_cast<_To>(__f); | ^~~ src/LN_GFACTOR.cpp: In function ‘main’: src/LN_GFACTOR.cpp:48:19: note: ‘variance_val’ was declared here 48 | float cutoff, variance_val; | ^~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN_INTPRO src/LN_INTPRO.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz src/LN_INTPRO.cpp: In function ‘main’: src/LN_INTPRO.cpp:237:45: warning: ‘voxel_i’ may be used uninitialized [-Wmaybe-uninitialized] 237 | && *(nii_data + voxel_i) >= extreme_val) { | ^~~~~~~ src/LN_INTPRO.cpp:157:21: note: ‘voxel_i’ was declared here 157 | int voxel_i, voxel_j; | ^~~~~~~ dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN_GROW_LAYERS src/LN_GROW_LAYERS.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz src/LN_GROW_LAYERS.cpp: In function ‘int main(int, char**)’: src/LN_GROW_LAYERS.cpp:181:15: warning: unused variable ‘x2g’ [-Wunused-variable] 181 | float x2g = 0., y2g = 0.; | ^~~ src/LN_GROW_LAYERS.cpp:181:25: warning: unused variable ‘y2g’ [-Wunused-variable] 181 | float x2g = 0., y2g = 0.; | ^~~ src/LN_GROW_LAYERS.cpp:182:15: warning: unused variable ‘x3g’ [-Wunused-variable] 182 | float x3g = 0., y3g = 0.; | ^~~ src/LN_GROW_LAYERS.cpp:182:25: warning: unused variable ‘y3g’ [-Wunused-variable] 182 | float x3g = 0., y3g = 0.; | ^~~ src/LN_GROW_LAYERS.cpp:193:15: warning: unused variable ‘dist_min’ [-Wunused-variable] 193 | float dist_min = 0.; | ^~~~~~~~ src/LN_GROW_LAYERS.cpp:194:15: warning: unused variable ‘dist_min1’ [-Wunused-variable] 194 | float dist_min1 = 0.; | ^~~~~~~~~ src/LN_GROW_LAYERS.cpp:196:15: warning: unused variable ‘dist_min3’ [-Wunused-variable] 196 | float dist_min3 = 0.; | ^~~~~~~~~ src/LN_GROW_LAYERS.cpp:197:15: warning: unused variable ‘dist_max’ [-Wunused-variable] 197 | float dist_max = 0.; | ^~~~~~~~ src/LN_GROW_LAYERS.cpp:198:15: warning: variable ‘dist_p1’ set but not used [-Wunused-but-set-variable] 198 | float dist_p1 = 0.; | ^~~~~~~ src/LN_GROW_LAYERS.cpp:411:47: warning: variable ‘ix_f’ set but not used [-Wunused-but-set-variable] 411 | float GMK2_f, GMK3_f, WMK2_f, WMK3_f, ix_f, iy_f; | ^~~~ src/LN_GROW_LAYERS.cpp:411:53: warning: variable ‘iy_f’ set but not used [-Wunused-but-set-variable] 411 | float GMK2_f, GMK3_f, WMK2_f, WMK3_f, ix_f, iy_f; | ^~~~ src/LN_GROW_LAYERS.cpp:489:15: warning: unused variable ‘x2g’ [-Wunused-variable] 489 | float x2g = 0., y2g = 0., z2g = 0.; | ^~~ src/LN_GROW_LAYERS.cpp:489:25: warning: unused variable ‘y2g’ [-Wunused-variable] 489 | float x2g = 0., y2g = 0., z2g = 0.; | ^~~ src/LN_GROW_LAYERS.cpp:489:35: warning: unused variable ‘z2g’ [-Wunused-variable] 489 | float x2g = 0., y2g = 0., z2g = 0.; | ^~~ src/LN_GROW_LAYERS.cpp:490:15: warning: unused variable ‘x3g’ [-Wunused-variable] 490 | float x3g = 0., y3g = 0., z3g = 0.; | ^~~ src/LN_GROW_LAYERS.cpp:490:25: warning: unused variable ‘y3g’ [-Wunused-variable] 490 | float x3g = 0., y3g = 0., z3g = 0.; | ^~~ src/LN_GROW_LAYERS.cpp:490:35: warning: unused variable ‘z3g’ [-Wunused-variable] 490 | float x3g = 0., y3g = 0., z3g = 0.; | ^~~ src/LN_GROW_LAYERS.cpp:500:15: warning: unused variable ‘dist_min’ [-Wunused-variable] 500 | float dist_min = 0.; | ^~~~~~~~ src/LN_GROW_LAYERS.cpp:501:15: warning: unused variable ‘dist_min1’ [-Wunused-variable] 501 | float dist_min1 = 0.; | ^~~~~~~~~ src/LN_GROW_LAYERS.cpp:503:15: warning: unused variable ‘dist_min3’ [-Wunused-variable] 503 | float dist_min3 = 0.; | ^~~~~~~~~ src/LN_GROW_LAYERS.cpp:504:15: warning: unused variable ‘dist_max’ [-Wunused-variable] 504 | float dist_max = 0.; | ^~~~~~~~ src/LN_GROW_LAYERS.cpp:505:15: warning: variable ‘dist_p1’ set but not used [-Wunused-but-set-variable] 505 | float dist_p1 = 0.; | ^~~~~~~ src/LN_GROW_LAYERS.cpp:767:65: warning: variable ‘ix_f’ set but not used [-Wunused-but-set-variable] 767 | float GMK2_f, GMKz2_f, GMK3_f, WMK2_f, WMKz2_f, WMK3_f, ix_f, iy_f, iz_f; | ^~~~ src/LN_GROW_LAYERS.cpp:767:71: warning: variable ‘iy_f’ set but not used [-Wunused-but-set-variable] 767 | float GMK2_f, GMKz2_f, GMK3_f, WMK2_f, WMKz2_f, WMK3_f, ix_f, iy_f, iz_f; | ^~~~ src/LN_GROW_LAYERS.cpp:767:77: warning: variable ‘iz_f’ set but not used [-Wunused-but-set-variable] 767 | float GMK2_f, GMKz2_f, GMK3_f, WMK2_f, WMKz2_f, WMK3_f, ix_f, iy_f, iz_f; | ^~~~ src/LN_GROW_LAYERS.cpp:116:9: warning: unused variable ‘size_time’ [-Wunused-variable] 116 | int size_time = nim_input_i->nt; | ^~~~~~~~~ src/LN_GROW_LAYERS.cpp:119:9: warning: unused variable ‘nxyz’ [-Wunused-variable] 119 | int nxyz = nim_input_i->nx * nim_input_i->ny * nim_input_i->nz; | ^~~~ dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN_LEAKY_LAYERS src/LN_LEAKY_LAYERS.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz src/LN_LEAKY_LAYERS.cpp: In function ‘int main(int, char**)’: src/LN_LEAKY_LAYERS.cpp:154:11: warning: variable ‘total_weigth’ set but not used [-Wunused-but-set-variable] 154 | float total_weigth = 0; | ^~~~~~~~~~~~ src/LN_LEAKY_LAYERS.cpp:111:5: warning: ‘dim’ may be used uninitialized [-Wmaybe-uninitialized] 111 | if (dim == 2) { | ^~ src/LN_LEAKY_LAYERS.cpp:41:13: note: ‘dim’ was declared here 41 | int ac, dim; | ^~~ dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN_NOISEME src/LN_NOISEME.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz In file included from /usr/include/c++/15/ostream:42, from /usr/include/c++/15/iostream:43, from src/../dep/laynii_lib.h:7, from src/LN_NOISEME.cpp:2: In function ‘std::basic_ostream >::_S_cast_flt(float)double’, inlined from ‘std::basic_ostream >::operator<<(float)’ at /usr/include/c++/15/bits/ostream.h:239:18, inlined from ‘main’ at src/LN_NOISEME.cpp:89:40: /usr/include/c++/15/bits/ostream.h:486:15: warning: ‘std_val’ may be used uninitialized [-Wmaybe-uninitialized] 486 | _To __d = static_cast<_To>(__f); | ^~~ src/LN_NOISEME.cpp: In function ‘main’: src/LN_NOISEME.cpp:42:11: note: ‘std_val’ was declared here 42 | float std_val; | ^~~~~~~ dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN_RAGRUG src/LN_RAGRUG.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN_SKEW src/LN_SKEW.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN_PHYSIO_PARS src/LN_PHYSIO_PARS.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN_TRIAL src/LN_TRIAL.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz src/LN_TRIAL.cpp: In function ‘main’: src/LN_TRIAL.cpp:97:41: warning: ‘trial_dur’ may be used uninitialized [-Wmaybe-uninitialized] 97 | for (uint64_t t = 0; t < (trial_dur * nr_trials); ++t) { | ~~~~~~~~~~~^~~~~~~~~~~~ src/LN_TRIAL.cpp:26:14: note: ‘trial_dur’ was declared here 26 | uint64_t trial_dur; | ^~~~~~~~~ dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN_TEMPSMOOTH src/LN_TEMPSMOOTH.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN_INT_ME src/LN_INT_ME.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN_LOITUMA src/LN_LOITUMA.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz src/LN_LOITUMA.cpp: In function ‘int main(int, char**)’: src/LN_LOITUMA.cpp:144:32: warning: unused variable ‘k’ [-Wunused-variable] 144 | uint32_t ix, iy, iz, j, k; | ^ src/LN_LOITUMA.cpp:290:32: warning: unused variable ‘k’ [-Wunused-variable] 290 | uint32_t ix, iy, iz, j, k; | ^ src/LN_LOITUMA.cpp:41:40: warning: unused variable ‘froii’ [-Wunused-variable] 41 | char *fleakyi=NULL, *fdisti=NULL, *froii=NULL ; | ^~~~~ src/LN_LOITUMA.cpp:126:20: warning: unused variable ‘nrep’ [-Wunused-variable] 126 | const uint32_t nrep = nii_leak->nt; | ^~~~ src/LN_LOITUMA.cpp:127:20: warning: unused variable ‘nx’ [-Wunused-variable] 127 | const uint32_t nx = nii_leak->nx; | ^~ src/LN_LOITUMA.cpp:128:20: warning: unused variable ‘nxy’ [-Wunused-variable] 128 | const uint32_t nxy = nii_leak->nx * nii_leak->ny; | ^~~ dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN_INFO src/LN_INFO.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz src/LN_INFO.cpp: In function ‘int main(int, char**)’: src/LN_INFO.cpp:34:11: warning: unused variable ‘std_val’ [-Wunused-variable] 34 | float std_val; | ^~~~~~~ dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN_NOISE_KERNEL src/LN_NOISE_KERNEL.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz src/LN_NOISE_KERNEL.cpp: In function ‘int main(int, char**)’: src/LN_NOISE_KERNEL.cpp:111:9: warning: unused variable ‘Number_of_averages’ [-Wunused-variable] 111 | int Number_of_averages = 0; | ^~~~~~~~~~~~~~~~~~ src/LN_NOISE_KERNEL.cpp:155:9: warning: unused variable ‘knxyz’ [-Wunused-variable] 155 | int knxyz = nii_kernel->nx * nii_kernel->ny * nii_kernel->nz; | ^~~~~ dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN_CONLAY src/LN_CONLAY.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz src/LN_CONLAY.cpp: In function ‘int main(int, char**)’: src/LN_CONLAY.cpp:111:15: warning: unused variable ‘size_time’ [-Wunused-variable] 111 | const int size_time = nii1->nt; | ^~~~~~~~~ src/LN_CONLAY.cpp:134:9: warning: unused variable ‘nrout_voxels’ [-Wunused-variable] 134 | int nrout_voxels = nii_outlay->nvox; | ^~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN2_PHASE_JOLT src/LN2_PHASE_JOLT.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz src/LN2_PHASE_JOLT.cpp: In function ‘int main(int, char**)’: src/LN2_PHASE_JOLT.cpp:40:17: warning: unused variable ‘ONEPI’ [-Wunused-variable] 40 | const float ONEPI = 3.14159265358979f; | ^~~~~ dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN2_DIRECTIONALITY_BIN src/LN2_DIRECTIONALITY_BIN.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz src/LN2_DIRECTIONALITY_BIN.cpp: In function ‘int main(int, char**)’: src/LN2_DIRECTIONALITY_BIN.cpp:304:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 304 | for (uint32_t i = 0; i != nxyz; ++i) { | ~~^~~~~~~ src/LN2_DIRECTIONALITY_BIN.cpp:315:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 315 | for (uint32_t i = 0; i != nxyz; ++i) { | ~~^~~~~~~ src/LN2_DIRECTIONALITY_BIN.cpp:498:16: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 498 | if (ix < size_x) { | ~~~^~~~~~~~ src/LN2_DIRECTIONALITY_BIN.cpp:524:16: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 524 | if (iy < size_y) { | ~~~^~~~~~~~ src/LN2_DIRECTIONALITY_BIN.cpp:550:16: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 550 | if (iz < size_z) { | ~~~^~~~~~~~ src/LN2_DIRECTIONALITY_BIN.cpp:604:26: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 604 | if (ix > 0 && iy < size_y) { | ~~~^~~~~~~~ src/LN2_DIRECTIONALITY_BIN.cpp:630:16: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 630 | if (ix < size_x && iy > 0) { | ~~~^~~~~~~~ src/LN2_DIRECTIONALITY_BIN.cpp:656:16: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 656 | if (ix < size_x && iy < size_y) { | ~~~^~~~~~~~ src/LN2_DIRECTIONALITY_BIN.cpp:656:31: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 656 | if (ix < size_x && iy < size_y) { | ~~~^~~~~~~~ src/LN2_DIRECTIONALITY_BIN.cpp:708:26: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 708 | if (iy > 0 && iz < size_z) { | ~~~^~~~~~~~ src/LN2_DIRECTIONALITY_BIN.cpp:734:16: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 734 | if (iy < size_y && iz > 0) { | ~~~^~~~~~~~ src/LN2_DIRECTIONALITY_BIN.cpp:760:16: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 760 | if (iy < size_y && iz < size_z) { | ~~~^~~~~~~~ src/LN2_DIRECTIONALITY_BIN.cpp:760:31: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 760 | if (iy < size_y && iz < size_z) { | ~~~^~~~~~~~ src/LN2_DIRECTIONALITY_BIN.cpp:812:16: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 812 | if (ix < size_x && iz > 0) { | ~~~^~~~~~~~ src/LN2_DIRECTIONALITY_BIN.cpp:838:26: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 838 | if (ix > 0 && iz < size_z) { | ~~~^~~~~~~~ src/LN2_DIRECTIONALITY_BIN.cpp:864:16: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 864 | if (ix < size_x && iz < size_z) { | ~~~^~~~~~~~ src/LN2_DIRECTIONALITY_BIN.cpp:864:31: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 864 | if (ix < size_x && iz < size_z) { | ~~~^~~~~~~~ src/LN2_DIRECTIONALITY_BIN.cpp:898:36: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 898 | if (ix > 0 && iy > 0 && iz < size_z) { | ~~~^~~~~~~~ src/LN2_DIRECTIONALITY_BIN.cpp:904:26: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 904 | if (ix > 0 && iy < size_y && iz > 0) { | ~~~^~~~~~~~ src/LN2_DIRECTIONALITY_BIN.cpp:910:16: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 910 | if (ix < size_x && iy > 0 && iz > 0) { | ~~~^~~~~~~~ src/LN2_DIRECTIONALITY_BIN.cpp:916:26: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 916 | if (ix > 0 && iy < size_y && iz < size_z) { | ~~~^~~~~~~~ src/LN2_DIRECTIONALITY_BIN.cpp:916:41: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 916 | if (ix > 0 && iy < size_y && iz < size_z) { | ~~~^~~~~~~~ src/LN2_DIRECTIONALITY_BIN.cpp:922:16: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 922 | if (ix < size_x && iy > 0 && iz < size_z) { | ~~~^~~~~~~~ src/LN2_DIRECTIONALITY_BIN.cpp:922:41: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 922 | if (ix < size_x && iy > 0 && iz < size_z) { | ~~~^~~~~~~~ src/LN2_DIRECTIONALITY_BIN.cpp:928:16: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 928 | if (ix < size_x && iy < size_y && iz > 0) { | ~~~^~~~~~~~ src/LN2_DIRECTIONALITY_BIN.cpp:928:31: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 928 | if (ix < size_x && iy < size_y && iz > 0) { | ~~~^~~~~~~~ src/LN2_DIRECTIONALITY_BIN.cpp:934:16: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 934 | if (ix < size_x && iy < size_y && iz < size_z) { | ~~~^~~~~~~~ src/LN2_DIRECTIONALITY_BIN.cpp:934:31: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 934 | if (ix < size_x && iy < size_y && iz < size_z) { | ~~~^~~~~~~~ src/LN2_DIRECTIONALITY_BIN.cpp:934:46: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 934 | if (ix < size_x && iy < size_y && iz < size_z) { | ~~~^~~~~~~~ src/LN2_DIRECTIONALITY_BIN.cpp:184:9: warning: unused variable ‘runningidx’ [-Wunused-variable] 184 | int runningidx = 0; | ^~~~~~~~~~ src/LN2_DIRECTIONALITY_BIN.cpp:301:14: warning: unused variable ‘iix’ [-Wunused-variable] 301 | uint32_t iix, iiy, iiz; | ^~~ src/LN2_DIRECTIONALITY_BIN.cpp:301:19: warning: unused variable ‘iiy’ [-Wunused-variable] 301 | uint32_t iix, iiy, iiz; | ^~~ src/LN2_DIRECTIONALITY_BIN.cpp:301:24: warning: unused variable ‘iiz’ [-Wunused-variable] 301 | uint32_t iix, iiy, iiz; | ^~~ src/LN2_DIRECTIONALITY_BIN.cpp:364:9: warning: unused variable ‘layer_of_new_neigbor’ [-Wunused-variable] 364 | int layer_of_new_neigbor = 0; | ^~~~~~~~~~~~~~~~~~~~ src/LN2_DIRECTIONALITY_BIN.cpp:366:9: warning: unused variable ‘is_notnew_nighbor’ [-Wunused-variable] 366 | int is_notnew_nighbor = 0; | ^~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3,g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN2_GRADIENTS src/LN2_GRADIENTS.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ src/LN2_GRADIENTS.cpp: In function ‘int main(int, char**)’: src/LN2_GRADIENTS.cpp:30:10: warning: variable ‘mode_debug’ set but not used [-Wunused-but-set-variable] 30 | bool mode_debug = false, mode_merge_outputs = false, mode_normalize = false; | ^~~~~~~~~~ dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN2_GRAMAG src/LN2_GRAMAG.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz src/LN2_GRAMAG.cpp: In function ‘int main(int, char**)’: src/LN2_GRAMAG.cpp:85:20: warning: unused variable ‘nxyzt’ [-Wunused-variable] 85 | const uint64_t nxyzt = size_z * size_y * size_x * size_time; | ^~~~~ dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN2_LAPLACIAN src/LN2_LAPLACIAN.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN2_PHASE_LAPLACIAN src/LN2_PHASE_LAPLACIAN.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz src/LN2_PHASE_LAPLACIAN.cpp: In function ‘int main(int, char**)’: src/LN2_PHASE_LAPLACIAN.cpp:36:17: warning: unused variable ‘ONEPI’ [-Wunused-variable] 36 | const float ONEPI = 3.14159265358979f; | ^~~~~ dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -DHAVE_ZLIB -o LN2_PHASE_GRADIENTS src/LN2_PHASE_GRADIENTS.cpp dep/nifti2_io.cpp dep/znzlib.cpp dep/laynii_lib.cpp -I./dep -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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lm -lz src/LN2_PHASE_GRADIENTS.cpp: In function ‘int main(int, char**)’: src/LN2_PHASE_GRADIENTS.cpp:166:17: warning: unused variable ‘ONEPI’ [-Wunused-variable] 166 | const float ONEPI = 3.14159265358979f; | ^~~~~ dep/nifti2_io.cpp: In function ‘int nifti_read_extensions(nifti_image*, znzFile, int64_t)’: dep/nifti2_io.cpp:6131:23: warning: variable ‘posn’ set but not used [-Wunused-but-set-variable] 6131 | int64_t posn, count; | ^~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3718:17: warning: pointer ‘basename_38’ may be used after ‘free’ [-Wuse-after-free=] 3718 | fprintf(stderr,"Image Exception : Multiple possible filenames detected for basename (*.nii, *.nii.gz): %s\n", basename); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from dep/nifti2_io.h:9, from dep/nifti2_io.cpp:3: In function ‘fprintf’, inlined from ‘nifti_findhdrname’ at dep/nifti2_io.cpp:3718:17: /usr/include/bits/stdio2.h:111:24: warning: pointer may be used after ‘free’ [-Wuse-after-free=] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dep/nifti2_io.cpp: In function ‘nifti_findhdrname’: dep/nifti2_io.cpp:3713:11: note: call to ‘free’ here 3713 | free(basename); | ~~~~^~~~~~~~~~ dep/laynii_lib.cpp: In function ‘int ren_most_occurred_number(int*, int)’: dep/laynii_lib.cpp:143:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 143 | for (int j=i+1;jnvox; ++i) { | ~~^~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int32(nifti_image*)’: dep/laynii_lib.cpp:599:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 599 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_float16(nifti_image*)’: dep/laynii_lib.cpp:680:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 680 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int16(nifti_image*)’: dep/laynii_lib.cpp:759:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 759 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* copy_nifti_as_int8(nifti_image*)’: dep/laynii_lib.cpp:839:33: warning: self-comparison always evaluates to false [-Wtautological-compare] 839 | if (*(nii_new_data + i) != *(nii_new_data + i)) { | ~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘nifti_image* iterative_smoothing(nifti_image*, int, nifti_image*, int32_t)’: dep/laynii_lib.cpp:983:17: warning: unused variable ‘dia_xy’ [-Wunused-variable] 983 | const float dia_xy = sqrt(dX * dX + dY * dY); | ^~~~~~ dep/laynii_lib.cpp:984:17: warning: unused variable ‘dia_xz’ [-Wunused-variable] 984 | const float dia_xz = sqrt(dX * dX + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:985:17: warning: unused variable ‘dia_yz’ [-Wunused-variable] 985 | const float dia_yz = sqrt(dY * dY + dZ * dZ); | ^~~~~~ dep/laynii_lib.cpp:987:17: warning: unused variable ‘dia_xyz’ [-Wunused-variable] 987 | const float dia_xyz = sqrt(dX * dX + dY * dY + dZ * dZ); | ^~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_hessian_3D(const float*, float*, int, int, int, int, int, int, int, int)’: dep/laynii_lib.cpp:1337:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1337 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1343:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1343 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1349:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1349 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1362:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1362 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1368:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1368 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1381:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1381 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_values_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1396:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1396 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_eigen_vectors_3D(const float*, const float*, const float*, const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1452:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1452 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1453:15: warning: unused variable ‘a’ [-Wunused-variable] 1453 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1467:35: warning: unused variable ‘v1’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:39: warning: unused variable ‘v2’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1467:43: warning: unused variable ‘v3’ [-Wunused-variable] 1467 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1509:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1509 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1522:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1522 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1549:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1549 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_update_shorthessian(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1603:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1603 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp:1604:15: warning: unused variable ‘a’ [-Wunused-variable] 1604 | float a = *(data_shorthessian + i*6 + 0); // xx | ^ dep/laynii_lib.cpp:1618:35: warning: unused variable ‘v1’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:39: warning: unused variable ‘v2’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp:1618:43: warning: unused variable ‘v3’ [-Wunused-variable] 1618 | float t1, t2, m1, m2, m3, v1, v2, v3; | ^~ dep/laynii_lib.cpp: In function ‘void ln_multiply_matrix_vector_3D(const float*, float*, float*, float*, int, int, int, int)’: dep/laynii_lib.cpp:1693:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1693 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ dep/laynii_lib.cpp: In function ‘void ln_compute_divergence_3D(float*, const float*, const float*, const float*, int, int, int, int)’: dep/laynii_lib.cpp:1723:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1723 | for (uint32_t i = 0; i != data_size; ++i) { | ~~^~~~~~~~~~~~ + /usr/bin/make -O -j4 V=1 VERBOSE=1 -C ida/src LayNii_IDA make: Entering directory '/builddir/build/BUILD/laynii-2.10.0-build/LAYNII-2.10.0/ida/src' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -include cstdint -DHAVE_ZLIB -I../imgui -I../imgui/backends -I../imgui/dep -g -Wall -Wformat -Wno-error=format-security -Wno-format-zero-length `sdl2-config --cflags` -c -o main.o main.cpp make: Leaving directory '/builddir/build/BUILD/laynii-2.10.0-build/LAYNII-2.10.0/ida/src' In file included from ida_GUI.h:4, from main.cpp:24: ida_IO.h: In member function ‘void IDA_IO::FileList::loadNiftiDataTest(IDA_IO::FileInfo&)’: ida_IO.h:458:52: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 458 | printf("\r Reading chunks (%llu/%llu)... ", j+1, nr_chunks+1); fflush(stdout); | ~~~^ ~~~ | | | | | uint64_t {aka long unsigned int} | long long unsigned int | %lu ida_IO.h:458:57: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 458 | printf("\r Reading chunks (%llu/%llu)... ", j+1, nr_chunks+1); fflush(stdout); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:474:48: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 474 | printf("\r Reading chunks (%llu/%llu)... \n", nr_chunks+1, nr_chunks+1); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:474:53: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 474 | printf("\r Reading chunks (%llu/%llu)... \n", nr_chunks+1, nr_chunks+1); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:500:52: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 500 | printf("\r Reading chunks (%llu/%llu)... ", j+1, nr_chunks+1); fflush(stdout); | ~~~^ ~~~ | | | | | uint64_t {aka long unsigned int} | long long unsigned int | %lu ida_IO.h:500:57: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 500 | printf("\r Reading chunks (%llu/%llu)... ", j+1, nr_chunks+1); fflush(stdout); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:516:48: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 516 | printf("\r Reading chunks (%llu/%llu)... \n", nr_chunks+1, nr_chunks+1); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:516:53: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 516 | printf("\r Reading chunks (%llu/%llu)... \n", nr_chunks+1, nr_chunks+1); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:542:52: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 542 | printf("\r Reading chunks (%llu/%llu)... ", j+1, nr_chunks+1); fflush(stdout); | ~~~^ ~~~ | | | | | uint64_t {aka long unsigned int} | long long unsigned int | %lu ida_IO.h:542:57: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 542 | printf("\r Reading chunks (%llu/%llu)... ", j+1, nr_chunks+1); fflush(stdout); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:558:48: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 558 | printf("\r Reading chunks (%llu/%llu)... \n", nr_chunks+1, nr_chunks+1); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:558:53: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 558 | printf("\r Reading chunks (%llu/%llu)... \n", nr_chunks+1, nr_chunks+1); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:584:52: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 584 | printf("\r Reading chunks (%llu/%llu)... ", j+1, nr_chunks+1); fflush(stdout); | ~~~^ ~~~ | | | | | uint64_t {aka long unsigned int} | long long unsigned int | %lu ida_IO.h:584:57: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 584 | printf("\r Reading chunks (%llu/%llu)... ", j+1, nr_chunks+1); fflush(stdout); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:600:48: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 600 | printf("\r Reading chunks (%llu/%llu)... \n", nr_chunks+1, nr_chunks+1); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:600:53: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 600 | printf("\r Reading chunks (%llu/%llu)... \n", nr_chunks+1, nr_chunks+1); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:626:52: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 626 | printf("\r Reading chunks (%llu/%llu)... ", j+1, nr_chunks+1); fflush(stdout); | ~~~^ ~~~ | | | | | uint64_t {aka long unsigned int} | long long unsigned int | %lu ida_IO.h:626:57: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 626 | printf("\r Reading chunks (%llu/%llu)... ", j+1, nr_chunks+1); fflush(stdout); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:642:48: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 642 | printf("\r Reading chunks (%llu/%llu)... \n", nr_chunks+1, nr_chunks+1); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:642:53: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 642 | printf("\r Reading chunks (%llu/%llu)... \n", nr_chunks+1, nr_chunks+1); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:668:52: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 668 | printf("\r Reading chunks (%llu/%llu)... ", j+1, nr_chunks+1); fflush(stdout); | ~~~^ ~~~ | | | | | uint64_t {aka long unsigned int} | long long unsigned int | %lu ida_IO.h:668:57: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 668 | printf("\r Reading chunks (%llu/%llu)... ", j+1, nr_chunks+1); fflush(stdout); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:684:48: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 684 | printf("\r Reading chunks (%llu/%llu)... \n", nr_chunks+1, nr_chunks+1); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:684:53: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 684 | printf("\r Reading chunks (%llu/%llu)... \n", nr_chunks+1, nr_chunks+1); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:710:52: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 710 | printf("\r Reading chunks (%llu/%llu)... ", j+1, nr_chunks+1); fflush(stdout); | ~~~^ ~~~ | | | | | uint64_t {aka long unsigned int} | long long unsigned int | %lu ida_IO.h:710:57: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 710 | printf("\r Reading chunks (%llu/%llu)... ", j+1, nr_chunks+1); fflush(stdout); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:726:48: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 726 | printf("\r Reading chunks (%llu/%llu)... \n", nr_chunks+1, nr_chunks+1); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:726:53: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 726 | printf("\r Reading chunks (%llu/%llu)... \n", nr_chunks+1, nr_chunks+1); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:752:52: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 752 | printf("\r Reading chunks (%llu/%llu)... ", j+1, nr_chunks+1); fflush(stdout); | ~~~^ ~~~ | | | | | uint64_t {aka long unsigned int} | long long unsigned int | %lu ida_IO.h:752:57: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 752 | printf("\r Reading chunks (%llu/%llu)... ", j+1, nr_chunks+1); fflush(stdout); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:768:48: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 768 | printf("\r Reading chunks (%llu/%llu)... \n", nr_chunks+1, nr_chunks+1); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:768:53: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 768 | printf("\r Reading chunks (%llu/%llu)... \n", nr_chunks+1, nr_chunks+1); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:794:52: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 794 | printf("\r Reading chunks (%llu/%llu)... ", j+1, nr_chunks+1); fflush(stdout); | ~~~^ ~~~ | | | | | uint64_t {aka long unsigned int} | long long unsigned int | %lu ida_IO.h:794:57: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 794 | printf("\r Reading chunks (%llu/%llu)... ", j+1, nr_chunks+1); fflush(stdout); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:810:48: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 810 | printf("\r Reading chunks (%llu/%llu)... \n", nr_chunks+1, nr_chunks+1); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:810:53: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 810 | printf("\r Reading chunks (%llu/%llu)... \n", nr_chunks+1, nr_chunks+1); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:836:52: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 836 | printf("\r Reading chunks (%llu/%llu)... ", j+1, nr_chunks+1); fflush(stdout); | ~~~^ ~~~ | | | | | uint64_t {aka long unsigned int} | long long unsigned int | %lu ida_IO.h:836:57: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 836 | printf("\r Reading chunks (%llu/%llu)... ", j+1, nr_chunks+1); fflush(stdout); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:852:48: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 852 | printf("\r Reading chunks (%llu/%llu)... \n", nr_chunks+1, nr_chunks+1); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:852:53: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 852 | printf("\r Reading chunks (%llu/%llu)... \n", nr_chunks+1, nr_chunks+1); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:878:52: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 878 | printf("\r Reading chunks (%llu/%llu)... ", j+1, nr_chunks+1); fflush(stdout); | ~~~^ ~~~ | | | | | uint64_t {aka long unsigned int} | long long unsigned int | %lu ida_IO.h:878:57: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 878 | printf("\r Reading chunks (%llu/%llu)... ", j+1, nr_chunks+1); fflush(stdout); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:894:48: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 894 | printf("\r Reading chunks (%llu/%llu)... \n", nr_chunks+1, nr_chunks+1); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:894:53: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 894 | printf("\r Reading chunks (%llu/%llu)... \n", nr_chunks+1, nr_chunks+1); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h: In member function ‘void IDA_IO::FileList::loadSliceK_RGB_uint8(IDA_IO::FileInfo&)’: ida_IO.h:1390:36: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1390 | for (uint64_t i = 0; i < fi.dim_i*fi.dim_j; i++) { | ~~^~~~~~~~~~~~~~~~~~~ ida_IO.h: In member function ‘void IDA_IO::FileList::loadSliceJ_RGB_uint8(IDA_IO::FileInfo&)’: ida_IO.h:1413:36: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1413 | for (uint64_t i = 0; i < fi.dim_i*fi.dim_k; i++) { | ~~^~~~~~~~~~~~~~~~~~~ ida_IO.h: In member function ‘void IDA_IO::FileList::loadSliceI_RGB_uint8(IDA_IO::FileInfo&)’: ida_IO.h:1436:36: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1436 | for (uint64_t i = 0; i < fi.dim_j*fi.dim_k; i++) { | ~~^~~~~~~~~~~~~~~~~~~ ida_IO.h: In member function ‘void IDA_IO::FileList::computeCorrelationsForSlices_float(IDA_IO::FileInfo&)’: ida_IO.h:1639:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1639 | for (int t = 0; t < nt_chosen; ++t) { | ~~^~~~~~~~~~~ ida_IO.h:1668:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1668 | for (int t = 0; t < nt_chosen; t++) { | ~~^~~~~~~~~~~ ida_IO.h:1697:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1697 | for (int t = 0; t < nt_chosen; t++) { | ~~^~~~~~~~~~~ make: Entering directory '/builddir/build/BUILD/laynii-2.10.0-build/LAYNII-2.10.0/ida/src' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -include cstdint -DHAVE_ZLIB -I../imgui -I../imgui/backends -I../imgui/dep -g -Wall -Wformat -Wno-error=format-security -Wno-format-zero-length `sdl2-config --cflags` -c -o imgui_demo.o ../imgui/imgui_demo.cpp make: Leaving directory '/builddir/build/BUILD/laynii-2.10.0-build/LAYNII-2.10.0/ida/src' make: Entering directory '/builddir/build/BUILD/laynii-2.10.0-build/LAYNII-2.10.0/ida/src' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -include cstdint -DHAVE_ZLIB -I../imgui -I../imgui/backends -I../imgui/dep -g -Wall -Wformat -Wno-error=format-security -Wno-format-zero-length `sdl2-config --cflags` -c -o imgui_tables.o ../imgui/imgui_tables.cpp make: Leaving directory '/builddir/build/BUILD/laynii-2.10.0-build/LAYNII-2.10.0/ida/src' make: Entering directory '/builddir/build/BUILD/laynii-2.10.0-build/LAYNII-2.10.0/ida/src' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -include cstdint -DHAVE_ZLIB -I../imgui -I../imgui/backends -I../imgui/dep -g -Wall -Wformat -Wno-error=format-security -Wno-format-zero-length `sdl2-config --cflags` -c -o imgui_draw.o ../imgui/imgui_draw.cpp make: Leaving directory '/builddir/build/BUILD/laynii-2.10.0-build/LAYNII-2.10.0/ida/src' make: Entering directory '/builddir/build/BUILD/laynii-2.10.0-build/LAYNII-2.10.0/ida/src' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -include cstdint -DHAVE_ZLIB -I../imgui -I../imgui/backends -I../imgui/dep -g -Wall -Wformat -Wno-error=format-security -Wno-format-zero-length `sdl2-config --cflags` -c -o imgui_impl_sdl2.o ../imgui/backends/imgui_impl_sdl2.cpp make: Leaving directory '/builddir/build/BUILD/laynii-2.10.0-build/LAYNII-2.10.0/ida/src' make: Entering directory '/builddir/build/BUILD/laynii-2.10.0-build/LAYNII-2.10.0/ida/src' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -include cstdint -DHAVE_ZLIB -I../imgui -I../imgui/backends -I../imgui/dep -g -Wall -Wformat -Wno-error=format-security -Wno-format-zero-length `sdl2-config --cflags` -c -o imgui_impl_opengl3.o ../imgui/backends/imgui_impl_opengl3.cpp make: Leaving directory '/builddir/build/BUILD/laynii-2.10.0-build/LAYNII-2.10.0/ida/src' make: Entering directory '/builddir/build/BUILD/laynii-2.10.0-build/LAYNII-2.10.0/ida/src' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -include cstdint -DHAVE_ZLIB -I../imgui -I../imgui/backends -I../imgui/dep -g -Wall -Wformat -Wno-error=format-security -Wno-format-zero-length `sdl2-config --cflags` -c -o znzlib.o ../../dep/znzlib.cpp make: Leaving directory '/builddir/build/BUILD/laynii-2.10.0-build/LAYNII-2.10.0/ida/src' make: Entering directory '/builddir/build/BUILD/laynii-2.10.0-build/LAYNII-2.10.0/ida/src' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -include cstdint -DHAVE_ZLIB -I../imgui -I../imgui/backends -I../imgui/dep -g -Wall -Wformat -Wno-error=format-security -Wno-format-zero-length `sdl2-config --cflags` -c -o idalib.o ../dep/idalib.cpp make: Leaving directory '/builddir/build/BUILD/laynii-2.10.0-build/LAYNII-2.10.0/ida/src' make: Entering directory '/builddir/build/BUILD/laynii-2.10.0-build/LAYNII-2.10.0/ida/src' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -include cstdint -DHAVE_ZLIB -I../imgui -I../imgui/backends -I../imgui/dep -g -Wall -Wformat -Wno-error=format-security -Wno-format-zero-length `sdl2-config --cflags` -c -o ida_GUI.o ida_GUI.cpp make: Leaving directory '/builddir/build/BUILD/laynii-2.10.0-build/LAYNII-2.10.0/ida/src' In file included from ida_GUI.h:4, from ida_GUI.cpp:1: ida_IO.h: In member function ‘void IDA_IO::FileList::loadNiftiDataTest(IDA_IO::FileInfo&)’: ida_IO.h:458:52: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 458 | printf("\r Reading chunks (%llu/%llu)... ", j+1, nr_chunks+1); fflush(stdout); | ~~~^ ~~~ | | | | | uint64_t {aka long unsigned int} | long long unsigned int | %lu ida_IO.h:458:57: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 458 | printf("\r Reading chunks (%llu/%llu)... ", j+1, nr_chunks+1); fflush(stdout); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:474:48: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 474 | printf("\r Reading chunks (%llu/%llu)... \n", nr_chunks+1, nr_chunks+1); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:474:53: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 474 | printf("\r Reading chunks (%llu/%llu)... \n", nr_chunks+1, nr_chunks+1); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:500:52: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 500 | printf("\r Reading chunks (%llu/%llu)... ", j+1, nr_chunks+1); fflush(stdout); | ~~~^ ~~~ | | | | | uint64_t {aka long unsigned int} | long long unsigned int | %lu ida_IO.h:500:57: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 500 | printf("\r Reading chunks (%llu/%llu)... ", j+1, nr_chunks+1); fflush(stdout); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:516:48: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 516 | printf("\r Reading chunks (%llu/%llu)... \n", nr_chunks+1, nr_chunks+1); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:516:53: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 516 | printf("\r Reading chunks (%llu/%llu)... \n", nr_chunks+1, nr_chunks+1); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:542:52: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 542 | printf("\r Reading chunks (%llu/%llu)... ", j+1, nr_chunks+1); fflush(stdout); | ~~~^ ~~~ | | | | | uint64_t {aka long unsigned int} | long long unsigned int | %lu ida_IO.h:542:57: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 542 | printf("\r Reading chunks (%llu/%llu)... ", j+1, nr_chunks+1); fflush(stdout); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:558:48: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 558 | printf("\r Reading chunks (%llu/%llu)... \n", nr_chunks+1, nr_chunks+1); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:558:53: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 558 | printf("\r Reading chunks (%llu/%llu)... \n", nr_chunks+1, nr_chunks+1); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:584:52: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 584 | printf("\r Reading chunks (%llu/%llu)... ", j+1, nr_chunks+1); fflush(stdout); | ~~~^ ~~~ | | | | | uint64_t {aka long unsigned int} | long long unsigned int | %lu ida_IO.h:584:57: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 584 | printf("\r Reading chunks (%llu/%llu)... ", j+1, nr_chunks+1); fflush(stdout); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:600:48: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 600 | printf("\r Reading chunks (%llu/%llu)... \n", nr_chunks+1, nr_chunks+1); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:600:53: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 600 | printf("\r Reading chunks (%llu/%llu)... \n", nr_chunks+1, nr_chunks+1); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:626:52: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 626 | printf("\r Reading chunks (%llu/%llu)... ", j+1, nr_chunks+1); fflush(stdout); | ~~~^ ~~~ | | | | | uint64_t {aka long unsigned int} | long long unsigned int | %lu ida_IO.h:626:57: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 626 | printf("\r Reading chunks (%llu/%llu)... ", j+1, nr_chunks+1); fflush(stdout); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:642:48: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 642 | printf("\r Reading chunks (%llu/%llu)... \n", nr_chunks+1, nr_chunks+1); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:642:53: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 642 | printf("\r Reading chunks (%llu/%llu)... \n", nr_chunks+1, nr_chunks+1); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:668:52: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 668 | printf("\r Reading chunks (%llu/%llu)... ", j+1, nr_chunks+1); fflush(stdout); | ~~~^ ~~~ | | | | | uint64_t {aka long unsigned int} | long long unsigned int | %lu ida_IO.h:668:57: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 668 | printf("\r Reading chunks (%llu/%llu)... ", j+1, nr_chunks+1); fflush(stdout); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:684:48: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 684 | printf("\r Reading chunks (%llu/%llu)... \n", nr_chunks+1, nr_chunks+1); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:684:53: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 684 | printf("\r Reading chunks (%llu/%llu)... \n", nr_chunks+1, nr_chunks+1); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:710:52: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 710 | printf("\r Reading chunks (%llu/%llu)... ", j+1, nr_chunks+1); fflush(stdout); | ~~~^ ~~~ | | | | | uint64_t {aka long unsigned int} | long long unsigned int | %lu ida_IO.h:710:57: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 710 | printf("\r Reading chunks (%llu/%llu)... ", j+1, nr_chunks+1); fflush(stdout); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:726:48: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 726 | printf("\r Reading chunks (%llu/%llu)... \n", nr_chunks+1, nr_chunks+1); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:726:53: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 726 | printf("\r Reading chunks (%llu/%llu)... \n", nr_chunks+1, nr_chunks+1); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:752:52: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 752 | printf("\r Reading chunks (%llu/%llu)... ", j+1, nr_chunks+1); fflush(stdout); | ~~~^ ~~~ | | | | | uint64_t {aka long unsigned int} | long long unsigned int | %lu ida_IO.h:752:57: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 752 | printf("\r Reading chunks (%llu/%llu)... ", j+1, nr_chunks+1); fflush(stdout); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:768:48: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 768 | printf("\r Reading chunks (%llu/%llu)... \n", nr_chunks+1, nr_chunks+1); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:768:53: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 768 | printf("\r Reading chunks (%llu/%llu)... \n", nr_chunks+1, nr_chunks+1); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:794:52: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 794 | printf("\r Reading chunks (%llu/%llu)... ", j+1, nr_chunks+1); fflush(stdout); | ~~~^ ~~~ | | | | | uint64_t {aka long unsigned int} | long long unsigned int | %lu ida_IO.h:794:57: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 794 | printf("\r Reading chunks (%llu/%llu)... ", j+1, nr_chunks+1); fflush(stdout); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:810:48: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 810 | printf("\r Reading chunks (%llu/%llu)... \n", nr_chunks+1, nr_chunks+1); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:810:53: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 810 | printf("\r Reading chunks (%llu/%llu)... \n", nr_chunks+1, nr_chunks+1); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:836:52: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 836 | printf("\r Reading chunks (%llu/%llu)... ", j+1, nr_chunks+1); fflush(stdout); | ~~~^ ~~~ | | | | | uint64_t {aka long unsigned int} | long long unsigned int | %lu ida_IO.h:836:57: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 836 | printf("\r Reading chunks (%llu/%llu)... ", j+1, nr_chunks+1); fflush(stdout); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:852:48: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 852 | printf("\r Reading chunks (%llu/%llu)... \n", nr_chunks+1, nr_chunks+1); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:852:53: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 852 | printf("\r Reading chunks (%llu/%llu)... \n", nr_chunks+1, nr_chunks+1); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:878:52: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 878 | printf("\r Reading chunks (%llu/%llu)... ", j+1, nr_chunks+1); fflush(stdout); | ~~~^ ~~~ | | | | | uint64_t {aka long unsigned int} | long long unsigned int | %lu ida_IO.h:878:57: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 878 | printf("\r Reading chunks (%llu/%llu)... ", j+1, nr_chunks+1); fflush(stdout); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:894:48: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 894 | printf("\r Reading chunks (%llu/%llu)... \n", nr_chunks+1, nr_chunks+1); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h:894:53: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 894 | printf("\r Reading chunks (%llu/%llu)... \n", nr_chunks+1, nr_chunks+1); | ~~~^ ~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_IO.h: In member function ‘void IDA_IO::FileList::loadSliceK_RGB_uint8(IDA_IO::FileInfo&)’: ida_IO.h:1390:36: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1390 | for (uint64_t i = 0; i < fi.dim_i*fi.dim_j; i++) { | ~~^~~~~~~~~~~~~~~~~~~ ida_IO.h: In member function ‘void IDA_IO::FileList::loadSliceJ_RGB_uint8(IDA_IO::FileInfo&)’: ida_IO.h:1413:36: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1413 | for (uint64_t i = 0; i < fi.dim_i*fi.dim_k; i++) { | ~~^~~~~~~~~~~~~~~~~~~ ida_IO.h: In member function ‘void IDA_IO::FileList::loadSliceI_RGB_uint8(IDA_IO::FileInfo&)’: ida_IO.h:1436:36: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1436 | for (uint64_t i = 0; i < fi.dim_j*fi.dim_k; i++) { | ~~^~~~~~~~~~~~~~~~~~~ ida_IO.h: In member function ‘void IDA_IO::FileList::computeCorrelationsForSlices_float(IDA_IO::FileInfo&)’: ida_IO.h:1639:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1639 | for (int t = 0; t < nt_chosen; ++t) { | ~~^~~~~~~~~~~ ida_IO.h:1668:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1668 | for (int t = 0; t < nt_chosen; t++) { | ~~^~~~~~~~~~~ ida_IO.h:1697:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1697 | for (int t = 0; t < nt_chosen; t++) { | ~~^~~~~~~~~~~ In file included from ida_GUI.cpp:2: ida_GUI_slices.h: In function ‘void RenderVoxelInspector(IDA_IO::FileInfo&, int, ImVec2, int&, bool&, bool&, bool&, bool&)’: ida_GUI_slices.h:189:38: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 189 | ImGui::Text("Index : [%llu i, %llu j, %llu k, %llu t]", fi.voxel_i, fi.voxel_j, fi.voxel_k, fi.voxel_t); | ~~~^ ~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_GUI_slices.h:189:46: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 189 | ImGui::Text("Index : [%llu i, %llu j, %llu k, %llu t]", fi.voxel_i, fi.voxel_j, fi.voxel_k, fi.voxel_t); | ~~~^ ~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_GUI_slices.h:189:54: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 189 | ImGui::Text("Index : [%llu i, %llu j, %llu k, %llu t]", fi.voxel_i, fi.voxel_j, fi.voxel_k, fi.voxel_t); | ~~~^ ~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_GUI_slices.h:189:62: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 5 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 189 | ImGui::Text("Index : [%llu i, %llu j, %llu k, %llu t]", fi.voxel_i, fi.voxel_j, fi.voxel_k, fi.voxel_t); | ~~~^ ~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu ida_GUI_slices.h: In function ‘void RenderSlice(int&, int&, int&, float, float, float&, float&, float&, int&, int&, int&, int&, int&, bool&, bool&, bool&, bool&, bool&, bool&, bool&, GLuint&, GLuint&, int, IDA_IO::FileInfo&)’: ida_GUI_slices.h:327:52: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare] 327 | if ( slice_window == 3 && fi.display_k == fi.tc_focus_voxel_k ) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ida_GUI_slices.h:338:59: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare] 338 | } else if ( slice_window == 2 && fi.display_j == fi.tc_focus_voxel_j ) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ida_GUI_slices.h:349:59: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare] 349 | } else if ( slice_window == 1 && fi.display_i == fi.tc_focus_voxel_i ) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ida_GUI_slices.h:371:52: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare] 371 | if ( slice_window == 3 && fi.display_k == fi.tc_refer_voxel_k ) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ida_GUI_slices.h:382:59: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare] 382 | } else if ( slice_window == 2 && fi.display_j == fi.tc_refer_voxel_j ) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ida_GUI_slices.h:393:59: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare] 393 | } else if ( slice_window == 1 && fi.display_i == fi.tc_refer_voxel_i ) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ida_GUI.cpp: In function ‘void IDA::RenderUI(bool&, bool&, IDA_IO::FileList&)’: ida_GUI.cpp:285:64: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 285 | ImGui::Text(" Nr. voxels (Nx × Ny × Nz × Nt) : %llu", fl.files[sf].nr_voxels * fl.files[sf].dim_t); | ~~~^ | | | long long unsigned int | %lu ida_GUI_slices.h: In function ‘RenderVoxelInspector(IDA_IO::FileInfo&, int, ImVec2, int&, bool&, bool&, bool&, bool&)’: ida_GUI_slices.h:166:32: warning: ‘value_QA’ may be used uninitialized [-Wmaybe-uninitialized] 166 | ImGui::Text("tMean = %.3f", value_QA); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ida_GUI_slices.h:153:23: note: ‘value_QA’ was declared here 153 | float value_QA; | ^~~~~~~~ In member function ‘IDA::RenderUI(bool&, bool&, IDA_IO::FileList&)::{lambda(int, float*)#5}::operator()(int, float*) const’, inlined from ‘IDA::RenderUI(bool&, bool&, IDA_IO::FileList&)’ at ida_GUI.cpp:612:61: ida_GUI.cpp:607:60: warning: ‘min_y’ may be used uninitialized [-Wmaybe-uninitialized] 607 | float y = pos.y + (1.0f - (data[i] - min_y) / (max_y - min_y)) * plot_size.y; | ~~~~~~~~~^~~~~~~~ ida_GUI.cpp: In function ‘IDA::RenderUI(bool&, bool&, IDA_IO::FileList&)’: ida_GUI.cpp:501:19: note: ‘min_y’ was declared here 501 | float min_y, max_y; | ^~~~~ In member function ‘IDA::RenderUI(bool&, bool&, IDA_IO::FileList&)::{lambda(int, float*)#5}::operator()(int, float*) const’, inlined from ‘IDA::RenderUI(bool&, bool&, IDA_IO::FileList&)’ at ida_GUI.cpp:613:61: ida_GUI.cpp:607:78: warning: ‘max_y’ may be used uninitialized [-Wmaybe-uninitialized] 607 | float y = pos.y + (1.0f - (data[i] - min_y) / (max_y - min_y)) * plot_size.y; | ~~~~~~~^~~~~~~~ ida_GUI.cpp: In function ‘IDA::RenderUI(bool&, bool&, IDA_IO::FileList&)’: ida_GUI.cpp:501:26: note: ‘max_y’ was declared here 501 | float min_y, max_y; | ^~~~~ make: Entering directory '/builddir/build/BUILD/laynii-2.10.0-build/LAYNII-2.10.0/ida/src' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -include cstdint -DHAVE_ZLIB -I../imgui -I../imgui/backends -I../imgui/dep -g -Wall -Wformat -Wno-error=format-security -Wno-format-zero-length `sdl2-config --cflags` -c -o imgui_widgets.o ../imgui/imgui_widgets.cpp make: Leaving directory '/builddir/build/BUILD/laynii-2.10.0-build/LAYNII-2.10.0/ida/src' make: Entering directory '/builddir/build/BUILD/laynii-2.10.0-build/LAYNII-2.10.0/ida/src' g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -include cstdint -DHAVE_ZLIB -I../imgui -I../imgui/backends -I../imgui/dep -g -Wall -Wformat -Wno-error=format-security -Wno-format-zero-length `sdl2-config --cflags` -c -o imgui.o ../imgui/imgui.cpp make: Leaving directory '/builddir/build/BUILD/laynii-2.10.0-build/LAYNII-2.10.0/ida/src' ../imgui/imgui.cpp: In function ‘void FormatTextureIDForDebugDisplay(char*, int, ImTextureID)’: ../imgui/imgui.cpp:20256:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 20256 | ImFormatString(buf, buf_size, "0x%p", (void*)*(intptr_t*)(void*)&tex_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../imgui/imgui.cpp:20258:50: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 20258 | ImFormatString(buf, buf_size, "0x%04X", *(int*)(void*)&tex_id); | ^~~~~~~~~~~~~~~~~~~~ make: Entering directory '/builddir/build/BUILD/laynii-2.10.0-build/LAYNII-2.10.0/ida/src' g++ -o LayNii_IDA main.o imgui.o imgui_demo.o imgui_draw.o imgui_tables.o imgui_widgets.o imgui_impl_sdl2.o imgui_impl_opengl3.o znzlib.o idalib.o ida_GUI.o -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++11 -include cstdint -DHAVE_ZLIB -I../imgui -I../imgui/backends -I../imgui/dep -g -Wall -Wformat -Wno-error=format-security -Wno-format-zero-length `sdl2-config --cflags` -lz -lGL -ldl `sdl2-config --libs` make: Leaving directory '/builddir/build/BUILD/laynii-2.10.0-build/LAYNII-2.10.0/ida/src' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Z8KvOG + umask 022 + cd /builddir/build/BUILD/laynii-2.10.0-build + '[' /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT ++ dirname /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT + mkdir -p /builddir/build/BUILD/laynii-2.10.0-build + mkdir /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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-hardened-ld-errors -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 LAYNII-2.10.0 + mkdir -p /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin + for bin in LN_* LN2_* + '[' -f LN_3DCOLUMNS ']' + '[' -x LN_3DCOLUMNS ']' + install -p -m 0755 LN_3DCOLUMNS /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN_BOCO ']' + '[' -x LN_BOCO ']' + install -p -m 0755 LN_BOCO /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN_COLUMNAR_DIST ']' + '[' -x LN_COLUMNAR_DIST ']' + install -p -m 0755 LN_COLUMNAR_DIST /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN_CONLAY ']' + '[' -x LN_CONLAY ']' + install -p -m 0755 LN_CONLAY /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN_CORREL2FILES ']' + '[' -x LN_CORREL2FILES ']' + install -p -m 0755 LN_CORREL2FILES /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN_DIRECT_SMOOTH ']' + '[' -x LN_DIRECT_SMOOTH ']' + install -p -m 0755 LN_DIRECT_SMOOTH /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN_EXTREMETR ']' + '[' -x LN_EXTREMETR ']' + install -p -m 0755 LN_EXTREMETR /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN_FLOAT_ME ']' + '[' -x LN_FLOAT_ME ']' + install -p -m 0755 LN_FLOAT_ME /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN_GFACTOR ']' + '[' -x LN_GFACTOR ']' + install -p -m 0755 LN_GFACTOR /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN_GRADSMOOTH ']' + '[' -x LN_GRADSMOOTH ']' + install -p -m 0755 LN_GRADSMOOTH /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN_GROW_LAYERS ']' + '[' -x LN_GROW_LAYERS ']' + install -p -m 0755 LN_GROW_LAYERS /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN_IMAGIRO ']' + '[' -x LN_IMAGIRO ']' + install -p -m 0755 LN_IMAGIRO /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN_INFO ']' + '[' -x LN_INFO ']' + install -p -m 0755 LN_INFO /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN_INTPRO ']' + '[' -x LN_INTPRO ']' + install -p -m 0755 LN_INTPRO /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN_INT_ME ']' + '[' -x LN_INT_ME ']' + install -p -m 0755 LN_INT_ME /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN_LAYER_SMOOTH ']' + '[' -x LN_LAYER_SMOOTH ']' + install -p -m 0755 LN_LAYER_SMOOTH /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN_LEAKY_LAYERS ']' + '[' -x LN_LEAKY_LAYERS ']' + install -p -m 0755 LN_LEAKY_LAYERS /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN_LOITUMA ']' + '[' -x LN_LOITUMA ']' + install -p -m 0755 LN_LOITUMA /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN_MP2RAGE_DNOISE ']' + '[' -x LN_MP2RAGE_DNOISE ']' + install -p -m 0755 LN_MP2RAGE_DNOISE /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN_NOISEME ']' + '[' -x LN_NOISEME ']' + install -p -m 0755 LN_NOISEME /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN_NOISE_KERNEL ']' + '[' -x LN_NOISE_KERNEL ']' + install -p -m 0755 LN_NOISE_KERNEL /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN_PHYSIO_PARS ']' + '[' -x LN_PHYSIO_PARS ']' + install -p -m 0755 LN_PHYSIO_PARS /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN_RAGRUG ']' + '[' -x LN_RAGRUG ']' + install -p -m 0755 LN_RAGRUG /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN_SHORT_ME ']' + '[' -x LN_SHORT_ME ']' + install -p -m 0755 LN_SHORT_ME /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN_SKEW ']' + '[' -x LN_SKEW ']' + install -p -m 0755 LN_SKEW /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN_TEMPSMOOTH ']' + '[' -x LN_TEMPSMOOTH ']' + install -p -m 0755 LN_TEMPSMOOTH /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN_TRIAL ']' + '[' -x LN_TRIAL ']' + install -p -m 0755 LN_TRIAL /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN_ZOOM ']' + '[' -x LN_ZOOM ']' + install -p -m 0755 LN_ZOOM /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN2_BORDERIZE ']' + '[' -x LN2_BORDERIZE ']' + install -p -m 0755 LN2_BORDERIZE /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN2_CHOLMO ']' + '[' -x LN2_CHOLMO ']' + install -p -m 0755 LN2_CHOLMO /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN2_COLUMNS ']' + '[' -x LN2_COLUMNS ']' + install -p -m 0755 LN2_COLUMNS /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN2_CONNECTED_CLUSTERS ']' + '[' -x LN2_CONNECTED_CLUSTERS ']' + install -p -m 0755 LN2_CONNECTED_CLUSTERS /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN2_DESPIKE ']' + '[' -x LN2_DESPIKE ']' + install -p -m 0755 LN2_DESPIKE /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN2_DEVEIN ']' + '[' -x LN2_DEVEIN ']' + install -p -m 0755 LN2_DEVEIN /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN2_DIRECTIONALITY_BIN ']' + '[' -x LN2_DIRECTIONALITY_BIN ']' + install -p -m 0755 LN2_DIRECTIONALITY_BIN /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN2_FRISGO ']' + '[' -x LN2_FRISGO ']' + install -p -m 0755 LN2_FRISGO /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN2_GEODISTANCE ']' + '[' -x LN2_GEODISTANCE ']' + install -p -m 0755 LN2_GEODISTANCE /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN2_GRADIENTS ']' + '[' -x LN2_GRADIENTS ']' + install -p -m 0755 LN2_GRADIENTS /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN2_GRAMAG ']' + '[' -x LN2_GRAMAG ']' + install -p -m 0755 LN2_GRAMAG /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN2_HEXBIN ']' + '[' -x LN2_HEXBIN ']' + install -p -m 0755 LN2_HEXBIN /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN2_IFPOINTS ']' + '[' -x LN2_IFPOINTS ']' + install -p -m 0755 LN2_IFPOINTS /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN2_INTPRO ']' + '[' -x LN2_INTPRO ']' + install -p -m 0755 LN2_INTPRO /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN2_LAPLACIAN ']' + '[' -x LN2_LAPLACIAN ']' + install -p -m 0755 LN2_LAPLACIAN /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN2_LAYERDIMENSION ']' + '[' -x LN2_LAYERDIMENSION ']' + install -p -m 0755 LN2_LAYERDIMENSION /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN2_LAYERS ']' + '[' -x LN2_LAYERS ']' + install -p -m 0755 LN2_LAYERS /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN2_LAYER_SMOOTH ']' + '[' -x LN2_LAYER_SMOOTH ']' + install -p -m 0755 LN2_LAYER_SMOOTH /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN2_MASK ']' + '[' -x LN2_MASK ']' + install -p -m 0755 LN2_MASK /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN2_MULTILATERATE ']' + '[' -x LN2_MULTILATERATE ']' + install -p -m 0755 LN2_MULTILATERATE /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN2_NEIGHBORS ']' + '[' -x LN2_NEIGHBORS ']' + install -p -m 0755 LN2_NEIGHBORS /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN2_PATCH_FLATTEN ']' + '[' -x LN2_PATCH_FLATTEN ']' + install -p -m 0755 LN2_PATCH_FLATTEN /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN2_PATCH_FLATTEN_2D ']' + '[' -x LN2_PATCH_FLATTEN_2D ']' + install -p -m 0755 LN2_PATCH_FLATTEN_2D /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN2_PATCH_UNFLATTEN ']' + '[' -x LN2_PATCH_UNFLATTEN ']' + install -p -m 0755 LN2_PATCH_UNFLATTEN /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN2_PHASE_GRADIENTS ']' + '[' -x LN2_PHASE_GRADIENTS ']' + install -p -m 0755 LN2_PHASE_GRADIENTS /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN2_PHASE_JOLT ']' + '[' -x LN2_PHASE_JOLT ']' + install -p -m 0755 LN2_PHASE_JOLT /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN2_PHASE_LAPLACIAN ']' + '[' -x LN2_PHASE_LAPLACIAN ']' + install -p -m 0755 LN2_PHASE_LAPLACIAN /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN2_PROFILE ']' + '[' -x LN2_PROFILE ']' + install -p -m 0755 LN2_PROFILE /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN2_RECIPROCAL ']' + '[' -x LN2_RECIPROCAL ']' + install -p -m 0755 LN2_RECIPROCAL /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN2_RIMIFY ']' + '[' -x LN2_RIMIFY ']' + install -p -m 0755 LN2_RIMIFY /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN2_RIM_BORDERIZE ']' + '[' -x LN2_RIM_BORDERIZE ']' + install -p -m 0755 LN2_RIM_BORDERIZE /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN2_RIM_POLISH ']' + '[' -x LN2_RIM_POLISH ']' + install -p -m 0755 LN2_RIM_POLISH /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN2_SENSITIVITY ']' + '[' -x LN2_SENSITIVITY ']' + install -p -m 0755 LN2_SENSITIVITY /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN2_SNAPCAST ']' + '[' -x LN2_SNAPCAST ']' + install -p -m 0755 LN2_SNAPCAST /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN2_SPECIFICITY ']' + '[' -x LN2_SPECIFICITY ']' + install -p -m 0755 LN2_SPECIFICITY /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN2_UVD_FILTER ']' + '[' -x LN2_UVD_FILTER ']' + install -p -m 0755 LN2_UVD_FILTER /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN2_VORONOI ']' + '[' -x LN2_VORONOI ']' + install -p -m 0755 LN2_VORONOI /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN2_ZERO_CROSSING ']' + '[' -x LN2_ZERO_CROSSING ']' + install -p -m 0755 LN2_ZERO_CROSSING /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + for bin in LN_* LN2_* + '[' -f LN2_ZSCORE ']' + '[' -x LN2_ZSCORE ']' + install -p -m 0755 LN2_ZSCORE /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + install -p -m 0755 ida/src/LayNii_IDA /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/bin/ + mkdir -p /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/share/applications + desktop-file-install --dir=/builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/share/applications laynii-ida.desktop + mkdir -p /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/share/icons/hicolor/scalable/apps + install -p -m 0644 visuals/LayNii_logo.svg /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/share/icons/hicolor/scalable/apps/laynii.svg + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 2.10.0-2.fc43 --unique-debug-suffix -2.10.0-2.fc43.x86_64 --unique-debug-src-base laynii-2.10.0-2.fc43.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 --remove-section .gnu.build.attributes -S debugsourcefiles.list /builddir/build/BUILD/laynii-2.10.0-build/LAYNII-2.10.0 find-debuginfo: starting Extracting debug info from 68 files DWARF-compressing 68 files sepdebugcrcfix: Updated 68 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/laynii-2.10.0-2.fc43.x86_64 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/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs *** WARNING: ./usr/src/debug/laynii-2.10.0-2.fc43.x86_64/src/LN_ZOOM.cpp is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/laynii-2.10.0-2.fc43.x86_64/src/LN_TRIAL.cpp is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/laynii-2.10.0-2.fc43.x86_64/src/LN_SKEW.cpp is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/laynii-2.10.0-2.fc43.x86_64/src/LN_NOISE_KERNEL.cpp is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/laynii-2.10.0-2.fc43.x86_64/src/LN_NOISEME.cpp is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/laynii-2.10.0-2.fc43.x86_64/src/LN_MP2RAGE_DNOISE.cpp is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/laynii-2.10.0-2.fc43.x86_64/src/LN_LOITUMA.cpp is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/laynii-2.10.0-2.fc43.x86_64/src/LN_LEAKY_LAYERS.cpp is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/laynii-2.10.0-2.fc43.x86_64/src/LN_LAYER_SMOOTH.cpp is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/laynii-2.10.0-2.fc43.x86_64/src/LN_INTPRO.cpp is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/laynii-2.10.0-2.fc43.x86_64/src/LN_GROW_LAYERS.cpp is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/laynii-2.10.0-2.fc43.x86_64/src/LN_GRADSMOOTH.cpp is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/laynii-2.10.0-2.fc43.x86_64/src/LN_GFACTOR.cpp is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/laynii-2.10.0-2.fc43.x86_64/src/LN_EXTREMETR.cpp is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/laynii-2.10.0-2.fc43.x86_64/src/LN_CORREL2FILES.cpp is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/laynii-2.10.0-2.fc43.x86_64/src/LN_CONLAY.cpp is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/laynii-2.10.0-2.fc43.x86_64/src/LN_BOCO.cpp is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/laynii-2.10.0-2.fc43.x86_64/src/LN2_DIRECTIONALITY_BIN.cpp is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/laynii-2.10.0-2.fc43.x86_64/dep/nifti2_io.cpp is executable but has no shebang, removing executable bit + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-rpm-in-distinfo + 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/laynii-2.10.0-build/BUILDROOT Scanned 24 directories and 237 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/laynii-2.10.0-build/SPECPARTS/rpm-debuginfo.specpart Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.gKk2Z5 + umask 022 + cd /builddir/build/BUILD/laynii-2.10.0-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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-hardened-ld-errors -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 LAYNII-2.10.0 + desktop-file-validate /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/share/applications/laynii-ida.desktop + RPM_EC=0 ++ jobs -p + exit 0 Processing files: laynii-2.10.0-2.fc43.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.fYyUP9 + umask 022 + cd /builddir/build/BUILD/laynii-2.10.0-build + cd LAYNII-2.10.0 + DOCDIR=/builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/share/doc/laynii + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/share/doc/laynii + cp -pr /builddir/build/BUILD/laynii-2.10.0-build/LAYNII-2.10.0/README.md /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/share/doc/laynii + cp -pr /builddir/build/BUILD/laynii-2.10.0-build/LAYNII-2.10.0/CONTRIBUTING.md /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/share/doc/laynii + cp -pr /builddir/build/BUILD/laynii-2.10.0-build/LAYNII-2.10.0/CITATION.cff /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/share/doc/laynii + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.8xdqWy + umask 022 + cd /builddir/build/BUILD/laynii-2.10.0-build + cd LAYNII-2.10.0 + LICENSEDIR=/builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/share/licenses/laynii + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/share/licenses/laynii + cp -pr /builddir/build/BUILD/laynii-2.10.0-build/LAYNII-2.10.0/LICENSE /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/share/licenses/laynii + RPM_EC=0 ++ jobs -p + exit 0 Provides: laynii = 2.10.0-2.fc43 laynii(x86-64) = 2.10.0-2.fc43 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.29)(64bit) libm.so.6(GLIBC_2.38)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.32)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: laynii-ida-2.10.0-2.fc43.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.OLKePw + umask 022 + cd /builddir/build/BUILD/laynii-2.10.0-build + cd LAYNII-2.10.0 + LICENSEDIR=/builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/share/licenses/laynii-ida + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/share/licenses/laynii-ida + cp -pr /builddir/build/BUILD/laynii-2.10.0-build/LAYNII-2.10.0/LICENSE /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT/usr/share/licenses/laynii-ida + RPM_EC=0 ++ jobs -p + exit 0 Provides: application() application(laynii-ida.desktop) bundled(imgui) = 1.90.1 laynii-ida = 2.10.0-2.fc43 laynii-ida(x86-64) = 2.10.0-2.fc43 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libGL.so.1()(64bit) libSDL2-2.0.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.27)(64bit) libm.so.6(GLIBC_2.29)(64bit) libm.so.6(GLIBC_2.38)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.32)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: laynii-debugsource-2.10.0-2.fc43.x86_64 Provides: laynii-debugsource = 2.10.0-2.fc43 laynii-debugsource(x86-64) = 2.10.0-2.fc43 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: laynii-debuginfo-2.10.0-2.fc43.x86_64 Provides: debuginfo(build-id) = 01cb58bfe6a2541f23f3d20b346c1e420ddb5055 debuginfo(build-id) = 05021c2ffcf38881b83fb391a48ddf3519b3e09b debuginfo(build-id) = 09b50b56fa5e2c81477206b754520464afc1cfa1 debuginfo(build-id) = 0be3b358cbed90476125cc9154eb15bd54ded0de debuginfo(build-id) = 11f8fe8bcad98fc216e5e0dd9e78af49b45f1976 debuginfo(build-id) = 13ded63abb2d21dc41b64f1731cde745b1c5d4b6 debuginfo(build-id) = 1e1a27f67f33d4770e6bc1dfda86e96816e6f716 debuginfo(build-id) = 1fb9c20fa97df6562f0aa9bd3462e5590fa8be42 debuginfo(build-id) = 2125d56cd8598ad6695e142111b458b44a1dbbb5 debuginfo(build-id) = 22c99a37c559553ca73754f4d8ec85a40bc702a2 debuginfo(build-id) = 2418166512944766d0a97e3df7756b093b6e866b debuginfo(build-id) = 248204eefc5a896c148bddfce863acd29b31579d debuginfo(build-id) = 257fbc862c37b612a7f6a5449268543d9940d7af debuginfo(build-id) = 278ae67ed49341eaa5166135e9687e1e4ad21222 debuginfo(build-id) = 2a421d477969bd37b72fc1025fad013872443705 debuginfo(build-id) = 2b29a366a133b403eb9f23787e2d59b6e6da3e4d debuginfo(build-id) = 2fa84c014002246ec459591cf002373ebc01e061 debuginfo(build-id) = 31993eb8786ecbe508fc37ad99673949de421b7d debuginfo(build-id) = 366700821a060ffeef8b297a721ec0508bc4cc5c debuginfo(build-id) = 383ce4f95bfaea0450c5b7a0304f3dc6d2edce25 debuginfo(build-id) = 3d3e9e7e6e38e04fbb2e84cf27889eb79ab8c6c5 debuginfo(build-id) = 42f70dfbadfa05f980cb7fbfb558f92d9b6b2598 debuginfo(build-id) = 45f02346252c0099118166d4df4a0161b10b4852 debuginfo(build-id) = 4a7f5c246567ae737584f0b3c12d1989155f9f77 debuginfo(build-id) = 4f26d7b83d97808470e2124a587eb9a00fba8a58 debuginfo(build-id) = 50ca3eb2da9198213515fb47fbaa4b4ce1a90de8 debuginfo(build-id) = 5bbe4da98da605578028b86113344b6bcedede20 debuginfo(build-id) = 5f699b58014799c15a3701541ed5eef6fd5ef116 debuginfo(build-id) = 613830ea1005fdff131d4ec547228e731e31269a debuginfo(build-id) = 653a308756d3b7b9d7854d7fe64e0dfff75cbabe debuginfo(build-id) = 688d01defa8ae9d4fd40768855937350bddf27f8 debuginfo(build-id) = 69577f265f138422133be8f36e1fc080cae063b0 debuginfo(build-id) = 6be2ea461ca43b1f592f2a9784ae6070fb4b4b32 debuginfo(build-id) = 7225053f787e88b6830bf6e32ba9694cd10d208a debuginfo(build-id) = 7456975c2397406016a79d65326af85be696706f debuginfo(build-id) = 799d66b322bf6e5e8bfac141830d48b9887251eb debuginfo(build-id) = 7c2b68bc82db127b0f22e88c81f4ee6004edf53e debuginfo(build-id) = 7df58aa01d98820dd4e90ea931a7fd6f924479d6 debuginfo(build-id) = 80ec43a97b62d2783da57de7fac3b4c8fa0cf400 debuginfo(build-id) = 88f10b2c006ddd60ffb7f4b240a6c1e6005e886a debuginfo(build-id) = 8c0c0be1b2f4c79bc4a249d965b3a1f29e5a36f8 debuginfo(build-id) = 8f3666ce6fedb0442e1f0bd49a614b885d5d857f debuginfo(build-id) = a5a1426655a03edd62e81014ff5f20dcdf00c605 debuginfo(build-id) = ab7124de04e77429b8f485ae4c70cb1d6940b29e debuginfo(build-id) = aef836b2dc25e7477605475442a2519430f2f16e debuginfo(build-id) = b0b7aed8e1200b216a48d58bac5d487520272d23 debuginfo(build-id) = b143e95ce43d8fe59a9b6a762456449d7240e3ae debuginfo(build-id) = b3ee4bb92b46f726590ed4e372bbdfc6dba60382 debuginfo(build-id) = bb684f0d70fddf9e2493d42cc8158788dbc60b45 debuginfo(build-id) = c6bd060ab5739113ecf0b25de34d886e8692b320 debuginfo(build-id) = c9142ccc04ba1173b45bd2744d64f912da8aadef debuginfo(build-id) = cc0f79fd8883264ddb42a7dce5d47e29c38a3bce debuginfo(build-id) = cc2daba97a2aa402600f09b553802b8c6d7b4d24 debuginfo(build-id) = d0bb925bff3f43d19934e7886a39dcecaba6791f debuginfo(build-id) = d81de403453eedfee1e191c9ffd466712f529bf4 debuginfo(build-id) = dbb143c6fbc1eef3aed17b991343e71d60c65fbc debuginfo(build-id) = dbf939d5d6878e20ecabbd88fc293e2a90673081 debuginfo(build-id) = dedc98ef87cbe7c9415ab40a7684d4df71f060df debuginfo(build-id) = e1410a6ec4c0059b8d1b653da62c6093b7b5b868 debuginfo(build-id) = e7e557e6f8f67bb6ffa272fe49116c7cfb81aa09 debuginfo(build-id) = e8896d4404dc37eac5f236f5dc98b6b97840e06f debuginfo(build-id) = e8eda37b9bd80f4b4b242b3e98ca26e1393d0155 debuginfo(build-id) = ea325a6f28916eb2fb4d54928fcaa7c991eecfd8 debuginfo(build-id) = ea7bebb4601b6396cb3e0262151520bde3107aa4 debuginfo(build-id) = eea62323cc879c4cfb27167d562cc4654239fc8f debuginfo(build-id) = ef5c7e7d66fe73057e41910ae816a82c33721bf5 debuginfo(build-id) = f434ca7661fa0fbb064e80470665245588858c57 laynii-debuginfo = 2.10.0-2.fc43 laynii-debuginfo(x86-64) = 2.10.0-2.fc43 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: laynii-debugsource(x86-64) = 2.10.0-2.fc43 Processing files: laynii-ida-debuginfo-2.10.0-2.fc43.x86_64 Provides: debuginfo(build-id) = 0363c4c66121facaf05ce07141cab8ace74f2dee laynii-ida-debuginfo = 2.10.0-2.fc43 laynii-ida-debuginfo(x86-64) = 2.10.0-2.fc43 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: laynii-debugsource(x86-64) = 2.10.0-2.fc43 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/laynii-2.10.0-build/BUILDROOT Wrote: /builddir/build/RPMS/laynii-ida-debuginfo-2.10.0-2.fc43.x86_64.rpm Wrote: /builddir/build/RPMS/laynii-ida-2.10.0-2.fc43.x86_64.rpm Wrote: /builddir/build/RPMS/laynii-debugsource-2.10.0-2.fc43.x86_64.rpm Wrote: /builddir/build/RPMS/laynii-2.10.0-2.fc43.x86_64.rpm Wrote: /builddir/build/RPMS/laynii-debuginfo-2.10.0-2.fc43.x86_64.rpm Finish: rpmbuild laynii-2.10.0-2.fc43.src.rpm Finish: build phase for laynii-2.10.0-2.fc43.src.rpm INFO: chroot_scan: 1 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/fedora-43-x86_64-1791261029.574416/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/laynii-2.10.0-2.fc43.src.rpm) Config(child) 3 minutes 18 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": "laynii", "epoch": null, "version": "2.10.0", "release": "2.fc43", "arch": "x86_64" }, { "name": "laynii-ida-debuginfo", "epoch": null, "version": "2.10.0", "release": "2.fc43", "arch": "x86_64" }, { "name": "laynii-debuginfo", "epoch": null, "version": "2.10.0", "release": "2.fc43", "arch": "x86_64" }, { "name": "laynii-ida", "epoch": null, "version": "2.10.0", "release": "2.fc43", "arch": "x86_64" }, { "name": "laynii-debugsource", "epoch": null, "version": "2.10.0", "release": "2.fc43", "arch": "x86_64" }, { "name": "laynii", "epoch": null, "version": "2.10.0", "release": "2.fc43", "arch": "src" } ] } RPMResults finished