Warning: Permanently added '162.133.131.19' (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/6408268-fedora-rawhide-s390x --chroot fedora-rawhide-s390x Version: 0.69 PID: 12433 Logging PID: 12434 Task: {'appstream': False, 'background': True, 'build_id': 6408268, 'buildroot_pkgs': [], 'chroot': 'fedora-rawhide-s390x', 'enable_net': False, 'fedora_review': False, 'git_hash': 'a0f5d566d271e7f6fb33206ef38c72aedde0afb8', 'git_repo': 'https://copr-dist-git.fedorainfracloud.org/git/tuliom/zlib-ng-compat-mpb/testdisk', 'isolation': 'default', 'memory_reqs': 2048, 'package_name': 'testdisk', 'package_version': '7.1-11', 'project_dirname': 'zlib-ng-compat-mpb', 'project_name': 'zlib-ng-compat-mpb', 'project_owner': 'tuliom', 'repo_priority': None, 'repos': [{'baseurl': 'https://download.copr.fedorainfracloud.org/results/tuliom/zlib-ng-compat-mpb/fedora-rawhide-s390x/', 'id': 'copr_base', 'name': 'Copr repository', 'priority': None}], 'sandbox': 'tuliom/zlib-ng-compat-mpb--tuliom', 'source_json': {}, 'source_type': None, 'submitter': 'tuliom', 'tags': [], 'task_id': '6408268-fedora-rawhide-s390x', 'timeout': 115200, 'uses_devel_repo': False, 'with_opts': [], 'without_opts': []} Running: git clone https://copr-dist-git.fedorainfracloud.org/git/tuliom/zlib-ng-compat-mpb/testdisk /var/lib/copr-rpmbuild/workspace/workdir-nm3pyexr/testdisk --depth 500 --no-single-branch --recursive cmd: ['git', 'clone', 'https://copr-dist-git.fedorainfracloud.org/git/tuliom/zlib-ng-compat-mpb/testdisk', '/var/lib/copr-rpmbuild/workspace/workdir-nm3pyexr/testdisk', '--depth', '500', '--no-single-branch', '--recursive'] cwd: . rc: 0 stdout: stderr: Cloning into '/var/lib/copr-rpmbuild/workspace/workdir-nm3pyexr/testdisk'... Running: git checkout a0f5d566d271e7f6fb33206ef38c72aedde0afb8 -- cmd: ['git', 'checkout', 'a0f5d566d271e7f6fb33206ef38c72aedde0afb8', '--'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-nm3pyexr/testdisk rc: 0 stdout: stderr: Note: switching to 'a0f5d566d271e7f6fb33206ef38c72aedde0afb8'. 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 a0f5d56 automatic import of testdisk Running: copr-distgit-client sources cmd: ['copr-distgit-client', 'sources'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-nm3pyexr/testdisk 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 testdisk-7.1.tar.bz2 INFO: Reading stdout from command: curl --help all INFO: Calling: curl -H Pragma: -o testdisk-7.1.tar.bz2 --location --connect-timeout 60 --retry 3 --retry-delay 10 --remote-time --show-error --fail --retry-all-errors https://copr-dist-git.fedorainfracloud.org/repo/pkgs/tuliom/zlib-ng-compat-mpb/testdisk/testdisk-7.1.tar.bz2/md5/57d78ffee1c076ef4cf541a74f8d52d4/testdisk-7.1.tar.bz2 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 724k 100 724k 0 0 578k 0 0:00:01 0:00:01 --:--:-- 578k INFO: Reading stdout from command: md5sum testdisk-7.1.tar.bz2 /usr/bin/tail: /var/lib/copr-rpmbuild/main.log: file truncated Running (timeout=115200): unbuffer mock --spec /var/lib/copr-rpmbuild/workspace/workdir-nm3pyexr/testdisk/testdisk.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-nm3pyexr/testdisk --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1695092308.936586 -r /var/lib/copr-rpmbuild/results/configs/child.cfg INFO: mock.py version 5.1.1 starting (python version = 3.11.3, NVR = mock-5.1.1-1.fc38)... Start(bootstrap): init plugins INFO: tmpfs initialized INFO: selinux enabled INFO: chroot_scan: initialized INFO: compress_logs: initialized Finish(bootstrap): init plugins Start: init plugins INFO: tmpfs initialized INFO: selinux enabled INFO: chroot_scan: initialized INFO: compress_logs: initialized Finish: init plugins INFO: Signal handler active Start: run INFO: Start(/var/lib/copr-rpmbuild/workspace/workdir-nm3pyexr/testdisk/testdisk.spec) Config(fedora-rawhide-s390x) Start: clean chroot Finish: clean chroot Mock Version: 5.1.1 INFO: Mock Version: 5.1.1 Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-s390x-bootstrap-1695092308.936586/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: Guessed host environment type: unknown INFO: Using bootstrap image: registry.fedoraproject.org/fedora:rawhide INFO: Pulling image: registry.fedoraproject.org/fedora:rawhide INFO: Copy content of container registry.fedoraproject.org/fedora:rawhide to /var/lib/mock/fedora-rawhide-s390x-bootstrap-1695092308.936586/root INFO: Checking that registry.fedoraproject.org/fedora:rawhide image matches host's architecture INFO: mounting registry.fedoraproject.org/fedora:rawhide with podman image mount INFO: image registry.fedoraproject.org/fedora:rawhide as /var/lib/containers/storage/overlay/e9b44bbd1d17ea82ed1e0b70d4b6605c8df9a8e45d59034bf307f8619d27a60f/merged INFO: umounting image registry.fedoraproject.org/fedora:rawhide (/var/lib/containers/storage/overlay/e9b44bbd1d17ea82ed1e0b70d4b6605c8df9a8e45d59034bf307f8619d27a60f/merged) with podman image umount INFO: Package manager dnf detected and used (fallback) INFO: Bootstrap image not marked ready Start(bootstrap): installing dnf tooling No matches found for the following disable plugin patterns: local, spacewalk, versionlock Copr repository 7.3 MB/s | 5.8 MB 00:00 fedora 12 MB/s | 63 MB 00:05 Last metadata expiration check: 0:00:01 ago on Tue Sep 19 02:58:38 2023. Package python3-dnf-4.16.2-4.fc40.noarch is already installed. Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: python3-dnf-plugins-core noarch 4.4.2-1.fc39 fedora 293 k Installing dependencies: dbus-libs s390x 1:1.14.10-1.fc40 fedora 159 k python3-dateutil noarch 1:2.8.2-10.fc39 fedora 355 k python3-dbus s390x 1.3.2-4.fc39 fedora 157 k python3-distro noarch 1.8.0-6.fc39 fedora 49 k python3-six noarch 1.16.0-12.fc39 fedora 41 k python3-systemd s390x 235-5.fc39 fedora 106 k Transaction Summary ================================================================================ Install 7 Packages Total download size: 1.1 M Installed size: 3.5 M Downloading Packages: (1/7): python3-dbus-1.3.2-4.fc39.s390x.rpm 177 kB/s | 157 kB 00:00 (2/7): dbus-libs-1.14.10-1.fc40.s390x.rpm 178 kB/s | 159 kB 00:00 (3/7): python3-distro-1.8.0-6.fc39.noarch.rpm 261 kB/s | 49 kB 00:00 (4/7): python3-dateutil-2.8.2-10.fc39.noarch.rp 328 kB/s | 355 kB 00:01 (5/7): python3-six-1.16.0-12.fc39.noarch.rpm 226 kB/s | 41 kB 00:00 (6/7): python3-systemd-235-5.fc39.s390x.rpm 569 kB/s | 106 kB 00:00 (7/7): python3-dnf-plugins-core-4.4.2-1.fc39.no 749 kB/s | 293 kB 00:00 -------------------------------------------------------------------------------- Total 567 kB/s | 1.1 MB 00:02 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : python3-systemd-235-5.fc39.s390x 1/7 Installing : python3-six-1.16.0-12.fc39.noarch 2/7 Installing : python3-dateutil-1:2.8.2-10.fc39.noarch 3/7 Installing : python3-distro-1.8.0-6.fc39.noarch 4/7 Installing : dbus-libs-1:1.14.10-1.fc40.s390x 5/7 Installing : python3-dbus-1.3.2-4.fc39.s390x 6/7 Installing : python3-dnf-plugins-core-4.4.2-1.fc39.noarch 7/7 Running scriptlet: python3-dnf-plugins-core-4.4.2-1.fc39.noarch 7/7 Verifying : dbus-libs-1:1.14.10-1.fc40.s390x 1/7 Verifying : python3-dateutil-1:2.8.2-10.fc39.noarch 2/7 Verifying : python3-dbus-1.3.2-4.fc39.s390x 3/7 Verifying : python3-distro-1.8.0-6.fc39.noarch 4/7 Verifying : python3-dnf-plugins-core-4.4.2-1.fc39.noarch 5/7 Verifying : python3-six-1.16.0-12.fc39.noarch 6/7 Verifying : python3-systemd-235-5.fc39.s390x 7/7 Installed: dbus-libs-1:1.14.10-1.fc40.s390x python3-dateutil-1:2.8.2-10.fc39.noarch python3-dbus-1.3.2-4.fc39.s390x python3-distro-1.8.0-6.fc39.noarch python3-dnf-plugins-core-4.4.2-1.fc39.noarch python3-six-1.16.0-12.fc39.noarch python3-systemd-235-5.fc39.s390x Complete! Finish(bootstrap): installing dnf tooling Start(bootstrap): creating root cache Finish(bootstrap): creating root cache Finish(bootstrap): chroot init Start: chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-s390x-1695092308.936586/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf detected and used (direct choice) Start: installing minimal buildroot with dnf No matches found for the following disable plugin patterns: local, spacewalk, versionlock Copr repository 5.0 kB/s | 1.5 kB 00:00 Copr repository 1.0 MB/s | 5.8 MB 00:05 fedora 12 kB/s | 6.1 kB 00:00 Dependencies resolved. ================================================================================ Package Arch Version Repo Size ================================================================================ Installing group/module packages: bash s390x 5.2.15-5.fc39 fedora 1.8 M bzip2 s390x 1.0.8-16.fc39 fedora 53 k coreutils s390x 9.4-1.fc40 fedora 1.2 M cpio s390x 2.14-4.fc39 fedora 283 k diffutils s390x 3.10-3.fc39 fedora 407 k fedora-release-common noarch 40-0.7 fedora 18 k findutils s390x 1:4.9.0-6.fc40 fedora 497 k gawk s390x 5.2.2-2.fc39 fedora 1.1 M glibc-minimal-langpack s390x 2.38.9000-8.fc40 copr_base 73 k grep s390x 3.11-5.fc40 fedora 305 k gzip s390x 1.12-6.fc39 fedora 173 k info s390x 7.0.3-3.fc39 fedora 192 k patch s390x 2.7.6-22.fc39 fedora 134 k redhat-rpm-config noarch 270-1.fc40 copr_base 74 k rpm-build s390x 4.18.99-1.fc40 copr_base 71 k sed s390x 4.8-14.fc39 fedora 309 k shadow-utils s390x 2:4.14.0-1.fc40 fedora 1.3 M tar s390x 2:1.35-2.fc40 fedora 874 k unzip s390x 6.0-62.fc39 fedora 194 k util-linux s390x 2.39.2-1.fc40 copr_base 1.1 M which s390x 2.21-40.fc39 fedora 43 k xz s390x 5.4.4-1.fc39 fedora 557 k Installing dependencies: alternatives s390x 1.25-1.fc39 fedora 39 k ansible-srpm-macros noarch 1-11.fc39 fedora 21 k audit-libs s390x 3.1.2-4.fc40 fedora 121 k authselect s390x 1.4.2-3.fc39 fedora 144 k authselect-libs s390x 1.4.2-3.fc39 fedora 247 k basesystem noarch 11-18.fc39 fedora 7.2 k binutils s390x 2.41-5.fc40 copr_base 5.9 M binutils-gold s390x 2.41-5.fc40 copr_base 993 k bzip2-libs s390x 1.0.8-16.fc39 fedora 46 k ca-certificates noarch 2023.2.60_v7.0.306-3.fc40 fedora 837 k coreutils-common s390x 9.4-1.fc40 fedora 2.1 M cracklib s390x 2.9.11-2.fc40 copr_base 84 k crypto-policies noarch 20230731-1.git5ed06e0.fc39 fedora 99 k curl s390x 8.3.0-1.fc40 copr_base 354 k cyrus-sasl-lib s390x 2.1.28-11.fc40 copr_base 820 k debugedit s390x 5.0-10.fc39 fedora 81 k dwz s390x 0.15-3.fc39 fedora 144 k ed s390x 1.19-4.fc39 fedora 80 k efi-srpm-macros noarch 5-9.fc39 fedora 22 k elfutils s390x 0.189-6.fc40 copr_base 555 k elfutils-debuginfod-client s390x 0.189-6.fc40 copr_base 39 k elfutils-default-yama-scope noarch 0.189-6.fc40 copr_base 14 k elfutils-libelf s390x 0.189-6.fc40 copr_base 201 k elfutils-libs s390x 0.189-6.fc40 copr_base 275 k fedora-gpg-keys noarch 40-0.1 fedora 130 k fedora-release noarch 40-0.7 fedora 8.0 k fedora-release-identity-basic noarch 40-0.7 fedora 8.8 k fedora-repos noarch 40-0.1 fedora 9.4 k fedora-repos-rawhide noarch 40-0.1 fedora 9.0 k file s390x 5.45-1.fc40 copr_base 50 k file-libs s390x 5.45-1.fc40 copr_base 770 k filesystem s390x 3.18-6.fc39 fedora 1.1 M fonts-srpm-macros noarch 1:2.0.5-12.fc39 fedora 26 k forge-srpm-macros noarch 0.1.0-1.fc40 fedora 18 k fpc-srpm-macros noarch 1.3-8.fc39 fedora 7.4 k gdb-minimal s390x 13.2-8.fc40 fedora 4.0 M gdbm-libs s390x 1:1.23-4.fc39 fedora 58 k ghc-srpm-macros noarch 1.6.1-2.fc39 fedora 7.8 k glibc s390x 2.38.9000-8.fc40 copr_base 1.8 M glibc-common s390x 2.38.9000-8.fc40 copr_base 368 k glibc-gconv-extra s390x 2.38.9000-8.fc40 copr_base 1.6 M gmp s390x 1:6.2.1-5.fc39 fedora 325 k gnat-srpm-macros noarch 6-3.fc39 fedora 8.8 k go-srpm-macros noarch 3.2.0-7.fc40 fedora 27 k jansson s390x 2.13.1-7.fc39 fedora 44 k kernel-srpm-macros noarch 1.0-20.fc39 fedora 10 k keyutils-libs s390x 1.6.1-7.fc39 fedora 31 k krb5-libs s390x 1.21.2-1.fc40 fedora 780 k libacl s390x 2.3.1-9.fc40 fedora 24 k libarchive s390x 3.7.2-1.fc40 copr_base 441 k libattr s390x 2.5.1-9.fc40 fedora 18 k libblkid s390x 2.39.2-1.fc40 copr_base 121 k libbrotli s390x 1.1.0-1.fc40 fedora 379 k libcap s390x 2.48-7.fc39 fedora 69 k libcap-ng s390x 0.8.3-8.fc40 fedora 32 k libcom_err s390x 1.47.0-2.fc39 fedora 26 k libcurl s390x 8.3.0-1.fc40 copr_base 362 k libdb s390x 5.3.28-58.fc40 copr_base 775 k libeconf s390x 0.5.2-1.fc40 fedora 32 k libevent s390x 2.1.12-9.fc39 fedora 260 k libfdisk s390x 2.39.2-1.fc40 copr_base 166 k libffi s390x 3.4.4-4.fc39 fedora 36 k libgcc s390x 13.2.1-1.fc40 copr_base 82 k libgomp s390x 13.2.1-1.fc40 copr_base 323 k libidn2 s390x 2.3.4-3.fc39 fedora 118 k libmount s390x 2.39.2-1.fc40 copr_base 159 k libnghttp2 s390x 1.56.0-1.fc40 copr_base 78 k libnsl2 s390x 2.0.0-6.fc39 fedora 30 k libpkgconf s390x 1.9.5-2.fc39 fedora 38 k libpsl s390x 0.21.2-4.fc39 fedora 63 k libpwquality s390x 1.4.5-6.fc39 fedora 121 k libselinux s390x 3.5-5.fc39 fedora 91 k libsemanage s390x 3.5-4.fc39 fedora 122 k libsepol s390x 3.5-2.fc39 fedora 330 k libsigsegv s390x 2.14-5.fc39 fedora 27 k libsmartcols s390x 2.39.2-1.fc40 copr_base 70 k libssh s390x 0.10.5-2.fc40 copr_base 209 k libssh-config noarch 0.10.5-2.fc40 copr_base 9.6 k libstdc++ s390x 13.2.1-1.fc40 copr_base 949 k libtasn1 s390x 4.19.0-3.fc39 fedora 77 k libtirpc s390x 1.3.3-1.rc2.fc39 fedora 95 k libunistring s390x 1.1-5.fc40 fedora 556 k libutempter s390x 1.2.1-10.fc39 fedora 26 k libuuid s390x 2.39.2-1.fc40 copr_base 29 k libverto s390x 0.3.2-6.fc39 fedora 21 k libxcrypt s390x 4.4.36-2.fc39 fedora 124 k libxml2 s390x 2.11.5-1.fc40 copr_base 711 k libzstd s390x 1.5.5-4.fc40 copr_base 343 k lua-libs s390x 5.4.6-3.fc39 fedora 142 k lua-srpm-macros noarch 1-9.fc39 fedora 8.6 k lz4-libs s390x 1.9.4-4.fc39 fedora 81 k mpfr s390x 4.2.0-3.fc39 fedora 298 k ncurses-base noarch 6.4-7.20230520.fc40 fedora 88 k ncurses-libs s390x 6.4-7.20230520.fc40 fedora 361 k ocaml-srpm-macros noarch 8-2.fc39 fedora 14 k openblas-srpm-macros noarch 2-14.fc39 fedora 7.5 k openldap s390x 2.6.6-1.fc39 fedora 262 k openssl-libs s390x 1:3.1.1-4.fc40 copr_base 1.9 M p11-kit s390x 0.25.0-2.fc39 fedora 507 k p11-kit-trust s390x 0.25.0-2.fc39 fedora 141 k package-notes-srpm-macros noarch 0.5-9.fc39 fedora 11 k pam s390x 1.5.3-2.fc39 fedora 558 k pam-libs s390x 1.5.3-2.fc39 fedora 59 k pcre2 s390x 10.42-1.fc39.2 fedora 250 k pcre2-syntax noarch 10.42-1.fc39.2 fedora 143 k perl-srpm-macros noarch 1-51.fc39 fedora 8.0 k pkgconf s390x 1.9.5-2.fc39 fedora 43 k pkgconf-m4 noarch 1.9.5-2.fc39 fedora 14 k pkgconf-pkg-config s390x 1.9.5-2.fc39 fedora 9.6 k popt s390x 1.19-3.fc39 fedora 69 k publicsuffix-list-dafsa noarch 20230812-1.fc40 fedora 57 k pyproject-srpm-macros noarch 1.9.0-2.fc39 fedora 14 k python-srpm-macros noarch 3.12-4.fc40 fedora 25 k qt5-srpm-macros noarch 5.15.10-2.fc39 fedora 8.3 k qt6-srpm-macros noarch 6.5.2-2.fc39 fedora 9.2 k readline s390x 8.2-4.fc39 fedora 229 k rpm s390x 4.18.99-1.fc40 copr_base 510 k rpm-build-libs s390x 4.18.99-1.fc40 copr_base 98 k rpm-libs s390x 4.18.99-1.fc40 copr_base 323 k rpm-sequoia s390x 1.5.0-1.fc40 fedora 1.0 M rust-srpm-macros noarch 24-5.fc40 fedora 12 k setup noarch 2.14.4-1.fc39 fedora 154 k sqlite-libs s390x 3.43.1-1.fc40 fedora 737 k systemd-libs s390x 254.1-2.fc40 fedora 696 k tzdata noarch 2023c-3.fc40 fedora 718 k util-linux-core s390x 2.39.2-1.fc40 copr_base 483 k xxhash-libs s390x 0.8.2-1.fc39 fedora 37 k xz-libs s390x 5.4.4-1.fc39 fedora 114 k zip s390x 3.0-38.fc39 fedora 283 k zlib-ng-compat s390x 2.1.3-3.fc40 copr_base 71 k zstd s390x 1.5.5-4.fc40 copr_base 506 k Installing Groups: Buildsystem building group Transaction Summary ================================================================================ Install 153 Packages Total size: 53 M Installed size: 181 M Downloading Packages: [SKIPPED] binutils-2.41-5.fc40.s390x.rpm: Already downloaded [SKIPPED] binutils-gold-2.41-5.fc40.s390x.rpm: Already downloaded [SKIPPED] cracklib-2.9.11-2.fc40.s390x.rpm: Already downloaded [SKIPPED] curl-8.3.0-1.fc40.s390x.rpm: Already downloaded [SKIPPED] cyrus-sasl-lib-2.1.28-11.fc40.s390x.rpm: Already downloaded [SKIPPED] elfutils-0.189-6.fc40.s390x.rpm: Already downloaded [SKIPPED] elfutils-debuginfod-client-0.189-6.fc40.s390x.rpm: Already downloaded [SKIPPED] elfutils-default-yama-scope-0.189-6.fc40.noarch.rpm: Already downloaded [SKIPPED] elfutils-libelf-0.189-6.fc40.s390x.rpm: Already downloaded [SKIPPED] elfutils-libs-0.189-6.fc40.s390x.rpm: Already downloaded [SKIPPED] file-5.45-1.fc40.s390x.rpm: Already downloaded [SKIPPED] file-libs-5.45-1.fc40.s390x.rpm: Already downloaded [SKIPPED] glibc-2.38.9000-8.fc40.s390x.rpm: Already downloaded [SKIPPED] glibc-common-2.38.9000-8.fc40.s390x.rpm: Already downloaded [SKIPPED] glibc-gconv-extra-2.38.9000-8.fc40.s390x.rpm: Already downloaded [SKIPPED] glibc-minimal-langpack-2.38.9000-8.fc40.s390x.rpm: Already downloaded [SKIPPED] libarchive-3.7.2-1.fc40.s390x.rpm: Already downloaded [SKIPPED] libblkid-2.39.2-1.fc40.s390x.rpm: Already downloaded [SKIPPED] libcurl-8.3.0-1.fc40.s390x.rpm: Already downloaded [SKIPPED] libdb-5.3.28-58.fc40.s390x.rpm: Already downloaded [SKIPPED] libfdisk-2.39.2-1.fc40.s390x.rpm: Already downloaded [SKIPPED] libgcc-13.2.1-1.fc40.s390x.rpm: Already downloaded [SKIPPED] libgomp-13.2.1-1.fc40.s390x.rpm: Already downloaded [SKIPPED] libmount-2.39.2-1.fc40.s390x.rpm: Already downloaded [SKIPPED] libnghttp2-1.56.0-1.fc40.s390x.rpm: Already downloaded [SKIPPED] libsmartcols-2.39.2-1.fc40.s390x.rpm: Already downloaded [SKIPPED] libssh-0.10.5-2.fc40.s390x.rpm: Already downloaded [SKIPPED] libssh-config-0.10.5-2.fc40.noarch.rpm: Already downloaded [SKIPPED] libstdc++-13.2.1-1.fc40.s390x.rpm: Already downloaded [SKIPPED] libuuid-2.39.2-1.fc40.s390x.rpm: Already downloaded [SKIPPED] libxml2-2.11.5-1.fc40.s390x.rpm: Already downloaded [SKIPPED] libzstd-1.5.5-4.fc40.s390x.rpm: Already downloaded [SKIPPED] openssl-libs-3.1.1-4.fc40.s390x.rpm: Already downloaded [SKIPPED] redhat-rpm-config-270-1.fc40.noarch.rpm: Already downloaded [SKIPPED] rpm-4.18.99-1.fc40.s390x.rpm: Already downloaded [SKIPPED] rpm-build-4.18.99-1.fc40.s390x.rpm: Already downloaded [SKIPPED] rpm-build-libs-4.18.99-1.fc40.s390x.rpm: Already downloaded [SKIPPED] rpm-libs-4.18.99-1.fc40.s390x.rpm: Already downloaded [SKIPPED] util-linux-2.39.2-1.fc40.s390x.rpm: Already downloaded [SKIPPED] util-linux-core-2.39.2-1.fc40.s390x.rpm: Already downloaded [SKIPPED] zlib-ng-compat-2.1.3-3.fc40.s390x.rpm: Already downloaded [SKIPPED] zstd-1.5.5-4.fc40.s390x.rpm: Already downloaded [SKIPPED] alternatives-1.25-1.fc39.s390x.rpm: Already downloaded [SKIPPED] ansible-srpm-macros-1-11.fc39.noarch.rpm: Already downloaded [SKIPPED] audit-libs-3.1.2-4.fc40.s390x.rpm: Already downloaded [SKIPPED] authselect-1.4.2-3.fc39.s390x.rpm: Already downloaded [SKIPPED] authselect-libs-1.4.2-3.fc39.s390x.rpm: Already downloaded [SKIPPED] basesystem-11-18.fc39.noarch.rpm: Already downloaded [SKIPPED] bash-5.2.15-5.fc39.s390x.rpm: Already downloaded [SKIPPED] bzip2-1.0.8-16.fc39.s390x.rpm: Already downloaded [SKIPPED] bzip2-libs-1.0.8-16.fc39.s390x.rpm: Already downloaded [SKIPPED] ca-certificates-2023.2.60_v7.0.306-3.fc40.noarch.rpm: Already downloaded [SKIPPED] coreutils-9.4-1.fc40.s390x.rpm: Already downloaded [SKIPPED] coreutils-common-9.4-1.fc40.s390x.rpm: Already downloaded [SKIPPED] cpio-2.14-4.fc39.s390x.rpm: Already downloaded [SKIPPED] crypto-policies-20230731-1.git5ed06e0.fc39.noarch.rpm: Already downloaded [SKIPPED] debugedit-5.0-10.fc39.s390x.rpm: Already downloaded [SKIPPED] diffutils-3.10-3.fc39.s390x.rpm: Already downloaded [SKIPPED] dwz-0.15-3.fc39.s390x.rpm: Already downloaded [SKIPPED] ed-1.19-4.fc39.s390x.rpm: Already downloaded [SKIPPED] efi-srpm-macros-5-9.fc39.noarch.rpm: Already downloaded [SKIPPED] fedora-gpg-keys-40-0.1.noarch.rpm: Already downloaded [SKIPPED] fedora-release-40-0.7.noarch.rpm: Already downloaded [SKIPPED] fedora-release-common-40-0.7.noarch.rpm: Already downloaded [SKIPPED] fedora-release-identity-basic-40-0.7.noarch.rpm: Already downloaded [SKIPPED] fedora-repos-40-0.1.noarch.rpm: Already downloaded [SKIPPED] fedora-repos-rawhide-40-0.1.noarch.rpm: Already downloaded [SKIPPED] filesystem-3.18-6.fc39.s390x.rpm: Already downloaded [SKIPPED] findutils-4.9.0-6.fc40.s390x.rpm: Already downloaded [SKIPPED] fonts-srpm-macros-2.0.5-12.fc39.noarch.rpm: Already downloaded [SKIPPED] forge-srpm-macros-0.1.0-1.fc40.noarch.rpm: Already downloaded [SKIPPED] fpc-srpm-macros-1.3-8.fc39.noarch.rpm: Already downloaded [SKIPPED] gawk-5.2.2-2.fc39.s390x.rpm: Already downloaded [SKIPPED] gdb-minimal-13.2-8.fc40.s390x.rpm: Already downloaded [SKIPPED] gdbm-libs-1.23-4.fc39.s390x.rpm: Already downloaded [SKIPPED] ghc-srpm-macros-1.6.1-2.fc39.noarch.rpm: Already downloaded [SKIPPED] gmp-6.2.1-5.fc39.s390x.rpm: Already downloaded [SKIPPED] gnat-srpm-macros-6-3.fc39.noarch.rpm: Already downloaded [SKIPPED] go-srpm-macros-3.2.0-7.fc40.noarch.rpm: Already downloaded [SKIPPED] grep-3.11-5.fc40.s390x.rpm: Already downloaded [SKIPPED] gzip-1.12-6.fc39.s390x.rpm: Already downloaded [SKIPPED] info-7.0.3-3.fc39.s390x.rpm: Already downloaded [SKIPPED] jansson-2.13.1-7.fc39.s390x.rpm: Already downloaded [SKIPPED] kernel-srpm-macros-1.0-20.fc39.noarch.rpm: Already downloaded [SKIPPED] keyutils-libs-1.6.1-7.fc39.s390x.rpm: Already downloaded [SKIPPED] krb5-libs-1.21.2-1.fc40.s390x.rpm: Already downloaded [SKIPPED] libacl-2.3.1-9.fc40.s390x.rpm: Already downloaded [SKIPPED] libattr-2.5.1-9.fc40.s390x.rpm: Already downloaded [SKIPPED] libbrotli-1.1.0-1.fc40.s390x.rpm: Already downloaded [SKIPPED] libcap-2.48-7.fc39.s390x.rpm: Already downloaded [SKIPPED] libcap-ng-0.8.3-8.fc40.s390x.rpm: Already downloaded [SKIPPED] libcom_err-1.47.0-2.fc39.s390x.rpm: Already downloaded [SKIPPED] libeconf-0.5.2-1.fc40.s390x.rpm: Already downloaded [SKIPPED] libevent-2.1.12-9.fc39.s390x.rpm: Already downloaded [SKIPPED] libffi-3.4.4-4.fc39.s390x.rpm: Already downloaded [SKIPPED] libidn2-2.3.4-3.fc39.s390x.rpm: Already downloaded [SKIPPED] libnsl2-2.0.0-6.fc39.s390x.rpm: Already downloaded [SKIPPED] libpkgconf-1.9.5-2.fc39.s390x.rpm: Already downloaded [SKIPPED] libpsl-0.21.2-4.fc39.s390x.rpm: Already downloaded [SKIPPED] libpwquality-1.4.5-6.fc39.s390x.rpm: Already downloaded [SKIPPED] libselinux-3.5-5.fc39.s390x.rpm: Already downloaded [SKIPPED] libsemanage-3.5-4.fc39.s390x.rpm: Already downloaded [SKIPPED] libsepol-3.5-2.fc39.s390x.rpm: Already downloaded [SKIPPED] libsigsegv-2.14-5.fc39.s390x.rpm: Already downloaded [SKIPPED] libtasn1-4.19.0-3.fc39.s390x.rpm: Already downloaded [SKIPPED] libtirpc-1.3.3-1.rc2.fc39.s390x.rpm: Already downloaded [SKIPPED] libunistring-1.1-5.fc40.s390x.rpm: Already downloaded [SKIPPED] libutempter-1.2.1-10.fc39.s390x.rpm: Already downloaded [SKIPPED] libverto-0.3.2-6.fc39.s390x.rpm: Already downloaded [SKIPPED] libxcrypt-4.4.36-2.fc39.s390x.rpm: Already downloaded [SKIPPED] lua-libs-5.4.6-3.fc39.s390x.rpm: Already downloaded [SKIPPED] lua-srpm-macros-1-9.fc39.noarch.rpm: Already downloaded [SKIPPED] lz4-libs-1.9.4-4.fc39.s390x.rpm: Already downloaded [SKIPPED] mpfr-4.2.0-3.fc39.s390x.rpm: Already downloaded [SKIPPED] ncurses-base-6.4-7.20230520.fc40.noarch.rpm: Already downloaded [SKIPPED] ncurses-libs-6.4-7.20230520.fc40.s390x.rpm: Already downloaded [SKIPPED] ocaml-srpm-macros-8-2.fc39.noarch.rpm: Already downloaded [SKIPPED] openblas-srpm-macros-2-14.fc39.noarch.rpm: Already downloaded [SKIPPED] openldap-2.6.6-1.fc39.s390x.rpm: Already downloaded [SKIPPED] p11-kit-0.25.0-2.fc39.s390x.rpm: Already downloaded [SKIPPED] p11-kit-trust-0.25.0-2.fc39.s390x.rpm: Already downloaded [SKIPPED] package-notes-srpm-macros-0.5-9.fc39.noarch.rpm: Already downloaded [SKIPPED] pam-1.5.3-2.fc39.s390x.rpm: Already downloaded [SKIPPED] pam-libs-1.5.3-2.fc39.s390x.rpm: Already downloaded [SKIPPED] patch-2.7.6-22.fc39.s390x.rpm: Already downloaded [SKIPPED] pcre2-10.42-1.fc39.2.s390x.rpm: Already downloaded [SKIPPED] pcre2-syntax-10.42-1.fc39.2.noarch.rpm: Already downloaded [SKIPPED] perl-srpm-macros-1-51.fc39.noarch.rpm: Already downloaded [SKIPPED] pkgconf-1.9.5-2.fc39.s390x.rpm: Already downloaded [SKIPPED] pkgconf-m4-1.9.5-2.fc39.noarch.rpm: Already downloaded [SKIPPED] pkgconf-pkg-config-1.9.5-2.fc39.s390x.rpm: Already downloaded [SKIPPED] popt-1.19-3.fc39.s390x.rpm: Already downloaded [SKIPPED] publicsuffix-list-dafsa-20230812-1.fc40.noarch.rpm: Already downloaded [SKIPPED] pyproject-srpm-macros-1.9.0-2.fc39.noarch.rpm: Already downloaded [SKIPPED] python-srpm-macros-3.12-4.fc40.noarch.rpm: Already downloaded [SKIPPED] qt5-srpm-macros-5.15.10-2.fc39.noarch.rpm: Already downloaded [SKIPPED] qt6-srpm-macros-6.5.2-2.fc39.noarch.rpm: Already downloaded [SKIPPED] readline-8.2-4.fc39.s390x.rpm: Already downloaded [SKIPPED] rpm-sequoia-1.5.0-1.fc40.s390x.rpm: Already downloaded [SKIPPED] rust-srpm-macros-24-5.fc40.noarch.rpm: Already downloaded [SKIPPED] sed-4.8-14.fc39.s390x.rpm: Already downloaded [SKIPPED] setup-2.14.4-1.fc39.noarch.rpm: Already downloaded [SKIPPED] shadow-utils-4.14.0-1.fc40.s390x.rpm: Already downloaded [SKIPPED] sqlite-libs-3.43.1-1.fc40.s390x.rpm: Already downloaded [SKIPPED] systemd-libs-254.1-2.fc40.s390x.rpm: Already downloaded [SKIPPED] tar-1.35-2.fc40.s390x.rpm: Already downloaded [SKIPPED] tzdata-2023c-3.fc40.noarch.rpm: Already downloaded [SKIPPED] unzip-6.0-62.fc39.s390x.rpm: Already downloaded [SKIPPED] which-2.21-40.fc39.s390x.rpm: Already downloaded [SKIPPED] xxhash-libs-0.8.2-1.fc39.s390x.rpm: Already downloaded [SKIPPED] xz-5.4.4-1.fc39.s390x.rpm: Already downloaded [SKIPPED] xz-libs-5.4.4-1.fc39.s390x.rpm: Already downloaded [SKIPPED] zip-3.0-38.fc39.s390x.rpm: Already downloaded fedora 1.6 MB/s | 1.6 kB 00:00 Importing GPG key 0xA15B79CC: Userid : "Fedora (40) " Fingerprint: 115D F9AE F857 853E E844 5D0A 0727 707E A15B 79CC From : /usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-40-primary Key imported successfully fedora 1.6 MB/s | 1.6 kB 00:00 GPG key at file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-40-primary (0xA15B79CC) is already installed fedora 1.6 MB/s | 1.6 kB 00:00 Importing GPG key 0x18B8E74C: Userid : "Fedora (39) " Fingerprint: E8F2 3996 F232 1864 0CB4 4CBE 75CF 5AC4 18B8 E74C From : /usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-39-primary Key imported successfully Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Running scriptlet: filesystem-3.18-6.fc39.s390x 1/1 Preparing : 1/1 Installing : libgcc-13.2.1-1.fc40.s390x 1/153 Running scriptlet: libgcc-13.2.1-1.fc40.s390x 1/153 Installing : crypto-policies-20230731-1.git5ed06e0.fc39.noarc 2/153 Running scriptlet: crypto-policies-20230731-1.git5ed06e0.fc39.noarc 2/153 Installing : tzdata-2023c-3.fc40.noarch 3/153 Installing : fedora-release-identity-basic-40-0.7.noarch 4/153 Installing : fedora-repos-rawhide-40-0.1.noarch 5/153 Installing : fedora-gpg-keys-40-0.1.noarch 6/153 Installing : fedora-repos-40-0.1.noarch 7/153 Installing : fedora-release-common-40-0.7.noarch 8/153 Installing : fedora-release-40-0.7.noarch 9/153 Installing : setup-2.14.4-1.fc39.noarch 10/153 warning: /etc/hosts created as /etc/hosts.rpmnew Running scriptlet: setup-2.14.4-1.fc39.noarch 10/153 Installing : filesystem-3.18-6.fc39.s390x 11/153 Installing : basesystem-11-18.fc39.noarch 12/153 Installing : rust-srpm-macros-24-5.fc40.noarch 13/153 Installing : qt6-srpm-macros-6.5.2-2.fc39.noarch 14/153 Installing : qt5-srpm-macros-5.15.10-2.fc39.noarch 15/153 Installing : pyproject-srpm-macros-1.9.0-2.fc39.noarch 16/153 Installing : publicsuffix-list-dafsa-20230812-1.fc40.noarch 17/153 Installing : pkgconf-m4-1.9.5-2.fc39.noarch 18/153 Installing : perl-srpm-macros-1-51.fc39.noarch 19/153 Installing : pcre2-syntax-10.42-1.fc39.2.noarch 20/153 Installing : package-notes-srpm-macros-0.5-9.fc39.noarch 21/153 Installing : openblas-srpm-macros-2-14.fc39.noarch 22/153 Installing : ocaml-srpm-macros-8-2.fc39.noarch 23/153 Installing : ncurses-base-6.4-7.20230520.fc40.noarch 24/153 Installing : glibc-gconv-extra-2.38.9000-8.fc40.s390x 25/153 Running scriptlet: glibc-gconv-extra-2.38.9000-8.fc40.s390x 25/153 Installing : glibc-minimal-langpack-2.38.9000-8.fc40.s390x 26/153 Installing : glibc-common-2.38.9000-8.fc40.s390x 27/153 Running scriptlet: glibc-2.38.9000-8.fc40.s390x 28/153 Installing : glibc-2.38.9000-8.fc40.s390x 28/153 Running scriptlet: glibc-2.38.9000-8.fc40.s390x 28/153 Installing : ncurses-libs-6.4-7.20230520.fc40.s390x 29/153 Installing : bash-5.2.15-5.fc39.s390x 30/153 Running scriptlet: bash-5.2.15-5.fc39.s390x 30/153 Installing : zlib-ng-compat-2.1.3-3.fc40.s390x 31/153 Installing : xz-libs-5.4.4-1.fc39.s390x 32/153 Installing : bzip2-libs-1.0.8-16.fc39.s390x 33/153 Installing : libstdc++-13.2.1-1.fc40.s390x 34/153 Installing : libuuid-2.39.2-1.fc40.s390x 35/153 Installing : libzstd-1.5.5-4.fc40.s390x 36/153 Installing : elfutils-libelf-0.189-6.fc40.s390x 37/153 Installing : popt-1.19-3.fc39.s390x 38/153 Installing : libblkid-2.39.2-1.fc40.s390x 39/153 Installing : readline-8.2-4.fc39.s390x 40/153 Installing : gmp-1:6.2.1-5.fc39.s390x 41/153 Installing : libattr-2.5.1-9.fc40.s390x 42/153 Installing : libacl-2.3.1-9.fc40.s390x 43/153 Installing : libcap-2.48-7.fc39.s390x 44/153 Installing : libxcrypt-4.4.36-2.fc39.s390x 45/153 Installing : lz4-libs-1.9.4-4.fc39.s390x 46/153 Installing : systemd-libs-254.1-2.fc40.s390x 47/153 Installing : mpfr-4.2.0-3.fc39.s390x 48/153 Installing : dwz-0.15-3.fc39.s390x 49/153 Installing : unzip-6.0-62.fc39.s390x 50/153 Installing : file-libs-5.45-1.fc40.s390x 51/153 Installing : file-5.45-1.fc40.s390x 52/153 Installing : libsmartcols-2.39.2-1.fc40.s390x 53/153 Installing : alternatives-1.25-1.fc39.s390x 54/153 Installing : jansson-2.13.1-7.fc39.s390x 55/153 Installing : libcap-ng-0.8.3-8.fc40.s390x 56/153 Installing : audit-libs-3.1.2-4.fc40.s390x 57/153 Installing : pam-libs-1.5.3-2.fc39.s390x 58/153 Installing : libcom_err-1.47.0-2.fc39.s390x 59/153 Installing : libsepol-3.5-2.fc39.s390x 60/153 Installing : libunistring-1.1-5.fc40.s390x 61/153 Installing : libidn2-2.3.4-3.fc39.s390x 62/153 Installing : lua-libs-5.4.6-3.fc39.s390x 63/153 Installing : pcre2-10.42-1.fc39.2.s390x 64/153 Installing : libselinux-3.5-5.fc39.s390x 65/153 Installing : sed-4.8-14.fc39.s390x 66/153 Installing : grep-3.11-5.fc40.s390x 67/153 Installing : findutils-1:4.9.0-6.fc40.s390x 68/153 Installing : xz-5.4.4-1.fc39.s390x 69/153 Installing : libmount-2.39.2-1.fc40.s390x 70/153 Installing : util-linux-core-2.39.2-1.fc40.s390x 71/153 Installing : libsemanage-3.5-4.fc39.s390x 72/153 Installing : tar-2:1.35-2.fc40.s390x 73/153 Installing : libpsl-0.21.2-4.fc39.s390x 74/153 Installing : zip-3.0-38.fc39.s390x 75/153 Installing : zstd-1.5.5-4.fc40.s390x 76/153 Installing : libfdisk-2.39.2-1.fc40.s390x 77/153 Installing : bzip2-1.0.8-16.fc39.s390x 78/153 Installing : libxml2-2.11.5-1.fc40.s390x 79/153 Installing : sqlite-libs-3.43.1-1.fc40.s390x 80/153 Installing : elfutils-default-yama-scope-0.189-6.fc40.noarch 81/153 Running scriptlet: elfutils-default-yama-scope-0.189-6.fc40.noarch 81/153 Installing : ed-1.19-4.fc39.s390x 82/153 Installing : patch-2.7.6-22.fc39.s390x 83/153 Installing : libdb-5.3.28-58.fc40.s390x 84/153 Installing : libgomp-13.2.1-1.fc40.s390x 85/153 Installing : libnghttp2-1.56.0-1.fc40.s390x 86/153 Installing : cpio-2.14-4.fc39.s390x 87/153 Installing : diffutils-3.10-3.fc39.s390x 88/153 Installing : gdbm-libs-1:1.23-4.fc39.s390x 89/153 Installing : cyrus-sasl-lib-2.1.28-11.fc40.s390x 90/153 Installing : keyutils-libs-1.6.1-7.fc39.s390x 91/153 Installing : libbrotli-1.1.0-1.fc40.s390x 92/153 Installing : libeconf-0.5.2-1.fc40.s390x 93/153 Installing : shadow-utils-2:4.14.0-1.fc40.s390x 94/153 Running scriptlet: libutempter-1.2.1-10.fc39.s390x 95/153 Installing : libutempter-1.2.1-10.fc39.s390x 95/153 Installing : libffi-3.4.4-4.fc39.s390x 96/153 Installing : p11-kit-0.25.0-2.fc39.s390x 97/153 Installing : libpkgconf-1.9.5-2.fc39.s390x 98/153 Installing : pkgconf-1.9.5-2.fc39.s390x 99/153 Installing : pkgconf-pkg-config-1.9.5-2.fc39.s390x 100/153 Installing : libsigsegv-2.14-5.fc39.s390x 101/153 Installing : gawk-5.2.2-2.fc39.s390x 102/153 Installing : libtasn1-4.19.0-3.fc39.s390x 103/153 Installing : p11-kit-trust-0.25.0-2.fc39.s390x 104/153 Running scriptlet: p11-kit-trust-0.25.0-2.fc39.s390x 104/153 Installing : libverto-0.3.2-6.fc39.s390x 105/153 Installing : xxhash-libs-0.8.2-1.fc39.s390x 106/153 Installing : kernel-srpm-macros-1.0-20.fc39.noarch 107/153 Installing : gnat-srpm-macros-6-3.fc39.noarch 108/153 Installing : ghc-srpm-macros-1.6.1-2.fc39.noarch 109/153 Installing : fpc-srpm-macros-1.3-8.fc39.noarch 110/153 Installing : coreutils-common-9.4-1.fc40.s390x 111/153 Installing : openssl-libs-1:3.1.1-4.fc40.s390x 112/153 Installing : coreutils-9.4-1.fc40.s390x 113/153 Running scriptlet: ca-certificates-2023.2.60_v7.0.306-3.fc40.noarch 114/153 Installing : ca-certificates-2023.2.60_v7.0.306-3.fc40.noarch 114/153 Running scriptlet: ca-certificates-2023.2.60_v7.0.306-3.fc40.noarch 114/153 Installing : krb5-libs-1.21.2-1.fc40.s390x 115/153 Installing : libtirpc-1.3.3-1.rc2.fc39.s390x 116/153 Running scriptlet: authselect-libs-1.4.2-3.fc39.s390x 117/153 Installing : authselect-libs-1.4.2-3.fc39.s390x 117/153 Installing : gzip-1.12-6.fc39.s390x 118/153 Installing : cracklib-2.9.11-2.fc40.s390x 119/153 Installing : libpwquality-1.4.5-6.fc39.s390x 120/153 Installing : authselect-1.4.2-3.fc39.s390x 121/153 Installing : libnsl2-2.0.0-6.fc39.s390x 122/153 Installing : pam-1.5.3-2.fc39.s390x 123/153 Installing : libarchive-3.7.2-1.fc40.s390x 124/153 Installing : libevent-2.1.12-9.fc39.s390x 125/153 Installing : openldap-2.6.6-1.fc39.s390x 126/153 Installing : rpm-sequoia-1.5.0-1.fc40.s390x 127/153 Installing : rpm-libs-4.18.99-1.fc40.s390x 128/153 Installing : ansible-srpm-macros-1-11.fc39.noarch 129/153 Installing : libssh-config-0.10.5-2.fc40.noarch 130/153 Installing : libssh-0.10.5-2.fc40.s390x 131/153 Installing : libcurl-8.3.0-1.fc40.s390x 132/153 Installing : elfutils-libs-0.189-6.fc40.s390x 133/153 Installing : elfutils-debuginfod-client-0.189-6.fc40.s390x 134/153 Installing : binutils-gold-2.41-5.fc40.s390x 135/153 Running scriptlet: binutils-gold-2.41-5.fc40.s390x 135/153 Installing : binutils-2.41-5.fc40.s390x 136/153 Running scriptlet: binutils-2.41-5.fc40.s390x 136/153 Installing : elfutils-0.189-6.fc40.s390x 137/153 Installing : gdb-minimal-13.2-8.fc40.s390x 138/153 Installing : debugedit-5.0-10.fc39.s390x 139/153 Installing : rpm-build-libs-4.18.99-1.fc40.s390x 140/153 Installing : curl-8.3.0-1.fc40.s390x 141/153 Running scriptlet: rpm-4.18.99-1.fc40.s390x 142/153 Installing : rpm-4.18.99-1.fc40.s390x 142/153 Installing : efi-srpm-macros-5-9.fc39.noarch 143/153 Installing : lua-srpm-macros-1-9.fc39.noarch 144/153 Installing : fonts-srpm-macros-1:2.0.5-12.fc39.noarch 145/153 Installing : forge-srpm-macros-0.1.0-1.fc40.noarch 146/153 Installing : go-srpm-macros-3.2.0-7.fc40.noarch 147/153 Installing : python-srpm-macros-3.12-4.fc40.noarch 148/153 Installing : redhat-rpm-config-270-1.fc40.noarch 149/153 Installing : rpm-build-4.18.99-1.fc40.s390x 150/153 Installing : util-linux-2.39.2-1.fc40.s390x 151/153 Installing : which-2.21-40.fc39.s390x 152/153 Installing : info-7.0.3-3.fc39.s390x 153/153 Running scriptlet: filesystem-3.18-6.fc39.s390x 153/153 Running scriptlet: ca-certificates-2023.2.60_v7.0.306-3.fc40.noarch 153/153 Running scriptlet: authselect-libs-1.4.2-3.fc39.s390x 153/153 Running scriptlet: rpm-4.18.99-1.fc40.s390x 153/153 Running scriptlet: info-7.0.3-3.fc39.s390x 153/153 Verifying : binutils-2.41-5.fc40.s390x 1/153 Verifying : binutils-gold-2.41-5.fc40.s390x 2/153 Verifying : cracklib-2.9.11-2.fc40.s390x 3/153 Verifying : curl-8.3.0-1.fc40.s390x 4/153 Verifying : cyrus-sasl-lib-2.1.28-11.fc40.s390x 5/153 Verifying : elfutils-0.189-6.fc40.s390x 6/153 Verifying : elfutils-debuginfod-client-0.189-6.fc40.s390x 7/153 Verifying : elfutils-default-yama-scope-0.189-6.fc40.noarch 8/153 Verifying : elfutils-libelf-0.189-6.fc40.s390x 9/153 Verifying : elfutils-libs-0.189-6.fc40.s390x 10/153 Verifying : file-5.45-1.fc40.s390x 11/153 Verifying : file-libs-5.45-1.fc40.s390x 12/153 Verifying : glibc-2.38.9000-8.fc40.s390x 13/153 Verifying : glibc-common-2.38.9000-8.fc40.s390x 14/153 Verifying : glibc-gconv-extra-2.38.9000-8.fc40.s390x 15/153 Verifying : glibc-minimal-langpack-2.38.9000-8.fc40.s390x 16/153 Verifying : libarchive-3.7.2-1.fc40.s390x 17/153 Verifying : libblkid-2.39.2-1.fc40.s390x 18/153 Verifying : libcurl-8.3.0-1.fc40.s390x 19/153 Verifying : libdb-5.3.28-58.fc40.s390x 20/153 Verifying : libfdisk-2.39.2-1.fc40.s390x 21/153 Verifying : libgcc-13.2.1-1.fc40.s390x 22/153 Verifying : libgomp-13.2.1-1.fc40.s390x 23/153 Verifying : libmount-2.39.2-1.fc40.s390x 24/153 Verifying : libnghttp2-1.56.0-1.fc40.s390x 25/153 Verifying : libsmartcols-2.39.2-1.fc40.s390x 26/153 Verifying : libssh-0.10.5-2.fc40.s390x 27/153 Verifying : libssh-config-0.10.5-2.fc40.noarch 28/153 Verifying : libstdc++-13.2.1-1.fc40.s390x 29/153 Verifying : libuuid-2.39.2-1.fc40.s390x 30/153 Verifying : libxml2-2.11.5-1.fc40.s390x 31/153 Verifying : libzstd-1.5.5-4.fc40.s390x 32/153 Verifying : openssl-libs-1:3.1.1-4.fc40.s390x 33/153 Verifying : redhat-rpm-config-270-1.fc40.noarch 34/153 Verifying : rpm-4.18.99-1.fc40.s390x 35/153 Verifying : rpm-build-4.18.99-1.fc40.s390x 36/153 Verifying : rpm-build-libs-4.18.99-1.fc40.s390x 37/153 Verifying : rpm-libs-4.18.99-1.fc40.s390x 38/153 Verifying : util-linux-2.39.2-1.fc40.s390x 39/153 Verifying : util-linux-core-2.39.2-1.fc40.s390x 40/153 Verifying : zlib-ng-compat-2.1.3-3.fc40.s390x 41/153 Verifying : zstd-1.5.5-4.fc40.s390x 42/153 Verifying : alternatives-1.25-1.fc39.s390x 43/153 Verifying : ansible-srpm-macros-1-11.fc39.noarch 44/153 Verifying : audit-libs-3.1.2-4.fc40.s390x 45/153 Verifying : authselect-1.4.2-3.fc39.s390x 46/153 Verifying : authselect-libs-1.4.2-3.fc39.s390x 47/153 Verifying : basesystem-11-18.fc39.noarch 48/153 Verifying : bash-5.2.15-5.fc39.s390x 49/153 Verifying : bzip2-1.0.8-16.fc39.s390x 50/153 Verifying : bzip2-libs-1.0.8-16.fc39.s390x 51/153 Verifying : ca-certificates-2023.2.60_v7.0.306-3.fc40.noarch 52/153 Verifying : coreutils-9.4-1.fc40.s390x 53/153 Verifying : coreutils-common-9.4-1.fc40.s390x 54/153 Verifying : cpio-2.14-4.fc39.s390x 55/153 Verifying : crypto-policies-20230731-1.git5ed06e0.fc39.noarc 56/153 Verifying : debugedit-5.0-10.fc39.s390x 57/153 Verifying : diffutils-3.10-3.fc39.s390x 58/153 Verifying : dwz-0.15-3.fc39.s390x 59/153 Verifying : ed-1.19-4.fc39.s390x 60/153 Verifying : efi-srpm-macros-5-9.fc39.noarch 61/153 Verifying : fedora-gpg-keys-40-0.1.noarch 62/153 Verifying : fedora-release-40-0.7.noarch 63/153 Verifying : fedora-release-common-40-0.7.noarch 64/153 Verifying : fedora-release-identity-basic-40-0.7.noarch 65/153 Verifying : fedora-repos-40-0.1.noarch 66/153 Verifying : fedora-repos-rawhide-40-0.1.noarch 67/153 Verifying : filesystem-3.18-6.fc39.s390x 68/153 Verifying : findutils-1:4.9.0-6.fc40.s390x 69/153 Verifying : fonts-srpm-macros-1:2.0.5-12.fc39.noarch 70/153 Verifying : forge-srpm-macros-0.1.0-1.fc40.noarch 71/153 Verifying : fpc-srpm-macros-1.3-8.fc39.noarch 72/153 Verifying : gawk-5.2.2-2.fc39.s390x 73/153 Verifying : gdb-minimal-13.2-8.fc40.s390x 74/153 Verifying : gdbm-libs-1:1.23-4.fc39.s390x 75/153 Verifying : ghc-srpm-macros-1.6.1-2.fc39.noarch 76/153 Verifying : gmp-1:6.2.1-5.fc39.s390x 77/153 Verifying : gnat-srpm-macros-6-3.fc39.noarch 78/153 Verifying : go-srpm-macros-3.2.0-7.fc40.noarch 79/153 Verifying : grep-3.11-5.fc40.s390x 80/153 Verifying : gzip-1.12-6.fc39.s390x 81/153 Verifying : info-7.0.3-3.fc39.s390x 82/153 Verifying : jansson-2.13.1-7.fc39.s390x 83/153 Verifying : kernel-srpm-macros-1.0-20.fc39.noarch 84/153 Verifying : keyutils-libs-1.6.1-7.fc39.s390x 85/153 Verifying : krb5-libs-1.21.2-1.fc40.s390x 86/153 Verifying : libacl-2.3.1-9.fc40.s390x 87/153 Verifying : libattr-2.5.1-9.fc40.s390x 88/153 Verifying : libbrotli-1.1.0-1.fc40.s390x 89/153 Verifying : libcap-2.48-7.fc39.s390x 90/153 Verifying : libcap-ng-0.8.3-8.fc40.s390x 91/153 Verifying : libcom_err-1.47.0-2.fc39.s390x 92/153 Verifying : libeconf-0.5.2-1.fc40.s390x 93/153 Verifying : libevent-2.1.12-9.fc39.s390x 94/153 Verifying : libffi-3.4.4-4.fc39.s390x 95/153 Verifying : libidn2-2.3.4-3.fc39.s390x 96/153 Verifying : libnsl2-2.0.0-6.fc39.s390x 97/153 Verifying : libpkgconf-1.9.5-2.fc39.s390x 98/153 Verifying : libpsl-0.21.2-4.fc39.s390x 99/153 Verifying : libpwquality-1.4.5-6.fc39.s390x 100/153 Verifying : libselinux-3.5-5.fc39.s390x 101/153 Verifying : libsemanage-3.5-4.fc39.s390x 102/153 Verifying : libsepol-3.5-2.fc39.s390x 103/153 Verifying : libsigsegv-2.14-5.fc39.s390x 104/153 Verifying : libtasn1-4.19.0-3.fc39.s390x 105/153 Verifying : libtirpc-1.3.3-1.rc2.fc39.s390x 106/153 Verifying : libunistring-1.1-5.fc40.s390x 107/153 Verifying : libutempter-1.2.1-10.fc39.s390x 108/153 Verifying : libverto-0.3.2-6.fc39.s390x 109/153 Verifying : libxcrypt-4.4.36-2.fc39.s390x 110/153 Verifying : lua-libs-5.4.6-3.fc39.s390x 111/153 Verifying : lua-srpm-macros-1-9.fc39.noarch 112/153 Verifying : lz4-libs-1.9.4-4.fc39.s390x 113/153 Verifying : mpfr-4.2.0-3.fc39.s390x 114/153 Verifying : ncurses-base-6.4-7.20230520.fc40.noarch 115/153 Verifying : ncurses-libs-6.4-7.20230520.fc40.s390x 116/153 Verifying : ocaml-srpm-macros-8-2.fc39.noarch 117/153 Verifying : openblas-srpm-macros-2-14.fc39.noarch 118/153 Verifying : openldap-2.6.6-1.fc39.s390x 119/153 Verifying : p11-kit-0.25.0-2.fc39.s390x 120/153 Verifying : p11-kit-trust-0.25.0-2.fc39.s390x 121/153 Verifying : package-notes-srpm-macros-0.5-9.fc39.noarch 122/153 Verifying : pam-1.5.3-2.fc39.s390x 123/153 Verifying : pam-libs-1.5.3-2.fc39.s390x 124/153 Verifying : patch-2.7.6-22.fc39.s390x 125/153 Verifying : pcre2-10.42-1.fc39.2.s390x 126/153 Verifying : pcre2-syntax-10.42-1.fc39.2.noarch 127/153 Verifying : perl-srpm-macros-1-51.fc39.noarch 128/153 Verifying : pkgconf-1.9.5-2.fc39.s390x 129/153 Verifying : pkgconf-m4-1.9.5-2.fc39.noarch 130/153 Verifying : pkgconf-pkg-config-1.9.5-2.fc39.s390x 131/153 Verifying : popt-1.19-3.fc39.s390x 132/153 Verifying : publicsuffix-list-dafsa-20230812-1.fc40.noarch 133/153 Verifying : pyproject-srpm-macros-1.9.0-2.fc39.noarch 134/153 Verifying : python-srpm-macros-3.12-4.fc40.noarch 135/153 Verifying : qt5-srpm-macros-5.15.10-2.fc39.noarch 136/153 Verifying : qt6-srpm-macros-6.5.2-2.fc39.noarch 137/153 Verifying : readline-8.2-4.fc39.s390x 138/153 Verifying : rpm-sequoia-1.5.0-1.fc40.s390x 139/153 Verifying : rust-srpm-macros-24-5.fc40.noarch 140/153 Verifying : sed-4.8-14.fc39.s390x 141/153 Verifying : setup-2.14.4-1.fc39.noarch 142/153 Verifying : shadow-utils-2:4.14.0-1.fc40.s390x 143/153 Verifying : sqlite-libs-3.43.1-1.fc40.s390x 144/153 Verifying : systemd-libs-254.1-2.fc40.s390x 145/153 Verifying : tar-2:1.35-2.fc40.s390x 146/153 Verifying : tzdata-2023c-3.fc40.noarch 147/153 Verifying : unzip-6.0-62.fc39.s390x 148/153 Verifying : which-2.21-40.fc39.s390x 149/153 Verifying : xxhash-libs-0.8.2-1.fc39.s390x 150/153 Verifying : xz-5.4.4-1.fc39.s390x 151/153 Verifying : xz-libs-5.4.4-1.fc39.s390x 152/153 Verifying : zip-3.0-38.fc39.s390x 153/153 Installed: alternatives-1.25-1.fc39.s390x ansible-srpm-macros-1-11.fc39.noarch audit-libs-3.1.2-4.fc40.s390x authselect-1.4.2-3.fc39.s390x authselect-libs-1.4.2-3.fc39.s390x basesystem-11-18.fc39.noarch bash-5.2.15-5.fc39.s390x binutils-2.41-5.fc40.s390x binutils-gold-2.41-5.fc40.s390x bzip2-1.0.8-16.fc39.s390x bzip2-libs-1.0.8-16.fc39.s390x ca-certificates-2023.2.60_v7.0.306-3.fc40.noarch coreutils-9.4-1.fc40.s390x coreutils-common-9.4-1.fc40.s390x cpio-2.14-4.fc39.s390x cracklib-2.9.11-2.fc40.s390x crypto-policies-20230731-1.git5ed06e0.fc39.noarch curl-8.3.0-1.fc40.s390x cyrus-sasl-lib-2.1.28-11.fc40.s390x debugedit-5.0-10.fc39.s390x diffutils-3.10-3.fc39.s390x dwz-0.15-3.fc39.s390x ed-1.19-4.fc39.s390x efi-srpm-macros-5-9.fc39.noarch elfutils-0.189-6.fc40.s390x elfutils-debuginfod-client-0.189-6.fc40.s390x elfutils-default-yama-scope-0.189-6.fc40.noarch elfutils-libelf-0.189-6.fc40.s390x elfutils-libs-0.189-6.fc40.s390x fedora-gpg-keys-40-0.1.noarch fedora-release-40-0.7.noarch fedora-release-common-40-0.7.noarch fedora-release-identity-basic-40-0.7.noarch fedora-repos-40-0.1.noarch fedora-repos-rawhide-40-0.1.noarch file-5.45-1.fc40.s390x file-libs-5.45-1.fc40.s390x filesystem-3.18-6.fc39.s390x findutils-1:4.9.0-6.fc40.s390x fonts-srpm-macros-1:2.0.5-12.fc39.noarch forge-srpm-macros-0.1.0-1.fc40.noarch fpc-srpm-macros-1.3-8.fc39.noarch gawk-5.2.2-2.fc39.s390x gdb-minimal-13.2-8.fc40.s390x gdbm-libs-1:1.23-4.fc39.s390x ghc-srpm-macros-1.6.1-2.fc39.noarch glibc-2.38.9000-8.fc40.s390x glibc-common-2.38.9000-8.fc40.s390x glibc-gconv-extra-2.38.9000-8.fc40.s390x glibc-minimal-langpack-2.38.9000-8.fc40.s390x gmp-1:6.2.1-5.fc39.s390x gnat-srpm-macros-6-3.fc39.noarch go-srpm-macros-3.2.0-7.fc40.noarch grep-3.11-5.fc40.s390x gzip-1.12-6.fc39.s390x info-7.0.3-3.fc39.s390x jansson-2.13.1-7.fc39.s390x kernel-srpm-macros-1.0-20.fc39.noarch keyutils-libs-1.6.1-7.fc39.s390x krb5-libs-1.21.2-1.fc40.s390x libacl-2.3.1-9.fc40.s390x libarchive-3.7.2-1.fc40.s390x libattr-2.5.1-9.fc40.s390x libblkid-2.39.2-1.fc40.s390x libbrotli-1.1.0-1.fc40.s390x libcap-2.48-7.fc39.s390x libcap-ng-0.8.3-8.fc40.s390x libcom_err-1.47.0-2.fc39.s390x libcurl-8.3.0-1.fc40.s390x libdb-5.3.28-58.fc40.s390x libeconf-0.5.2-1.fc40.s390x libevent-2.1.12-9.fc39.s390x libfdisk-2.39.2-1.fc40.s390x libffi-3.4.4-4.fc39.s390x libgcc-13.2.1-1.fc40.s390x libgomp-13.2.1-1.fc40.s390x libidn2-2.3.4-3.fc39.s390x libmount-2.39.2-1.fc40.s390x libnghttp2-1.56.0-1.fc40.s390x libnsl2-2.0.0-6.fc39.s390x libpkgconf-1.9.5-2.fc39.s390x libpsl-0.21.2-4.fc39.s390x libpwquality-1.4.5-6.fc39.s390x libselinux-3.5-5.fc39.s390x libsemanage-3.5-4.fc39.s390x libsepol-3.5-2.fc39.s390x libsigsegv-2.14-5.fc39.s390x libsmartcols-2.39.2-1.fc40.s390x libssh-0.10.5-2.fc40.s390x libssh-config-0.10.5-2.fc40.noarch libstdc++-13.2.1-1.fc40.s390x libtasn1-4.19.0-3.fc39.s390x libtirpc-1.3.3-1.rc2.fc39.s390x libunistring-1.1-5.fc40.s390x libutempter-1.2.1-10.fc39.s390x libuuid-2.39.2-1.fc40.s390x libverto-0.3.2-6.fc39.s390x libxcrypt-4.4.36-2.fc39.s390x libxml2-2.11.5-1.fc40.s390x libzstd-1.5.5-4.fc40.s390x lua-libs-5.4.6-3.fc39.s390x lua-srpm-macros-1-9.fc39.noarch lz4-libs-1.9.4-4.fc39.s390x mpfr-4.2.0-3.fc39.s390x ncurses-base-6.4-7.20230520.fc40.noarch ncurses-libs-6.4-7.20230520.fc40.s390x ocaml-srpm-macros-8-2.fc39.noarch openblas-srpm-macros-2-14.fc39.noarch openldap-2.6.6-1.fc39.s390x openssl-libs-1:3.1.1-4.fc40.s390x p11-kit-0.25.0-2.fc39.s390x p11-kit-trust-0.25.0-2.fc39.s390x package-notes-srpm-macros-0.5-9.fc39.noarch pam-1.5.3-2.fc39.s390x pam-libs-1.5.3-2.fc39.s390x patch-2.7.6-22.fc39.s390x pcre2-10.42-1.fc39.2.s390x pcre2-syntax-10.42-1.fc39.2.noarch perl-srpm-macros-1-51.fc39.noarch pkgconf-1.9.5-2.fc39.s390x pkgconf-m4-1.9.5-2.fc39.noarch pkgconf-pkg-config-1.9.5-2.fc39.s390x popt-1.19-3.fc39.s390x publicsuffix-list-dafsa-20230812-1.fc40.noarch pyproject-srpm-macros-1.9.0-2.fc39.noarch python-srpm-macros-3.12-4.fc40.noarch qt5-srpm-macros-5.15.10-2.fc39.noarch qt6-srpm-macros-6.5.2-2.fc39.noarch readline-8.2-4.fc39.s390x redhat-rpm-config-270-1.fc40.noarch rpm-4.18.99-1.fc40.s390x rpm-build-4.18.99-1.fc40.s390x rpm-build-libs-4.18.99-1.fc40.s390x rpm-libs-4.18.99-1.fc40.s390x rpm-sequoia-1.5.0-1.fc40.s390x rust-srpm-macros-24-5.fc40.noarch sed-4.8-14.fc39.s390x setup-2.14.4-1.fc39.noarch shadow-utils-2:4.14.0-1.fc40.s390x sqlite-libs-3.43.1-1.fc40.s390x systemd-libs-254.1-2.fc40.s390x tar-2:1.35-2.fc40.s390x tzdata-2023c-3.fc40.noarch unzip-6.0-62.fc39.s390x util-linux-2.39.2-1.fc40.s390x util-linux-core-2.39.2-1.fc40.s390x which-2.21-40.fc39.s390x xxhash-libs-0.8.2-1.fc39.s390x xz-5.4.4-1.fc39.s390x xz-libs-5.4.4-1.fc39.s390x zip-3.0-38.fc39.s390x zlib-ng-compat-2.1.3-3.fc40.s390x zstd-1.5.5-4.fc40.s390x Complete! Finish: installing minimal buildroot with dnf Start: creating root cache Finish: creating root cache Finish: chroot init INFO: Installed packages: INFO: alternatives-1.25-1.fc39.s390x ansible-srpm-macros-1-11.fc39.noarch audit-libs-3.1.2-4.fc40.s390x authselect-1.4.2-3.fc39.s390x authselect-libs-1.4.2-3.fc39.s390x basesystem-11-18.fc39.noarch bash-5.2.15-5.fc39.s390x binutils-2.41-5.fc40.s390x binutils-gold-2.41-5.fc40.s390x bzip2-1.0.8-16.fc39.s390x bzip2-libs-1.0.8-16.fc39.s390x ca-certificates-2023.2.60_v7.0.306-3.fc40.noarch coreutils-9.4-1.fc40.s390x coreutils-common-9.4-1.fc40.s390x cpio-2.14-4.fc39.s390x cracklib-2.9.11-2.fc40.s390x crypto-policies-20230731-1.git5ed06e0.fc39.noarch curl-8.3.0-1.fc40.s390x cyrus-sasl-lib-2.1.28-11.fc40.s390x debugedit-5.0-10.fc39.s390x diffutils-3.10-3.fc39.s390x dwz-0.15-3.fc39.s390x ed-1.19-4.fc39.s390x efi-srpm-macros-5-9.fc39.noarch elfutils-0.189-6.fc40.s390x elfutils-debuginfod-client-0.189-6.fc40.s390x elfutils-default-yama-scope-0.189-6.fc40.noarch elfutils-libelf-0.189-6.fc40.s390x elfutils-libs-0.189-6.fc40.s390x fedora-gpg-keys-40-0.1.noarch fedora-release-40-0.7.noarch fedora-release-common-40-0.7.noarch fedora-release-identity-basic-40-0.7.noarch fedora-repos-40-0.1.noarch fedora-repos-rawhide-40-0.1.noarch file-5.45-1.fc40.s390x file-libs-5.45-1.fc40.s390x filesystem-3.18-6.fc39.s390x findutils-4.9.0-6.fc40.s390x fonts-srpm-macros-2.0.5-12.fc39.noarch forge-srpm-macros-0.1.0-1.fc40.noarch fpc-srpm-macros-1.3-8.fc39.noarch gawk-5.2.2-2.fc39.s390x gdb-minimal-13.2-8.fc40.s390x gdbm-libs-1.23-4.fc39.s390x ghc-srpm-macros-1.6.1-2.fc39.noarch glibc-2.38.9000-8.fc40.s390x glibc-common-2.38.9000-8.fc40.s390x glibc-gconv-extra-2.38.9000-8.fc40.s390x glibc-minimal-langpack-2.38.9000-8.fc40.s390x gmp-6.2.1-5.fc39.s390x gnat-srpm-macros-6-3.fc39.noarch go-srpm-macros-3.2.0-7.fc40.noarch gpg-pubkey-18b8e74c-62f2920f gpg-pubkey-a15b79cc-63d04c2c grep-3.11-5.fc40.s390x gzip-1.12-6.fc39.s390x info-7.0.3-3.fc39.s390x jansson-2.13.1-7.fc39.s390x kernel-srpm-macros-1.0-20.fc39.noarch keyutils-libs-1.6.1-7.fc39.s390x krb5-libs-1.21.2-1.fc40.s390x libacl-2.3.1-9.fc40.s390x libarchive-3.7.2-1.fc40.s390x libattr-2.5.1-9.fc40.s390x libblkid-2.39.2-1.fc40.s390x libbrotli-1.1.0-1.fc40.s390x libcap-2.48-7.fc39.s390x libcap-ng-0.8.3-8.fc40.s390x libcom_err-1.47.0-2.fc39.s390x libcurl-8.3.0-1.fc40.s390x libdb-5.3.28-58.fc40.s390x libeconf-0.5.2-1.fc40.s390x libevent-2.1.12-9.fc39.s390x libfdisk-2.39.2-1.fc40.s390x libffi-3.4.4-4.fc39.s390x libgcc-13.2.1-1.fc40.s390x libgomp-13.2.1-1.fc40.s390x libidn2-2.3.4-3.fc39.s390x libmount-2.39.2-1.fc40.s390x libnghttp2-1.56.0-1.fc40.s390x libnsl2-2.0.0-6.fc39.s390x libpkgconf-1.9.5-2.fc39.s390x libpsl-0.21.2-4.fc39.s390x libpwquality-1.4.5-6.fc39.s390x libselinux-3.5-5.fc39.s390x libsemanage-3.5-4.fc39.s390x libsepol-3.5-2.fc39.s390x libsigsegv-2.14-5.fc39.s390x libsmartcols-2.39.2-1.fc40.s390x libssh-0.10.5-2.fc40.s390x libssh-config-0.10.5-2.fc40.noarch libstdc++-13.2.1-1.fc40.s390x libtasn1-4.19.0-3.fc39.s390x libtirpc-1.3.3-1.rc2.fc39.s390x libunistring-1.1-5.fc40.s390x libutempter-1.2.1-10.fc39.s390x libuuid-2.39.2-1.fc40.s390x libverto-0.3.2-6.fc39.s390x libxcrypt-4.4.36-2.fc39.s390x libxml2-2.11.5-1.fc40.s390x libzstd-1.5.5-4.fc40.s390x lua-libs-5.4.6-3.fc39.s390x lua-srpm-macros-1-9.fc39.noarch lz4-libs-1.9.4-4.fc39.s390x mpfr-4.2.0-3.fc39.s390x ncurses-base-6.4-7.20230520.fc40.noarch ncurses-libs-6.4-7.20230520.fc40.s390x ocaml-srpm-macros-8-2.fc39.noarch openblas-srpm-macros-2-14.fc39.noarch openldap-2.6.6-1.fc39.s390x openssl-libs-3.1.1-4.fc40.s390x p11-kit-0.25.0-2.fc39.s390x p11-kit-trust-0.25.0-2.fc39.s390x package-notes-srpm-macros-0.5-9.fc39.noarch pam-1.5.3-2.fc39.s390x pam-libs-1.5.3-2.fc39.s390x patch-2.7.6-22.fc39.s390x pcre2-10.42-1.fc39.2.s390x pcre2-syntax-10.42-1.fc39.2.noarch perl-srpm-macros-1-51.fc39.noarch pkgconf-1.9.5-2.fc39.s390x pkgconf-m4-1.9.5-2.fc39.noarch pkgconf-pkg-config-1.9.5-2.fc39.s390x popt-1.19-3.fc39.s390x publicsuffix-list-dafsa-20230812-1.fc40.noarch pyproject-srpm-macros-1.9.0-2.fc39.noarch python-srpm-macros-3.12-4.fc40.noarch qt5-srpm-macros-5.15.10-2.fc39.noarch qt6-srpm-macros-6.5.2-2.fc39.noarch readline-8.2-4.fc39.s390x redhat-rpm-config-270-1.fc40.noarch rpm-4.18.99-1.fc40.s390x rpm-build-4.18.99-1.fc40.s390x rpm-build-libs-4.18.99-1.fc40.s390x rpm-libs-4.18.99-1.fc40.s390x rpm-sequoia-1.5.0-1.fc40.s390x rust-srpm-macros-24-5.fc40.noarch sed-4.8-14.fc39.s390x setup-2.14.4-1.fc39.noarch shadow-utils-4.14.0-1.fc40.s390x sqlite-libs-3.43.1-1.fc40.s390x systemd-libs-254.1-2.fc40.s390x tar-1.35-2.fc40.s390x tzdata-2023c-3.fc40.noarch unzip-6.0-62.fc39.s390x util-linux-2.39.2-1.fc40.s390x util-linux-core-2.39.2-1.fc40.s390x which-2.21-40.fc39.s390x xxhash-libs-0.8.2-1.fc39.s390x xz-5.4.4-1.fc39.s390x xz-libs-5.4.4-1.fc39.s390x zip-3.0-38.fc39.s390x zlib-ng-compat-2.1.3-3.fc40.s390x zstd-1.5.5-4.fc40.s390x Start: buildsrpm Start: rpmbuild -bs Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1689984000 Wrote: /builddir/build/SRPMS/testdisk-7.1-11.fc40.src.rpm Finish: rpmbuild -bs INFO: chroot_scan: 3 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/fedora-rawhide-s390x-1695092308.936586/root/var/log/dnf.rpm.log /var/lib/mock/fedora-rawhide-s390x-1695092308.936586/root/var/log/dnf.librepo.log /var/lib/mock/fedora-rawhide-s390x-1695092308.936586/root/var/log/dnf.log Finish: buildsrpm INFO: Done(/var/lib/copr-rpmbuild/workspace/workdir-nm3pyexr/testdisk/testdisk.spec) Config(child) 1 minutes 8 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/testdisk-7.1-11.fc40.src.rpm) Config(fedora-rawhide-s390x) Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-s390x-bootstrap-1695092308.936586/root. INFO: reusing tmpfs at /var/lib/mock/fedora-rawhide-s390x-bootstrap-1695092308.936586/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata Finish(bootstrap): chroot init Start: chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-s390x-1695092308.936586/root. INFO: calling preinit hooks INFO: enabled root cache Start: unpacking root cache Finish: unpacking root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin Finish: chroot init INFO: Buildroot is handled by package management downloaded with a bootstrap image: rpm-4.18.99-1.fc40.s390x rpm-sequoia-1.5.0-1.fc40.s390x python3-dnf-4.16.2-4.fc40.noarch python3-dnf-plugins-core-4.4.2-1.fc39.noarch yum-4.16.2-4.fc40.noarch Start: build phase for testdisk-7.1-11.fc40.src.rpm Start: build setup for testdisk-7.1-11.fc40.src.rpm Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1689984000 Wrote: /builddir/build/SRPMS/testdisk-7.1-11.fc40.src.rpm No matches found for the following disable plugin patterns: local, spacewalk, versionlock Copr repository 1.4 kB/s | 1.5 kB 00:01 fedora 12 kB/s | 6.1 kB 00:00 Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: desktop-file-utils s390x 0.26-9.fc39 fedora 72 k e2fsprogs-devel s390x 1.47.0-2.fc39 fedora 60 k libewf-devel s390x 20140608-26.fc40 copr_base 27 k libjpeg-turbo-devel s390x 2.1.4-3.fc39 fedora 98 k libuuid-devel s390x 2.39.2-1.fc40 copr_base 25 k make s390x 1:4.4.1-2.fc39 fedora 605 k ncurses-devel s390x 6.4-7.20230520.fc40 fedora 546 k ntfs-3g-devel s390x 2:2022.10.3-3.fc39 fedora 80 k qt5-linguist s390x 5.15.10-3.fc39 fedora 956 k qt5-qtbase-devel s390x 5.15.10-9.fc40 fedora 3.6 M zlib-ng-compat-devel s390x 2.1.3-3.fc40 copr_base 34 k Installing dependencies: abattis-cantarell-vf-fonts noarch 0.301-10.fc39 fedora 121 k annobin-docs noarch 12.26-1.fc40 fedora 94 k annobin-plugin-gcc s390x 12.26-1.fc40 fedora 958 k avahi-libs s390x 0.8-24.fc39 fedora 67 k cairo s390x 1.17.8-5.fc40 copr_base 714 k cmake s390x 3.27.4-8.fc40 fedora 7.8 M cmake-data noarch 3.27.4-8.fc40 fedora 2.2 M cmake-filesystem s390x 3.27.4-8.fc40 fedora 19 k cmake-rpm-macros noarch 3.27.4-8.fc40 fedora 18 k cpp s390x 13.2.1-1.fc40 copr_base 8.8 M cups-libs s390x 1:2.4.6-6.fc40 copr_base 279 k dbus-libs s390x 1:1.14.10-1.fc40 fedora 159 k default-fonts-core-sans noarch 4.0-9.fc40 fedora 32 k double-conversion s390x 3.1.5-9.fc39 fedora 52 k duktape s390x 2.7.0-5.fc39 fedora 174 k e2fsprogs-libs s390x 1.47.0-2.fc39 fedora 234 k emacs-filesystem noarch 1:29.1-1.fc40 copr_base 8.9 k expat s390x 2.5.0-3.fc39 fedora 114 k fontconfig s390x 2.14.2-5.fc40 fedora 305 k fonts-filesystem noarch 1:2.0.5-12.fc39 fedora 8.2 k freetype s390x 2.13.1-2.fc40 copr_base 442 k gc s390x 8.2.2-4.fc39 fedora 114 k gcc s390x 13.2.1-1.fc40 copr_base 28 M gcc-c++ s390x 13.2.1-1.fc40 copr_base 11 M gcc-plugin-annobin s390x 13.2.1-1.fc40 copr_base 46 k glib2 s390x 2.78.0-2.fc40 fedora 2.8 M glibc-devel s390x 2.38.9000-8.fc40 copr_base 96 k glibc-headers-s390 noarch 2.38.9000-8.fc40 copr_base 489 k glx-utils s390x 9.0.0-3.fc39 fedora 77 k gnutls s390x 3.8.1-1.fc40 fedora 1.1 M google-noto-fonts-common noarch 20230801-3.fc40 fedora 17 k google-noto-sans-vf-fonts noarch 20230801-3.fc40 fedora 583 k graphite2 s390x 1.3.14-12.fc39 fedora 100 k groff-base s390x 1.23.0-2.fc39 fedora 1.2 M guile22 s390x 2.2.7-9.fc39 fedora 6.5 M harfbuzz s390x 8.2.0-1.fc40 fedora 1.0 M jsoncpp s390x 1.9.5-5.fc39 fedora 96 k kernel-headers s390x 6.6.0-0.rc1.git0.1.fc40 fedora 1.5 M libICE s390x 1.0.10-12.fc40 fedora 73 k libSM s390x 1.2.3-14.fc40 fedora 43 k libX11 s390x 1.8.6-3.fc40 fedora 668 k libX11-common noarch 1.8.6-3.fc40 fedora 175 k libX11-devel s390x 1.8.6-3.fc40 fedora 1.0 M libX11-xcb s390x 1.8.6-3.fc40 fedora 11 k libXau s390x 1.0.11-4.fc40 fedora 31 k libXau-devel s390x 1.0.11-4.fc40 fedora 13 k libXext s390x 1.3.5-3.fc39 fedora 40 k libXfixes s390x 6.0.0-7.fc40 fedora 19 k libXrender s390x 0.9.11-4.fc40 fedora 28 k libXxf86vm s390x 1.1.5-4.fc40 fedora 18 k libasan s390x 13.2.1-1.fc40 copr_base 507 k libatomic s390x 13.2.1-1.fc40 copr_base 34 k libb2 s390x 0.98.1-9.fc39 fedora 27 k libcom_err-devel s390x 1.47.0-2.fc39 fedora 16 k libdrm s390x 2.4.114-3.fc39 fedora 101 k libevdev s390x 1.13.1-2.fc39 fedora 44 k libewf s390x 20140608-26.fc40 copr_base 551 k libglvnd s390x 1:1.7.0-1.fc40 fedora 145 k libglvnd-core-devel s390x 1:1.7.0-1.fc40 fedora 17 k libglvnd-devel s390x 1:1.7.0-1.fc40 fedora 162 k libglvnd-egl s390x 1:1.7.0-1.fc40 fedora 38 k libglvnd-gles s390x 1:1.7.0-1.fc40 fedora 37 k libglvnd-glx s390x 1:1.7.0-1.fc40 fedora 171 k libglvnd-opengl s390x 1:1.7.0-1.fc40 fedora 54 k libgudev s390x 238-2.fc39 fedora 34 k libicu s390x 73.2-2.fc39 fedora 11 M libinput s390x 1.24.0-1.fc40 fedora 213 k libjpeg-turbo s390x 2.1.4-3.fc39 fedora 178 k libmpc s390x 1.3.1-3.fc39 fedora 73 k libpng s390x 2:1.6.37-15.fc39 fedora 130 k libproxy s390x 0.5.3-2.fc39 fedora 48 k libstdc++-devel s390x 13.2.1-1.fc40 copr_base 2.5 M libtool-ltdl s390x 2.4.7-8.fc40 fedora 37 k libubsan s390x 13.2.1-1.fc40 copr_base 219 k libuv s390x 1:1.46.0-2.fc39 fedora 161 k libwacom s390x 2.8.0-1.fc40 fedora 42 k libwacom-data noarch 2.8.0-1.fc40 fedora 191 k libwayland-client s390x 1.22.0-2.fc39 fedora 34 k libwayland-server s390x 1.22.0-2.fc39 fedora 42 k libxcb s390x 1.13.1-12.fc39 fedora 244 k libxcb-devel s390x 1.13.1-12.fc39 fedora 1.4 M libxcrypt-devel s390x 4.4.36-2.fc39 fedora 30 k libxkbcommon s390x 1.5.0-3.fc39 fedora 146 k libxkbcommon-x11 s390x 1.5.0-3.fc39 fedora 22 k libxshmfence s390x 1.3-13.fc39 fedora 12 k mesa-libEGL s390x 23.2.0~rc3-1.fc40 copr_base 138 k mesa-libEGL-devel s390x 23.2.0~rc3-1.fc40 copr_base 22 k mesa-libGL s390x 23.2.0~rc3-1.fc40 copr_base 197 k mesa-libgbm s390x 23.2.0~rc3-1.fc40 copr_base 47 k mesa-libglapi s390x 23.2.0~rc3-1.fc40 copr_base 78 k mpdecimal s390x 2.5.1-7.fc39 fedora 100 k mtdev s390x 1.1.6-6.fc39 fedora 22 k ncurses s390x 6.4-7.20230520.fc40 fedora 424 k ncurses-c++-libs s390x 6.4-7.20230520.fc40 fedora 38 k nettle s390x 3.9.1-2.fc39 fedora 456 k ntfs-3g-libs s390x 2:2022.10.3-3.fc39 fedora 181 k pcre2-utf16 s390x 10.42-1.fc39.2 fedora 231 k perl-AutoLoader noarch 5.74-500.fc39 fedora 21 k perl-B s390x 1.88-500.fc39 fedora 178 k perl-Carp noarch 1.54-500.fc39 fedora 29 k perl-Class-Struct noarch 0.68-500.fc39 fedora 22 k perl-Data-Dumper s390x 2.188-501.fc39 fedora 57 k perl-Digest noarch 1.20-500.fc39 fedora 25 k perl-Digest-MD5 s390x 2.58-500.fc39 fedora 35 k perl-DynaLoader s390x 1.54-500.fc39 fedora 26 k perl-Encode s390x 4:3.19-500.fc39 fedora 1.7 M perl-English noarch 1.11-500.fc39 fedora 14 k perl-Errno s390x 1.37-500.fc39 fedora 15 k perl-Exporter noarch 5.77-500.fc39 fedora 31 k perl-Fcntl s390x 1.15-500.fc39 fedora 21 k perl-File-Basename noarch 2.86-500.fc39 fedora 17 k perl-File-Find noarch 1.43-500.fc39 fedora 25 k perl-File-Path noarch 2.18-500.fc39 fedora 35 k perl-File-Temp noarch 1:0.231.100-500.fc39 fedora 58 k perl-File-stat noarch 1.13-500.fc39 fedora 17 k perl-FileHandle noarch 2.05-500.fc39 fedora 16 k perl-Getopt-Long noarch 1:2.54-500.fc39 fedora 60 k perl-Getopt-Std noarch 1.13-500.fc39 fedora 16 k perl-HTTP-Tiny noarch 0.088-3.fc39 fedora 56 k perl-IO s390x 1.52-500.fc39 fedora 82 k perl-IO-Socket-IP noarch 0.42-1.fc39 fedora 42 k perl-IO-Socket-SSL noarch 2.083-3.fc39 fedora 225 k perl-IPC-Open3 noarch 1.22-500.fc39 fedora 22 k perl-MIME-Base64 s390x 3.16-500.fc39 fedora 30 k perl-Mozilla-CA noarch 20230821-1.fc40 fedora 13 k perl-Net-SSLeay s390x 1.92-10.fc39 fedora 363 k perl-POSIX s390x 2.13-500.fc39 fedora 98 k perl-PathTools s390x 3.89-500.fc39 fedora 87 k perl-Pod-Escapes noarch 1:1.07-501.fc40 fedora 19 k perl-Pod-Perldoc noarch 3.28.01-501.fc39 fedora 86 k perl-Pod-Simple noarch 1:3.45-4.fc39 fedora 218 k perl-Pod-Usage noarch 4:2.03-500.fc39 fedora 39 k perl-Scalar-List-Utils s390x 5:1.63-500.fc39 fedora 74 k perl-SelectSaver noarch 1.02-500.fc39 fedora 12 k perl-Socket s390x 4:2.037-3.fc39 fedora 55 k perl-Storable s390x 1:3.32-500.fc39 fedora 100 k perl-Symbol noarch 1.09-500.fc39 fedora 14 k perl-Term-ANSIColor noarch 5.01-501.fc39 fedora 47 k perl-Term-Cap noarch 1.18-500.fc39 fedora 22 k perl-Text-ParseWords noarch 3.31-500.fc39 fedora 16 k perl-Text-Tabs+Wrap noarch 2023.0511-3.fc39 fedora 22 k perl-Time-Local noarch 2:1.350-3.fc39 fedora 34 k perl-URI noarch 5.21-1.fc40 fedora 125 k perl-base noarch 2.27-500.fc39 fedora 16 k perl-constant noarch 1.33-501.fc39 fedora 22 k perl-if noarch 0.61.000-500.fc39 fedora 14 k perl-interpreter s390x 4:5.38.0-500.fc39 fedora 72 k perl-libnet noarch 3.15-501.fc39 fedora 129 k perl-libs s390x 4:5.38.0-500.fc39 fedora 2.5 M perl-locale noarch 1.10-500.fc39 fedora 14 k perl-mro s390x 1.28-500.fc39 fedora 29 k perl-overload noarch 1.37-500.fc39 fedora 46 k perl-overloading noarch 0.02-500.fc39 fedora 13 k perl-parent noarch 1:0.241-500.fc39 fedora 14 k perl-podlators noarch 1:5.01-500.fc39 fedora 125 k perl-vars noarch 1.05-500.fc39 fedora 13 k pixman s390x 0.42.2-2.fc39 fedora 212 k python-pip-wheel noarch 23.2.1-1.fc39 fedora 1.5 M python3 s390x 3.12.0~rc2-1.fc40 fedora 26 k python3-libs s390x 3.12.0~rc2-1.fc40 fedora 9.2 M qt-settings noarch 39.0-1.fc40 fedora 9.4 k qt5-qtbase s390x 5.15.10-9.fc40 fedora 3.8 M qt5-qtbase-common noarch 5.15.10-9.fc40 fedora 12 k qt5-qtbase-gui s390x 5.15.10-9.fc40 fedora 6.8 M qt5-qttools-common noarch 5.15.10-3.fc39 fedora 11 k qt5-rpm-macros noarch 5.15.10-2.fc39 fedora 10 k rhash s390x 1.4.3-3.fc39 fedora 200 k vim-filesystem noarch 2:9.0.1882-1.fc40 fedora 18 k vulkan-headers noarch 1.3.261.1-2.fc40 fedora 1.1 M vulkan-loader s390x 1.3.261.1-1.fc40 fedora 159 k vulkan-loader-devel s390x 1.3.261.1-1.fc40 fedora 9.3 k xcb-util s390x 0.4.1-3.fc39 fedora 19 k xcb-util-image s390x 0.4.1-3.fc39 fedora 20 k xcb-util-keysyms s390x 0.4.1-3.fc39 fedora 14 k xcb-util-renderutil s390x 0.3.10-3.fc39 fedora 17 k xcb-util-wm s390x 0.4.2-3.fc39 fedora 32 k xkeyboard-config noarch 2.39-2.fc39 fedora 962 k xml-common noarch 0.6.3-61.fc39 fedora 31 k xorg-x11-proto-devel noarch 2023.2-3.fc40 fedora 298 k Transaction Summary ================================================================================ Install 190 Packages Total size: 137 M Total download size: 88 M Installed size: 479 M Downloading Packages: [SKIPPED] cpp-13.2.1-1.fc40.s390x.rpm: Already downloaded [SKIPPED] gcc-13.2.1-1.fc40.s390x.rpm: Already downloaded [SKIPPED] gcc-plugin-annobin-13.2.1-1.fc40.s390x.rpm: Already downloaded [SKIPPED] glibc-devel-2.38.9000-8.fc40.s390x.rpm: Already downloaded [SKIPPED] glibc-headers-s390-2.38.9000-8.fc40.noarch.rpm: Already downloaded [SKIPPED] libasan-13.2.1-1.fc40.s390x.rpm: Already downloaded [SKIPPED] libatomic-13.2.1-1.fc40.s390x.rpm: Already downloaded [SKIPPED] libubsan-13.2.1-1.fc40.s390x.rpm: Already downloaded [SKIPPED] zlib-ng-compat-devel-2.1.3-3.fc40.s390x.rpm: Already downloaded [SKIPPED] annobin-docs-12.26-1.fc40.noarch.rpm: Already downloaded [SKIPPED] annobin-plugin-gcc-12.26-1.fc40.s390x.rpm: Already downloaded [SKIPPED] cmake-filesystem-3.27.4-8.fc40.s390x.rpm: Already downloaded [SKIPPED] expat-2.5.0-3.fc39.s390x.rpm: Already downloaded [SKIPPED] gc-8.2.2-4.fc39.s390x.rpm: Already downloaded [SKIPPED] guile22-2.2.7-9.fc39.s390x.rpm: Already downloaded [SKIPPED] kernel-headers-6.6.0-0.rc1.git0.1.fc40.s390x.rpm: Already downloaded [SKIPPED] libjpeg-turbo-2.1.4-3.fc39.s390x.rpm: Already downloaded [SKIPPED] libmpc-1.3.1-3.fc39.s390x.rpm: Already downloaded [SKIPPED] libtool-ltdl-2.4.7-8.fc40.s390x.rpm: Already downloaded [SKIPPED] libxcrypt-devel-4.4.36-2.fc39.s390x.rpm: Already downloaded [SKIPPED] make-4.4.1-2.fc39.s390x.rpm: Already downloaded [SKIPPED] ncurses-c++-libs-6.4-7.20230520.fc40.s390x.rpm: Already downloaded [SKIPPED] ncurses-devel-6.4-7.20230520.fc40.s390x.rpm: Already downloaded (24/190): cups-libs-2.4.6-6.fc40.s390x.rpm 56 kB/s | 279 kB 00:05 (25/190): emacs-filesystem-29.1-1.fc40.noarch.r 1.8 kB/s | 8.9 kB 00:05 (26/190): cairo-1.17.8-5.fc40.s390x.rpm 143 kB/s | 714 kB 00:05 (27/190): freetype-2.13.1-2.fc40.s390x.rpm 35 MB/s | 442 kB 00:00 (28/190): libewf-20140608-26.fc40.s390x.rpm 22 MB/s | 551 kB 00:00 (29/190): libewf-devel-20140608-26.fc40.s390x.r 1.9 MB/s | 27 kB 00:00 (30/190): libuuid-devel-2.39.2-1.fc40.s390x.rpm 2.8 MB/s | 25 kB 00:00 (31/190): mesa-libEGL-23.2.0~rc3-1.fc40.s390x.r 23 MB/s | 138 kB 00:00 (32/190): mesa-libEGL-devel-23.2.0~rc3-1.fc40.s 3.5 MB/s | 22 kB 00:00 (33/190): mesa-libGL-23.2.0~rc3-1.fc40.s390x.rp 23 MB/s | 197 kB 00:00 (34/190): mesa-libgbm-23.2.0~rc3-1.fc40.s390x.r 7.8 MB/s | 47 kB 00:00 (35/190): mesa-libglapi-23.2.0~rc3-1.fc40.s390x 11 MB/s | 78 kB 00:00 (36/190): libstdc++-devel-13.2.1-1.fc40.s390x.r 44 MB/s | 2.5 MB 00:00 (37/190): gcc-c++-13.2.1-1.fc40.s390x.rpm 71 MB/s | 11 MB 00:00 (38/190): avahi-libs-0.8-24.fc39.s390x.rpm 103 kB/s | 67 kB 00:00 (39/190): abattis-cantarell-vf-fonts-0.301-10.f 170 kB/s | 121 kB 00:00 (40/190): cmake-rpm-macros-3.27.4-8.fc40.noarch 124 kB/s | 18 kB 00:00 (41/190): dbus-libs-1.14.10-1.fc40.s390x.rpm 599 kB/s | 159 kB 00:00 (42/190): default-fonts-core-sans-4.0-9.fc40.no 227 kB/s | 32 kB 00:00 (43/190): desktop-file-utils-0.26-9.fc39.s390x. 472 kB/s | 72 kB 00:00 (44/190): double-conversion-3.1.5-9.fc39.s390x. 351 kB/s | 52 kB 00:00 (45/190): cmake-data-3.27.4-8.fc40.noarch.rpm 2.4 MB/s | 2.2 MB 00:00 (46/190): duktape-2.7.0-5.fc39.s390x.rpm 950 kB/s | 174 kB 00:00 (47/190): e2fsprogs-devel-1.47.0-2.fc39.s390x.r 363 kB/s | 60 kB 00:00 (48/190): cmake-3.27.4-8.fc40.s390x.rpm 4.3 MB/s | 7.8 MB 00:01 (49/190): fontconfig-2.14.2-5.fc40.s390x.rpm 1.9 MB/s | 305 kB 00:00 (50/190): e2fsprogs-libs-1.47.0-2.fc39.s390x.rp 1.1 MB/s | 234 kB 00:00 (51/190): fonts-filesystem-2.0.5-12.fc39.noarch 56 kB/s | 8.2 kB 00:00 (52/190): glx-utils-9.0.0-3.fc39.s390x.rpm 496 kB/s | 77 kB 00:00 (53/190): gnutls-3.8.1-1.fc40.s390x.rpm 6.3 MB/s | 1.1 MB 00:00 (54/190): glib2-2.78.0-2.fc40.s390x.rpm 9.4 MB/s | 2.8 MB 00:00 (55/190): google-noto-fonts-common-20230801-3.f 124 kB/s | 17 kB 00:00 (56/190): google-noto-sans-vf-fonts-20230801-3. 3.7 MB/s | 583 kB 00:00 (57/190): graphite2-1.3.14-12.fc39.s390x.rpm 678 kB/s | 100 kB 00:00 (58/190): harfbuzz-8.2.0-1.fc40.s390x.rpm 6.1 MB/s | 1.0 MB 00:00 (59/190): jsoncpp-1.9.5-5.fc39.s390x.rpm 629 kB/s | 96 kB 00:00 (60/190): libICE-1.0.10-12.fc40.s390x.rpm 497 kB/s | 73 kB 00:00 (61/190): libSM-1.2.3-14.fc40.s390x.rpm 292 kB/s | 43 kB 00:00 (62/190): groff-base-1.23.0-2.fc39.s390x.rpm 2.7 MB/s | 1.2 MB 00:00 (63/190): libX11-common-1.8.6-3.fc40.noarch.rpm 1.1 MB/s | 175 kB 00:00 (64/190): libX11-1.8.6-3.fc40.s390x.rpm 4.2 MB/s | 668 kB 00:00 (65/190): libX11-devel-1.8.6-3.fc40.s390x.rpm 5.0 MB/s | 1.0 MB 00:00 (66/190): libX11-xcb-1.8.6-3.fc40.s390x.rpm 77 kB/s | 11 kB 00:00 (67/190): libXau-1.0.11-4.fc40.s390x.rpm 215 kB/s | 31 kB 00:00 (68/190): libXau-devel-1.0.11-4.fc40.s390x.rpm 102 kB/s | 13 kB 00:00 (69/190): libXext-1.3.5-3.fc39.s390x.rpm 271 kB/s | 40 kB 00:00 (70/190): libXfixes-6.0.0-7.fc40.s390x.rpm 129 kB/s | 19 kB 00:00 (71/190): libXrender-0.9.11-4.fc40.s390x.rpm 210 kB/s | 28 kB 00:00 (72/190): libXxf86vm-1.1.5-4.fc40.s390x.rpm 121 kB/s | 18 kB 00:00 (73/190): libb2-0.98.1-9.fc39.s390x.rpm 182 kB/s | 27 kB 00:00 (74/190): libcom_err-devel-1.47.0-2.fc39.s390x. 114 kB/s | 16 kB 00:00 (75/190): libdrm-2.4.114-3.fc39.s390x.rpm 688 kB/s | 101 kB 00:00 (76/190): libevdev-1.13.1-2.fc39.s390x.rpm 298 kB/s | 44 kB 00:00 (77/190): libglvnd-1.7.0-1.fc40.s390x.rpm 1.0 MB/s | 145 kB 00:00 (78/190): libglvnd-core-devel-1.7.0-1.fc40.s390 117 kB/s | 17 kB 00:00 (79/190): libglvnd-devel-1.7.0-1.fc40.s390x.rpm 1.1 MB/s | 162 kB 00:00 (80/190): libglvnd-egl-1.7.0-1.fc40.s390x.rpm 284 kB/s | 38 kB 00:00 (81/190): libglvnd-opengl-1.7.0-1.fc40.s390x.rp 397 kB/s | 54 kB 00:00 (82/190): libglvnd-gles-1.7.0-1.fc40.s390x.rpm 254 kB/s | 37 kB 00:00 (83/190): libglvnd-glx-1.7.0-1.fc40.s390x.rpm 1.1 MB/s | 171 kB 00:00 (84/190): libgudev-238-2.fc39.s390x.rpm 255 kB/s | 34 kB 00:00 (85/190): libinput-1.24.0-1.fc40.s390x.rpm 1.4 MB/s | 213 kB 00:00 (86/190): libjpeg-turbo-devel-2.1.4-3.fc39.s390 711 kB/s | 98 kB 00:00 (87/190): libpng-1.6.37-15.fc39.s390x.rpm 869 kB/s | 130 kB 00:00 (88/190): libproxy-0.5.3-2.fc39.s390x.rpm 353 kB/s | 48 kB 00:00 (89/190): libuv-1.46.0-2.fc39.s390x.rpm 1.1 MB/s | 161 kB 00:00 (90/190): libwacom-2.8.0-1.fc40.s390x.rpm 311 kB/s | 42 kB 00:00 (91/190): libwacom-data-2.8.0-1.fc40.noarch.rpm 1.3 MB/s | 191 kB 00:00 (92/190): libwayland-client-1.22.0-2.fc39.s390x 252 kB/s | 34 kB 00:00 (93/190): libicu-73.2-2.fc39.s390x.rpm 14 MB/s | 11 MB 00:00 (94/190): libwayland-server-1.22.0-2.fc39.s390x 283 kB/s | 42 kB 00:00 (95/190): libxcb-1.13.1-12.fc39.s390x.rpm 1.6 MB/s | 244 kB 00:00 (96/190): libxkbcommon-1.5.0-3.fc39.s390x.rpm 991 kB/s | 146 kB 00:00 (97/190): libxcb-devel-1.13.1-12.fc39.s390x.rpm 6.5 MB/s | 1.4 MB 00:00 (98/190): libxkbcommon-x11-1.5.0-3.fc39.s390x.r 164 kB/s | 22 kB 00:00 (99/190): libxshmfence-1.3-13.fc39.s390x.rpm 78 kB/s | 12 kB 00:00 (100/190): mpdecimal-2.5.1-7.fc39.s390x.rpm 724 kB/s | 100 kB 00:00 (101/190): mtdev-1.1.6-6.fc39.s390x.rpm 147 kB/s | 22 kB 00:00 (102/190): ncurses-6.4-7.20230520.fc40.s390x.rp 2.7 MB/s | 424 kB 00:00 (103/190): nettle-3.9.1-2.fc39.s390x.rpm 2.7 MB/s | 456 kB 00:00 (104/190): ntfs-3g-devel-2022.10.3-3.fc39.s390x 483 kB/s | 80 kB 00:00 (105/190): ntfs-3g-libs-2022.10.3-3.fc39.s390x. 1.1 MB/s | 181 kB 00:00 (106/190): pcre2-utf16-10.42-1.fc39.2.s390x.rpm 1.5 MB/s | 231 kB 00:00 (107/190): perl-AutoLoader-5.74-500.fc39.noarch 142 kB/s | 21 kB 00:00 (108/190): perl-B-1.88-500.fc39.s390x.rpm 1.2 MB/s | 178 kB 00:00 (109/190): perl-Carp-1.54-500.fc39.noarch.rpm 216 kB/s | 29 kB 00:00 (110/190): perl-Class-Struct-0.68-500.fc39.noar 151 kB/s | 22 kB 00:00 (111/190): perl-Data-Dumper-2.188-501.fc39.s390 391 kB/s | 57 kB 00:00 (112/190): perl-Digest-1.20-500.fc39.noarch.rpm 186 kB/s | 25 kB 00:00 (113/190): perl-Digest-MD5-2.58-500.fc39.s390x. 240 kB/s | 35 kB 00:00 (114/190): perl-DynaLoader-1.54-500.fc39.s390x. 178 kB/s | 26 kB 00:00 (115/190): perl-English-1.11-500.fc39.noarch.rp 93 kB/s | 14 kB 00:00 (116/190): perl-Encode-3.19-500.fc39.s390x.rpm 6.8 MB/s | 1.7 MB 00:00 (117/190): perl-Errno-1.37-500.fc39.s390x.rpm 99 kB/s | 15 kB 00:00 (118/190): perl-Exporter-5.77-500.fc39.noarch.r 209 kB/s | 31 kB 00:00 (119/190): perl-Fcntl-1.15-500.fc39.s390x.rpm 155 kB/s | 21 kB 00:00 (120/190): perl-File-Basename-2.86-500.fc39.noa 118 kB/s | 17 kB 00:00 (121/190): perl-File-Find-1.43-500.fc39.noarch. 169 kB/s | 25 kB 00:00 (122/190): perl-File-Path-2.18-500.fc39.noarch. 262 kB/s | 35 kB 00:00 (123/190): perl-File-Temp-0.231.100-500.fc39.no 400 kB/s | 58 kB 00:00 (124/190): perl-File-stat-1.13-500.fc39.noarch. 118 kB/s | 17 kB 00:00 (125/190): perl-FileHandle-2.05-500.fc39.noarch 118 kB/s | 16 kB 00:00 (126/190): perl-Getopt-Long-2.54-500.fc39.noarc 409 kB/s | 60 kB 00:00 (127/190): perl-Getopt-Std-1.13-500.fc39.noarch 107 kB/s | 16 kB 00:00 (128/190): perl-HTTP-Tiny-0.088-3.fc39.noarch.r 414 kB/s | 56 kB 00:00 (129/190): perl-IO-1.52-500.fc39.s390x.rpm 561 kB/s | 82 kB 00:00 (130/190): perl-IO-Socket-SSL-2.083-3.fc39.noar 1.5 MB/s | 225 kB 00:00 (131/190): perl-IO-Socket-IP-0.42-1.fc39.noarch 283 kB/s | 42 kB 00:00 (132/190): perl-IPC-Open3-1.22-500.fc39.noarch. 150 kB/s | 22 kB 00:00 (133/190): perl-MIME-Base64-3.16-500.fc39.s390x 225 kB/s | 30 kB 00:00 (134/190): perl-Mozilla-CA-20230821-1.fc40.noar 92 kB/s | 13 kB 00:00 (135/190): perl-Net-SSLeay-1.92-10.fc39.s390x.r 2.3 MB/s | 363 kB 00:00 (136/190): perl-POSIX-2.13-500.fc39.s390x.rpm 724 kB/s | 98 kB 00:00 (137/190): perl-PathTools-3.89-500.fc39.s390x.r 577 kB/s | 87 kB 00:00 (138/190): perl-Pod-Escapes-1.07-501.fc40.noarc 133 kB/s | 19 kB 00:00 (139/190): perl-Pod-Perldoc-3.28.01-501.fc39.no 639 kB/s | 86 kB 00:00 (140/190): perl-Pod-Simple-3.45-4.fc39.noarch.r 1.4 MB/s | 218 kB 00:00 (141/190): perl-Scalar-List-Utils-1.63-500.fc39 549 kB/s | 74 kB 00:00 (142/190): perl-Pod-Usage-2.03-500.fc39.noarch. 268 kB/s | 39 kB 00:00 (143/190): perl-SelectSaver-1.02-500.fc39.noarc 81 kB/s | 12 kB 00:00 (144/190): perl-Socket-2.037-3.fc39.s390x.rpm 410 kB/s | 55 kB 00:00 (145/190): perl-Storable-3.32-500.fc39.s390x.rp 677 kB/s | 100 kB 00:00 (146/190): perl-Symbol-1.09-500.fc39.noarch.rpm 98 kB/s | 14 kB 00:00 (147/190): perl-Term-ANSIColor-5.01-501.fc39.no 352 kB/s | 47 kB 00:00 (148/190): perl-Term-Cap-1.18-500.fc39.noarch.r 150 kB/s | 22 kB 00:00 (149/190): perl-Text-ParseWords-3.31-500.fc39.n 109 kB/s | 16 kB 00:00 (150/190): perl-Text-Tabs+Wrap-2023.0511-3.fc39 169 kB/s | 22 kB 00:00 (151/190): perl-Time-Local-1.350-3.fc39.noarch. 235 kB/s | 34 kB 00:00 (152/190): perl-URI-5.21-1.fc40.noarch.rpm 806 kB/s | 125 kB 00:00 (153/190): perl-base-2.27-500.fc39.noarch.rpm 123 kB/s | 16 kB 00:00 (154/190): perl-constant-1.33-501.fc39.noarch.r 154 kB/s | 22 kB 00:00 (155/190): perl-if-0.61.000-500.fc39.noarch.rpm 96 kB/s | 14 kB 00:00 (156/190): perl-interpreter-5.38.0-500.fc39.s39 532 kB/s | 72 kB 00:00 (157/190): perl-libnet-3.15-501.fc39.noarch.rpm 872 kB/s | 129 kB 00:00 (158/190): perl-locale-1.10-500.fc39.noarch.rpm 104 kB/s | 14 kB 00:00 (159/190): perl-mro-1.28-500.fc39.s390x.rpm 198 kB/s | 29 kB 00:00 (160/190): perl-libs-5.38.0-500.fc39.s390x.rpm 9.2 MB/s | 2.5 MB 00:00 (161/190): perl-overload-1.37-500.fc39.noarch.r 341 kB/s | 46 kB 00:00 (162/190): perl-overloading-0.02-500.fc39.noarc 89 kB/s | 13 kB 00:00 (163/190): perl-parent-0.241-500.fc39.noarch.rp 98 kB/s | 14 kB 00:00 (164/190): perl-podlators-5.01-500.fc39.noarch. 909 kB/s | 125 kB 00:00 (165/190): perl-vars-1.05-500.fc39.noarch.rpm 88 kB/s | 13 kB 00:00 (166/190): pixman-0.42.2-2.fc39.s390x.rpm 1.3 MB/s | 212 kB 00:00 (167/190): python-pip-wheel-23.2.1-1.fc39.noarc 7.0 MB/s | 1.5 MB 00:00 (168/190): python3-3.12.0~rc2-1.fc40.s390x.rpm 178 kB/s | 26 kB 00:00 (169/190): qt-settings-39.0-1.fc40.noarch.rpm 71 kB/s | 9.4 kB 00:00 (170/190): qt5-linguist-5.15.10-3.fc39.s390x.rp 5.8 MB/s | 956 kB 00:00 (171/190): qt5-qtbase-common-5.15.10-9.fc40.noa 82 kB/s | 12 kB 00:00 (172/190): qt5-qtbase-5.15.10-9.fc40.s390x.rpm 12 MB/s | 3.8 MB 00:00 (173/190): python3-libs-3.12.0~rc2-1.fc40.s390x 15 MB/s | 9.2 MB 00:00 (174/190): qt5-qttools-common-5.15.10-3.fc39.no 77 kB/s | 11 kB 00:00 (175/190): qt5-qtbase-devel-5.15.10-9.fc40.s390 8.1 MB/s | 3.6 MB 00:00 (176/190): qt5-rpm-macros-5.15.10-2.fc39.noarch 69 kB/s | 10 kB 00:00 (177/190): qt5-qtbase-gui-5.15.10-9.fc40.s390x. 16 MB/s | 6.8 MB 00:00 (178/190): rhash-1.4.3-3.fc39.s390x.rpm 1.3 MB/s | 200 kB 00:00 (179/190): vim-filesystem-9.0.1882-1.fc40.noarc 123 kB/s | 18 kB 00:00 (180/190): vulkan-headers-1.3.261.1-2.fc40.noar 7.6 MB/s | 1.1 MB 00:00 (181/190): vulkan-loader-1.3.261.1-1.fc40.s390x 1.0 MB/s | 159 kB 00:00 (182/190): vulkan-loader-devel-1.3.261.1-1.fc40 63 kB/s | 9.3 kB 00:00 (183/190): xcb-util-0.4.1-3.fc39.s390x.rpm 141 kB/s | 19 kB 00:00 (184/190): xcb-util-image-0.4.1-3.fc39.s390x.rp 133 kB/s | 20 kB 00:00 (185/190): xcb-util-renderutil-0.3.10-3.fc39.s3 129 kB/s | 17 kB 00:00 (186/190): xcb-util-keysyms-0.4.1-3.fc39.s390x. 95 kB/s | 14 kB 00:00 (187/190): xcb-util-wm-0.4.2-3.fc39.s390x.rpm 220 kB/s | 32 kB 00:00 (188/190): xkeyboard-config-2.39-2.fc39.noarch. 6.4 MB/s | 962 kB 00:00 (189/190): xml-common-0.6.3-61.fc39.noarch.rpm 210 kB/s | 31 kB 00:00 (190/190): xorg-x11-proto-devel-2023.2-3.fc40.n 1.9 MB/s | 298 kB 00:00 -------------------------------------------------------------------------------- Total 5.8 MB/s | 88 MB 00:15 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : cmake-filesystem-3.27.4-8.fc40.s390x 1/190 Installing : libglvnd-1:1.7.0-1.fc40.s390x 2/190 Installing : expat-2.5.0-3.fc39.s390x 3/190 Installing : libdrm-2.4.114-3.fc39.s390x 4/190 Installing : libX11-xcb-1.8.6-3.fc40.s390x 5/190 Installing : libpng-2:1.6.37-15.fc39.s390x 6/190 Installing : libmpc-1.3.1-3.fc39.s390x 7/190 Installing : fonts-filesystem-1:2.0.5-12.fc39.noarch 8/190 Installing : xorg-x11-proto-devel-2023.2-3.fc40.noarch 9/190 Installing : libxshmfence-1.3-13.fc39.s390x 10/190 Installing : libwayland-server-1.22.0-2.fc39.s390x 11/190 Installing : libjpeg-turbo-2.1.4-3.fc39.s390x 12/190 Installing : libXau-1.0.11-4.fc40.s390x 13/190 Installing : libxcb-1.13.1-12.fc39.s390x 14/190 Installing : mesa-libgbm-23.2.0~rc3-1.fc40.s390x 15/190 Installing : libICE-1.0.10-12.fc40.s390x 16/190 Installing : dbus-libs-1:1.14.10-1.fc40.s390x 17/190 Installing : mesa-libglapi-23.2.0~rc3-1.fc40.s390x 18/190 Installing : emacs-filesystem-1:29.1-1.fc40.noarch 19/190 Installing : avahi-libs-0.8-24.fc39.s390x 20/190 Installing : libSM-1.2.3-14.fc40.s390x 21/190 Installing : xcb-util-0.4.1-3.fc39.s390x 22/190 Installing : xcb-util-image-0.4.1-3.fc39.s390x 23/190 Installing : xcb-util-keysyms-0.4.1-3.fc39.s390x 24/190 Installing : xcb-util-renderutil-0.3.10-3.fc39.s390x 25/190 Installing : xcb-util-wm-0.4.2-3.fc39.s390x 26/190 Installing : libXau-devel-1.0.11-4.fc40.s390x 27/190 Installing : libxcb-devel-1.13.1-12.fc39.s390x 28/190 Installing : abattis-cantarell-vf-fonts-0.301-10.fc39.noarch 29/190 Installing : cpp-13.2.1-1.fc40.s390x 30/190 Installing : libglvnd-opengl-1:1.7.0-1.fc40.s390x 31/190 Running scriptlet: xml-common-0.6.3-61.fc39.noarch 32/190 Installing : xml-common-0.6.3-61.fc39.noarch 32/190 Installing : xkeyboard-config-2.39-2.fc39.noarch 33/190 Installing : libxkbcommon-1.5.0-3.fc39.s390x 34/190 Installing : libxkbcommon-x11-1.5.0-3.fc39.s390x 35/190 Installing : vulkan-loader-1.3.261.1-1.fc40.s390x 36/190 Installing : vim-filesystem-2:9.0.1882-1.fc40.noarch 37/190 Installing : rhash-1.4.3-3.fc39.s390x 38/190 Installing : qt5-qttools-common-5.15.10-3.fc39.noarch 39/190 Installing : qt-settings-39.0-1.fc40.noarch 40/190 Installing : python-pip-wheel-23.2.1-1.fc39.noarch 41/190 Installing : pixman-0.42.2-2.fc39.s390x 42/190 Installing : pcre2-utf16-10.42-1.fc39.2.s390x 43/190 Installing : ntfs-3g-libs-2:2022.10.3-3.fc39.s390x 44/190 Installing : nettle-3.9.1-2.fc39.s390x 45/190 Installing : gnutls-3.8.1-1.fc40.s390x 46/190 Installing : glib2-2.78.0-2.fc40.s390x 47/190 Installing : libgudev-238-2.fc39.s390x 48/190 Installing : cups-libs-1:2.4.6-6.fc40.s390x 49/190 Installing : ncurses-c++-libs-6.4-7.20230520.fc40.s390x 50/190 Installing : ncurses-6.4-7.20230520.fc40.s390x 51/190 Installing : mtdev-1.1.6-6.fc39.s390x 52/190 Installing : mpdecimal-2.5.1-7.fc39.s390x 53/190 Installing : libwayland-client-1.22.0-2.fc39.s390x 54/190 Installing : libglvnd-egl-1:1.7.0-1.fc40.s390x 55/190 Installing : mesa-libEGL-23.2.0~rc3-1.fc40.s390x 56/190 Installing : libglvnd-gles-1:1.7.0-1.fc40.s390x 57/190 Installing : libwacom-data-2.8.0-1.fc40.noarch 58/190 Installing : libuv-1:1.46.0-2.fc39.s390x 59/190 Installing : libtool-ltdl-2.4.7-8.fc40.s390x 60/190 Installing : libicu-73.2-2.fc39.s390x 61/190 Installing : libglvnd-core-devel-1:1.7.0-1.fc40.s390x 62/190 Installing : libevdev-1.13.1-2.fc39.s390x 63/190 Installing : libcom_err-devel-1.47.0-2.fc39.s390x 64/190 Installing : libb2-0.98.1-9.fc39.s390x 65/190 Installing : python3-3.12.0~rc2-1.fc40.s390x 66/190 Installing : python3-libs-3.12.0~rc2-1.fc40.s390x 67/190 Installing : cmake-rpm-macros-3.27.4-8.fc40.noarch 68/190 Installing : libwacom-2.8.0-1.fc40.s390x 69/190 Installing : libinput-1.24.0-1.fc40.s390x 70/190 Running scriptlet: libinput-1.24.0-1.fc40.s390x 70/190 Installing : vulkan-headers-1.3.261.1-2.fc40.noarch 71/190 Installing : vulkan-loader-devel-1.3.261.1-1.fc40.s390x 72/190 Installing : libX11-common-1.8.6-3.fc40.noarch 73/190 Installing : libX11-1.8.6-3.fc40.s390x 74/190 Installing : libXext-1.3.5-3.fc39.s390x 75/190 Installing : libXxf86vm-1.1.5-4.fc40.s390x 76/190 Installing : libX11-devel-1.8.6-3.fc40.s390x 77/190 Installing : libXfixes-6.0.0-7.fc40.s390x 78/190 Installing : libglvnd-glx-1:1.7.0-1.fc40.s390x 79/190 Installing : mesa-libGL-23.2.0~rc3-1.fc40.s390x 80/190 Installing : libglvnd-devel-1:1.7.0-1.fc40.s390x 81/190 Installing : mesa-libEGL-devel-23.2.0~rc3-1.fc40.s390x 82/190 Installing : glx-utils-9.0.0-3.fc39.s390x 83/190 Installing : libXrender-0.9.11-4.fc40.s390x 84/190 Installing : kernel-headers-6.6.0-0.rc1.git0.1.fc40.s390x 85/190 Installing : jsoncpp-1.9.5-5.fc39.s390x 86/190 Running scriptlet: groff-base-1.23.0-2.fc39.s390x 87/190 Installing : groff-base-1.23.0-2.fc39.s390x 87/190 Running scriptlet: groff-base-1.23.0-2.fc39.s390x 87/190 Installing : perl-Digest-1.20-500.fc39.noarch 88/190 Installing : perl-Digest-MD5-2.58-500.fc39.s390x 89/190 Installing : perl-B-1.88-500.fc39.s390x 90/190 Installing : perl-FileHandle-2.05-500.fc39.noarch 91/190 Installing : perl-Data-Dumper-2.188-501.fc39.s390x 92/190 Installing : perl-libnet-3.15-501.fc39.noarch 93/190 Installing : perl-AutoLoader-5.74-500.fc39.noarch 94/190 Installing : perl-base-2.27-500.fc39.noarch 95/190 Installing : perl-URI-5.21-1.fc40.noarch 96/190 Installing : perl-Text-Tabs+Wrap-2023.0511-3.fc39.noarch 97/190 Installing : perl-Mozilla-CA-20230821-1.fc40.noarch 98/190 Installing : perl-if-0.61.000-500.fc39.noarch 99/190 Installing : perl-locale-1.10-500.fc39.noarch 100/190 Installing : perl-IO-Socket-IP-0.42-1.fc39.noarch 101/190 Installing : perl-Time-Local-2:1.350-3.fc39.noarch 102/190 Installing : perl-File-Path-2.18-500.fc39.noarch 103/190 Installing : perl-IO-Socket-SSL-2.083-3.fc39.noarch 104/190 Installing : perl-Net-SSLeay-1.92-10.fc39.s390x 105/190 Installing : perl-Pod-Escapes-1:1.07-501.fc40.noarch 106/190 Installing : perl-Class-Struct-0.68-500.fc39.noarch 107/190 Installing : perl-Term-ANSIColor-5.01-501.fc39.noarch 108/190 Installing : perl-POSIX-2.13-500.fc39.s390x 109/190 Installing : perl-IPC-Open3-1.22-500.fc39.noarch 110/190 Installing : perl-File-Temp-1:0.231.100-500.fc39.noarch 111/190 Installing : perl-HTTP-Tiny-0.088-3.fc39.noarch 112/190 Installing : perl-Term-Cap-1.18-500.fc39.noarch 113/190 Installing : perl-Pod-Simple-1:3.45-4.fc39.noarch 114/190 Installing : perl-Socket-4:2.037-3.fc39.s390x 115/190 Installing : perl-SelectSaver-1.02-500.fc39.noarch 116/190 Installing : perl-Symbol-1.09-500.fc39.noarch 117/190 Installing : perl-File-stat-1.13-500.fc39.noarch 118/190 Installing : perl-podlators-1:5.01-500.fc39.noarch 119/190 Installing : perl-Pod-Perldoc-3.28.01-501.fc39.noarch 120/190 Installing : perl-Fcntl-1.15-500.fc39.s390x 121/190 Installing : perl-Text-ParseWords-3.31-500.fc39.noarch 122/190 Installing : perl-mro-1.28-500.fc39.s390x 123/190 Installing : perl-IO-1.52-500.fc39.s390x 124/190 Installing : perl-overloading-0.02-500.fc39.noarch 125/190 Installing : perl-Pod-Usage-4:2.03-500.fc39.noarch 126/190 Installing : perl-Errno-1.37-500.fc39.s390x 127/190 Installing : perl-File-Basename-2.86-500.fc39.noarch 128/190 Installing : perl-Getopt-Std-1.13-500.fc39.noarch 129/190 Installing : perl-MIME-Base64-3.16-500.fc39.s390x 130/190 Installing : perl-Scalar-List-Utils-5:1.63-500.fc39.s390x 131/190 Installing : perl-constant-1.33-501.fc39.noarch 132/190 Installing : perl-Storable-1:3.32-500.fc39.s390x 133/190 Installing : perl-overload-1.37-500.fc39.noarch 134/190 Installing : perl-parent-1:0.241-500.fc39.noarch 135/190 Installing : perl-vars-1.05-500.fc39.noarch 136/190 Installing : perl-Getopt-Long-1:2.54-500.fc39.noarch 137/190 Installing : perl-Carp-1.54-500.fc39.noarch 138/190 Installing : perl-Exporter-5.77-500.fc39.noarch 139/190 Installing : perl-PathTools-3.89-500.fc39.s390x 140/190 Installing : perl-DynaLoader-1.54-500.fc39.s390x 141/190 Installing : perl-Encode-4:3.19-500.fc39.s390x 142/190 Installing : perl-libs-4:5.38.0-500.fc39.s390x 143/190 Installing : perl-interpreter-4:5.38.0-500.fc39.s390x 144/190 Installing : perl-English-1.11-500.fc39.noarch 145/190 Installing : perl-File-Find-1.43-500.fc39.noarch 146/190 Installing : graphite2-1.3.14-12.fc39.s390x 147/190 Installing : google-noto-fonts-common-20230801-3.fc40.noarch 148/190 Installing : google-noto-sans-vf-fonts-20230801-3.fc40.noarch 149/190 Installing : default-fonts-core-sans-4.0-9.fc40.noarch 150/190 Installing : cairo-1.17.8-5.fc40.s390x 151/190 Installing : harfbuzz-8.2.0-1.fc40.s390x 152/190 Installing : freetype-2.13.1-2.fc40.s390x 153/190 Installing : fontconfig-2.14.2-5.fc40.s390x 154/190 Running scriptlet: fontconfig-2.14.2-5.fc40.s390x 154/190 Installing : gc-8.2.2-4.fc39.s390x 155/190 Installing : guile22-2.2.7-9.fc39.s390x 156/190 Installing : make-1:4.4.1-2.fc39.s390x 157/190 Installing : cmake-3.27.4-8.fc40.s390x 158/190 Installing : cmake-data-3.27.4-8.fc40.noarch 159/190 Installing : e2fsprogs-libs-1.47.0-2.fc39.s390x 160/190 Installing : duktape-2.7.0-5.fc39.s390x 161/190 Installing : libproxy-0.5.3-2.fc39.s390x 162/190 Installing : double-conversion-3.1.5-9.fc39.s390x 163/190 Installing : qt5-qtbase-common-5.15.10-9.fc40.noarch 164/190 Running scriptlet: qt5-qtbase-5.15.10-9.fc40.s390x 165/190 Installing : qt5-qtbase-5.15.10-9.fc40.s390x 165/190 Running scriptlet: qt5-qtbase-5.15.10-9.fc40.s390x 165/190 Installing : qt5-qtbase-gui-5.15.10-9.fc40.s390x 166/190 Installing : annobin-docs-12.26-1.fc40.noarch 167/190 Installing : zlib-ng-compat-devel-2.1.3-3.fc40.s390x 168/190 Installing : libubsan-13.2.1-1.fc40.s390x 169/190 Installing : libstdc++-devel-13.2.1-1.fc40.s390x 170/190 Installing : libewf-20140608-26.fc40.s390x 171/190 Installing : libatomic-13.2.1-1.fc40.s390x 172/190 Installing : libasan-13.2.1-1.fc40.s390x 173/190 Installing : glibc-headers-s390-2.38.9000-8.fc40.noarch 174/190 Installing : libxcrypt-devel-4.4.36-2.fc39.s390x 175/190 Installing : glibc-devel-2.38.9000-8.fc40.s390x 176/190 Installing : gcc-13.2.1-1.fc40.s390x 177/190 Running scriptlet: gcc-13.2.1-1.fc40.s390x 177/190 Installing : gcc-c++-13.2.1-1.fc40.s390x 178/190 Installing : qt5-rpm-macros-5.15.10-2.fc39.noarch 179/190 Installing : qt5-qtbase-devel-5.15.10-9.fc40.s390x 180/190 Installing : gcc-plugin-annobin-13.2.1-1.fc40.s390x 181/190 Running scriptlet: gcc-plugin-annobin-13.2.1-1.fc40.s390x 181/190 Installing : annobin-plugin-gcc-12.26-1.fc40.s390x 182/190 Running scriptlet: annobin-plugin-gcc-12.26-1.fc40.s390x 182/190 Installing : libewf-devel-20140608-26.fc40.s390x 183/190 Installing : qt5-linguist-5.15.10-3.fc39.s390x 184/190 Installing : e2fsprogs-devel-1.47.0-2.fc39.s390x 185/190 Installing : ncurses-devel-6.4-7.20230520.fc40.s390x 186/190 Installing : desktop-file-utils-0.26-9.fc39.s390x 187/190 Installing : ntfs-3g-devel-2:2022.10.3-3.fc39.s390x 188/190 Installing : libjpeg-turbo-devel-2.1.4-3.fc39.s390x 189/190 Installing : libuuid-devel-2.39.2-1.fc40.s390x 190/190 Running scriptlet: fontconfig-2.14.2-5.fc40.s390x 190/190 Running scriptlet: libuuid-devel-2.39.2-1.fc40.s390x 190/190 Verifying : cairo-1.17.8-5.fc40.s390x 1/190 Verifying : cpp-13.2.1-1.fc40.s390x 2/190 Verifying : cups-libs-1:2.4.6-6.fc40.s390x 3/190 Verifying : emacs-filesystem-1:29.1-1.fc40.noarch 4/190 Verifying : freetype-2.13.1-2.fc40.s390x 5/190 Verifying : gcc-13.2.1-1.fc40.s390x 6/190 Verifying : gcc-c++-13.2.1-1.fc40.s390x 7/190 Verifying : gcc-plugin-annobin-13.2.1-1.fc40.s390x 8/190 Verifying : glibc-devel-2.38.9000-8.fc40.s390x 9/190 Verifying : glibc-headers-s390-2.38.9000-8.fc40.noarch 10/190 Verifying : libasan-13.2.1-1.fc40.s390x 11/190 Verifying : libatomic-13.2.1-1.fc40.s390x 12/190 Verifying : libewf-20140608-26.fc40.s390x 13/190 Verifying : libewf-devel-20140608-26.fc40.s390x 14/190 Verifying : libstdc++-devel-13.2.1-1.fc40.s390x 15/190 Verifying : libubsan-13.2.1-1.fc40.s390x 16/190 Verifying : libuuid-devel-2.39.2-1.fc40.s390x 17/190 Verifying : mesa-libEGL-23.2.0~rc3-1.fc40.s390x 18/190 Verifying : mesa-libEGL-devel-23.2.0~rc3-1.fc40.s390x 19/190 Verifying : mesa-libGL-23.2.0~rc3-1.fc40.s390x 20/190 Verifying : mesa-libgbm-23.2.0~rc3-1.fc40.s390x 21/190 Verifying : mesa-libglapi-23.2.0~rc3-1.fc40.s390x 22/190 Verifying : zlib-ng-compat-devel-2.1.3-3.fc40.s390x 23/190 Verifying : abattis-cantarell-vf-fonts-0.301-10.fc39.noarch 24/190 Verifying : annobin-docs-12.26-1.fc40.noarch 25/190 Verifying : annobin-plugin-gcc-12.26-1.fc40.s390x 26/190 Verifying : avahi-libs-0.8-24.fc39.s390x 27/190 Verifying : cmake-3.27.4-8.fc40.s390x 28/190 Verifying : cmake-data-3.27.4-8.fc40.noarch 29/190 Verifying : cmake-filesystem-3.27.4-8.fc40.s390x 30/190 Verifying : cmake-rpm-macros-3.27.4-8.fc40.noarch 31/190 Verifying : dbus-libs-1:1.14.10-1.fc40.s390x 32/190 Verifying : default-fonts-core-sans-4.0-9.fc40.noarch 33/190 Verifying : desktop-file-utils-0.26-9.fc39.s390x 34/190 Verifying : double-conversion-3.1.5-9.fc39.s390x 35/190 Verifying : duktape-2.7.0-5.fc39.s390x 36/190 Verifying : e2fsprogs-devel-1.47.0-2.fc39.s390x 37/190 Verifying : e2fsprogs-libs-1.47.0-2.fc39.s390x 38/190 Verifying : expat-2.5.0-3.fc39.s390x 39/190 Verifying : fontconfig-2.14.2-5.fc40.s390x 40/190 Verifying : fonts-filesystem-1:2.0.5-12.fc39.noarch 41/190 Verifying : gc-8.2.2-4.fc39.s390x 42/190 Verifying : glib2-2.78.0-2.fc40.s390x 43/190 Verifying : glx-utils-9.0.0-3.fc39.s390x 44/190 Verifying : gnutls-3.8.1-1.fc40.s390x 45/190 Verifying : google-noto-fonts-common-20230801-3.fc40.noarch 46/190 Verifying : google-noto-sans-vf-fonts-20230801-3.fc40.noarch 47/190 Verifying : graphite2-1.3.14-12.fc39.s390x 48/190 Verifying : groff-base-1.23.0-2.fc39.s390x 49/190 Verifying : guile22-2.2.7-9.fc39.s390x 50/190 Verifying : harfbuzz-8.2.0-1.fc40.s390x 51/190 Verifying : jsoncpp-1.9.5-5.fc39.s390x 52/190 Verifying : kernel-headers-6.6.0-0.rc1.git0.1.fc40.s390x 53/190 Verifying : libICE-1.0.10-12.fc40.s390x 54/190 Verifying : libSM-1.2.3-14.fc40.s390x 55/190 Verifying : libX11-1.8.6-3.fc40.s390x 56/190 Verifying : libX11-common-1.8.6-3.fc40.noarch 57/190 Verifying : libX11-devel-1.8.6-3.fc40.s390x 58/190 Verifying : libX11-xcb-1.8.6-3.fc40.s390x 59/190 Verifying : libXau-1.0.11-4.fc40.s390x 60/190 Verifying : libXau-devel-1.0.11-4.fc40.s390x 61/190 Verifying : libXext-1.3.5-3.fc39.s390x 62/190 Verifying : libXfixes-6.0.0-7.fc40.s390x 63/190 Verifying : libXrender-0.9.11-4.fc40.s390x 64/190 Verifying : libXxf86vm-1.1.5-4.fc40.s390x 65/190 Verifying : libb2-0.98.1-9.fc39.s390x 66/190 Verifying : libcom_err-devel-1.47.0-2.fc39.s390x 67/190 Verifying : libdrm-2.4.114-3.fc39.s390x 68/190 Verifying : libevdev-1.13.1-2.fc39.s390x 69/190 Verifying : libglvnd-1:1.7.0-1.fc40.s390x 70/190 Verifying : libglvnd-core-devel-1:1.7.0-1.fc40.s390x 71/190 Verifying : libglvnd-devel-1:1.7.0-1.fc40.s390x 72/190 Verifying : libglvnd-egl-1:1.7.0-1.fc40.s390x 73/190 Verifying : libglvnd-gles-1:1.7.0-1.fc40.s390x 74/190 Verifying : libglvnd-glx-1:1.7.0-1.fc40.s390x 75/190 Verifying : libglvnd-opengl-1:1.7.0-1.fc40.s390x 76/190 Verifying : libgudev-238-2.fc39.s390x 77/190 Verifying : libicu-73.2-2.fc39.s390x 78/190 Verifying : libinput-1.24.0-1.fc40.s390x 79/190 Verifying : libjpeg-turbo-2.1.4-3.fc39.s390x 80/190 Verifying : libjpeg-turbo-devel-2.1.4-3.fc39.s390x 81/190 Verifying : libmpc-1.3.1-3.fc39.s390x 82/190 Verifying : libpng-2:1.6.37-15.fc39.s390x 83/190 Verifying : libproxy-0.5.3-2.fc39.s390x 84/190 Verifying : libtool-ltdl-2.4.7-8.fc40.s390x 85/190 Verifying : libuv-1:1.46.0-2.fc39.s390x 86/190 Verifying : libwacom-2.8.0-1.fc40.s390x 87/190 Verifying : libwacom-data-2.8.0-1.fc40.noarch 88/190 Verifying : libwayland-client-1.22.0-2.fc39.s390x 89/190 Verifying : libwayland-server-1.22.0-2.fc39.s390x 90/190 Verifying : libxcb-1.13.1-12.fc39.s390x 91/190 Verifying : libxcb-devel-1.13.1-12.fc39.s390x 92/190 Verifying : libxcrypt-devel-4.4.36-2.fc39.s390x 93/190 Verifying : libxkbcommon-1.5.0-3.fc39.s390x 94/190 Verifying : libxkbcommon-x11-1.5.0-3.fc39.s390x 95/190 Verifying : libxshmfence-1.3-13.fc39.s390x 96/190 Verifying : make-1:4.4.1-2.fc39.s390x 97/190 Verifying : mpdecimal-2.5.1-7.fc39.s390x 98/190 Verifying : mtdev-1.1.6-6.fc39.s390x 99/190 Verifying : ncurses-6.4-7.20230520.fc40.s390x 100/190 Verifying : ncurses-c++-libs-6.4-7.20230520.fc40.s390x 101/190 Verifying : ncurses-devel-6.4-7.20230520.fc40.s390x 102/190 Verifying : nettle-3.9.1-2.fc39.s390x 103/190 Verifying : ntfs-3g-devel-2:2022.10.3-3.fc39.s390x 104/190 Verifying : ntfs-3g-libs-2:2022.10.3-3.fc39.s390x 105/190 Verifying : pcre2-utf16-10.42-1.fc39.2.s390x 106/190 Verifying : perl-AutoLoader-5.74-500.fc39.noarch 107/190 Verifying : perl-B-1.88-500.fc39.s390x 108/190 Verifying : perl-Carp-1.54-500.fc39.noarch 109/190 Verifying : perl-Class-Struct-0.68-500.fc39.noarch 110/190 Verifying : perl-Data-Dumper-2.188-501.fc39.s390x 111/190 Verifying : perl-Digest-1.20-500.fc39.noarch 112/190 Verifying : perl-Digest-MD5-2.58-500.fc39.s390x 113/190 Verifying : perl-DynaLoader-1.54-500.fc39.s390x 114/190 Verifying : perl-Encode-4:3.19-500.fc39.s390x 115/190 Verifying : perl-English-1.11-500.fc39.noarch 116/190 Verifying : perl-Errno-1.37-500.fc39.s390x 117/190 Verifying : perl-Exporter-5.77-500.fc39.noarch 118/190 Verifying : perl-Fcntl-1.15-500.fc39.s390x 119/190 Verifying : perl-File-Basename-2.86-500.fc39.noarch 120/190 Verifying : perl-File-Find-1.43-500.fc39.noarch 121/190 Verifying : perl-File-Path-2.18-500.fc39.noarch 122/190 Verifying : perl-File-Temp-1:0.231.100-500.fc39.noarch 123/190 Verifying : perl-File-stat-1.13-500.fc39.noarch 124/190 Verifying : perl-FileHandle-2.05-500.fc39.noarch 125/190 Verifying : perl-Getopt-Long-1:2.54-500.fc39.noarch 126/190 Verifying : perl-Getopt-Std-1.13-500.fc39.noarch 127/190 Verifying : perl-HTTP-Tiny-0.088-3.fc39.noarch 128/190 Verifying : perl-IO-1.52-500.fc39.s390x 129/190 Verifying : perl-IO-Socket-IP-0.42-1.fc39.noarch 130/190 Verifying : perl-IO-Socket-SSL-2.083-3.fc39.noarch 131/190 Verifying : perl-IPC-Open3-1.22-500.fc39.noarch 132/190 Verifying : perl-MIME-Base64-3.16-500.fc39.s390x 133/190 Verifying : perl-Mozilla-CA-20230821-1.fc40.noarch 134/190 Verifying : perl-Net-SSLeay-1.92-10.fc39.s390x 135/190 Verifying : perl-POSIX-2.13-500.fc39.s390x 136/190 Verifying : perl-PathTools-3.89-500.fc39.s390x 137/190 Verifying : perl-Pod-Escapes-1:1.07-501.fc40.noarch 138/190 Verifying : perl-Pod-Perldoc-3.28.01-501.fc39.noarch 139/190 Verifying : perl-Pod-Simple-1:3.45-4.fc39.noarch 140/190 Verifying : perl-Pod-Usage-4:2.03-500.fc39.noarch 141/190 Verifying : perl-Scalar-List-Utils-5:1.63-500.fc39.s390x 142/190 Verifying : perl-SelectSaver-1.02-500.fc39.noarch 143/190 Verifying : perl-Socket-4:2.037-3.fc39.s390x 144/190 Verifying : perl-Storable-1:3.32-500.fc39.s390x 145/190 Verifying : perl-Symbol-1.09-500.fc39.noarch 146/190 Verifying : perl-Term-ANSIColor-5.01-501.fc39.noarch 147/190 Verifying : perl-Term-Cap-1.18-500.fc39.noarch 148/190 Verifying : perl-Text-ParseWords-3.31-500.fc39.noarch 149/190 Verifying : perl-Text-Tabs+Wrap-2023.0511-3.fc39.noarch 150/190 Verifying : perl-Time-Local-2:1.350-3.fc39.noarch 151/190 Verifying : perl-URI-5.21-1.fc40.noarch 152/190 Verifying : perl-base-2.27-500.fc39.noarch 153/190 Verifying : perl-constant-1.33-501.fc39.noarch 154/190 Verifying : perl-if-0.61.000-500.fc39.noarch 155/190 Verifying : perl-interpreter-4:5.38.0-500.fc39.s390x 156/190 Verifying : perl-libnet-3.15-501.fc39.noarch 157/190 Verifying : perl-libs-4:5.38.0-500.fc39.s390x 158/190 Verifying : perl-locale-1.10-500.fc39.noarch 159/190 Verifying : perl-mro-1.28-500.fc39.s390x 160/190 Verifying : perl-overload-1.37-500.fc39.noarch 161/190 Verifying : perl-overloading-0.02-500.fc39.noarch 162/190 Verifying : perl-parent-1:0.241-500.fc39.noarch 163/190 Verifying : perl-podlators-1:5.01-500.fc39.noarch 164/190 Verifying : perl-vars-1.05-500.fc39.noarch 165/190 Verifying : pixman-0.42.2-2.fc39.s390x 166/190 Verifying : python-pip-wheel-23.2.1-1.fc39.noarch 167/190 Verifying : python3-3.12.0~rc2-1.fc40.s390x 168/190 Verifying : python3-libs-3.12.0~rc2-1.fc40.s390x 169/190 Verifying : qt-settings-39.0-1.fc40.noarch 170/190 Verifying : qt5-linguist-5.15.10-3.fc39.s390x 171/190 Verifying : qt5-qtbase-5.15.10-9.fc40.s390x 172/190 Verifying : qt5-qtbase-common-5.15.10-9.fc40.noarch 173/190 Verifying : qt5-qtbase-devel-5.15.10-9.fc40.s390x 174/190 Verifying : qt5-qtbase-gui-5.15.10-9.fc40.s390x 175/190 Verifying : qt5-qttools-common-5.15.10-3.fc39.noarch 176/190 Verifying : qt5-rpm-macros-5.15.10-2.fc39.noarch 177/190 Verifying : rhash-1.4.3-3.fc39.s390x 178/190 Verifying : vim-filesystem-2:9.0.1882-1.fc40.noarch 179/190 Verifying : vulkan-headers-1.3.261.1-2.fc40.noarch 180/190 Verifying : vulkan-loader-1.3.261.1-1.fc40.s390x 181/190 Verifying : vulkan-loader-devel-1.3.261.1-1.fc40.s390x 182/190 Verifying : xcb-util-0.4.1-3.fc39.s390x 183/190 Verifying : xcb-util-image-0.4.1-3.fc39.s390x 184/190 Verifying : xcb-util-keysyms-0.4.1-3.fc39.s390x 185/190 Verifying : xcb-util-renderutil-0.3.10-3.fc39.s390x 186/190 Verifying : xcb-util-wm-0.4.2-3.fc39.s390x 187/190 Verifying : xkeyboard-config-2.39-2.fc39.noarch 188/190 Verifying : xml-common-0.6.3-61.fc39.noarch 189/190 Verifying : xorg-x11-proto-devel-2023.2-3.fc40.noarch 190/190 Installed: abattis-cantarell-vf-fonts-0.301-10.fc39.noarch annobin-docs-12.26-1.fc40.noarch annobin-plugin-gcc-12.26-1.fc40.s390x avahi-libs-0.8-24.fc39.s390x cairo-1.17.8-5.fc40.s390x cmake-3.27.4-8.fc40.s390x cmake-data-3.27.4-8.fc40.noarch cmake-filesystem-3.27.4-8.fc40.s390x cmake-rpm-macros-3.27.4-8.fc40.noarch cpp-13.2.1-1.fc40.s390x cups-libs-1:2.4.6-6.fc40.s390x dbus-libs-1:1.14.10-1.fc40.s390x default-fonts-core-sans-4.0-9.fc40.noarch desktop-file-utils-0.26-9.fc39.s390x double-conversion-3.1.5-9.fc39.s390x duktape-2.7.0-5.fc39.s390x e2fsprogs-devel-1.47.0-2.fc39.s390x e2fsprogs-libs-1.47.0-2.fc39.s390x emacs-filesystem-1:29.1-1.fc40.noarch expat-2.5.0-3.fc39.s390x fontconfig-2.14.2-5.fc40.s390x fonts-filesystem-1:2.0.5-12.fc39.noarch freetype-2.13.1-2.fc40.s390x gc-8.2.2-4.fc39.s390x gcc-13.2.1-1.fc40.s390x gcc-c++-13.2.1-1.fc40.s390x gcc-plugin-annobin-13.2.1-1.fc40.s390x glib2-2.78.0-2.fc40.s390x glibc-devel-2.38.9000-8.fc40.s390x glibc-headers-s390-2.38.9000-8.fc40.noarch glx-utils-9.0.0-3.fc39.s390x gnutls-3.8.1-1.fc40.s390x google-noto-fonts-common-20230801-3.fc40.noarch google-noto-sans-vf-fonts-20230801-3.fc40.noarch graphite2-1.3.14-12.fc39.s390x groff-base-1.23.0-2.fc39.s390x guile22-2.2.7-9.fc39.s390x harfbuzz-8.2.0-1.fc40.s390x jsoncpp-1.9.5-5.fc39.s390x kernel-headers-6.6.0-0.rc1.git0.1.fc40.s390x libICE-1.0.10-12.fc40.s390x libSM-1.2.3-14.fc40.s390x libX11-1.8.6-3.fc40.s390x libX11-common-1.8.6-3.fc40.noarch libX11-devel-1.8.6-3.fc40.s390x libX11-xcb-1.8.6-3.fc40.s390x libXau-1.0.11-4.fc40.s390x libXau-devel-1.0.11-4.fc40.s390x libXext-1.3.5-3.fc39.s390x libXfixes-6.0.0-7.fc40.s390x libXrender-0.9.11-4.fc40.s390x libXxf86vm-1.1.5-4.fc40.s390x libasan-13.2.1-1.fc40.s390x libatomic-13.2.1-1.fc40.s390x libb2-0.98.1-9.fc39.s390x libcom_err-devel-1.47.0-2.fc39.s390x libdrm-2.4.114-3.fc39.s390x libevdev-1.13.1-2.fc39.s390x libewf-20140608-26.fc40.s390x libewf-devel-20140608-26.fc40.s390x libglvnd-1:1.7.0-1.fc40.s390x libglvnd-core-devel-1:1.7.0-1.fc40.s390x libglvnd-devel-1:1.7.0-1.fc40.s390x libglvnd-egl-1:1.7.0-1.fc40.s390x libglvnd-gles-1:1.7.0-1.fc40.s390x libglvnd-glx-1:1.7.0-1.fc40.s390x libglvnd-opengl-1:1.7.0-1.fc40.s390x libgudev-238-2.fc39.s390x libicu-73.2-2.fc39.s390x libinput-1.24.0-1.fc40.s390x libjpeg-turbo-2.1.4-3.fc39.s390x libjpeg-turbo-devel-2.1.4-3.fc39.s390x libmpc-1.3.1-3.fc39.s390x libpng-2:1.6.37-15.fc39.s390x libproxy-0.5.3-2.fc39.s390x libstdc++-devel-13.2.1-1.fc40.s390x libtool-ltdl-2.4.7-8.fc40.s390x libubsan-13.2.1-1.fc40.s390x libuuid-devel-2.39.2-1.fc40.s390x libuv-1:1.46.0-2.fc39.s390x libwacom-2.8.0-1.fc40.s390x libwacom-data-2.8.0-1.fc40.noarch libwayland-client-1.22.0-2.fc39.s390x libwayland-server-1.22.0-2.fc39.s390x libxcb-1.13.1-12.fc39.s390x libxcb-devel-1.13.1-12.fc39.s390x libxcrypt-devel-4.4.36-2.fc39.s390x libxkbcommon-1.5.0-3.fc39.s390x libxkbcommon-x11-1.5.0-3.fc39.s390x libxshmfence-1.3-13.fc39.s390x make-1:4.4.1-2.fc39.s390x mesa-libEGL-23.2.0~rc3-1.fc40.s390x mesa-libEGL-devel-23.2.0~rc3-1.fc40.s390x mesa-libGL-23.2.0~rc3-1.fc40.s390x mesa-libgbm-23.2.0~rc3-1.fc40.s390x mesa-libglapi-23.2.0~rc3-1.fc40.s390x mpdecimal-2.5.1-7.fc39.s390x mtdev-1.1.6-6.fc39.s390x ncurses-6.4-7.20230520.fc40.s390x ncurses-c++-libs-6.4-7.20230520.fc40.s390x ncurses-devel-6.4-7.20230520.fc40.s390x nettle-3.9.1-2.fc39.s390x ntfs-3g-devel-2:2022.10.3-3.fc39.s390x ntfs-3g-libs-2:2022.10.3-3.fc39.s390x pcre2-utf16-10.42-1.fc39.2.s390x perl-AutoLoader-5.74-500.fc39.noarch perl-B-1.88-500.fc39.s390x perl-Carp-1.54-500.fc39.noarch perl-Class-Struct-0.68-500.fc39.noarch perl-Data-Dumper-2.188-501.fc39.s390x perl-Digest-1.20-500.fc39.noarch perl-Digest-MD5-2.58-500.fc39.s390x perl-DynaLoader-1.54-500.fc39.s390x perl-Encode-4:3.19-500.fc39.s390x perl-English-1.11-500.fc39.noarch perl-Errno-1.37-500.fc39.s390x perl-Exporter-5.77-500.fc39.noarch perl-Fcntl-1.15-500.fc39.s390x perl-File-Basename-2.86-500.fc39.noarch perl-File-Find-1.43-500.fc39.noarch perl-File-Path-2.18-500.fc39.noarch perl-File-Temp-1:0.231.100-500.fc39.noarch perl-File-stat-1.13-500.fc39.noarch perl-FileHandle-2.05-500.fc39.noarch perl-Getopt-Long-1:2.54-500.fc39.noarch perl-Getopt-Std-1.13-500.fc39.noarch perl-HTTP-Tiny-0.088-3.fc39.noarch perl-IO-1.52-500.fc39.s390x perl-IO-Socket-IP-0.42-1.fc39.noarch perl-IO-Socket-SSL-2.083-3.fc39.noarch perl-IPC-Open3-1.22-500.fc39.noarch perl-MIME-Base64-3.16-500.fc39.s390x perl-Mozilla-CA-20230821-1.fc40.noarch perl-Net-SSLeay-1.92-10.fc39.s390x perl-POSIX-2.13-500.fc39.s390x perl-PathTools-3.89-500.fc39.s390x perl-Pod-Escapes-1:1.07-501.fc40.noarch perl-Pod-Perldoc-3.28.01-501.fc39.noarch perl-Pod-Simple-1:3.45-4.fc39.noarch perl-Pod-Usage-4:2.03-500.fc39.noarch perl-Scalar-List-Utils-5:1.63-500.fc39.s390x perl-SelectSaver-1.02-500.fc39.noarch perl-Socket-4:2.037-3.fc39.s390x perl-Storable-1:3.32-500.fc39.s390x perl-Symbol-1.09-500.fc39.noarch perl-Term-ANSIColor-5.01-501.fc39.noarch perl-Term-Cap-1.18-500.fc39.noarch perl-Text-ParseWords-3.31-500.fc39.noarch perl-Text-Tabs+Wrap-2023.0511-3.fc39.noarch perl-Time-Local-2:1.350-3.fc39.noarch perl-URI-5.21-1.fc40.noarch perl-base-2.27-500.fc39.noarch perl-constant-1.33-501.fc39.noarch perl-if-0.61.000-500.fc39.noarch perl-interpreter-4:5.38.0-500.fc39.s390x perl-libnet-3.15-501.fc39.noarch perl-libs-4:5.38.0-500.fc39.s390x perl-locale-1.10-500.fc39.noarch perl-mro-1.28-500.fc39.s390x perl-overload-1.37-500.fc39.noarch perl-overloading-0.02-500.fc39.noarch perl-parent-1:0.241-500.fc39.noarch perl-podlators-1:5.01-500.fc39.noarch perl-vars-1.05-500.fc39.noarch pixman-0.42.2-2.fc39.s390x python-pip-wheel-23.2.1-1.fc39.noarch python3-3.12.0~rc2-1.fc40.s390x python3-libs-3.12.0~rc2-1.fc40.s390x qt-settings-39.0-1.fc40.noarch qt5-linguist-5.15.10-3.fc39.s390x qt5-qtbase-5.15.10-9.fc40.s390x qt5-qtbase-common-5.15.10-9.fc40.noarch qt5-qtbase-devel-5.15.10-9.fc40.s390x qt5-qtbase-gui-5.15.10-9.fc40.s390x qt5-qttools-common-5.15.10-3.fc39.noarch qt5-rpm-macros-5.15.10-2.fc39.noarch rhash-1.4.3-3.fc39.s390x vim-filesystem-2:9.0.1882-1.fc40.noarch vulkan-headers-1.3.261.1-2.fc40.noarch vulkan-loader-1.3.261.1-1.fc40.s390x vulkan-loader-devel-1.3.261.1-1.fc40.s390x xcb-util-0.4.1-3.fc39.s390x xcb-util-image-0.4.1-3.fc39.s390x xcb-util-keysyms-0.4.1-3.fc39.s390x xcb-util-renderutil-0.3.10-3.fc39.s390x xcb-util-wm-0.4.2-3.fc39.s390x xkeyboard-config-2.39-2.fc39.noarch xml-common-0.6.3-61.fc39.noarch xorg-x11-proto-devel-2023.2-3.fc40.noarch zlib-ng-compat-devel-2.1.3-3.fc40.s390x Complete! Finish: build setup for testdisk-7.1-11.fc40.src.rpm Start: rpmbuild testdisk-7.1-11.fc40.src.rpm Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1689984000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fCRJrz + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf testdisk-7.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/testdisk-7.1.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd testdisk-7.1 + rm -rf /builddir/build/BUILD/testdisk-7.1-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/testdisk-7.1-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.SvxokT + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd testdisk-7.1 + 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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2019-07-07 14:26:06.000000000 +0000 +++ ./configure 2023-09-19 03:00:09.469281061 +0000 @@ -2107,7 +2107,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config/config.sub ++ basename ./config/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config/config.sub '/usr/lib/rpm/redhat/config.sub' -> './config/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config/config.guess ++ basename ./config/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config/config.guess '/usr/lib/rpm/redhat/config.guess' -> './config/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./configure --build=s390x-redhat-linux --host=s390x-redhat-linux --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking build system type... s390x-redhat-linux-gnu checking host system type... s390x-redhat-linux-gnu checking target system type... s390x-redhat-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for s390x-redhat-linux-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for s390x-redhat-linux-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for s390x-redhat-linux-windres... no checking for windres... no configure: WARNING: Could not find a windres tool in your PATH. checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking byteswap.h usability... yes checking byteswap.h presence... yes checking for byteswap.h... yes checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking cygwin/fs.h usability... no checking cygwin/fs.h presence... no checking for cygwin/fs.h... no checking cygwin/version.h usability... no checking cygwin/version.h presence... no checking for cygwin/version.h... no checking dal/file_dal.h usability... no checking dal/file_dal.h presence... no checking for dal/file_dal.h... no checking dal/file.h usability... no checking dal/file.h presence... no checking for dal/file.h... no checking ddk/ntddstor.h usability... no checking ddk/ntddstor.h presence... no checking for ddk/ntddstor.h... no checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking endian.h usability... yes checking endian.h presence... yes checking for endian.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking features.h usability... yes checking features.h presence... yes checking for features.h... yes checking giconv.h usability... no checking giconv.h presence... no checking for giconv.h... no checking glob.h usability... yes checking glob.h presence... yes checking for glob.h... yes checking iconv.h usability... yes checking iconv.h presence... yes checking for iconv.h... yes checking io.h usability... no checking io.h presence... no checking for io.h... no checking libgen.h usability... yes checking libgen.h presence... yes checking for libgen.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking linux/fs.h usability... yes checking linux/fs.h presence... yes checking for linux/fs.h... yes checking linux/hdreg.h usability... yes checking linux/hdreg.h presence... yes checking for linux/hdreg.h... yes checking linux/types.h usability... yes checking linux/types.h presence... yes checking for linux/types.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking machine/endian.h usability... no checking machine/endian.h presence... no checking for machine/endian.h... no checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking ncurses.h usability... yes checking ncurses.h presence... yes checking for ncurses.h... yes checking ncurses/curses.h usability... yes checking ncurses/curses.h presence... yes checking for ncurses/curses.h... yes checking ncurses/ncurses.h usability... yes checking ncurses/ncurses.h presence... yes checking for ncurses/ncurses.h... yes checking ncursesw/curses.h usability... yes checking ncursesw/curses.h presence... yes checking for ncursesw/curses.h... yes checking ncursesw/ncurses.h usability... yes checking ncursesw/ncurses.h presence... yes checking for ncursesw/ncurses.h... yes checking ntfs/version.h usability... no checking ntfs/version.h presence... no checking for ntfs/version.h... no checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking scsi/scsi.h usability... yes checking scsi/scsi.h presence... yes checking for scsi/scsi.h... yes checking scsi/scsi_ioctl.h usability... yes checking scsi/scsi_ioctl.h presence... yes checking for scsi/scsi_ioctl.h... yes checking scsi/sg.h usability... yes checking scsi/sg.h presence... yes checking for scsi/sg.h... yes checking setjmp.h usability... yes checking setjmp.h presence... yes checking for setjmp.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking sys/cygwin.h usability... no checking sys/cygwin.h presence... no checking for sys/cygwin.h... no checking sys/disk.h usability... no checking sys/disk.h presence... no checking for sys/disk.h... no checking sys/disklabel.h usability... no checking sys/disklabel.h presence... no checking for sys/disklabel.h... no checking sys/dkio.h usability... no checking sys/dkio.h presence... no checking for sys/dkio.h... no checking sys/endian.h usability... no checking sys/endian.h presence... no checking for sys/endian.h... no checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking sys/vtoc.h usability... no checking sys/vtoc.h presence... no checking for sys/vtoc.h... no checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking w32api/ddk/ntdddisk.h usability... no checking w32api/ddk/ntdddisk.h presence... no checking for w32api/ddk/ntdddisk.h... no checking windef.h usability... no checking windef.h presence... no checking for windef.h... no checking windows.h usability... no checking windows.h presence... no checking for windows.h... no checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking iconv support... yes, in libc checking for sys/mount.h... yes checking for winbase.h... no checking for winioctl.h... no checking for w32api/winioctl.h... no checking for ext2fs/ext2_fs.h... yes checking for ext2fs/ext2fs.h... yes checking for off64_t... yes checking libewf.h usability... yes checking libewf.h presence... yes checking for libewf.h... yes checking jpeglib.h usability... yes checking jpeglib.h presence... yes checking for jpeglib.h... yes checking ntfs/attrib.h usability... no checking ntfs/attrib.h presence... no checking for ntfs/attrib.h... no configure: WARNING: Disable use of ntfs library checking ntfs/volume.h usability... no checking ntfs/volume.h presence... no checking for ntfs/volume.h... no configure: WARNING: Disable use of ntfs library checking ntfs-3g/attrib.h usability... yes checking ntfs-3g/attrib.h presence... yes checking for ntfs-3g/attrib.h... yes checking ntfs-3g/volume.h usability... yes checking ntfs-3g/volume.h presence... yes checking for ntfs-3g/volume.h... yes checking for an ANSI C-conforming const... yes checking whether byte ordering is bigendian... yes checking for inline... inline checking for off_t... yes checking for size_t... yes checking for struct stat.st_blocks... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct stat.st_blksize... yes checking for struct stat.st_rdev... yes checking for dal_t.block_size... no checking for dal_t.error... no checking for dal_t.entity... no checking for dal_t.name... no checking for struct dal_ops.dev... no checking for struct struct_io_manager.set_option... yes checking for struct struct_io_manager.read_blk64... yes checking for struct struct_io_manager.write_blk64... yes checking for struct tm.tm_gmtoff... no checking whether gcc needs -traditional... no checking for initscr in -lncursesw... yes checking for keypad in -ltinfow... no checking for keypad in -ltinfo... yes checking for assume_default_colors... yes checking for com_err in -lcom_err... yes checking for ext2fs_open in -lext2fs... yes checking for ext2fs_get_generic_bitmap_start... yes checking for jpeg_std_error in -ljpeg... yes checking for ntfs_device_mount in -lntfs-3g... yes checking for libreiserfs_get_version in -lreiserfs... no configure: WARNING: No reiserfs library detected checking sys/uuid.h usability... no checking sys/uuid.h presence... no checking for sys/uuid.h... no checking uuid/uuid.h usability... yes checking uuid/uuid.h presence... yes checking for uuid/uuid.h... yes checking uuid.h usability... no checking uuid.h presence... no checking for uuid.h... no checking for uuidgen... no checking for library containing uuid_generate... -luuid checking for uuid_create... no checking for uuid_generate... yes checking for compress2 in -lz... yes checking for libewf_check_file_signature in -lewf... yes checking for libewf_handle_t... yes checking whether gcc understands -Wdeclaration-after-statement... yes checking whether gcc understands -Wall... yes checking whether gcc understands -Wextra... yes checking whether gcc understands -MD... yes checking whether gcc understands -Wpointer-arith... yes checking whether gcc understands -Wmissing-declarations... yes checking whether gcc understands -Wmissing-prototypes... yes checking whether gcc understands -Wstrict-prototypes... yes checking whether gcc understands -Wshadow... yes checking whether gcc understands -Wwrite-strings... yes checking whether gcc understands -W... yes checking whether gcc understands -Wcast-align... yes checking whether gcc understands -Waggregate-return... yes checking whether gcc understands -Wbad-function-cast... yes checking whether gcc understands -Wcast-qual... yes checking whether gcc understands -Wundef... yes checking whether gcc understands -Wredundant-decls... yes checking whether gcc understands -Wsign-compare... yes checking whether gcc understands -Wnested-externs... yes checking whether gcc understands -Winline... yes checking whether gcc understands -Wdisabled-optimization... yes checking whether gcc understands -Wfloat-equal... yes checking whether gcc understands -Wmissing-format-attribute... yes checking whether gcc understands -Wmultichar... yes checking whether gcc understands -Wc++-compat... yes checking whether gcc understands -Wformat=2... yes checking whether gcc understands -Wunreachable-code... yes checking whether gcc understands -Wvla... yes checking whether g++ understands -Wall... yes checking whether g++ understands -MD... yes checking whether g++ understands -Wpointer-arith... yes checking whether g++ understands -Wmissing-declarations... yes checking whether g++ understands -Wshadow... yes checking whether g++ understands -Wwrite-strings... yes checking whether g++ understands -W... yes checking whether g++ understands -Wcast-align... yes checking whether g++ understands -Wcast-qual... yes checking whether g++ understands -Wundef... yes checking whether g++ understands -Wredundant-decls... yes checking whether g++ understands -Wsign-compare... yes checking whether g++ understands -Wdisabled-optimization... yes checking whether g++ understands -Wmissing-format-attribute... yes checking whether g++ understands -Wmultichar... yes checking whether g++ understands -Wformat=2... yes checking whether g++ understands -fvisibility=hidden... yes checking whether g++ understands -fvisibility-inlines-hidden... yes checking whether g++ understands -fPIC... yes checking whether g++ understands -Wvla... yes checking for pread... yes checking for atexit... yes checking for atoll... yes checking for chdir... yes checking for chmod... yes checking for delscreen... no checking for dirname... yes checking for dup2... yes checking for execv... yes checking for fdatasync... yes checking for fseeko... yes checking for fsync... yes checking for ftello... yes checking for ftruncate... yes checking for getcwd... yes checking for geteuid... yes checking for getpwuid... yes checking for libewf_handle_read_buffer_at_offset... no checking for libewf_handle_write_buffer_at_offset... no checking for localtime_r... yes checking for lstat... yes checking for memalign... yes checking for memchr... yes checking for memset... yes checking for mkdir... yes checking for posix_fadvise... yes checking for posix_memalign... yes checking for pwrite... yes checking for readlink... yes checking for setenv... yes checking for setlocale... yes checking for sigaction... yes checking for signal... yes checking for sleep... yes checking for snprintf... yes checking for strcasecmp... yes checking for strcasestr... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strncasecmp... yes checking for strptime... yes checking for strrchr... yes checking for strstr... yes checking for strtol... yes checking for strtoul... yes checking for strtoull... yes checking for touchwin... no checking for uname... yes checking for utime... yes checking for vsnprintf... yes checking for wctomb... yes checking for reiserfs_fs_open_fast... no checking for ntfs_libntfs_version... no checking for ntfs_volume_startup... yes checking for QT5GUI... yes checking for QT5WIDGETS... yes checking whether Qt5 is using --std=c++14... yes checking whether g++ understands --std=c++14... yes checking for s390x-redhat-linux-moc-qt5... no checking for s390x-redhat-linux-moc... no checking for moc-qt5... moc-qt5 checking for s390x-redhat-linux-rcc-qt5... no checking for s390x-redhat-linux-rcc... no checking for rcc-qt5... rcc-qt5 checking for s390x-redhat-linux-lrelease-qt5... no checking for s390x-redhat-linux-lrelease... no checking for lrelease-qt5... lrelease-qt5 checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... no checking whether pthreads work with -pthreads... no checking whether pthreads work with -mthreads... no checking for the pthreads library -lpthread... no checking whether pthreads work with --thread-safe... no checking whether pthreads work with -mt... no checking for pthread-config... no checking whether stack protection works with gcc... yes checking whether stack protection works with g++... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating icons/Makefile config.status: creating src/Makefile config.status: creating man/Makefile config.status: creating man/testdisk.8 config.status: creating man/photorec.8 config.status: creating man/qphotorec.8 config.status: creating man/fidentify.8 config.status: creating man/zh_CN/Makefile config.status: creating man/zh_CN/testdisk.8 config.status: creating man/zh_CN/photorec.8 config.status: creating man/zh_CN/qphotorec.8 config.status: creating man/zh_CN/fidentify.8 config.status: creating linux/testdisk.spec config.status: creating config.h config.status: executing depfiles commands + /usr/bin/make -O -j2 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in icons make[2]: Nothing to be done for 'all'. Making all in man Making all in zh_CN make[3]: Nothing to be done for 'all'. make[3]: Nothing to be done for 'all-am'. Making all in src make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o autoset.o autoset.c In file included from autoset.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from autoset.c:27: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o crc.o crc.c In file included from crc.c:26: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from crc.c:29: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o common.o common.c In file included from common.c:25: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from common.c:49: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ewf.o ewf.c In file included from ewf.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from ewf.c:52: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ ewf.c: In function ‘fewf_sync’: ewf.c:427:30: warning: unused parameter ‘disk’ [-Wunused-parameter] 427 | static int fewf_sync(disk_t *disk) | ~~~~~~~~^~~~ ewf.c: In function ‘fewf_nopwrite’: ewf.c:507:52: warning: unused parameter ‘buffer’ [-Wunused-parameter] 507 | static int fewf_nopwrite(disk_t *disk, const void *buffer, const unsigned int count, const uint64_t offset) | ~~~~~~~~~~~~^~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o fnctdsk.o fnctdsk.c In file included from fnctdsk.c:25: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from fnctdsk.c:35: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o hdcache.o hdcache.c In file included from hdcache.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from hdcache.c:33: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o hdwin32.o hdwin32.c In file included from hdwin32.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o hidden.o hidden.c In file included from hidden.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from hidden.c:28: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o hpa_dco.o hpa_dco.c In file included from hpa_dco.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from hpa_dco.c:43: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o hdaccess.o hdaccess.c In file included from hdaccess.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from hdaccess.c:44: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ hdaccess.c:141:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 141 | } __attribute__ ((gcc_struct, __packed__)); | ^ hdaccess.c:932:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 932 | } __attribute__((gcc_struct,__packed__)) scsi_inquiry_data_t; | ^ hdaccess.c: In function ‘disk_get_model’: hdaccess.c:991:76: warning: unused parameter ‘verbose’ [-Wunused-parameter] 991 | static void disk_get_model(const int hd_h, disk_t *dev, const unsigned int verbose) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ hdaccess.c: In function ‘file_nopwrite’: hdaccess.c:1346:56: warning: unused parameter ‘buf’ [-Wunused-parameter] 1346 | static int file_nopwrite(disk_t *disk_car, const void *buf, const unsigned int count, const uint64_t offset) | ~~~~~~~~~~~~^~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o iso.o iso.c In file included from iso.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from iso.c:33: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from iso.c:34: iso9660.h:62:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 62 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o list_sort.o list_sort.c In file included from list_sort.c:22: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o intrf.o intrf.c In file included from intrf.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from intrf.c:58: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o log_part.o log_part.c In file included from log_part.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from log_part.c:28: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o misc.o misc.c In file included from misc.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from misc.c:48: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o msdos.o msdos.c In file included from msdos.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o log.o log.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from log.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from log.c:47: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o partgpt.o partgpt.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from partgpt.c:25: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from partgpt.c:46: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partgpt.c:52: partgpt.h:47:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 47 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partgpt.c:54: exfat.h:50:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 50 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:70:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 70 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:84:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 84 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:93:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 93 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partgpt.c:55: fat.h:76:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:86:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:102:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 102 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partgpt.c:56: hfs.h:34:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 34 | } __attribute__ ((gcc_struct, __packed__)); | ^ hfs.h:77:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 77 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partgpt.c:59: ntfs.h:57:9: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 57 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs.h:76:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs.h:147:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 147 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; | ^ ntfs.h:191:17: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 191 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs.h:196:9: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 196 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs.h:201:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 201 | } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; | ^ ntfs.h:241:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 241 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; | ^ In file included from partgpt.c:60: refs.h:33:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 33 | } __attribute__ ((gcc_struct, __packed__)); | ^ partgpt.c: In function ‘init_part_order_gpt’: partgpt.c:327:55: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 327 | static list_part_t *init_part_order_gpt(const disk_t *disk_car, list_part_t *list_part) | ~~~~~~~~~~~~~~^~~~~~~~ partgpt.c: In function ‘set_next_status_gpt’: partgpt.c:400:47: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 400 | static void set_next_status_gpt(const disk_t *disk_car, partition_t *partition) | ~~~~~~~~~~~~~~^~~~~~~~ partgpt.c: In function ‘init_structure_gpt’: partgpt.c:423:89: warning: unused parameter ‘verbose’ [-Wunused-parameter] 423 | static void init_structure_gpt(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~^~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o parthumax.o parthumax.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from parthumax.c:25: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from parthumax.c:38: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ parthumax.c:69:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 69 | } __attribute__ ((gcc_struct, __packed__)); | ^ parthumax.c:75:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 75 | } __attribute__ ((gcc_struct, __packed__)); | ^ parthumax.c: In function ‘read_part_humax’: parthumax.c:109:65: warning: unused parameter ‘verbose’ [-Wunused-parameter] 109 | static list_part_t *read_part_humax(disk_t *disk_car, const int verbose, const int saveheader) | ~~~~~~~~~~^~~~~~~ parthumax.c:109:84: warning: unused parameter ‘saveheader’ [-Wunused-parameter] 109 | static list_part_t *read_part_humax(disk_t *disk_car, const int verbose, const int saveheader) | ~~~~~~~~~~^~~~~~~~~~ parthumax.c: In function ‘write_part_humax’: parthumax.c:159:37: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 159 | static int write_part_humax(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~^~~~~~~~ parthumax.c:159:66: warning: unused parameter ‘list_part’ [-Wunused-parameter] 159 | static int write_part_humax(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ parthumax.c:159:101: warning: unused parameter ‘verbose’ [-Wunused-parameter] 159 | static int write_part_humax(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~^~~~~~~ parthumax.c: In function ‘init_part_order_humax’: parthumax.c:167:57: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 167 | static list_part_t *init_part_order_humax(const disk_t *disk_car, list_part_t *list_part) | ~~~~~~~~~~~~~~^~~~~~~~ parthumax.c: In function ‘set_next_status_humax’: parthumax.c:235:49: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 235 | static void set_next_status_humax(const disk_t *disk_car, partition_t *partition) | ~~~~~~~~~~~~~~^~~~~~~~ parthumax.c: In function ‘init_structure_humax’: parthumax.c:271:91: warning: unused parameter ‘verbose’ [-Wunused-parameter] 271 | static void init_structure_humax(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~^~~~~~~ parthumax.c: In function ‘get_partition_typename_humax’: parthumax.c:305:68: warning: unused parameter ‘partition’ [-Wunused-parameter] 305 | static const char *get_partition_typename_humax(const partition_t *partition) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o partmac.o partmac.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from partmac.c:25: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from partmac.c:38: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partmac.c:46: fat.h:76:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:86:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:102:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 102 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partmac.c:47: hfs.h:34:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 34 | } __attribute__ ((gcc_struct, __packed__)); | ^ hfs.h:77:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 77 | } __attribute__ ((gcc_struct, __packed__)); | ^ partmac.c: In function ‘write_part_mac’: partmac.c:200:35: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 200 | static int write_part_mac(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~^~~~~~~~ partmac.c:200:64: warning: unused parameter ‘list_part’ [-Wunused-parameter] 200 | static int write_part_mac(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ partmac.c:200:99: warning: unused parameter ‘verbose’ [-Wunused-parameter] 200 | static int write_part_mac(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~^~~~~~~ partmac.c: In function ‘init_part_order_mac’: partmac.c:208:55: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 208 | static list_part_t *init_part_order_mac(const disk_t *disk_car, list_part_t *list_part) | ~~~~~~~~~~~~~~^~~~~~~~ partmac.c: In function ‘set_next_status_mac’: partmac.c:272:47: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 272 | static void set_next_status_mac(const disk_t *disk_car, partition_t *partition) | ~~~~~~~~~~~~~~^~~~~~~~ partmac.c: In function ‘init_structure_mac’: partmac.c:305:89: warning: unused parameter ‘verbose’ [-Wunused-parameter] 305 | static void init_structure_mac(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~^~~~~~~ partmac.c: In function ‘read_part_mac’: partmac.c:133:17: warning: array subscript ‘struct mac_DPME[0]’ is partly outside array bounds of ‘unsigned char[512]’ [-Warray-bounds=] 133 | if(be16(dpme->dpme_signature) != DPME_SIGNATURE) | ^~ partmac.c:112:17: note: object ‘buffer’ of size 512 112 | unsigned char buffer[DEFAULT_SECTOR_SIZE]; | ^~~~~~ partmac.c:183:53: warning: array subscript ‘struct mac_DPME[0]’ is partly outside array bounds of ‘unsigned char[512]’ [-Warray-bounds=] 183 | new_partition->part_offset=(uint64_t)be32(dpme->dpme_pblock_start)*PBLOCK_SIZE; | ^~ partmac.c:112:17: note: object ‘buffer’ of size 512 112 | unsigned char buffer[DEFAULT_SECTOR_SIZE]; | ^~~~~~ partmac.c:184:51: warning: array subscript ‘struct mac_DPME[0]’ is partly outside array bounds of ‘unsigned char[512]’ [-Warray-bounds=] 184 | new_partition->part_size=(uint64_t)be32(dpme->dpme_pblocks)*PBLOCK_SIZE; | ^~ partmac.c:112:17: note: object ‘buffer’ of size 512 112 | unsigned char buffer[DEFAULT_SECTOR_SIZE]; | ^~~~~~ partmac.c:193:24: warning: array subscript ‘struct mac_DPME[0]’ is partly outside array bounds of ‘unsigned char[512]’ [-Warray-bounds=] 193 | limit=be32(dpme->dpme_map_entries); | ^~ partmac.c:112:17: note: object ‘buffer’ of size 512 112 | unsigned char buffer[DEFAULT_SECTOR_SIZE]; | ^~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o parti386.o parti386.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from parti386.c:25: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from parti386.c:38: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from parti386.c:47: exfat.h:50:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 50 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:70:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 70 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:84:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 84 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:93:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 93 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from parti386.c:48: fat.h:76:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:86:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:102:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 102 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from parti386.c:49: hfs.h:34:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 34 | } __attribute__ ((gcc_struct, __packed__)); | ^ hfs.h:77:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 77 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from parti386.c:54: ntfs.h:57:9: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 57 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs.h:76:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs.h:147:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 147 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; | ^ ntfs.h:191:17: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 191 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs.h:196:9: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 196 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs.h:201:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 201 | } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; | ^ ntfs.h:241:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 241 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; | ^ In file included from parti386.c:55: sun.h:75:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 75 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from parti386.c:59: partgpt.h:47:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 47 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from parti386.c:60: partxbox.h:32:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 32 | } __attribute__ ((gcc_struct, __packed__)); | ^ parti386.c: In function ‘init_part_order_i386’: parti386.c:329:56: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 329 | static list_part_t *init_part_order_i386(const disk_t *disk_car, list_part_t *list_part) | ~~~~~~~~~~~~~~^~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o partsun.o partsun.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from partsun.c:25: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from partsun.c:38: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partsun.c:44: sun.h:75:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 75 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partsun.c:49: ufs.h:290:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 290 | } __attribute__ ((gcc_struct, __packed__)); | ^ ufs.h:297:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 297 | } __attribute__ ((gcc_struct, __packed__)); | ^ ufs.h:306:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 306 | } __attribute__ ((gcc_struct, __packed__)); | ^ ufs.h:315:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 315 | } __attribute__ ((gcc_struct, __packed__)); | ^ ufs.h:339:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 339 | } __attribute__ ((gcc_struct, __packed__)); | ^ ufs.h:458:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 458 | } __attribute__ ((gcc_struct, __packed__)); | ^ partsun.c: In function ‘write_part_sun’: partsun.c:178:35: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 178 | static int write_part_sun(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~^~~~~~~~ partsun.c:178:64: warning: unused parameter ‘list_part’ [-Wunused-parameter] 178 | static int write_part_sun(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ partsun.c:178:99: warning: unused parameter ‘verbose’ [-Wunused-parameter] 178 | static int write_part_sun(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~^~~~~~~ partsun.c: In function ‘set_next_status_sun’: partsun.c:269:47: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 269 | static void set_next_status_sun(const disk_t *disk_car, partition_t *partition) | ~~~~~~~~~~~~~~^~~~~~~~ partsun.c: In function ‘init_structure_sun’: partsun.c:301:89: warning: unused parameter ‘verbose’ [-Wunused-parameter] 301 | static void init_structure_sun(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~^~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o partnone.o partnone.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from partnone.c:25: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from partnone.c:37: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partnone.c:44: btrfs.h:97:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 97 | } __attribute__ ((gcc_struct, __packed__)); | ^ btrfs.h:139:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 139 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partnone.c:46: exfat.h:50:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 50 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:70:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 70 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:84:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 84 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:93:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 93 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partnone.c:48: fat.h:76:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:86:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:102:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 102 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partnone.c:50: fatx.h:33:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 33 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partnone.c:51: f2fs_fs.h:61:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 61 | } __attribute__ ((gcc_struct, __packed__)); | ^ f2fs_fs.h:105:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 105 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partnone.c:53: iso9660.h:62:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 62 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partnone.c:56: hfs.h:34:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 34 | } __attribute__ ((gcc_struct, __packed__)); | ^ hfs.h:77:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 77 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partnone.c:65: ntfs.h:57:9: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 57 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs.h:76:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs.h:147:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 147 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; | ^ ntfs.h:191:17: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 191 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs.h:196:9: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 196 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs.h:201:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 201 | } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; | ^ ntfs.h:241:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 241 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; | ^ In file included from partnone.c:66: refs.h:33:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 33 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partnone.c:67: rfs.h:73:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 73 | } __attribute__ ((gcc_struct, __packed__)); | ^ rfs.h:86:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partnone.c:68: sun.h:75:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 75 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partnone.c:69: sysv.h:119:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 119 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partnone.c:71: ufs.h:290:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 290 | } __attribute__ ((gcc_struct, __packed__)); | ^ ufs.h:297:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 297 | } __attribute__ ((gcc_struct, __packed__)); | ^ ufs.h:306:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 306 | } __attribute__ ((gcc_struct, __packed__)); | ^ ufs.h:315:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 315 | } __attribute__ ((gcc_struct, __packed__)); | ^ ufs.h:339:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 339 | } __attribute__ ((gcc_struct, __packed__)); | ^ ufs.h:458:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 458 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partnone.c:72: xfs.h:108:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 108 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partnone.c:73: vmfs.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ vmfs.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partnone.c:74: wbfs.h:39:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 39 | } __attribute__ ((gcc_struct, __packed__)); | ^ partnone.c: In function ‘get_geometry_from_nonembr’: partnone.c:176:77: warning: unused parameter ‘verbose’ [-Wunused-parameter] 176 | static int get_geometry_from_nonembr(const unsigned char *buffer, const int verbose, CHSgeometry_t *geometry) | ~~~~~~~~~~^~~~~~~ partnone.c: In function ‘init_part_order_none’: partnone.c:306:56: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 306 | static list_part_t *init_part_order_none(const disk_t *disk_car, list_part_t *list_part) | ~~~~~~~~~~~~~~^~~~~~~~ partnone.c: In function ‘set_next_status_none’: partnone.c:312:48: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 312 | static void set_next_status_none(const disk_t *disk_car, partition_t *partition) | ~~~~~~~~~~~~~~^~~~~~~~ partnone.c:312:71: warning: unused parameter ‘partition’ [-Wunused-parameter] 312 | static void set_next_status_none(const disk_t *disk_car, partition_t *partition) | ~~~~~~~~~~~~~^~~~~~~~~ partnone.c: In function ‘test_structure_none’: partnone.c:316:45: warning: unused parameter ‘list_part’ [-Wunused-parameter] 316 | static int test_structure_none(list_part_t *list_part) | ~~~~~~~~~~~~~^~~~~~~~~ partnone.c: In function ‘is_part_known_none’: partnone.c:327:50: warning: unused parameter ‘partition’ [-Wunused-parameter] 327 | static int is_part_known_none(const partition_t *partition) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ partnone.c: In function ‘init_structure_none’: partnone.c:332:47: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 332 | static void init_structure_none(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~~~~~^~~~~~~~ partnone.c:332:90: warning: unused parameter ‘verbose’ [-Wunused-parameter] 332 | static void init_structure_none(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~^~~~~~~ partnone.c: In function ‘check_part_none’: partnone.c:341:97: warning: unused parameter ‘saveheader’ [-Wunused-parameter] 341 | static int check_part_none(disk_t *disk_car,const int verbose,partition_t *partition, const int saveheader) | ~~~~~~~~~~^~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o io_redir.o io_redir.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from io_redir.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from io_redir.c:35: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o partxbox.o partxbox.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from partxbox.c:25: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from partxbox.c:38: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partxbox.c:43: partxbox.h:32:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 32 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partxbox.c:45: fatx.h:33:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 33 | } __attribute__ ((gcc_struct, __packed__)); | ^ partxbox.c: In function ‘write_part_xbox’: partxbox.c:135:36: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 135 | static int write_part_xbox(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~^~~~~~~~ partxbox.c:135:65: warning: unused parameter ‘list_part’ [-Wunused-parameter] 135 | static int write_part_xbox(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ partxbox.c:135:100: warning: unused parameter ‘verbose’ [-Wunused-parameter] 135 | static int write_part_xbox(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~^~~~~~~ partxbox.c: In function ‘init_part_order_xbox’: partxbox.c:143:56: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 143 | static list_part_t *init_part_order_xbox(const disk_t *disk_car, list_part_t *list_part) | ~~~~~~~~~~~~~~^~~~~~~~ partxbox.c: In function ‘set_next_status_xbox’: partxbox.c:207:48: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 207 | static void set_next_status_xbox(const disk_t *disk_car, partition_t *partition) | ~~~~~~~~~~~~~~^~~~~~~~ partxbox.c: In function ‘init_structure_xbox’: partxbox.c:240:90: warning: unused parameter ‘verbose’ [-Wunused-parameter] 240 | static void init_structure_xbox(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~^~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ntfs_io.o ntfs_io.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from ntfs_io.c:26: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from ntfs_io.c:56: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs_io.c: In function ‘ntfs_device_testdisk_io_stat’: ntfs_io.c:148:61: warning: unused parameter ‘dev’ [-Wunused-parameter] 148 | static int ntfs_device_testdisk_io_stat(struct ntfs_device *dev, struct stat *buf) | ~~~~~~~~~~~~~~~~~~~~^~~ ntfs_io.c:148:79: warning: unused parameter ‘buf’ [-Wunused-parameter] 148 | static int ntfs_device_testdisk_io_stat(struct ntfs_device *dev, struct stat *buf) | ~~~~~~~~~~~~~^~~ ntfs_io.c: In function ‘ntfs_device_testdisk_io_ioctl’: ntfs_io.c:157:62: warning: unused parameter ‘dev’ [-Wunused-parameter] 157 | static int ntfs_device_testdisk_io_ioctl(struct ntfs_device *dev, int request, | ~~~~~~~~~~~~~~~~~~~~^~~ ntfs_io.c:157:71: warning: unused parameter ‘request’ [-Wunused-parameter] 157 | static int ntfs_device_testdisk_io_ioctl(struct ntfs_device *dev, int request, | ~~~~^~~~~~~ ntfs_io.c:158:23: warning: unused parameter ‘argp’ [-Wunused-parameter] 158 | void *argp) | ~~~~~~^~~~ ntfs_io.c: At top level: ntfs_io.c:180:27: warning: initialization of ‘int (*)(struct ntfs_device *, long unsigned int, void *)’ from incompatible pointer type ‘int (*)(struct ntfs_device *, int, void *)’ [-Wincompatible-pointer-types] 180 | .ioctl = &ntfs_device_testdisk_io_ioctl, | ^ ntfs_io.c:180:27: note: (near initialization for ‘ntfs_device_testdisk_io_ops.ioctl’) make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ntfs_utl.o ntfs_utl.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from ntfs_utl.c:27: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from ntfs_utl.c:61: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o sudo.o sudo.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from sudo.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o partauto.o partauto.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from partauto.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from partauto.c:31: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o unicode.o unicode.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from unicode.c:25: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from unicode.c:28: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o win32.o win32.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from win32.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o bfs.o bfs.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from bfs.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from bfs.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o bsd.o bsd.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from bsd.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from bsd.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o analyse.o analyse.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from analyse.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from analyse.c:31: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from analyse.c:35: btrfs.h:97:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 97 | } __attribute__ ((gcc_struct, __packed__)); | ^ btrfs.h:139:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 139 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from analyse.c:37: exfat.h:50:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 50 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:70:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 70 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:84:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 84 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:93:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 93 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from analyse.c:39: fat.h:76:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:86:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:102:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 102 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from analyse.c:40: fatx.h:33:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 33 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from analyse.c:41: f2fs_fs.h:61:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 61 | } __attribute__ ((gcc_struct, __packed__)); | ^ f2fs_fs.h:105:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 105 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from analyse.c:44: hfs.h:34:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 34 | } __attribute__ ((gcc_struct, __packed__)); | ^ hfs.h:77:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 77 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from analyse.c:53: ntfs.h:57:9: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 57 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs.h:76:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs.h:147:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 147 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; | ^ ntfs.h:191:17: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 191 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs.h:196:9: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 196 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs.h:201:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 201 | } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; | ^ ntfs.h:241:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 241 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; | ^ In file included from analyse.c:54: refs.h:33:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 33 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from analyse.c:55: rfs.h:73:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 73 | } __attribute__ ((gcc_struct, __packed__)); | ^ rfs.h:86:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from analyse.c:56: sun.h:75:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 75 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from analyse.c:58: sysv.h:119:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 119 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from analyse.c:59: ufs.h:290:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 290 | } __attribute__ ((gcc_struct, __packed__)); | ^ ufs.h:297:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 297 | } __attribute__ ((gcc_struct, __packed__)); | ^ ufs.h:306:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 306 | } __attribute__ ((gcc_struct, __packed__)); | ^ ufs.h:315:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 315 | } __attribute__ ((gcc_struct, __packed__)); | ^ ufs.h:339:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 339 | } __attribute__ ((gcc_struct, __packed__)); | ^ ufs.h:458:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 458 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from analyse.c:60: vmfs.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ vmfs.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from analyse.c:61: wbfs.h:39:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 39 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from analyse.c:62: xfs.h:108:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 108 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o btrfs.o btrfs.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from btrfs.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from btrfs.c:34: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from btrfs.c:35: btrfs.h:97:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 97 | } __attribute__ ((gcc_struct, __packed__)); | ^ btrfs.h:139:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 139 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o cramfs.o cramfs.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from cramfs.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from cramfs.c:35: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o exfat.o exfat.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from exfat.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from exfat.c:34: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from exfat.c:35: exfat.h:50:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 50 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:70:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 70 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:84:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 84 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:93:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 93 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ext2.o ext2.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from ext2.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from ext2.c:35: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ext2_common.o ext2_common.c In file included from ext2_common.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from ext2_common.c:34: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o fat_common.o fat_common.c In file included from fat_common.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from fat_common.c:30: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from fat_common.c:31: fat.h:76:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:86:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:102:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 102 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o fatx.o fatx.c In file included from fatx.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from fatx.c:30: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from fatx.c:31: fatx.h:33:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 33 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o f2fs.o f2fs.c In file included from f2fs.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from f2fs.c:34: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from f2fs.c:35: f2fs_fs.h:61:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 61 | } __attribute__ ((gcc_struct, __packed__)); | ^ f2fs_fs.h:105:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 105 | } __attribute__ ((gcc_struct, __packed__)); | ^ f2fs.c: In function ‘recover_f2fs’: f2fs.c:90:32: warning: unused parameter ‘disk’ [-Wunused-parameter] 90 | int recover_f2fs(const disk_t *disk, const struct f2fs_super_block *hdr, partition_t *partition) | ~~~~~~~~~~~~~~^~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o jfs.o jfs.c In file included from jfs.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from jfs.c:33: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o gfs2.o gfs2.c In file included from gfs2.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from gfs2.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o hfs.o hfs.c In file included from hfs.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from hfs.c:33: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from hfs.c:34: hfs.h:34:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 34 | } __attribute__ ((gcc_struct, __packed__)); | ^ hfs.h:77:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 77 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o hfsp.o hfsp.c In file included from hfsp.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from hfsp.c:34: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o fat.o fat.c In file included from fat.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from fat.c:39: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from fat.c:40: fat.h:76:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:86:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:102:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 102 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o hpfs.o hpfs.c In file included from hpfs.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from hpfs.c:35: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from hpfs.c:36: fat.h:76:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:86:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:102:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 102 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o luks.o luks.c In file included from luks.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from luks.c:33: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o lvm.o lvm.c In file included from lvm.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from lvm.c:34: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o netware.o netware.c In file included from netware.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from netware.c:33: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o md.o md.c In file included from md.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from md.c:34: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o refs.o refs.c In file included from refs.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from refs.c:34: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from refs.c:35: refs.h:33:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 33 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ntfs.o ntfs.c In file included from ntfs.c:28: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from ntfs.c:40: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from ntfs.c:42: ntfs.h:57:9: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 57 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs.h:76:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs.h:147:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 147 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; | ^ ntfs.h:191:17: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 191 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs.h:196:9: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 196 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs.h:201:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 201 | } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; | ^ ntfs.h:241:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 241 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; | ^ ntfs.c: In function ‘ntfs_searchattribute’: ntfs.c:204:25: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare] 204 | le32(attrib->type)!= -1) | ^~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o rfs.o rfs.c In file included from rfs.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from rfs.c:35: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from rfs.c:36: rfs.h:73:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 73 | } __attribute__ ((gcc_struct, __packed__)); | ^ rfs.h:86:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o savehdr.o savehdr.c In file included from savehdr.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from savehdr.c:41: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o sun.o sun.c In file included from sun.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from sun.c:35: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from sun.c:36: sun.h:75:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 75 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o sysv.o sysv.c In file included from sysv.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from sysv.c:35: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from sysv.c:36: sysv.h:119:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 119 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o swap.o swap.c In file included from swap.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from swap.c:34: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ swap.c: In function ‘set_Linux_SWAP_info’: swap.c:67:71: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘long unsigned int’ [-Wformat=] 67 | snprintf(partition->info, sizeof(partition->info), "SWAP version %u, pagesize=%u", | ~^ | | | unsigned int | %lu swap.c:74:72: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘long unsigned int’ [-Wformat=] 74 | snprintf(partition->info, sizeof(partition->info), "SWAP2 version %u, pagesize=%u", | ~^ | | | unsigned int | %lu swap.c:82:71: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘long unsigned int’ [-Wformat=] 82 | snprintf(partition->info, sizeof(partition->info), "SWAP version %u, pagesize=%u", | ~^ | | | unsigned int | %lu swap.c:91:74: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘long unsigned int’ [-Wformat=] 91 | snprintf(partition->info, sizeof(partition->info), "SWAP2 version %u, pagesize=%u", | ~^ | | | unsigned int | %lu make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o vmfs.o vmfs.c In file included from vmfs.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from vmfs.c:33: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from vmfs.c:36: vmfs.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ vmfs.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ufs.o ufs.c In file included from ufs.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from ufs.c:35: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from ufs.c:36: ufs.h:290:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 290 | } __attribute__ ((gcc_struct, __packed__)); | ^ ufs.h:297:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 297 | } __attribute__ ((gcc_struct, __packed__)); | ^ ufs.h:306:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 306 | } __attribute__ ((gcc_struct, __packed__)); | ^ ufs.h:315:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 315 | } __attribute__ ((gcc_struct, __packed__)); | ^ ufs.h:339:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 339 | } __attribute__ ((gcc_struct, __packed__)); | ^ ufs.h:458:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 458 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o wbfs.o wbfs.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from wbfs.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from wbfs.c:33: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from wbfs.c:36: wbfs.h:39:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 39 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o zfs.o zfs.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from zfs.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from zfs.c:33: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o xfs.o xfs.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from xfs.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from xfs.c:35: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from xfs.c:36: xfs.h:108:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 108 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o addpart.o addpart.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from addpart.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from addpart.c:29: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from addpart.c:31: partgpt.h:47:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 47 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from addpart.c:35: partxbox.h:32:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 32 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o addpartn.o addpartn.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from addpartn.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from addpartn.c:30: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from addpartn.c:32: partgpt.h:47:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 47 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from addpartn.c:35: partxbox.h:32:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 32 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o adv.o adv.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from adv.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from adv.c:39: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from adv.c:47: fat.h:76:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:86:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:102:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 102 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from adv.c:48: ntfs.h:57:9: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 57 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs.h:76:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs.h:147:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 147 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; | ^ ntfs.h:191:17: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 191 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs.h:196:9: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 196 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs.h:201:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 201 | } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; | ^ ntfs.h:241:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 241 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; | ^ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o askloc.o askloc.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from askloc.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from askloc.c:53: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ askloc.c: In function ‘ask_location’: askloc.c:314:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 314 | line_directory=aff_txt(2, window, msg, src_dir); | ^~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o chgarch.o chgarch.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from chgarch.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from chgarch.c:34: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o chgarchn.o chgarchn.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from chgarchn.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from chgarchn.c:35: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o chgtype.o chgtype.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from chgtype.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from chgtype.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o dimage.o dimage.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from dimage.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from dimage.c:45: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o chgtypen.o chgtypen.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from chgtypen.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from chgtypen.c:35: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from chgtypen.c:45: partgpt.h:47:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 47 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o dirpart.o dirpart.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from dirpart.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from dirpart.c:34: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from dirpart.c:35: fat.h:76:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:86:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:102:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 102 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from dirpart.c:48: ntfs.h:57:9: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 57 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs.h:76:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs.h:147:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 147 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; | ^ ntfs.h:191:17: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 191 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs.h:196:9: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 196 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs.h:201:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 201 | } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; | ^ ntfs.h:241:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 241 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; | ^ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o diskacc.o diskacc.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from diskacc.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from diskacc.c:31: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o diskcapa.o diskcapa.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from diskcapa.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from diskcapa.c:28: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o dirn.o dirn.c In file included from dirn.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from dirn.c:38: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o edit.o edit.c In file included from edit.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from edit.c:35: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ext2_sb.o ext2_sb.c In file included from ext2_sb.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from ext2_sb.c:31: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ext2_sbn.o ext2_sbn.c In file included from ext2_sbn.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from ext2_sbn.c:31: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o fat1x.o fat1x.c In file included from fat1x.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from fat1x.c:34: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from fat1x.c:39: fat.h:76:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:86:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:102:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 102 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o fat32.o fat32.c In file included from fat32.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from fat32.c:35: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from fat32.c:40: fat.h:76:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:86:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:102:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 102 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o fat_cluster.o fat_cluster.c In file included from fat_cluster.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from fat_cluster.c:35: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from fat_cluster.c:40: fat.h:76:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:86:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:102:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 102 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o fatn.o fatn.c In file included from fatn.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from fatn.c:30: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from fatn.c:33: fat.h:76:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:86:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:102:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 102 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o geometry.o geometry.c In file included from geometry.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from geometry.c:34: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o geometryn.o geometryn.c In file included from geometryn.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from geometryn.c:35: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o godmode.o godmode.c In file included from godmode.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from godmode.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from godmode.c:42: ntfs.h:57:9: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 57 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs.h:76:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs.h:147:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 147 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; | ^ ntfs.h:191:17: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 191 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs.h:196:9: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 196 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs.h:201:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 201 | } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; | ^ ntfs.h:241:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 241 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; | ^ In file included from godmode.c:50: partgpt.h:47:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 47 | } __attribute__ ((gcc_struct, __packed__)); | ^ godmode.c: In function ‘search_part’: godmode.c:605:44: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 605 | wprintw(stdscr,"Analyse cylinder %5u/%u: %02u%%", | ~~^ | | | unsigned int | %5lu 606 | start.cylinder, disk_car->geom.cylinders-1, | ~~~~~~~~~~~~~~ | | | long unsigned int godmode.c:605:47: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘long unsigned int’ [-Wformat=] 605 | wprintw(stdscr,"Analyse cylinder %5u/%u: %02u%%", | ~^ | | | unsigned int | %lu 606 | start.cylinder, disk_car->geom.cylinders-1, | ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int In file included from godmode.c:35: lang.h:24:27: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 24 | #define msg_READ_ERROR_AT "Read error at %u/%u/%u (lba=%lu)\n" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ godmode.c:849:26: note: in expansion of macro ‘msg_READ_ERROR_AT’ 849 | wprintw(stdscr,msg_READ_ERROR_AT, start.cylinder,start.head,start.sector,(unsigned long)(partition->part_offset/disk_car->sector_size)); | ^~~~~~~~~~~~~~~~~ lang.h:24:43: note: format string is defined here 24 | #define msg_READ_ERROR_AT "Read error at %u/%u/%u (lba=%lu)\n" | ~^ | | | unsigned int | %lu make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o hiddenn.o hiddenn.c In file included from hiddenn.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from hiddenn.c:29: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o fat_adv.o fat_adv.c In file included from fat_adv.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from fat_adv.c:42: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from fat_adv.c:43: fat.h:76:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:86:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:102:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 102 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat_adv.c: In function ‘file2entry’: fat_adv.c:626:44: warning: taking address of packed member of ‘struct msdos_dir_entry’ may result in an unaligned pointer value [-Waddress-of-packed-member] 626 | fat_date_unix2dos(current_file->td_mtime,&de->time,&de->date); | ^~~~~~~~~ fat_adv.c:626:54: warning: taking address of packed member of ‘struct msdos_dir_entry’ may result in an unaligned pointer value [-Waddress-of-packed-member] 626 | fat_date_unix2dos(current_file->td_mtime,&de->time,&de->date); | ^~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o intrface.o intrface.c In file included from intrface.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from intrface.c:31: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o nodisk.o nodisk.c In file included from nodisk.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from nodisk.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ntfs_adv.o ntfs_adv.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from ntfs_adv.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from ntfs_adv.c:35: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from ntfs_adv.c:39: ntfs.h:57:9: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 57 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs.h:76:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs.h:147:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 147 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; | ^ ntfs.h:191:17: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 191 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs.h:196:9: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 196 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs.h:201:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 201 | } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; | ^ ntfs.h:241:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 241 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; | ^ ntfs_adv.c: In function ‘create_ntfs_boot_sector’: ntfs_adv.c:271:40: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare] 271 | mft_record_size / cluster_size : -(testdisk_ffs(mft_record_size) - 1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntfs_adv.c:273:41: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare] 273 | index_block_size / cluster_size : -(testdisk_ffs(index_block_size) - 1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ntfs_fix.o ntfs_fix.c In file included from ntfs_fix.c:21: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from ntfs_fix.c:38: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from ntfs_fix.c:40: ntfs.h:57:9: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 57 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs.h:76:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs.h:147:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 147 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; | ^ ntfs.h:191:17: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 191 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs.h:196:9: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 196 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs.h:201:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 201 | } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; | ^ ntfs.h:241:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 241 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o intrfn.o intrfn.c In file included from intrfn.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from intrfn.c:59: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o parti386n.o parti386n.c In file included from parti386n.c:25: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from parti386n.c:34: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o partgptn.o partgptn.c In file included from partgptn.c:25: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from partgptn.c:45: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o partmacn.o partmacn.c In file included from partmacn.c:25: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from partmacn.c:34: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o partsunn.o partsunn.c In file included from partsunn.c:25: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from partsunn.c:34: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o partxboxn.o partxboxn.c In file included from partxboxn.c:25: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from partxboxn.c:34: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o tanalyse.o tanalyse.c In file included from tanalyse.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from tanalyse.c:31: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o tbanner.o tbanner.c In file included from tbanner.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from tbanner.c:29: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ntfs_udl.o ntfs_udl.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from ntfs_udl.c:28: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from ntfs_udl.c:45: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs_udl.c: In function ‘get_parent_name’: ntfs_udl.c:305:40: warning: taking address of packed member of ‘struct ’ may result in an unaligned pointer value [-Waddress-of-packed-member] 305 | if (ntfs_ucstombs(filename_attr->file_name, | ~~~~~~~~~~~~~^~~~~~~~~~~ ntfs_udl.c: In function ‘get_filenames’: ntfs_udl.c:394:36: warning: taking address of packed member of ‘struct ’ may result in an unaligned pointer value [-Waddress-of-packed-member] 394 | name->uname = attr->file_name; | ^~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o tdelete.o tdelete.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from tdelete.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from tdelete.c:28: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o tdiskop.o tdiskop.c In file included from tdiskop.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from tdiskop.c:31: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o tdisksel.o tdisksel.c In file included from tdisksel.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from tdisksel.c:34: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o texfat.o texfat.c In file included from texfat.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from texfat.c:35: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from texfat.c:39: exfat.h:50:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 50 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:70:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 70 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:84:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 84 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:93:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 93 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o testdisk.o testdisk.c In file included from testdisk.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from testdisk.c:44: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o thfs.o thfs.c In file included from thfs.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from thfs.c:35: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from thfs.c:39: hfs.h:34:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 34 | } __attribute__ ((gcc_struct, __packed__)); | ^ hfs.h:77:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 77 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o tload.o tload.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from tload.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from tload.c:40: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o tlog.o tlog.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from tlog.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from tlog.c:28: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o tmbrcode.o tmbrcode.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from tmbrcode.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from tmbrcode.c:31: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o tntfs.o tntfs.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from tntfs.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from tntfs.c:34: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from tntfs.c:39: ntfs.h:57:9: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 57 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs.h:76:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs.h:147:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 147 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; | ^ ntfs.h:191:17: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 191 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs.h:196:9: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 196 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs.h:201:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 201 | } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; | ^ ntfs.h:241:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 241 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; | ^ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o toptions.o toptions.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from toptions.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from toptions.c:30: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o tpartwr.o tpartwr.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from tpartwr.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from tpartwr.c:31: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o exfat_dir.o exfat_dir.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from exfat_dir.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from exfat_dir.c:45: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from exfat_dir.c:46: exfat.h:50:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 50 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:70:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 70 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:84:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 84 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:93:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 93 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from exfat_dir.c:53: fat.h:76:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:86:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:102:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 102 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat_dir.c: In function ‘exfat_ucstoutf8’: exfat_dir.c:93:17: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 93 | if (iconv(cd, (char **)&inp, &inb_left, &outp, &outb_left) == (size_t)(-1)) | ^ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o dir.o dir.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from dir.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from dir.c:47: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ext2_dir.o ext2_dir.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from ext2_dir.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from ext2_dir.c:42: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ ext2_dir.c: In function ‘alloc_io_channel’: ext2_dir.c:108:44: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 108 | static io_channel alloc_io_channel(disk_t *disk_car,my_data_t *my_data) | ~~~~~~~~^~~~~~~~ ext2_dir.c: In function ‘my_open’: ext2_dir.c:135:38: warning: unused parameter ‘dev’ [-Wunused-parameter] 135 | static errcode_t my_open(const char *dev, int flags, io_channel *channel) | ~~~~~~~~~~~~^~~ ext2_dir.c:135:47: warning: unused parameter ‘flags’ [-Wunused-parameter] 135 | static errcode_t my_open(const char *dev, int flags, io_channel *channel) | ~~~~^~~~~ ext2_dir.c: In function ‘my_flush’: ext2_dir.c:209:38: warning: unused parameter ‘channel’ [-Wunused-parameter] 209 | static errcode_t my_flush(io_channel channel) | ~~~~~~~~~~~^~~~~~~ ext2_dir.c: In function ‘list_dir_proc2’: ext2_dir.c:214:38: warning: unused parameter ‘dir’ [-Wunused-parameter] 214 | static int list_dir_proc2(ext2_ino_t dir, | ~~~~~~~~~~~^~~ ext2_dir.c:217:33: warning: unused parameter ‘offset’ [-Wunused-parameter] 217 | int offset, | ~~~~~~~^~~~~~ ext2_dir.c:218:33: warning: unused parameter ‘blocksize’ [-Wunused-parameter] 218 | int blocksize, | ~~~~~~~^~~~~~~~~ ext2_dir.c:219:34: warning: unused parameter ‘buf’ [-Wunused-parameter] 219 | char *buf, | ~~~~~~~~^~~ ext2_dir.c: In function ‘ext2_dir’: ext2_dir.c:267:29: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 267 | static int ext2_dir(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const unsigned long int cluster, file_info_t *dir_list) | ~~~~~~~~^~~~~~~~ ext2_dir.c:267:58: warning: unused parameter ‘partition’ [-Wunused-parameter] 267 | static int ext2_dir(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const unsigned long int cluster, file_info_t *dir_list) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ext2_dir.c: In function ‘ext2_copy’: ext2_dir.c:288:30: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 288 | static int ext2_copy(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const file_info_t *file) | ~~~~~~~~^~~~~~~~ ext2_dir.c:288:59: warning: unused parameter ‘partition’ [-Wunused-parameter] 288 | static int ext2_copy(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const file_info_t *file) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ntfs_dir.o ntfs_dir.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from ntfs_dir.c:27: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from ntfs_dir.c:71: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from ntfs_dir.c:73: ntfs.h:57:9: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 57 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs.h:76:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs.h:147:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 147 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; | ^ ntfs.h:191:17: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 191 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs.h:196:9: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 196 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs.h:201:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 201 | } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; | ^ ntfs.h:241:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 241 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; | ^ ntfs_dir.c: In function ‘ntfs_ucstoutf8’: ntfs_dir.c:151:19: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 151 | if (iconv(cd, (char**)&inp, &inb_left, &outp, &outb_left) == (size_t)(-1)) | ^ ntfs_dir.c: In function ‘ntfs_td_list_entry’: ntfs_dir.c:167:68: warning: unused parameter ‘pos’ [-Wunused-parameter] 167 | const int name_len, const int name_type, const s64 pos, | ~~~~~~~~~~^~~ ntfs_dir.c: In function ‘ntfs_dir’: ntfs_dir.c:299:29: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 299 | static int ntfs_dir(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const unsigned long int cluster, file_info_t *dir_list) | ~~~~~~~~^~~~~~~~ ntfs_dir.c:299:58: warning: unused parameter ‘partition’ [-Wunused-parameter] 299 | static int ntfs_dir(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const unsigned long int cluster, file_info_t *dir_list) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ntfs_dir.c: In function ‘ntfs_copy’: ntfs_dir.c:334:30: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 334 | static int ntfs_copy(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const file_info_t *file) | ~~~~~~~~^~~~~~~~ ntfs_dir.c:334:59: warning: unused parameter ‘partition’ [-Wunused-parameter] 334 | static int ntfs_copy(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const file_info_t *file) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o fat_dir.o fat_dir.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from fat_dir.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from fat_dir.c:42: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from fat_dir.c:43: fat.h:76:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:86:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:102:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 102 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat_dir.c: In function ‘dir_fat_aux’: fat_dir.c:102:24: warning: converting a packed ‘const struct msdos_dir_entry’ pointer (alignment 1) to a ‘const struct msdos_dir_slot’ pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 102 | ds = (const struct msdos_dir_slot *) de; | ^~~~~~~~~~~~~~ fat_dir.c:109:26: warning: converting a packed ‘const struct msdos_dir_entry’ pointer (alignment 1) to a ‘const struct msdos_dir_slot’ pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 109 | ds = (const struct msdos_dir_slot *) de; | ^~~~~~~~~~~~~~ fat_dir.c:126:26: warning: converting a packed ‘const struct msdos_dir_entry’ pointer (alignment 1) to a ‘const struct msdos_dir_slot’ pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 126 | ds = (const struct msdos_dir_slot *) de_initial; | ^~~~~~~~~~~~~~ fat_dir.c:160:24: warning: converting a packed ‘const struct msdos_dir_entry’ pointer (alignment 1) to a ‘const struct msdos_dir_slot’ pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 160 | ds = (const struct msdos_dir_slot *) de; | ^~~~~~~~~~~~~~ fat_dir.c:191:28: warning: converting a packed ‘const struct msdos_dir_entry’ pointer (alignment 1) to a ‘const struct msdos_dir_slot’ pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 191 | ds = (const struct msdos_dir_slot *) de; | ^~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o rfs_dir.o rfs_dir.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from rfs_dir.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from rfs_dir.c:44: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from rfs_dir.c:46: rfs.h:73:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 73 | } __attribute__ ((gcc_struct, __packed__)); | ^ rfs.h:86:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ rfs_dir.c: In function ‘dir_partition_reiser_init’: rfs_dir.c:548:51: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 548 | dir_partition_t dir_partition_reiser_init(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const int verbose) | ~~~~~~~~^~~~~~~~ rfs_dir.c:548:80: warning: unused parameter ‘partition’ [-Wunused-parameter] 548 | dir_partition_t dir_partition_reiser_init(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const int verbose) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ rfs_dir.c:548:103: warning: unused parameter ‘dir_data’ [-Wunused-parameter] 548 | dir_partition_t dir_partition_reiser_init(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const int verbose) | ~~~~~~~~~~~~^~~~~~~~ rfs_dir.c:548:123: warning: unused parameter ‘verbose’ [-Wunused-parameter] 548 | dir_partition_t dir_partition_reiser_init(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const int verbose) | ~~~~~~~~~~^~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o setdate.o setdate.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from setdate.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o partgptw.o partgptw.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from partgptw.c:25: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from partgptw.c:44: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partgptw.c:46: partgpt.h:47:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 47 | } __attribute__ ((gcc_struct, __packed__)); | ^ partgptw.c: In function ‘write_part_gpt’: partgptw.c:244:87: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 244 | if(disk_car->pread(disk_car, gpt_org, disk_car->sector_size, disk_car->sector_size) == disk_car->sector_size) | ^~ partgptw.c:219:92: warning: unused parameter ‘verbose’ [-Wunused-parameter] 219 | int write_part_gpt(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~^~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o next.o next.c In file included from next.c:28: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from next.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o phmain.o phmain.c In file included from phmain.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from phmain.c:59: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o phcfg.o phcfg.c In file included from phcfg.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from phcfg.c:41: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o exfatp.o exfatp.c In file included from exfatp.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from exfatp.c:31: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from exfatp.c:35: exfat.h:50:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 50 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:70:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 70 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:84:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 84 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:93:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 93 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from exfatp.c:37: fat.h:76:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:86:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:102:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 102 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o photorec.o photorec.c In file included from photorec.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from photorec.c:45: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ photorec.c: In function ‘set_search_start’: photorec.c:744:20: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 744 | if(params->offset!=-1) | ^~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ext2grp.o ext2grp.c In file included from ext2grp.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from ext2grp.c:30: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ext2p.o ext2p.c In file included from ext2p.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from ext2p.c:33: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_found.o file_found.c In file included from file_found.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_found.c:35: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o fatp.o fatp.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from fatp.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from fatp.c:31: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from fatp.c:35: fat.h:76:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:86:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:102:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 102 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o pdisksel.o pdisksel.c In file included from pdisksel.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from pdisksel.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ntfsp.o ntfsp.c In file included from ntfsp.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from ntfsp.c:37: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from ntfsp.c:51: ntfs.h:57:9: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 57 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs.h:76:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs.h:147:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 147 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; | ^ ntfs.h:191:17: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 191 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs.h:196:9: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 196 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs.h:201:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 201 | } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; | ^ ntfs.h:241:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 241 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o poptions.o poptions.c In file included from poptions.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from poptions.c:31: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o phcli.o phcli.c In file included from phcli.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from phcli.c:35: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o sessionp.o sessionp.c In file included from sessionp.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from sessionp.c:46: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ sessionp.c: In function ‘session_save’: sessionp.c:291:60: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 291 | if(params->status!=STATUS_FIND_OFFSET && params->offset!=-1) | ^~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o dfxml.o dfxml.c In file included from dfxml.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from dfxml.c:53: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o pbanner.o pbanner.c In file included from pbanner.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from pbanner.c:29: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o pblocksize.o pblocksize.c In file included from pblocksize.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from pblocksize.c:29: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o fat_unformat.o fat_unformat.c In file included from fat_unformat.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from fat_unformat.c:40: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from fat_unformat.c:44: fat.h:76:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:86:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:102:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 102 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o pfree_whole.o pfree_whole.c In file included from pfree_whole.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from pfree_whole.c:29: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o pdiskseln.o pdiskseln.c In file included from pdiskseln.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from pdiskseln.c:38: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o phbs.o phbs.c In file included from phbs.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from phbs.c:41: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o phnc.o phnc.c In file included from phnc.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from phnc.c:36: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o phbf.o phbf.c In file included from phbf.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from phbf.c:44: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o phrecn.o phrecn.c In file included from phrecn.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from phrecn.c:45: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from phrecn.c:59: fat.h:76:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:86:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:102:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 102 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ppartseln.o ppartseln.c In file included from ppartseln.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from ppartseln.c:37: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o psearchn.o psearchn.c In file included from psearchn.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from psearchn.c:51: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from psearchn.c:55: fat.h:76:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:86:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:102:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 102 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_list.o file_list.c In file included from file_list.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_1cd.o file_1cd.c In file included from file_1cd.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_1cd.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_1cd.c:50:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 50 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_1cd.c: In function ‘header_check_1cd’: file_1cd.c:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_1cd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_1cd.c:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_1cd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_1cd.c:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_1cd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o filegen.o filegen.c In file included from filegen.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from filegen.c:39: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ filegen.c: In function ‘data_check_size’: filegen.c:282:51: warning: unused parameter ‘buffer’ [-Wunused-parameter] 282 | data_check_t data_check_size(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_3dm.o file_3dm.c In file included from file_3dm.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_3dm.c: In function ‘header_check_3dm’: file_3dm.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_3dm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_3dm.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_3dm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_DB.o file_DB.c In file included from file_DB.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_DB.c: In function ‘header_check_DB’: file_DB.c:43:49: warning: unused parameter ‘buffer’ [-Wunused-parameter] 43 | static int header_check_DB(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_DB.c:43:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 43 | static int header_check_DB(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_DB.c:43:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 43 | static int header_check_DB(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_DB.c:43:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 43 | static int header_check_DB(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_7z.o file_7z.c In file included from file_7z.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_7z.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_7z.c:53:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 53 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_7z.c: In function ‘header_check_7z’: file_7z.c:55:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 55 | static int header_check_7z(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_7z.c:55:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 55 | static int header_check_7z(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_7z.c:55:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 55 | static int header_check_7z(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_a.o file_a.c In file included from file_a.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_a.c:53:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 53 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_a.c: In function ‘header_check_a’: file_a.c:55:75: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 55 | static int header_check_a(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_a.c:55:107: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 55 | static int header_check_a(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_a.c:55:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 55 | static int header_check_a(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ab.o file_ab.c In file included from file_ab.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_ab.c:28: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ab.c:47:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 47 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ab.c: In function ‘header_check_addressbook’: file_ab.c:71:85: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 71 | static int header_check_addressbook(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ab.c:71:117: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 71 | static int header_check_addressbook(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ab.c:71:158: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 71 | static int header_check_addressbook(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_acb.o file_acb.c In file included from file_acb.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_acb.c: In function ‘header_check_acb’: file_acb.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_acb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_acb.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_acb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_acb.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_acb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_acb.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_acb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_abr.o file_abr.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_abr.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_abr.c:33: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_abr.c:41:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 41 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_abr.c: In function ‘header_check_abr’: file_abr.c:66:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 66 | static int header_check_abr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_abr.c:66:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 66 | static int header_check_abr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ado.o file_ado.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_ado.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_ado.c: In function ‘header_check_ado’: file_ado.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_ado(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ado.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_ado(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ado.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_ado(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ace.o file_ace.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_ace.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_ace.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ace.c:59:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 59 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ace.c: In function ‘header_check_ace’: file_ace.c:173:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 173 | static int header_check_ace(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ace.c:173:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 173 | static int header_check_ace(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ace.c:173:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 173 | static int header_check_ace(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_afdesign.o file_afdesign.c In file included from file_afdesign.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_afdesign.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_afdesign.c: In function ‘header_check_afdesign’: file_afdesign.c:63:82: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 63 | static int header_check_afdesign(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_afdesign.c:63:114: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 63 | static int header_check_afdesign(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_afdesign.c:63:155: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 63 | static int header_check_afdesign(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ahn.o file_ahn.c In file included from file_ahn.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_ahn.c: In function ‘header_check_ahn’: file_ahn.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_ahn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ahn.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_ahn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ahn.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_ahn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_aif.o file_aif.c In file included from file_aif.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_aif.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_aif.c:50:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 50 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_aif.c: In function ‘header_check_aif’: file_aif.c:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_aif(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_aif.c:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_aif(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_aif.c:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_aif(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_all.o file_all.c In file included from file_all.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_all.c: In function ‘header_check_all’: file_all.c:45:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 45 | static int header_check_all(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_all.c:45:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 45 | static int header_check_all(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_all.c:45:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 45 | static int header_check_all(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_all.c:45:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 45 | static int header_check_all(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_als.o file_als.c In file included from file_als.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_als.c: In function ‘header_check_als’: file_als.c:54:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 54 | static int header_check_als(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_als.c:54:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 54 | static int header_check_als(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_als.c:54:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 54 | static int header_check_als(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_amd.o file_amd.c In file included from file_amd.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_amd.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_amd.c: In function ‘header_check_amd’: file_amd.c:47:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 47 | static int header_check_amd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_amd.c:47:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 47 | static int header_check_amd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_amd.c:47:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 47 | static int header_check_amd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_amd.c: In function ‘header_check_amt’: file_amd.c:58:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 58 | static int header_check_amt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_amd.c:58:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 58 | static int header_check_amt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_amd.c:58:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 58 | static int header_check_amt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_apa.o file_apa.c In file included from file_apa.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_apa.c:31: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_apa.c: In function ‘header_check_apa’: file_apa.c:55:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 55 | static int header_check_apa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_apa.c:55:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 55 | static int header_check_apa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_apa.c:55:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 55 | static int header_check_apa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_amr.o file_amr.c In file included from file_amr.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_amr.c: In function ‘header_check_amr’: file_amr.c:74:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 74 | static int header_check_amr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_amr.c:74:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 74 | static int header_check_amr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_amr.c:74:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 74 | static int header_check_amr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_apple.o file_apple.c In file included from file_apple.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_apple.c: In function ‘header_check_apple’: file_apple.c:43:52: warning: unused parameter ‘buffer’ [-Wunused-parameter] 43 | static int header_check_apple(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_apple.c:43:79: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 43 | static int header_check_apple(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_apple.c:43:111: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 43 | static int header_check_apple(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_apple.c:43:152: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 43 | static int header_check_apple(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ape.o file_ape.c In file included from file_ape.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_ape.c:31: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ape.c:85:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 85 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ape.c: In function ‘header_check_ape’: file_ape.c:102:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 102 | static int header_check_ape(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ape.c:102:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 102 | static int header_check_ape(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ari.o file_ari.c In file included from file_ari.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_ari.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ari.c:55:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 55 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ari.c: In function ‘header_check_ari’: file_ari.c:57:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 57 | static int header_check_ari(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ari.c:57:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 57 | static int header_check_ari(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ari.c:57:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 57 | static int header_check_ari(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_arj.o file_arj.c In file included from file_arj.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_arj.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_arj.c:117:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 117 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_arj.c: In function ‘header_check_arj’: file_arj.c:153:32: warning: comparison of integer expressions of different signedness: ‘time_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare] 153 | if(file_recovery_new->time < le32(arj->mtime)) | ^ file_arj.c:125:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 125 | static int header_check_arj(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_arj.c:125:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 125 | static int header_check_arj(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_arj.c:125:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 125 | static int header_check_arj(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_asl.o file_asl.c In file included from file_asl.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_asl.c: In function ‘header_check_asl’: file_asl.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_asl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_asl.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_asl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_asl.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_asl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_asl.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_asl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_asf.o file_asf.c In file included from file_asf.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_asf.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_asf.c:53:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 53 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_asf.c:61:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 61 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_asf.c:67:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 67 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_asf.c: In function ‘header_check_asf’: file_asf.c:69:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 69 | static int header_check_asf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_asf.c:69:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 69 | static int header_check_asf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_asm.o file_asm.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_asm.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_asm.c: In function ‘header_check_asm’: file_asm.c:57:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 57 | static int header_check_asm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_asm.c:57:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 57 | static int header_check_asm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_asm.c:57:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 57 | static int header_check_asm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_atd.o file_atd.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_atd.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_atd.c: In function ‘header_check_atd’: file_atd.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_atd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_atd.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_atd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_atd.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_atd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_atd.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_atd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_au.o file_au.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_au.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_au.c:31: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_au.c:54:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 54 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_au.c: In function ‘header_check_au’: file_au.c:56:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 56 | static int header_check_au(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_au.c:56:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 56 | static int header_check_au(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_au.c:56:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 56 | static int header_check_au(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_axp.o file_axp.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_axp.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_axp.c: In function ‘header_check_axp’: file_axp.c:68:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 68 | static int header_check_axp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_axp.c:68:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 68 | static int header_check_axp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_axp.c:68:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 68 | static int header_check_axp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_axp.c:68:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 68 | static int header_check_axp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_axx.o file_axx.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_axx.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_axx.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_axx.c:50:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 50 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_axx.c: In function ‘header_check_axx’: file_axx.c:85:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 85 | static int header_check_axx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_axx.c:85:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 85 | static int header_check_axx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_axx.c:85:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 85 | static int header_check_axx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_bac.o file_bac.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_bac.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_bac.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_bac.c:55:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 55 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_bac.c: In function ‘header_check_bac’: file_bac.c:92:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 92 | static int header_check_bac(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_bac.c:92:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 92 | static int header_check_bac(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_bac.c:92:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 92 | static int header_check_bac(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_bdm.o file_bdm.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_bdm.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_bdm.c: In function ‘header_check_bdm’: file_bdm.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_bdm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_bdm.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_bdm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_bdm.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_bdm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_bdm.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_bdm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_berkeley.o file_berkeley.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_berkeley.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_berkeley.c: In function ‘header_check_berkeley_le’: file_berkeley.c:44:58: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_berkeley_le(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_berkeley.c:44:85: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_berkeley_le(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_berkeley.c:44:117: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_berkeley_le(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_berkeley.c:44:158: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_berkeley_le(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_bim.o file_bim.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_bim.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_bim.c: In function ‘header_check_bim’: file_bim.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_bim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_bim.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_bim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_bim.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_bim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_bim.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_bim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_bin.o file_bin.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_bin.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_bin.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_bin.c:52:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 52 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_bin.c: In function ‘header_check_bin’: file_bin.c:54:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 54 | static int header_check_bin(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_bin.c:54:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 54 | static int header_check_bin(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_bin.c:54:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 54 | static int header_check_bin(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_binvox.o file_binvox.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_binvox.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_binvox.c: In function ‘header_check_binvox’: file_binvox.c:44:53: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_binvox(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_binvox.c:44:80: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_binvox(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_binvox.c:44:112: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_binvox(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_binvox.c:44:153: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_binvox(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_bkf.o file_bkf.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_bkf.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_bkf.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_bkf.c:63:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 63 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_bkf.c: In function ‘header_check_bkf’: file_bkf.c:71:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 71 | static int header_check_bkf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_bkf.c:71:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 71 | static int header_check_bkf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_bkf.c:71:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 71 | static int header_check_bkf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_bmp.o file_bmp.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_bmp.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_bmp.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_bmp.c:59:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 59 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_bmp.c: In function ‘header_check_bmp’: file_bmp.c:61:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 61 | static int header_check_bmp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_bmp.c:61:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 61 | static int header_check_bmp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_bmp.c:61:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 61 | static int header_check_bmp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_bld.o file_bld.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_bld.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_bld.c: In function ‘header_check_blend’: file_bld.c:140:79: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 140 | static int header_check_blend(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_bld.c:140:111: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 140 | static int header_check_blend(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_bld.c:140:152: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 140 | static int header_check_blend(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_bvr.o file_bvr.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_bvr.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_bvr.c: In function ‘header_check_bvr’: file_bvr.c:60:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 60 | static int header_check_bvr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_bvr.c:60:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 60 | static int header_check_bvr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_bvr.c:60:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 60 | static int header_check_bvr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_bpg.o file_bpg.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_bpg.c:28: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_bpg.c: In function ‘header_check_bpg’: file_bpg.c:69:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 69 | static int header_check_bpg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_bpg.c:69:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 69 | static int header_check_bpg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_c4d.o file_c4d.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_c4d.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_c4d.c: In function ‘header_check_c4d’: file_c4d.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_c4d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_c4d.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_c4d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_c4d.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_c4d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_c4d.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_c4d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_bz2.o file_bz2.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_bz2.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_bz2.c: In function ‘header_check_bz2’: file_bz2.c:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_bz2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_bz2.c:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_bz2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_bz2.c:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_bz2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_cab.o file_cab.c In file included from file_cab.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_cab.c:31: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_cab.c:58:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 58 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_cab.c: In function ‘header_check_cab’: file_cab.c:60:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 60 | static int header_check_cab(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_cab.c:60:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 60 | static int header_check_cab(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_cab.c:60:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 60 | static int header_check_cab(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_caf.o file_caf.c In file included from file_caf.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_caf.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_caf.c:55:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 55 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_caf.c: In function ‘header_check_caf’: file_caf.c:97:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 97 | static int header_check_caf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_caf.c:97:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 97 | static int header_check_caf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_caf.c:97:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 97 | static int header_check_caf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_cam.o file_cam.c In file included from file_cam.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_cam.c: In function ‘header_check_cam’: file_cam.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_cam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_cam.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_cam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_cam.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_cam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_cam.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_cam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_catdrawing.o file_catdrawing.c In file included from file_catdrawing.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_catdrawing.c: In function ‘header_check_catdrawing’: file_catdrawing.c:44:57: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_catdrawing(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_catdrawing.c:44:84: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_catdrawing(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_catdrawing.c:44:116: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_catdrawing(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_catdrawing.c:44:157: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_catdrawing(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_cdt.o file_cdt.c In file included from file_cdt.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_cdt.c: In function ‘header_check_cdt’: file_cdt.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_cdt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_cdt.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_cdt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_cdt.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_cdt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_che.o file_che.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_che.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_che.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_che.c:52:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 52 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_che.c: In function ‘header_check_che’: file_che.c:87:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 87 | static int header_check_che(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_che.c:87:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 87 | static int header_check_che(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_che.c:87:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 87 | static int header_check_che(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_che.c:87:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 87 | static int header_check_che(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_chm.o file_chm.c In file included from file_chm.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_chm.c: In function ‘header_check_chm’: file_chm.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_chm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_chm.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_chm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_chm.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_chm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_class.o file_class.c In file included from file_class.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_class.c:31: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_class.c: In function ‘header_check_class’: file_class.c:61:79: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 61 | static int header_check_class(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_class.c:61:111: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 61 | static int header_check_class(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_class.c:61:152: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 61 | static int header_check_class(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_cm.o file_cm.c In file included from file_cm.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_cm.c: In function ‘header_check_cm’: file_cm.c:45:49: warning: unused parameter ‘buffer’ [-Wunused-parameter] 45 | static int header_check_cm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_cm.c:45:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 45 | static int header_check_cm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_cm.c:45:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 45 | static int header_check_cm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_cm.c:45:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 45 | static int header_check_cm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_compress.o file_compress.c In file included from file_compress.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_compress.c: In function ‘header_check_compress’: file_compress.c:44:55: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_compress(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_compress.c:44:82: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_compress(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_compress.c:44:114: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_compress(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_compress.c:44:155: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_compress(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_cow.o file_cow.c In file included from file_cow.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_cow.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_cow.c:59:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 59 | } __attribute__ ((gcc_struct, __packed__)) QCowHeader_t; | ^ file_cow.c: In function ‘header_check_qcow1’: file_cow.c:77:79: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 77 | static int header_check_qcow1(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_cow.c:77:111: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 77 | static int header_check_qcow1(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_cow.c:77:152: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 77 | static int header_check_qcow1(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_cow.c: In function ‘header_check_qcow2’: file_cow.c:90:79: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 90 | static int header_check_qcow2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_cow.c:90:111: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 90 | static int header_check_qcow2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_cow.c:90:152: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 90 | static int header_check_qcow2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_cpi.o file_cpi.c In file included from file_cpi.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_cpi.c: In function ‘header_check_cpi’: file_cpi.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_cpi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_cpi.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_cpi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_cpi.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_cpi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_cpi.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_cpi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_crw.o file_crw.c In file included from file_crw.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_crw.c: In function ‘header_check_crw’: file_crw.c:56:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 56 | static int header_check_crw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_crw.c:56:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 56 | static int header_check_crw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_crw.c:56:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 56 | static int header_check_crw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_csh.o file_csh.c In file included from file_csh.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_csh.c: In function ‘header_check_csh’: file_csh.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_csh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_csh.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_csh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_csh.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_csh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_csh.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_csh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ctg.o file_ctg.c In file included from file_ctg.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_ctg.c: In function ‘header_check_ctg’: file_ctg.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_ctg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_ctg.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_ctg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ctg.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_ctg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ctg.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_ctg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_cwk.o file_cwk.c In file included from file_cwk.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_cwk.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_cwk.c:65:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 65 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_cwk.c: In function ‘header_check_cwk’: file_cwk.c:73:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 73 | static int header_check_cwk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_cwk.c:73:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 73 | static int header_check_cwk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_cwk.c:73:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 73 | static int header_check_cwk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_d2s.o file_d2s.c In file included from file_d2s.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_d2s.c:30: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_d2s.c:50:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 50 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_d2s.c: In function ‘header_check_d2s’: file_d2s.c:64:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 64 | static int header_check_d2s(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_d2s.c:64:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 64 | static int header_check_d2s(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_d2s.c:64:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 64 | static int header_check_d2s(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dad.o file_dad.c In file included from file_dad.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_dad.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_dad.c:52:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 52 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_dad.c: In function ‘header_check_dad’: file_dad.c:73:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 73 | static int header_check_dad(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dad.c:73:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 73 | static int header_check_dad(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dar.o file_dar.c In file included from file_dar.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_dar.c: In function ‘header_check_dar’: file_dar.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_dar(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dar.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_dar(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dar.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_dar(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dat.o file_dat.c In file included from file_dat.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_dat.c: In function ‘header_check_dat’: file_dat.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_dat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_dat.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_dat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dat.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_dat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dat.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_dat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_dat.c: In function ‘header_check_datIE’: file_dat.c:52:79: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_datIE(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dat.c:52:111: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_datIE(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dat.c:52:152: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_datIE(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_dat.c: In function ‘header_check_dat_history4’: file_dat.c:66:86: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 66 | static int header_check_dat_history4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dat.c:66:118: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 66 | static int header_check_dat_history4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dat.c:66:159: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 66 | static int header_check_dat_history4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_dat.c: In function ‘header_check_dat_history10’: file_dat.c:76:87: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 76 | static int header_check_dat_history10(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dat.c:76:119: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 76 | static int header_check_dat_history10(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dat.c:76:160: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 76 | static int header_check_dat_history10(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dbf.o file_dbf.c In file included from file_dbf.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_dbf.c: In function ‘header_check_dbf’: file_dbf.c:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_dbf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dbf.c:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_dbf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dbf.c:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_dbf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dcm.o file_dcm.c In file included from file_dcm.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_dcm.c: In function ‘header_check_dcm’: file_dcm.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_dcm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_dcm.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_dcm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dcm.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_dcm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dcm.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_dcm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dbn.o file_dbn.c In file included from file_dbn.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_dbn.c: In function ‘header_check_dbn’: file_dbn.c:45:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 45 | static int header_check_dbn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dbn.c:45:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 45 | static int header_check_dbn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dbn.c:45:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 45 | static int header_check_dbn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ddf.o file_ddf.c In file included from file_ddf.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_ddf.c:35: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ddf.c:80:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 80 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ddf.c: In function ‘header_check_ddf3’: file_ddf.c:94:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 94 | static int header_check_ddf3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ddf.c:94:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 94 | static int header_check_ddf3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ddf.c:94:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 94 | static int header_check_ddf3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_ddf.c: In function ‘header_check_ddf4’: file_ddf.c:104:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 104 | static int header_check_ddf4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ddf.c:104:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 104 | static int header_check_ddf4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ddf.c:104:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 104 | static int header_check_ddf4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_ddf.c: In function ‘header_check_ddf5’: file_ddf.c:114:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 114 | static int header_check_ddf5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ddf.c:114:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 114 | static int header_check_ddf5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ddf.c:114:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 114 | static int header_check_ddf5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dex.o file_dex.c In file included from file_dex.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_dex.c:33: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_dex.c:72:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 72 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_dex.c: In function ‘header_check_dex’: file_dex.c:74:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 74 | static int header_check_dex(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dex.c:74:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 74 | static int header_check_dex(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dex.c:74:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 74 | static int header_check_dex(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dim.o file_dim.c In file included from file_dim.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_dim.c: In function ‘header_check_dim’: file_dim.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_dim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_dim.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_dim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dim.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_dim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dim.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_dim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dir.o file_dir.c In file included from file_dir.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_dir.c:35: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from file_dir.c:36: fat.h:76:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:86:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:102:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 102 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_dir.c: In function ‘data_check_fatdir’: file_dir.c:71:60: warning: unused parameter ‘buffer’ [-Wunused-parameter] 71 | static data_check_t data_check_fatdir(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_dir.c: In function ‘header_check_dir’: file_dir.c:78:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 78 | static int header_check_dir(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dir.c:78:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 78 | static int header_check_dir(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dir.c:78:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 78 | static int header_check_dir(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_djv.o file_djv.c In file included from file_djv.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_djv.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_djv.c:50:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 50 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_djv.c: In function ‘header_check_djv’: file_djv.c:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_djv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_djv.c:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_djv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_djv.c:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_djv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dmp.o file_dmp.c In file included from file_dmp.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_dmp.c: In function ‘header_check_dmp’: file_dmp.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_dmp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dmp.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_dmp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dmp.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_dmp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dpx.o file_dpx.c In file included from file_dpx.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_dpx.c:35: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_dpx.c:66:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 66 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_dpx.c: In function ‘header_check_dpx’: file_dpx.c:68:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 68 | static int header_check_dpx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dpx.c:68:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 68 | static int header_check_dpx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dpx.c:68:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 68 | static int header_check_dpx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_drw.o file_drw.c In file included from file_drw.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_drw.c: In function ‘header_check_drw’: file_drw.c:53:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 53 | static int header_check_drw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_drw.c:53:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 53 | static int header_check_drw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_drw.c:53:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 53 | static int header_check_drw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ds2.o file_ds2.c In file included from file_ds2.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_ds2.c: In function ‘header_check_ds2’: file_ds2.c:58:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 58 | static int header_check_ds2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ds2.c:58:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 58 | static int header_check_ds2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ds2.c:58:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 58 | static int header_check_ds2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ds_store.o file_ds_store.c In file included from file_ds_store.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_ds_store.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ds_store.c: In function ‘header_check_ds_store’: file_ds_store.c:55:82: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 55 | static int header_check_ds_store(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ds_store.c:55:114: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 55 | static int header_check_ds_store(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ds_store.c:55:155: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 55 | static int header_check_ds_store(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dsc.o file_dsc.c In file included from file_dsc.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_dsc.c: In function ‘header_check_dsc’: file_dsc.c:43:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 43 | static int header_check_dsc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_dsc.c:43:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 43 | static int header_check_dsc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dsc.c:43:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 43 | static int header_check_dsc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dss.o file_dss.c In file included from file_dss.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_dss.c: In function ‘header_check_dss’: file_dss.c:61:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 61 | static int header_check_dss(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dss.c:61:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 61 | static int header_check_dss(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dss.c:61:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 61 | static int header_check_dss(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dst.o file_dst.c In file included from file_dst.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_dst.c: In function ‘header_check_dst’: file_dst.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_dst(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dst.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_dst(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dst.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_dst(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dta.o file_dta.c In file included from file_dta.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_dta.c: In function ‘header_check_dta’: file_dta.c:45:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 45 | static int header_check_dta(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_dta.c:45:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 45 | static int header_check_dta(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dta.c:45:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 45 | static int header_check_dta(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dta.c:45:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 45 | static int header_check_dta(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dump.o file_dump.c In file included from file_dump.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_dump.c:31: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_dump.c: In function ‘header_check_dump’: file_dump.c:126:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 126 | static int header_check_dump(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dump.c:126:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 126 | static int header_check_dump(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dump.c:126:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 126 | static int header_check_dump(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_doc.o file_doc.c In file included from file_doc.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_doc.c:35: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from file_doc.c:37: ole.h:57:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 57 | } __attribute__ ((gcc_struct, __packed__)); | ^ ole.h:78:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 78 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_doc.c: In function ‘header_check_doc’: file_doc.c:389:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 389 | static int header_check_doc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_doc.c:389:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 389 | static int header_check_doc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from file_doc.c:39: In function ‘header_check_doc’, inlined from ‘header_check_doc’ at file_doc.c:389:12: memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ file_doc.c:447:11: note: called from here 447 | else if(td_memmem(buffer,buffer_size,"StarCalc",8)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ file_doc.c:451:11: note: called from here 451 | else if(td_memmem(buffer,buffer_size,"StarImpress",11)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ file_doc.c:455:11: note: called from here 455 | else if(td_memmem(buffer,buffer_size,"Worksheet",9)!=NULL || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ file_doc.c:456:7: note: called from here 456 | td_memmem(buffer,buffer_size,"Book",4)!=NULL || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ file_doc.c:457:7: note: called from here 457 | td_memmem(buffer,buffer_size,"Workbook",8)!=NULL || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ file_doc.c:458:7: note: called from here 458 | td_memmem(buffer,buffer_size,"Calc",4)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ file_doc.c:462:11: note: called from here 462 | else if(td_memmem(buffer,buffer_size,"Power",5)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ file_doc.c:466:11: note: called from here 466 | else if(td_memmem(buffer,buffer_size,"AccessObjSiteData",17)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ file_doc.c:470:11: note: called from here 470 | else if(td_memmem(buffer,buffer_size,"Visio",5)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ file_doc.c:474:11: note: called from here 474 | else if(td_memmem(buffer,buffer_size,"SfxDocument",11)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ file_doc.c:478:11: note: called from here 478 | else if(td_memmem(buffer,buffer_size,"CPicPage",8)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ file_doc.c:482:11: note: called from here 482 | else if(td_memmem(buffer,buffer_size,"Microsoft Publisher",19)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ file_doc.c:486:11: note: called from here 486 | else if(td_memmem(buffer, buffer_size, "Microsoft Works Database", 24)!=NULL | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ file_doc.c:487:10: note: called from here 487 | || td_memmem( buffer, buffer_size, "MSWorksDBDoc", 12)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ file_doc.c:491:11: note: called from here 491 | else if(td_memmem(buffer,buffer_size,"MetaStock",9)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dv.o file_dv.c In file included from file_dv.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_dv.c: In function ‘header_check_dv’: file_dv.c:131:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 131 | static int header_check_dv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dv.c:131:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 131 | static int header_check_dv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dvi.o file_dvi.c In file included from file_dvi.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_dvi.c: In function ‘header_check_dvi’: file_dvi.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_dvi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dvi.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_dvi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dvi.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_dvi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dvr.o file_dvr.c In file included from file_dvr.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_dvr.c: In function ‘header_check_dvr’: file_dvr.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_dvr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dvr.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_dvr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dwg.o file_dwg.c In file included from file_dwg.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_dwg.c: In function ‘header_check_dwg’: file_dwg.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_dwg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_dwg.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_dwg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dwg.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_dwg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dwg.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_dwg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dxf.o file_dxf.c In file included from file_dxf.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_dxf.c:31: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_dxf.c: In function ‘header_check_dxf’: file_dxf.c:47:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 47 | static int header_check_dxf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_dxf.c:47:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 47 | static int header_check_dxf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dxf.c:47:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 47 | static int header_check_dxf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dxf.c:47:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 47 | static int header_check_dxf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_e01.o file_e01.c In file included from file_e01.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_e01.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_e01.c:66:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 66 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_e01.c: In function ‘header_check_e01’: file_e01.c:86:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 86 | static int header_check_e01(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_e01.c:86:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 86 | static int header_check_e01(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_e01.c:86:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 86 | static int header_check_e01(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_edb.o file_edb.c In file included from file_edb.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_edb.c:31: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_edb.c: In function ‘header_check_edb’: file_edb.c:46:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 46 | static int header_check_edb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_edb.c:46:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 46 | static int header_check_edb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_edb.c:46:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 46 | static int header_check_edb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ecryptfs.o file_ecryptfs.c In file included from file_ecryptfs.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_ecryptfs.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ecryptfs.c:56:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 56 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ecryptfs.c: In function ‘header_check_ecryptfs’: file_ecryptfs.c:71:82: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 71 | static int header_check_ecryptfs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ecryptfs.c:71:114: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 71 | static int header_check_ecryptfs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ecryptfs.c:71:155: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 71 | static int header_check_ecryptfs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_elf.o file_elf.c In file included from file_elf.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_elf.c:31: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_elf.c: In function ‘header_check_elf’: file_elf.c:120:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 120 | static int header_check_elf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_elf.c:120:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 120 | static int header_check_elf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_elf.c:120:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 120 | static int header_check_elf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_emf.o file_emf.c In file included from file_emf.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_emf.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_emf.c:80:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 80 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_emf.c: In function ‘header_check_emf’: file_emf.c:204:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 204 | static int header_check_emf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_emf.c:204:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 204 | static int header_check_emf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_emf.c:204:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 204 | static int header_check_emf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ess.o file_ess.c In file included from file_ess.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_ess.c: In function ‘header_check_ess’: file_ess.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_ess(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_ess.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_ess(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ess.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_ess(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ess.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_ess(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_evtx.o file_evtx.c In file included from file_evtx.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_evtx.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_evtx.c:48:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 48 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_evtx.c: In function ‘header_check_evtx’: file_evtx.c:61:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 61 | static int header_check_evtx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_evtx.c:61:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 61 | static int header_check_evtx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_evtx.c:61:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 61 | static int header_check_evtx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_evt.o file_evt.c In file included from file_evt.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_evt.c:31: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_evt.c:51:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 51 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_evt.c: In function ‘header_check_evt’: file_evt.c:84:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 84 | static int header_check_evt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_evt.c:84:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 84 | static int header_check_evt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_evt.c:84:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 84 | static int header_check_evt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_exs.o file_exs.c In file included from file_exs.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_exs.c: In function ‘header_check_exs’: file_exs.c:56:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 56 | static int header_check_exs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_exs.c:56:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 56 | static int header_check_exs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_exs.c:56:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 56 | static int header_check_exs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ext.o file_ext.c In file included from file_ext.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_ext.c:31: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ext.c: In function ‘header_check_ext2_sb’: file_ext.c:66:81: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 66 | static int header_check_ext2_sb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ext.c:66:113: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 66 | static int header_check_ext2_sb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ext.c:66:154: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 66 | static int header_check_ext2_sb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_ext.c: In function ‘data_check_extdir’: file_ext.c:80:60: warning: unused parameter ‘buffer’ [-Wunused-parameter] 80 | static data_check_t data_check_extdir(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_ext.c: In function ‘header_check_ext2_dir’: file_ext.c:104:82: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 104 | static int header_check_ext2_dir(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ext.c:104:114: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 104 | static int header_check_ext2_dir(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ext.c:104:155: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 104 | static int header_check_ext2_dir(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_ext.c: In function ‘file_rename_ext’: file_ext.c:61:20: warning: array subscript ‘const struct ext2_super_block[0]’ is partly outside array bounds of ‘unsigned char[512]’ [-Warray-bounds=] 61 | block_nr=(le32(sb->s_first_data_block)+le16(sb->s_block_group_nr)*le32(sb->s_blocks_per_group)); | ^~ file_ext.c:49:17: note: object ‘buffer’ of size 512 49 | unsigned char buffer[512]; | ^~~~~~ file_ext.c:61:49: warning: array subscript ‘const struct ext2_super_block[0]’ is partly outside array bounds of ‘unsigned char[512]’ [-Warray-bounds=] 61 | block_nr=(le32(sb->s_first_data_block)+le16(sb->s_block_group_nr)*le32(sb->s_blocks_per_group)); | ^~ file_ext.c:49:17: note: object ‘buffer’ of size 512 49 | unsigned char buffer[512]; | ^~~~~~ file_ext.c:61:76: warning: array subscript ‘const struct ext2_super_block[0]’ is partly outside array bounds of ‘unsigned char[512]’ [-Warray-bounds=] 61 | block_nr=(le32(sb->s_first_data_block)+le16(sb->s_block_group_nr)*le32(sb->s_blocks_per_group)); | ^~ file_ext.c:49:17: note: object ‘buffer’ of size 512 49 | unsigned char buffer[512]; | ^~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ext2.o file_ext2.c In file included from file_ext2.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_ext2.c:31: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ext2.c: In function ‘header_check_ext2_fs’: file_ext2.c:55:81: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 55 | static int header_check_ext2_fs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ext2.c:55:113: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 55 | static int header_check_ext2_fs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_exe.o file_exe.c In file included from file_exe.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_exe.c:34: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from file_exe.c:36: pe.h:50:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 50 | } __attribute__ ((gcc_struct, __packed__)); | ^ pe.h:55:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 55 | } __attribute__ ((gcc_struct, __packed__)); | ^ pe.h:66:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 66 | } __attribute__ ((gcc_struct, __packed__)); | ^ pe.h:71:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 71 | } __attribute__ ((gcc_struct, __packed__)); | ^ pe.h:105:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 105 | } __attribute__ ((gcc_struct, __packed__)); | ^ pe.h:138:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 138 | } __attribute__ ((gcc_struct, __packed__)); | ^ pe.h:157:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 157 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_exe.c: In function ‘header_check_exe’: file_exe.c:59:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 59 | static int header_check_exe(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_exe.c:59:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 59 | static int header_check_exe(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_exe.c: At top level: file_exe.c:214:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 214 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_exe.c:221:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 221 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fbf.o file_fbf.c In file included from file_fbf.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_fbf.c: In function ‘header_check_fbf’: file_fbf.c:45:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 45 | static int header_check_fbf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_fbf.c:45:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 45 | static int header_check_fbf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fbf.c:45:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 45 | static int header_check_fbf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fbf.c:45:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 45 | static int header_check_fbf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fat.o file_fat.c In file included from file_fat.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_fat.c:34: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from file_fat.c:38: fat.h:76:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:86:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:102:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 102 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_fat.c: In function ‘header_check_fat’: file_fat.c:60:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 60 | static int header_check_fat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fat.c:60:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 60 | static int header_check_fat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fat.c:60:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 60 | static int header_check_fat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fbk.o file_fbk.c In file included from file_fbk.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_fbk.c: In function ‘header_check_fbk’: file_fbk.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_fbk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_fbk.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_fbk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fbk.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_fbk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fbk.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_fbk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fcp.o file_fcp.c In file included from file_fcp.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_fcp.c: In function ‘header_check_fcp’: file_fcp.c:49:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 49 | static int header_check_fcp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_fcp.c:49:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 49 | static int header_check_fcp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fcp.c:49:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 49 | static int header_check_fcp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fcp.c:49:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 49 | static int header_check_fcp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fdb.o file_fdb.c In file included from file_fdb.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_fdb.c: In function ‘header_check_fdb’: file_fdb.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_fdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_fdb.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_fdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fdb.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_fdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fds.o file_fds.c In file included from file_fds.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_fds.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_fds.c:50:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 50 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_fds.c: In function ‘header_check_fds’: file_fds.c:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_fds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fds.c:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_fds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fds.c:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_fds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fh10.o file_fh10.c In file included from file_fh10.c:26: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_fh10.c: In function ‘header_check_fh10’: file_fh10.c:46:51: warning: unused parameter ‘buffer’ [-Wunused-parameter] 46 | static int header_check_fh10(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_fh10.c:46:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 46 | static int header_check_fh10(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fh10.c:46:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 46 | static int header_check_fh10(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fh10.c:46:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 46 | static int header_check_fh10(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fcs.o file_fcs.c In file included from file_fcs.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_fcs.c:63:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 63 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_fcs.c: In function ‘header_check_fcs’: file_fcs.c:95:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 95 | static int header_check_fcs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fcs.c:95:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 95 | static int header_check_fcs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fh5.o file_fh5.c In file included from file_fh5.c:25: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_fh5.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_fh5.c:39:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 39 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_fh5.c: In function ‘header_check_fh5’: file_fh5.c:61:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 61 | static int header_check_fh5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fh5.c:61:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 61 | static int header_check_fh5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fh5.c:61:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 61 | static int header_check_fh5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_filevault.o file_filevault.c In file included from file_filevault.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_filevault.c: In function ‘header_check_filevault’: file_filevault.c:45:56: warning: unused parameter ‘buffer’ [-Wunused-parameter] 45 | static int header_check_filevault(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_filevault.c:45:83: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 45 | static int header_check_filevault(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_filevault.c:45:115: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 45 | static int header_check_filevault(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_filevault.c:45:156: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 45 | static int header_check_filevault(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fit.o file_fit.c In file included from file_fit.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_fit.c:33: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_fit.c:53:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 53 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_fit.c: In function ‘header_check_fit’: file_fit.c:55:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 55 | static int header_check_fit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fit.c:55:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 55 | static int header_check_fit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fit.c:55:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 55 | static int header_check_fit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fits.o file_fits.c In file included from file_fits.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_fits.c: In function ‘header_check_fits’: file_fits.c:143:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 143 | static int header_check_fits(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fits.c:143:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 143 | static int header_check_fits(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_flac.o file_flac.c In file included from file_flac.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_flac.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_flac.c: In function ‘header_check_flac’: file_flac.c:81:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 81 | static int header_check_flac(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_flac.c:81:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 81 | static int header_check_flac(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_flac.c:81:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 81 | static int header_check_flac(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_flp.o file_flp.c In file included from file_flp.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_flp.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_flp.c:55:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 55 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_flp.c: In function ‘header_check_flp’: file_flp.c:57:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 57 | static int header_check_flp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_flp.c:57:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 57 | static int header_check_flp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_flp.c:57:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 57 | static int header_check_flp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_flv.o file_flv.c In file included from file_flv.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_flv.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_flv.c:52:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 52 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_flv.c:62:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 62 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_flv.c: In function ‘header_check_flv’: file_flv.c:94:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 94 | static int header_check_flv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_flv.c:94:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 94 | static int header_check_flv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_flv.c:94:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 94 | static int header_check_flv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fm.o file_fm.c In file included from file_fm.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_fm.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_fm.c:49:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 49 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_fm.c: In function ‘header_check_fm’: file_fm.c:51:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 51 | static int header_check_fm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fm.c:51:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 51 | static int header_check_fm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fm.c:51:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 51 | static int header_check_fm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fos.o file_fos.c In file included from file_fos.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_fos.c: In function ‘header_check_fos’: file_fos.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_fos(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_fos.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_fos(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fos.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_fos(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fos.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_fos(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fob.o file_fob.c In file included from file_fob.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_fob.c: In function ‘header_check_fob’: file_fob.c:46:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 46 | static int header_check_fob(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fob.c:46:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 46 | static int header_check_fob(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fp5.o file_fp5.c In file included from file_fp5.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_fp5.c: In function ‘header_check_fp5’: file_fp5.c:43:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 43 | static int header_check_fp5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_fp5.c:43:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 43 | static int header_check_fp5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fp5.c:43:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 43 | static int header_check_fp5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fp5.c:43:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 43 | static int header_check_fp5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fp7.o file_fp7.c In file included from file_fp7.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_fp7.c: In function ‘header_check_fp7’: file_fp7.c:49:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 49 | static int header_check_fp7(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fp7.c:49:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 49 | static int header_check_fp7(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_freeway.o file_freeway.c In file included from file_freeway.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_freeway.c: In function ‘header_check_freeway’: file_freeway.c:44:54: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_freeway(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_freeway.c:44:81: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_freeway(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_freeway.c:44:113: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_freeway(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_freeway.c:44:154: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_freeway(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_frm.o file_frm.c In file included from file_frm.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_frm.c: In function ‘header_check_frm’: file_frm.c:56:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 56 | static int header_check_frm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_frm.c:56:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 56 | static int header_check_frm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_frm.c:56:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 56 | static int header_check_frm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fs.o file_fs.c In file included from file_fs.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_fs.c:31: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_fs.c:57:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 57 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_fs.c: In function ‘header_check_fs’: file_fs.c:82:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 82 | static int header_check_fs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fs.c:82:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 82 | static int header_check_fs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fs.c:82:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 82 | static int header_check_fs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fwd.o file_fwd.c In file included from file_fwd.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_fwd.c: In function ‘header_check_fwd’: file_fwd.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_fwd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_fwd.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_fwd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fwd.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_fwd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fwd.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_fwd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gam.o file_gam.c In file included from file_gam.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_gam.c: In function ‘header_check_gam’: file_gam.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_gam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_gam.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_gam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_gam.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_gam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_gam.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_gam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gct.o file_gct.c In file included from file_gct.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_gct.c: In function ‘header_check_gct’: file_gct.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_gct(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_gct.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_gct(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_gct.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_gct(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_gct.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_gct(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gho.o file_gho.c In file included from file_gho.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_gho.c: In function ‘header_check_db’: file_gho.c:44:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_db(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_gho.c:44:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_db(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_gho.c:44:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_db(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gi.o file_gi.c In file included from file_gi.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_gi.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_gi.c:49:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 49 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_gi.c: In function ‘header_check_gi’: file_gi.c:51:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 51 | static int header_check_gi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_gi.c:51:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 51 | static int header_check_gi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_gi.c:51:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 51 | static int header_check_gi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gif.o file_gif.c In file included from file_gif.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_gif.c: In function ‘header_check_gif’: file_gif.c:49:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 49 | static int header_check_gif(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_gif.c:49:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 49 | static int header_check_gif(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gm6.o file_gm6.c In file included from file_gm6.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_gm6.c: In function ‘header_check_gm81’: file_gm6.c:45:51: warning: unused parameter ‘buffer’ [-Wunused-parameter] 45 | static int header_check_gm81(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_gm6.c:45:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 45 | static int header_check_gm81(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_gm6.c:45:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 45 | static int header_check_gm81(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_gm6.c:45:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 45 | static int header_check_gm81(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_gm6.c: In function ‘header_check_gmk’: file_gm6.c:53:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 53 | static int header_check_gmk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_gm6.c:53:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 53 | static int header_check_gmk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_gm6.c:53:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 53 | static int header_check_gmk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_gm6.c:53:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 53 | static int header_check_gmk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_gm6.c: In function ‘header_check_gm6’: file_gm6.c:61:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 61 | static int header_check_gm6(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_gm6.c:61:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 61 | static int header_check_gm6(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_gm6.c:61:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 61 | static int header_check_gm6(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_gm6.c:61:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 61 | static int header_check_gm6(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_gm6.c: In function ‘header_check_gmd’: file_gm6.c:69:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 69 | static int header_check_gmd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_gm6.c:69:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 69 | static int header_check_gmd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_gm6.c:69:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 69 | static int header_check_gmd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_gm6.c:69:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 69 | static int header_check_gmd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gp2.o file_gp2.c In file included from file_gp2.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_gp2.c: In function ‘header_check_gp2’: file_gp2.c:52:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | static int header_check_gp2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_gp2.c:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_gp2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_gp2.c:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_gp2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_gp2.c:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_gp2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gp5.o file_gp5.c In file included from file_gp5.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_gp5.c: In function ‘header_check_gp5’: file_gp5.c:53:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 53 | static int header_check_gp5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_gp5.c:53:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 53 | static int header_check_gp5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_gp5.c:53:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 53 | static int header_check_gp5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gpx.o file_gpx.c In file included from file_gpx.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_gpx.c: In function ‘header_check_gpx’: file_gpx.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_gpx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_gpx.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_gpx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_gpx.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_gpx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gsm.o file_gsm.c In file included from file_gsm.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_gsm.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_gsm.c:51:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 51 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_gsm.c: In function ‘header_check_gsm’: file_gsm.c:67:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 67 | static int header_check_gsm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_gsm.c:67:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 67 | static int header_check_gsm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gpg.o file_gpg.c In file included from file_gpg.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_gpg.c:31: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_gpg.c: In function ‘header_check_gpg’: file_gpg.c:411:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 411 | static int header_check_gpg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_gpg.c:411:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 411 | static int header_check_gpg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_hdf.o file_hdf.c In file included from file_hdf.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_hdf.c:35: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_hdf.c:55:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 55 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_hdf.c:63:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 63 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_hdf.c: In function ‘header_check_hdf’: file_hdf.c:116:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 116 | static int header_check_hdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_hdf.c:116:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 116 | static int header_check_hdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_hdf.c:116:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 116 | static int header_check_hdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gz.o file_gz.c In file included from file_gz.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_gz.c:35: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_gz.c:59:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 59 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_gz.c: In function ‘file_check_bgzf’: file_gz.c:77:46: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 77 | static void file_check_bgzf(file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_gz.c: In function ‘header_check_bgzf’: file_gz.c:81:115: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 81 | static int header_check_bgzf(const unsigned char *buffer, const unsigned char *buffer_uncompr, const unsigned int buffer_size, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_gz.c: In function ‘header_check_gz’: file_gz.c:186:25: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 186 | d_stream.next_in = (Bytef*)buffer_compr; | ^ file_gz.c:111:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 111 | static int header_check_gz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_hds.o file_hds.c In file included from file_hds.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_hds.c:31: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_hds.c:54:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 54 | } __attribute__((gcc_struct,__packed__)); | ^ file_hds.c: In function ‘header_check_hds’: file_hds.c:56:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 56 | static int header_check_hds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_hds.c:56:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 56 | static int header_check_hds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_hds.c:56:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 56 | static int header_check_hds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_hdr.o file_hdr.c In file included from file_hdr.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_hdr.c:31: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_hdr.c:56:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 56 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_hdr.c: In function ‘header_check_hdr’: file_hdr.c:58:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 58 | static int header_check_hdr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_hdr.c:58:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 58 | static int header_check_hdr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_hdr.c:58:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 58 | static int header_check_hdr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_hm.o file_hm.c In file included from file_hm.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_hm.c: In function ‘header_check_hm’: file_hm.c:44:49: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_hm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_hm.c:44:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_hm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_hm.c:44:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_hm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_hm.c:44:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_hm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_hfsp.o file_hfsp.c In file included from file_hfsp.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_hfsp.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_hfsp.c: In function ‘header_check_hfsp’: file_hfsp.c:46:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 46 | static int header_check_hfsp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_hfsp.c:46:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 46 | static int header_check_hfsp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_hfsp.c:46:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 46 | static int header_check_hfsp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_hr9.o file_hr9.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_hr9.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_hr9.c: In function ‘header_check_hr9’: file_hr9.c:49:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 49 | static int header_check_hr9(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_hr9.c:49:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 49 | static int header_check_hr9(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_hr9.c:49:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 49 | static int header_check_hr9(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_hr9.c:49:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 49 | static int header_check_hr9(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_http.o file_http.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_http.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_http.c: In function ‘header_check_http’: file_http.c:44:51: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_http(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_http.c:44:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_http(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_http.c:44:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_http(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_http.c:44:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_http(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ibd.o file_ibd.c In file included from file_ibd.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_ibd.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ibd.c:66:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 66 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ibd.c: In function ‘header_check_ibd’: file_ibd.c:52:10: warning: left shift of negative value [-Wshift-negative-value] 52 | ((~(~0 << (DICT_TF_BITS - DICT_TF_FORMAT_SHIFT))) << DICT_TF_FORMAT_SHIFT) | ^~ file_ibd.c:81:42: note: in expansion of macro ‘DICT_TF_FORMAT_MASK’ 81 | const unsigned int format = (flags & DICT_TF_FORMAT_MASK) >> DICT_TF_FORMAT_SHIFT; | ^~~~~~~~~~~~~~~~~~~ file_ibd.c:68:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 68 | static int header_check_ibd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ibd.c:68:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 68 | static int header_check_ibd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_icc.o file_icc.c In file included from file_icc.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_icc.c: In function ‘header_check_icc’: file_icc.c:43:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 43 | static int header_check_icc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_icc.c:43:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 43 | static int header_check_icc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_icc.c:43:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 43 | static int header_check_icc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_icns.o file_icns.c In file included from file_icns.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_icns.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_icns.c: In function ‘header_check_icns’: file_icns.c:99:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 99 | static int header_check_icns(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_icns.c:99:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 99 | static int header_check_icns(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_icns.c:99:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 99 | static int header_check_icns(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ico.o file_ico.c In file included from file_ico.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_ico.c:31: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ico.c:80:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 80 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ico.c:92:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 92 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ico.c: In function ‘header_check_ico’: file_ico.c:94:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 94 | static int header_check_ico(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ico.c:94:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 94 | static int header_check_ico(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ico.c:94:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 94 | static int header_check_ico(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ifo.o file_ifo.c In file included from file_ifo.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_ifo.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ifo.c:50:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 50 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ifo.c: In function ‘header_check_ifo’: file_ifo.c:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_ifo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ifo.c:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_ifo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ifo.c:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_ifo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_idx.o file_idx.c In file included from file_idx.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_idx.c: In function ‘header_check_idx’: file_idx.c:57:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 57 | static int header_check_idx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_idx.c:57:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 57 | static int header_check_idx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_imb.o file_imb.c In file included from file_imb.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_imb.c: In function ‘header_check_imb’: file_imb.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_imb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_imb.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_imb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_imb.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_imb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_imb.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_imb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_info.o file_info.c In file included from file_info.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_info.c: In function ‘header_check_info’: file_info.c:44:51: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_info(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_info.c:44:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_info(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_info.c:44:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_info(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_info.c:44:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_info(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_indd.o file_indd.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_indd.c:25: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_indd.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_indd.c:66:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 66 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_indd.c:74:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 74 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_indd.c: In function ‘header_check_indd’: file_indd.c:114:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 114 | static int header_check_indd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_indd.c:114:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 114 | static int header_check_indd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_iso.o file_iso.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_iso.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_iso.c:32: iso9660.h:62:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 62 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_iso.c: In function ‘header_check_db’: file_iso.c:46:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 46 | static int header_check_db(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_iso.c:46:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 46 | static int header_check_db(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_it.o file_it.c In file included from file_it.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_it.c:69:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 69 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_it.c: In function ‘header_check_it’: file_it.c:71:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 71 | static int header_check_it(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_it.c:71:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 71 | static int header_check_it(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_it.c:71:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 71 | static int header_check_it(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_itu.o file_itu.c In file included from file_itu.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_itu.c: In function ‘header_check_itunes’: file_itu.c:45:80: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 45 | static int header_check_itunes(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_itu.c:45:112: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 45 | static int header_check_itunes(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_itu.c:45:153: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 45 | static int header_check_itunes(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_jks.o file_jks.c In file included from file_jks.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_jks.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_jks.c:51:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 51 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_jks.c: In function ‘header_check_jks’: file_jks.c:53:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 53 | static int header_check_jks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_jks.c:53:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 53 | static int header_check_jks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_jks.c:53:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 53 | static int header_check_jks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_jsonlz4.o file_jsonlz4.c In file included from file_jsonlz4.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_jsonlz4.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_jsonlz4.c: In function ‘header_check_jsonlz4’: file_jsonlz4.c:45:81: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 45 | static int header_check_jsonlz4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_jsonlz4.c:45:113: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 45 | static int header_check_jsonlz4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_jsonlz4.c:45:154: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 45 | static int header_check_jsonlz4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_kdb.o file_kdb.c In file included from file_kdb.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_kdb.c: In function ‘header_check_kdb’: file_kdb.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_kdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_kdb.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_kdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_kdb.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_kdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_kdb.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_kdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_kdbx.o file_kdbx.c In file included from file_kdbx.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_kdbx.c: In function ‘header_check_kdbx’: file_kdbx.c:44:51: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_kdbx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_kdbx.c:44:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_kdbx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_kdbx.c:44:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_kdbx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_kdbx.c:44:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_kdbx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_key.o file_key.c In file included from file_key.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_key.c: In function ‘header_check_key’: file_key.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_key(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_key.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_key(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_key.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_key(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_key.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_key(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ldf.o file_ldf.c In file included from file_ldf.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_ldf.c: In function ‘header_check_ldf’: file_ldf.c:53:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 53 | static int header_check_ldf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ldf.c:53:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 53 | static int header_check_ldf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ldf.c:53:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 53 | static int header_check_ldf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_lit.o file_lit.c In file included from file_lit.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_lit.c: In function ‘header_check_lit’: file_lit.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_lit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_lit.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_lit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_lit.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_lit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_lit.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_lit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_lnk.o file_lnk.c In file included from file_lnk.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_lnk.c:33: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_lnk.c:66:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 66 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_lnk.c: In function ‘header_check_lnk’: file_lnk.c:222:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 222 | static int header_check_lnk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_lnk.c:222:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 222 | static int header_check_lnk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_logic.o file_logic.c In file included from file_logic.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_logic.c: In function ‘header_check_logic’: file_logic.c:44:52: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_logic(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_logic.c:44:79: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_logic(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_logic.c:44:111: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_logic(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_logic.c:44:152: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_logic(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_lso.o file_lso.c In file included from file_lso.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_lso.c: In function ‘header_check_lso’: file_lso.c:50:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 50 | static int header_check_lso(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_lso.c:50:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 50 | static int header_check_lso(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_lso.c:50:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 50 | static int header_check_lso(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_lso.c:50:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 50 | static int header_check_lso(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_luks.o file_luks.c In file included from file_luks.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_luks.c:33: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_luks.c: In function ‘header_check_luks’: file_luks.c:51:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 51 | static int header_check_luks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_luks.c:51:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 51 | static int header_check_luks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_luks.c:51:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 51 | static int header_check_luks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_lxo.o file_lxo.c In file included from file_lxo.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_lxo.c:31: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_lxo.c:50:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 50 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_lxo.c: In function ‘header_check_lxo’: file_lxo.c:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_lxo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_lxo.c:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_lxo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_lxo.c:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_lxo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_lzh.o file_lzh.c In file included from file_lzh.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_lzh.c:58:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 58 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_lzh.c:72:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 72 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_lzh.c:86:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_lzh.c: In function ‘header_check_lzh’: file_lzh.c:107:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 107 | static int header_check_lzh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_lzh.c:107:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 107 | static int header_check_lzh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_lzh.c:107:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 107 | static int header_check_lzh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_lzo.o file_lzo.c In file included from file_lzo.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_lzo.c: In function ‘header_check_lzo’: file_lzo.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_lzo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_lzo.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_lzo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_lzo.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_lzo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_lzo.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_lzo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_jpg.o file_jpg.c In file included from file_jpg.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_jpg.c:47: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from file_jpg.c:50: file_tiff.h:67:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 67 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_jpg.c:112:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 112 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_jpg.c:121:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 121 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_jpg.c: In function ‘header_check_jpg’: file_jpg.c:375:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 375 | static int header_check_jpg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_jpg.c: In function ‘my_output_message’: file_jpg.c:547:45: warning: unused parameter ‘cinfo’ [-Wunused-parameter] 547 | static void my_output_message (j_common_ptr cinfo) | ~~~~~~~~~~~~~^~~~~ file_jpg.c: In function ‘jpg_term_source’: file_jpg.c:738:47: warning: unused parameter ‘cinfo’ [-Wunused-parameter] 738 | static void jpg_term_source (j_decompress_ptr cinfo) | ~~~~~~~~~~~~~~~~~^~~~~ file_jpg.c: In function ‘jpg_find_error’: file_jpg.c:1058:118: warning: unused parameter ‘checkpoint_offset’ [-Wunused-parameter] 1058 | static uint64_t jpg_find_error(struct jpeg_session_struct *jpeg_session, const unsigned int *offsets, const uint64_t checkpoint_offset) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ file_jpg.c: At top level: file_jpg.c:1373:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 1373 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mat.o file_mat.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_mat.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_mat.c: In function ‘header_check_mat’: file_mat.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_mat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mat.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_mat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mat.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_mat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_m2ts.o file_m2ts.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_m2ts.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_m2ts.c: In function ‘header_check_m2ts’: file_m2ts.c:112:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 112 | static int header_check_m2ts(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_m2ts.c: In function ‘header_check_m2t’: file_m2ts.c:169:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 169 | static int header_check_m2t(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_max.o file_max.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_max.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_max.c:31: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_max.c: In function ‘header_check_max’: file_max.c:46:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 46 | static int header_check_max(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_max.c:46:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 46 | static int header_check_max(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_max.c:46:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 46 | static int header_check_max(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_max.c:46:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 46 | static int header_check_max(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mb.o file_mb.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_mb.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_mb.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_mb.c:50:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 50 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_mb.c: In function ‘header_check_mb’: file_mb.c:52:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_mb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mb.c:52:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_mb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mb.c:52:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_mb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_mb.c: In function ‘header_check_mp’: file_mb.c:66:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 66 | static int header_check_mp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mb.c:66:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 66 | static int header_check_mp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mb.c:66:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 66 | static int header_check_mp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mcd.o file_mcd.c In file included from file_mcd.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_mcd.c: In function ‘header_check_mcd’: file_mcd.c:43:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 43 | static int header_check_mcd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mcd.c:43:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 43 | static int header_check_mcd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mcd.c:43:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 43 | static int header_check_mcd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mdb.o file_mdb.c In file included from file_mdb.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_mdb.c: In function ‘header_check_accdb’: file_mdb.c:54:52: warning: unused parameter ‘buffer’ [-Wunused-parameter] 54 | static int header_check_accdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_mdb.c:54:79: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 54 | static int header_check_accdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mdb.c:54:111: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 54 | static int header_check_accdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mdb.c:54:152: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 54 | static int header_check_accdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_mdb.c: In function ‘header_check_mdb’: file_mdb.c:61:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 61 | static int header_check_mdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_mdb.c:61:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 61 | static int header_check_mdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mdb.c:61:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 61 | static int header_check_mdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mdb.c:61:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 61 | static int header_check_mdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mdf.o file_mdf.c In file included from file_mdf.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_mdf.c: In function ‘header_check_mdf’: file_mdf.c:53:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 53 | static int header_check_mdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mdf.c:53:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 53 | static int header_check_mdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mdf.c:53:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 53 | static int header_check_mdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mfa.o file_mfa.c In file included from file_mfa.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_mfa.c: In function ‘header_check_mfa’: file_mfa.c:49:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 49 | static int header_check_mfa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_mfa.c:49:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 49 | static int header_check_mfa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mfa.c:49:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 49 | static int header_check_mfa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mfa.c:49:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 49 | static int header_check_mfa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mfg.o file_mfg.c In file included from file_mfg.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_mfg.c: In function ‘header_check_mfg’: file_mfg.c:52:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | static int header_check_mfg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_mfg.c:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_mfg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mfg.c:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_mfg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mfg.c:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_mfg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mft.o file_mft.c In file included from file_mft.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_mft.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from file_mft.c:33: ntfs.h:57:9: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 57 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs.h:76:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs.h:147:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 147 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; | ^ ntfs.h:191:17: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 191 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs.h:196:9: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 196 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs.h:201:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 201 | } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; | ^ ntfs.h:241:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 241 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; | ^ file_mft.c: In function ‘header_check_mft’: file_mft.c:64:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 64 | static int header_check_mft(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mft.c:64:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 64 | static int header_check_mft(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mft.c:64:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 64 | static int header_check_mft(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mid.o file_mid.c In file included from file_mid.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_mid.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_mid.c:55:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 55 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_mid.c: In function ‘header_check_mid’: file_mid.c:104:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 104 | static int header_check_mid(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mid.c:104:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 104 | static int header_check_mid(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mid.c:104:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 104 | static int header_check_mid(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mig.o file_mig.c In file included from file_mig.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_mig.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_mig.c:57:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 57 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_mig.c: In function ‘header_check_mig’: file_mig.c:97:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 97 | static int header_check_mig(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mig.c:97:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 97 | static int header_check_mig(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mig.c:97:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 97 | static int header_check_mig(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mk5.o file_mk5.c In file included from file_mk5.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_mk5.c: In function ‘header_check_mk5’: file_mk5.c:43:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 43 | static int header_check_mk5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mk5.c:43:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 43 | static int header_check_mk5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mk5.c:43:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 43 | static int header_check_mk5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mlv.o file_mlv.c In file included from file_mlv.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_mlv.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_mlv.c:61:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 61 | } __attribute__ ((gcc_struct, __packed__)) mlv_file_hdr_t; | ^ file_mlv.c:67:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 67 | } __attribute__ ((gcc_struct, __packed__)) mlv_hdr_t; | ^ file_mlv.c: In function ‘header_check_mlv’: file_mlv.c:132:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 132 | static int header_check_mlv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mlv.c:132:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 132 | static int header_check_mlv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mlv.c:132:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 132 | static int header_check_mlv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mkv.o file_mkv.c In file included from file_mkv.c:25: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_mkv.c:36: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_mkv.c: In function ‘header_check_mkv’: file_mkv.c:119:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 119 | static int header_check_mkv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mkv.c:119:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 119 | static int header_check_mkv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mobi.o file_mobi.c In file included from file_mobi.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_mobi.c: In function ‘header_check_mobi’: file_mobi.c:59:51: warning: unused parameter ‘buffer’ [-Wunused-parameter] 59 | static int header_check_mobi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_mobi.c:59:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 59 | static int header_check_mobi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mobi.c:59:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 59 | static int header_check_mobi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mobi.c:59:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 59 | static int header_check_mobi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mov.o file_mov.c In file included from file_mov.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_mov.c:33: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_mov.c:89:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 89 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_mov.c:96:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 96 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_mov.c: In function ‘header_check_mov_aux’: file_mov.c:127:113: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 127 | static int header_check_mov_aux(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mp3.o file_mp3.c In file included from file_mp3.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_mp3.c:31: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_mp3.c: In function ‘header_check_id3’: file_mp3.c:115:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 115 | static int header_check_id3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mp3.c:115:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 115 | static int header_check_id3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mp3.c:115:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 115 | static int header_check_id3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_mp3.c: In function ‘header_check_mp3’: file_mp3.c:145:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 145 | static int header_check_mp3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mpl.o file_mpl.c In file included from file_mpl.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_mpl.c: In function ‘header_check_mpl’: file_mpl.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_mpl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_mpl.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_mpl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mpl.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_mpl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mpl.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_mpl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mrw.o file_mrw.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_mrw.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_mrw.c:31: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_mrw.c:50:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 50 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_mrw.c:68:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 68 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_mrw.c: In function ‘header_check_mrw’: file_mrw.c:71:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 71 | static int header_check_mrw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mrw.c:71:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 71 | static int header_check_mrw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mrw.c:71:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 71 | static int header_check_mrw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mpg.o file_mpg.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_mpg.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_mpg.c: In function ‘header_check_mpg_Pack’: file_mpg.c:164:114: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 164 | static int header_check_mpg_Pack(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mpg.c: In function ‘header_check_mpg_System’: file_mpg.c:227:116: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 227 | static int header_check_mpg_System(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mpg.c: In function ‘header_check_mpg_Sequence’: file_mpg.c:268:118: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 268 | static int header_check_mpg_Sequence(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mpg.c: In function ‘header_check_mpg4_ElemVideo’: file_mpg.c:302:120: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 302 | static int header_check_mpg4_ElemVideo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_msa.o file_msa.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_msa.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_msa.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_msa.c:49:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 49 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_msa.c: In function ‘header_check_msa’: file_msa.c:51:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 51 | static int header_check_msa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_msa.c:51:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 51 | static int header_check_msa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_msa.c:51:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 51 | static int header_check_msa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mus.o file_mus.c In file included from file_mus.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_mus.c: In function ‘header_check_mus’: file_mus.c:50:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 50 | static int header_check_mus(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_mus.c:50:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 50 | static int header_check_mus(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mus.c:50:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 50 | static int header_check_mus(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mus.c:50:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 50 | static int header_check_mus(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_myo.o file_myo.c In file included from file_myo.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_myo.c: In function ‘header_check_myo’: file_myo.c:46:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 46 | static int header_check_myo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_myo.c:46:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 46 | static int header_check_myo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mxf.o file_mxf.c In file included from file_mxf.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_mxf.c:31: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_mxf.c:66:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 66 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_mxf.c: In function ‘header_check_mxf’: file_mxf.c:106:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 106 | static int header_check_mxf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mxf.c:106:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 106 | static int header_check_mxf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mxf.c:106:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 106 | static int header_check_mxf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mysql.o file_mysql.c In file included from file_mysql.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_mysql.c: In function ‘header_check_mysql’: file_mysql.c:55:79: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 55 | static int header_check_mysql(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mysql.c:55:111: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 55 | static int header_check_mysql(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mysql.c:55:152: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 55 | static int header_check_mysql(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_nd2.o file_nd2.c In file included from file_nd2.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_nd2.c: In function ‘header_check_nd2’: file_nd2.c:45:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 45 | static int header_check_nd2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_nd2.c:45:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 45 | static int header_check_nd2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_nd2.c:45:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 45 | static int header_check_nd2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_nds.o file_nds.c In file included from file_nds.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_nds.c: In function ‘header_check_nds’: file_nds.c:59:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 59 | static int header_check_nds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_nds.c:59:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 59 | static int header_check_nds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_nds.c:59:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 59 | static int header_check_nds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_nes.o file_nes.c In file included from file_nes.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_nes.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_nes.c:50:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 50 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_nes.c: In function ‘header_check_nes’: file_nes.c:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_nes(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_nes.c:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_nes(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_nes.c:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_nes(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_njx.o file_njx.c In file included from file_njx.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_njx.c: In function ‘header_check_njx’: file_njx.c:54:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 54 | static int header_check_njx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_njx.c:54:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 54 | static int header_check_njx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_njx.c:54:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 54 | static int header_check_njx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_nsf.o file_nsf.c In file included from file_nsf.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_nsf.c: In function ‘header_check_nsf’: file_nsf.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_nsf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_nsf.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_nsf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_nsf.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_nsf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_nk2.o file_nk2.c In file included from file_nk2.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_nk2.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_nk2.c: In function ‘header_check_nk2’: file_nk2.c:180:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 180 | static int header_check_nk2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_nk2.c:180:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 180 | static int header_check_nk2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_nk2.c:180:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 180 | static int header_check_nk2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_nk2.c:180:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 180 | static int header_check_nk2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_oci.o file_oci.c In file included from file_oci.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_oci.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_oci.c:49:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 49 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_oci.c: In function ‘header_check_oci’: file_oci.c:86:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 86 | static int header_check_oci(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_oci.c:86:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 86 | static int header_check_oci(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ogg.o file_ogg.c In file included from file_ogg.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_ogg.c: In function ‘header_check_ogg’: file_ogg.c:49:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 49 | static int header_check_ogg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ogg.c:49:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 49 | static int header_check_ogg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_one.o file_one.c In file included from file_one.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_one.c: In function ‘header_check_one’: file_one.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_one(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_one.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_one(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_one.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_one(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_orf.o file_orf.c In file included from file_orf.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_orf.c:32: file_tiff.h:67:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 67 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_orf.c: In function ‘header_check_orf_IIRS’: file_orf.c:45:55: warning: unused parameter ‘buffer’ [-Wunused-parameter] 45 | static int header_check_orf_IIRS(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_orf.c:45:82: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 45 | static int header_check_orf_IIRS(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_orf.c:45:114: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 45 | static int header_check_orf_IIRS(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_orf.c:45:155: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 45 | static int header_check_orf_IIRS(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_orf.c: In function ‘header_check_orf_IIRO’: file_orf.c:52:114: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_orf_IIRO(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_orf.c:52:155: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_orf_IIRO(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_paf.o file_paf.c In file included from file_paf.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_paf.c: In function ‘header_check_paf’: file_paf.c:47:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 47 | static int header_check_paf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_paf.c:47:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 47 | static int header_check_paf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_paf.c:47:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 47 | static int header_check_paf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_paf.c:47:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 47 | static int header_check_paf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pap.o file_pap.c In file included from file_pap.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_pap.c: In function ‘header_check_pap’: file_pap.c:45:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 45 | static int header_check_pap(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_pap.c:45:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 45 | static int header_check_pap(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pap.c:45:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 45 | static int header_check_pap(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pap.c:45:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 45 | static int header_check_pap(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pcap.o file_pcap.c In file included from file_pcap.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_pcap.c: In function ‘header_check_pcap’: file_pcap.c:44:51: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_pcap(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_pcap.c:44:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_pcap(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pcap.c:44:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_pcap(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pcap.c:44:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_pcap(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_par2.o file_par2.c In file included from file_par2.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_par2.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_par2.c: In function ‘header_check_par2’: file_par2.c:108:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 108 | static int header_check_par2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_par2.c:108:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 108 | static int header_check_par2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pcb.o file_pcb.c In file included from file_pcb.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_pcb.c: In function ‘header_check_pcb’: file_pcb.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_pcb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_pcb.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_pcb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pcb.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_pcb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pcb.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_pcb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pct.o file_pct.c In file included from file_pct.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_pct.c:31: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_pct.c:80:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 80 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_pct.c: In function ‘header_check_pct’: file_pct.c:82:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 82 | static int header_check_pct(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pct.c:82:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 82 | static int header_check_pct(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pcx.o file_pcx.c In file included from file_pcx.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_pcx.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_pcx.c:78:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 78 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_pcx.c: In function ‘header_check_pcx’: file_pcx.c:85:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 85 | static int header_check_pcx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pcx.c:85:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 85 | static int header_check_pcx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pcx.c:85:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 85 | static int header_check_pcx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pdb.o file_pdb.c In file included from file_pdb.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_pdb.c: In function ‘header_check_pdb’: file_pdb.c:71:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 71 | static int header_check_pdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pdb.c:71:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 71 | static int header_check_pdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pdb.c:71:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 71 | static int header_check_pdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pds.o file_pds.c In file included from file_pds.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_pds.c: In function ‘header_check_pds’: file_pds.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_pds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_pds.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_pds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pds.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_pds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pds.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_pds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pf.o file_pf.c In file included from file_pf.c:25: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_pf.c:33: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_pf.c:55:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 55 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_pf.c: In function ‘header_check_pf’: file_pf.c:72:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 72 | static int header_check_pf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pf.c:72:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 72 | static int header_check_pf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pf.c:72:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 72 | static int header_check_pf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pdf.o file_pdf.c In file included from file_pdf.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_pdf.c:40: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_pdf.c: In function ‘header_check_pdf’: file_pdf.c:272:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 272 | static int header_check_pdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pdf.c:272:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 272 | static int header_check_pdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pfx.o file_pfx.c In file included from file_pfx.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_pfx.c: In function ‘header_check_pfx’: file_pfx.c:66:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 66 | static int header_check_pfx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pfx.c:66:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 66 | static int header_check_pfx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pfx.c:66:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 66 | static int header_check_pfx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pgdump.o file_pgdump.c In file included from file_pgdump.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_pgdump.c:33: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_pgdump.c:83:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 83 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_pgdump.c: In function ‘header_check_pgdump’: file_pgdump.c:96:80: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 96 | static int header_check_pgdump(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pgdump.c:96:112: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 96 | static int header_check_pgdump(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pgdump.c:96:153: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 96 | static int header_check_pgdump(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_plist.o file_plist.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_plist.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_plist.c: In function ‘header_check_plist’: file_plist.c:47:52: warning: unused parameter ‘buffer’ [-Wunused-parameter] 47 | static int header_check_plist(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_plist.c:47:79: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 47 | static int header_check_plist(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_plist.c:47:111: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 47 | static int header_check_plist(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_plr.o file_plr.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_plr.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_plr.c: In function ‘header_check_plr’: file_plr.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_plr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_plr.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_plr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_plr.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_plr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_plr.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_plr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_plt.o file_plt.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_plt.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_plt.c: In function ‘header_check_plt’: file_plt.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_plt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_plt.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_plt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_plt.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_plt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_plt.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_plt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pnm.o file_pnm.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_pnm.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_pnm.c: In function ‘header_check_pbm’: file_pnm.c:45:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 45 | static int header_check_pbm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pnm.c:45:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 45 | static int header_check_pbm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pnm.c:45:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 45 | static int header_check_pbm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_pnm.c: In function ‘header_check_pgm’: file_pnm.c:54:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 54 | static int header_check_pgm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pnm.c:54:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 54 | static int header_check_pgm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pnm.c:54:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 54 | static int header_check_pgm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_pnm.c: In function ‘header_check_ppm’: file_pnm.c:63:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 63 | static int header_check_ppm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pnm.c:63:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 63 | static int header_check_ppm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pnm.c:63:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 63 | static int header_check_ppm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_prc.o file_prc.c In file included from file_prc.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_prc.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_prc.c:59:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 59 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_prc.c: In function ‘header_check_prc’: file_prc.c:61:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 61 | static int header_check_prc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_prc.c:61:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 61 | static int header_check_prc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_prc.c:61:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 61 | static int header_check_prc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_png.o file_png.c In file included from file_png.c:30: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_png.c:38: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_png.c:62:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 62 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_png.c:73:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 73 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_png.c: In function ‘header_check_jng’: file_png.c:75:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 75 | static int header_check_jng(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_png.c:75:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 75 | static int header_check_jng(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_png.c:75:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 75 | static int header_check_jng(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_png.c: In function ‘header_check_mng’: file_png.c:93:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 93 | static int header_check_mng(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_png.c:93:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 93 | static int header_check_mng(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_png.c:93:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 93 | static int header_check_mng(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_png.c: In function ‘header_check_png’: file_png.c:172:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 172 | static int header_check_png(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_png.c:172:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 172 | static int header_check_png(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_prd.o file_prd.c In file included from file_prd.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_prd.c: In function ‘header_check_prd’: file_prd.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_prd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_prd.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_prd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_prd.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_prd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_prt.o file_prt.c In file included from file_prt.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_prt.c: In function ‘header_check_prt’: file_prt.c:52:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | static int header_check_prt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_prt.c:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_prt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_prt.c:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_prt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_prt.c:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_prt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ps.o file_ps.c In file included from file_ps.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_ps.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ps.c: In function ‘header_check_ps’: file_ps.c:55:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 55 | static int header_check_ps(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ps.c:55:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 55 | static int header_check_ps(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ps.c:55:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 55 | static int header_check_ps(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_psb.o file_psb.c In file included from file_psb.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_psb.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_psb.c:63:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 63 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_psb.c: In function ‘header_check_psb’: file_psb.c:65:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 65 | static int header_check_psb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_psb.c:65:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 65 | static int header_check_psb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_psb.c:65:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 65 | static int header_check_psb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_psb.c: In function ‘psb_skip_image_data’: file_psb.c:98:62: warning: unused parameter ‘buffer’ [-Wunused-parameter] 98 | static data_check_t psb_skip_image_data(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_psb.c:98:89: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 98 | static data_check_t psb_skip_image_data(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_psf.o file_psf.c In file included from file_psf.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_psf.c: In function ‘header_check_psf’: file_psf.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_psf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_psf.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_psf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_psd.o file_psd.c In file included from file_psd.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_psd.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_psd.c:63:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 63 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_psd.c: In function ‘header_check_psd’: file_psd.c:65:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 65 | static int header_check_psd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_psd.c:65:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 65 | static int header_check_psd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_psd.c:65:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 65 | static int header_check_psd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_psd.c: In function ‘psd_skip_image_data’: file_psd.c:98:62: warning: unused parameter ‘buffer’ [-Wunused-parameter] 98 | static data_check_t psd_skip_image_data(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_psd.c:98:89: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 98 | static data_check_t psd_skip_image_data(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_psp.o file_psp.c In file included from file_psp.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_psp.c:31: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_psp.c:55:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 55 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_psp.c: In function ‘header_check_psp’: file_psp.c:73:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 73 | static int header_check_psp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_psp.c:73:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 73 | static int header_check_psp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_psp.c:73:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 73 | static int header_check_psp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ptb.o file_ptb.c In file included from file_ptb.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_ptb.c: In function ‘header_check_ptb’: file_ptb.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_ptb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ptb.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_ptb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ptb.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_ptb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pst.o file_pst.c In file included from file_pst.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_pst.c: In function ‘header_check_dbx’: file_pst.c:51:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 51 | static int header_check_dbx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pst.c:51:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 51 | static int header_check_dbx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pst.c:51:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 51 | static int header_check_dbx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_pst.c: In function ‘header_check_wab’: file_pst.c:92:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 92 | static int header_check_wab(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_pst.c:92:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 92 | static int header_check_wab(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pst.c:92:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 92 | static int header_check_wab(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pst.c:92:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 92 | static int header_check_wab(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_pst.c: In function ‘header_check_pst’: file_pst.c:99:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 99 | static int header_check_pst(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pst.c:99:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 99 | static int header_check_pst(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pst.c:99:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 99 | static int header_check_pst(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ptf.o file_ptf.c In file included from file_ptf.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_ptf.c: In function ‘header_check_ptf’: file_ptf.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_ptf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ptf.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_ptf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ptf.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_ptf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pyc.o file_pyc.c In file included from file_pyc.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_pyc.c:34: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_pyc.c: In function ‘header_check_pyc’: file_pyc.c:54:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 54 | static int header_check_pyc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pyc.c:54:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 54 | static int header_check_pyc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pyc.c:54:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 54 | static int header_check_pyc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pzf.o file_pzf.c In file included from file_pzf.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_pzf.c: In function ‘header_check_pzf’: file_pzf.c:54:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 54 | static int header_check_pzf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_pzf.c:54:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 54 | static int header_check_pzf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pzf.c:54:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 54 | static int header_check_pzf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pzf.c:54:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 54 | static int header_check_pzf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pzh.o file_pzh.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_pzh.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_pzh.c: In function ‘header_check_pzh’: file_pzh.c:69:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 69 | static int header_check_pzh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_pzh.c:69:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 69 | static int header_check_pzh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pzh.c:69:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 69 | static int header_check_pzh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pzh.c:69:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 69 | static int header_check_pzh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_qdf.o file_qdf.c In file included from file_qdf.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_qdf.c: In function ‘header_check_qdf’: file_qdf.c:45:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 45 | static int header_check_qdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_qdf.c:45:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 45 | static int header_check_qdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_qdf.c:45:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 45 | static int header_check_qdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_qbb.o file_qbb.c In file included from file_qbb.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_qbb.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_qbb.c:55:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 55 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_qbb.c:68:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 68 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_qbb.c: In function ‘header_check_qbb’: file_qbb.c:97:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 97 | static int header_check_qbb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_qbb.c:97:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 97 | static int header_check_qbb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_qbb.c: In function ‘header_check_qbw’: file_qbb.c:136:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 136 | static int header_check_qbw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_qbb.c:136:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 136 | static int header_check_qbw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_qbb.c:136:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 136 | static int header_check_qbw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_qbb.c: In function ‘header_check_qbw2’: file_qbb.c:151:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 151 | static int header_check_qbw2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_qbb.c:151:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 151 | static int header_check_qbw2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_qbb.c:151:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 151 | static int header_check_qbw2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_qkt.o file_qkt.c In file included from file_qkt.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_qkt.c: In function ‘header_check_qkt’: file_qkt.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_qkt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_qkt.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_qkt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_qkt.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_qkt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_qkt.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_qkt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_qxd.o file_qxd.c In file included from file_qxd.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_qxd.c: In function ‘header_check_qxd’: file_qxd.c:46:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 46 | static int header_check_qxd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_qxd.c:46:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 46 | static int header_check_qxd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_qxd.c:46:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 46 | static int header_check_qxd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_qxd.c:46:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 46 | static int header_check_qxd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_qxd.c: In function ‘header_check_qxp’: file_qxd.c:54:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 54 | static int header_check_qxp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_qxd.c:54:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 54 | static int header_check_qxp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_qxd.c:54:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 54 | static int header_check_qxp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_qxd.c:54:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 54 | static int header_check_qxp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ra.o file_ra.c In file included from file_ra.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_ra.c:31: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ra.c:53:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 53 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ra.c:81:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 81 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ra.c: In function ‘header_check_ra’: file_ra.c:83:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 83 | static int header_check_ra(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ra.c:83:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 83 | static int header_check_ra(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ra.c:83:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 83 | static int header_check_ra(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_r3d.o file_r3d.c In file included from file_r3d.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_r3d.c:33: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_r3d.c:56:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 56 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_r3d.c: In function ‘header_check_r3d’: file_r3d.c:97:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 97 | static int header_check_r3d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_r3d.c:97:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 97 | static int header_check_r3d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_r3d.c:97:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 97 | static int header_check_r3d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_r3d.c: In function ‘header_check_r3d_v2’: file_r3d.c:116:80: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 116 | static int header_check_r3d_v2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_r3d.c:116:112: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 116 | static int header_check_r3d_v2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_r3d.c:116:153: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 116 | static int header_check_r3d_v2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_raf.o file_raf.c In file included from file_raf.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_raf.c:31: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_raf.c:60:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 60 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_raf.c: In function ‘header_check_raf’: file_raf.c:62:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 62 | static int header_check_raf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_raf.c:62:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 62 | static int header_check_raf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_raf.c:62:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 62 | static int header_check_raf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_rar.o file_rar.c In file included from file_rar.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_rar.c: In function ‘header_check_rar15fmt’: file_rar.c:53:82: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 53 | static int header_check_rar15fmt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_rar.c:53:114: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 53 | static int header_check_rar15fmt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_rar.c:53:155: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 53 | static int header_check_rar15fmt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_rar.c: In function ‘header_check_rar50fmt’: file_rar.c:69:82: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 69 | static int header_check_rar50fmt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_rar.c:69:114: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 69 | static int header_check_rar50fmt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_rar.c:69:155: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 69 | static int header_check_rar50fmt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_raw.o file_raw.c In file included from file_raw.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_raw.c: In function ‘header_check_raw’: file_raw.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_raw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_raw.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_raw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_raw.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_raw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_raw.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_raw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_rdc.o file_rdc.c In file included from file_rdc.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_rdc.c: In function ‘header_check_rdc’: file_rdc.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_rdc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_rdc.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_rdc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_rdc.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_rdc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_rdc.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_rdc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_res.o file_res.c In file included from file_res.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_res.c: In function ‘header_check_res’: file_res.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_res(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_res.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_res(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_res.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_res(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_res.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_res(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_reg.o file_reg.c In file included from file_reg.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_reg.c:31: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_reg.c:56:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 56 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_reg.c:70:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 70 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_reg.c: In function ‘header_check_reg_9x’: file_reg.c:72:112: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 72 | static int header_check_reg_9x(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_reg.c:72:153: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 72 | static int header_check_reg_9x(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_reg.c: At top level: file_reg.c:104:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 104 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_reg.c: In function ‘header_check_reg_nt’: file_reg.c:106:80: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 106 | static int header_check_reg_nt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_reg.c:106:112: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 106 | static int header_check_reg_nt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_reg.c:106:153: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 106 | static int header_check_reg_nt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_rfp.o file_rfp.c In file included from file_rfp.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_rfp.c: In function ‘header_check_rfp’: file_rfp.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_rfp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_rfp.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_rfp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_rfp.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_rfp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_rfp.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_rfp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_rlv.o file_rlv.c In file included from file_rlv.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_rlv.c: In function ‘header_check_rlv’: file_rlv.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_rlv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_rlv.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_rlv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_rlv.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_rlv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_rm.o file_rm.c In file included from file_rm.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_rm.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_rm.c:53:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 53 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_rm.c: In function ‘header_check_rm’: file_rm.c:55:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 55 | static int header_check_rm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_rm.c:55:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 55 | static int header_check_rm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_rm.c:55:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 55 | static int header_check_rm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_riff.o file_riff.c In file included from file_riff.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_riff.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_riff.c: In function ‘header_check_riff’: file_riff.c:216:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 216 | static int header_check_riff(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_riff.c:216:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 216 | static int header_check_riff(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_riff.c: In function ‘header_check_rifx’: file_riff.c:317:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 317 | static int header_check_rifx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_riff.c:317:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 317 | static int header_check_rifx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_riff.c:317:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 317 | static int header_check_rifx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_rns.o file_rns.c In file included from file_rns.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_rns.c: In function ‘header_check_rns’: file_rns.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_rns(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_rns.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_rns(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_rns.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_rns(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_rns.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_rns(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_rpm.o file_rpm.c In file included from file_rpm.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_rpm.c:31: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_rpm.c:56:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 56 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_rpm.c: In function ‘header_check_rpm’: file_rpm.c:73:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 73 | static int header_check_rpm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_rpm.c:73:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 73 | static int header_check_rpm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_rpm.c:73:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 73 | static int header_check_rpm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_rw2.o file_rw2.c In file included from file_rw2.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_rw2.c:32: file_tiff.h:67:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 67 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from file_rw2.c:33: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_rw2.c: In function ‘header_check_rw2’: file_rw2.c:47:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 47 | static int header_check_rw2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_rw2.c:47:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 47 | static int header_check_rw2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_save.o file_save.c In file included from file_save.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_save.c: In function ‘header_check_save’: file_save.c:44:51: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_save(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_save.c:44:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_save(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_save.c:44:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_save(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_save.c:44:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_save(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_rx2.o file_rx2.c In file included from file_rx2.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_rx2.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_rx2.c:51:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 51 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_rx2.c: In function ‘header_check_rx2’: file_rx2.c:53:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 53 | static int header_check_rx2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_rx2.c:53:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 53 | static int header_check_rx2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_rx2.c:53:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 53 | static int header_check_rx2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ses.o file_ses.c In file included from file_ses.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_ses.c:31: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ses.c: In function ‘header_check_ses’: file_ses.c:45:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 45 | static int header_check_ses(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_ses.c:45:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 45 | static int header_check_ses(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ses.c:45:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 45 | static int header_check_ses(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ses.c:45:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 45 | static int header_check_ses(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_sgcta.o file_sgcta.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_sgcta.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_sgcta.c: In function ‘header_check_sgcta’: file_sgcta.c:44:52: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_sgcta(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_sgcta.c:44:79: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_sgcta(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_sgcta.c:44:111: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_sgcta(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_sgcta.c:44:152: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_sgcta(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_shn.o file_shn.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_shn.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_shn.c: In function ‘header_check_shn’: file_shn.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_shn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_shn.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_shn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_shn.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_shn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_shn.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_shn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_sib.o file_sib.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_sib.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_sib.c: In function ‘header_check_sib’: file_sib.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_sib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_sib.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_sib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_sib.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_sib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_sib.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_sib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_sit.o file_sit.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_sit.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_sit.c: In function ‘header_check_sit’: file_sit.c:47:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 47 | static int header_check_sit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_sit.c:47:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 47 | static int header_check_sit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_sit.c:47:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 47 | static int header_check_sit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_sit.c:47:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 47 | static int header_check_sit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_skd.o file_skd.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_skd.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_skd.c: In function ‘header_check_skd’: file_skd.c:43:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 43 | static int header_check_skd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_skd.c:43:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 43 | static int header_check_skd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_skd.c:43:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 43 | static int header_check_skd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_skd.c:43:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 43 | static int header_check_skd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_skp.o file_skp.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_skp.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_skp.c: In function ‘header_check_skp’: file_skp.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_skp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_skp.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_skp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_skp.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_skp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_skp.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_skp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_snag.o file_snag.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_snag.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_snag.c: In function ‘header_check_snag’: file_snag.c:50:51: warning: unused parameter ‘buffer’ [-Wunused-parameter] 50 | static int header_check_snag(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_snag.c:50:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 50 | static int header_check_snag(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_snag.c:50:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 50 | static int header_check_snag(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_snag.c:50:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 50 | static int header_check_snag(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_sig.o file_sig.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_sig.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_sig.c:41: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_sig.c: In function ‘header_check_sig’: file_sig.c:83:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 83 | static int header_check_sig(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_sig.c:83:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 83 | static int header_check_sig(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_sig.c:83:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 83 | static int header_check_sig(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_spe.o file_spe.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_spe.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_spe.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_spe.c:238:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 238 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_spe.c: In function ‘header_check_spe’: file_spe.c:247:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 247 | static int header_check_spe(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_spe.c:247:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 247 | static int header_check_spe(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_spe.c:247:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 247 | static int header_check_spe(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_spf.o file_spf.c In file included from file_spf.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_spf.c:33: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_spf.c: In function ‘header_check_spf’: file_spf.c:86:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 86 | static int header_check_spf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_spf.c:86:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 86 | static int header_check_spf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_spf.c:86:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 86 | static int header_check_spf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_spf.c:86:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 86 | static int header_check_spf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_sp3.o file_sp3.c In file included from file_sp3.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_sp3.c:35: file_sp3.h:306:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 306 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from file_sp3.c:36: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_sp3.c: In function ‘header_check_sp3’: file_sp3.c:54:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 54 | static int header_check_sp3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_sp3.c:54:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 54 | static int header_check_sp3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_sp3.c:54:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 54 | static int header_check_sp3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_spss.o file_spss.c In file included from file_spss.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_spss.c: In function ‘header_check_spss’: file_spss.c:44:51: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_spss(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_spss.c:44:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_spss(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_spss.c:44:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_spss(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_spss.c:44:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_spss(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_sql.o file_sql.c In file included from file_sql.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_sql.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_sql.c:72:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 72 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_sql.c: In function ‘header_check_sqlite’: file_sql.c:74:80: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 74 | static int header_check_sqlite(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_sql.c:74:112: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 74 | static int header_check_sqlite(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_sql.c:74:153: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 74 | static int header_check_sqlite(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_sqm.o file_sqm.c In file included from file_sqm.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_sqm.c: In function ‘header_check_sqm’: file_sqm.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_sqm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_sqm.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_sqm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_sqm.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_sqm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_sqm.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_sqm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_steuer2014.o file_steuer2014.c In file included from file_steuer2014.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_steuer2014.c:33: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_steuer2014.c:52:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 52 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_steuer2014.c: In function ‘header_check_steuer’: file_steuer2014.c:54:80: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 54 | static int header_check_steuer(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_steuer2014.c:54:112: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 54 | static int header_check_steuer(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_steuer2014.c:54:153: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 54 | static int header_check_steuer(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_stl.o file_stl.c In file included from file_stl.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_stl.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_stl.c: In function ‘header_check_stl’: file_stl.c:46:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 46 | static int header_check_stl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_stl.c:46:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 46 | static int header_check_stl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_stl.c:46:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 46 | static int header_check_stl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_stu.o file_stu.c In file included from file_stu.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_stu.c: In function ‘header_check_stuffit’: file_stu.c:45:54: warning: unused parameter ‘buffer’ [-Wunused-parameter] 45 | static int header_check_stuffit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_stu.c:45:81: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 45 | static int header_check_stuffit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_stu.c:45:113: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 45 | static int header_check_stuffit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_stu.c:45:154: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 45 | static int header_check_stuffit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_studio.o file_studio.c In file included from file_studio.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_studio.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_studio.c:50:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 50 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_studio.c: In function ‘header_check_studio’: file_studio.c:52:80: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_studio(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_studio.c:52:112: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_studio(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_studio.c:52:153: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_studio(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tar.o file_tar.c In file included from file_tar.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_tar.c: In function ‘header_check_tar’: file_tar.c:67:70: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 67 | int header_check_tar(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_tar.c:67:102: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 67 | int header_check_tar(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tax.o file_tax.c In file included from file_tax.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_tax.c: In function ‘header_check_tax’: file_tax.c:45:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 45 | static int header_check_tax(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_tax.c:45:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 45 | static int header_check_tax(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_tax.c:45:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 45 | static int header_check_tax(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_tax.c:45:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 45 | static int header_check_tax(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_swf.o file_swf.c In file included from file_swf.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_swf.c:35: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_swf.c:53:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 53 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_swf.c:62:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 62 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_swf.c: In function ‘header_check_swfc’: file_swf.c:114:25: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 114 | d_stream.next_in = (Bytef*)buffer_compr; | ^ file_swf.c:89:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 89 | static int header_check_swfc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_swf.c:89:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 89 | static int header_check_swfc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_swf.c: In function ‘header_check_swf’: file_swf.c:159:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 159 | static int header_check_swf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_swf.c:159:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 159 | static int header_check_swf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_swf.c:159:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 159 | static int header_check_swf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_swf.c: In function ‘header_check_swfz’: file_swf.c:192:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 192 | static int header_check_swfz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_swf.c:192:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 192 | static int header_check_swfz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_swf.c:192:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 192 | static int header_check_swfz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tg.o file_tg.c In file included from file_tg.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_tg.c: In function ‘header_check_tg’: file_tg.c:44:49: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_tg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_tg.c:44:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_tg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_tg.c:44:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_tg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_tg.c:44:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_tg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tib.o file_tib.c In file included from file_tib.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_tib.c:35: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_tib.c: In function ‘header_check_tib’: file_tib.c:103:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 103 | static int header_check_tib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_tib.c:103:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 103 | static int header_check_tib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_tib.c:103:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 103 | static int header_check_tib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_tib.c:103:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 103 | static int header_check_tib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_tib.c: In function ‘header_check_tib2’: file_tib.c:110:51: warning: unused parameter ‘buffer’ [-Wunused-parameter] 110 | static int header_check_tib2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_tib.c:110:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 110 | static int header_check_tib2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_tib.c:110:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 110 | static int header_check_tib2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_tib.c:110:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 110 | static int header_check_tib2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tiff.o file_tiff.c In file included from file_tiff.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_tiff.c:38: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from file_tiff.c:39: file_tiff.h:67:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 67 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tiff_be.o file_tiff_be.c In file included from file_tiff_be.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_tiff_be.c:38: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from file_tiff_be.c:39: file_tiff.h:67:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 67 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_tiff_be.c: In function ‘find_tag_from_tiff_header_be_aux’: file_tiff_be.c:54:16: warning: taking address of packed member of ‘struct ifd_header’ may result in an unaligned pointer value [-Waddress-of-packed-member] 54 | for(i=0, tmp=&hdr->ifd; | ^~~~~~~~~ file_tiff_be.c: In function ‘header_check_tiff_be’: file_tiff_be.c:358:26: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 358 | if(new_offset==-1) | ^~ file_tiff_be.c:367:26: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 367 | if(new_offset==-1) | ^~ file_tiff_be.c:411:28: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 411 | if(new_offset==-1) | ^~ file_tiff_be.c:454:11: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 454 | if(tmp==-1) | ^~ file_tiff_be.c:462:11: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 462 | if(tmp==-1) | ^~ file_tiff_be.c:471:19: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 471 | if(new_offset != -1 && max_offset < new_offset) | ^~ file_tiff_be.c: In function ‘header_check_tiff_be_new’: file_tiff_be.c:477:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 477 | int header_check_tiff_be_new(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tiff_le.o file_tiff_le.c In file included from file_tiff_le.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_tiff_le.c:38: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from file_tiff_le.c:39: file_tiff.h:67:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 67 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_tiff_le.c: In function ‘find_tag_from_tiff_header_le_aux’: file_tiff_le.c:55:16: warning: taking address of packed member of ‘struct ifd_header’ may result in an unaligned pointer value [-Waddress-of-packed-member] 55 | for(i=0, tmp=&hdr->ifd; | ^~~~~~~~~ file_tiff_le.c: In function ‘header_check_tiff_le’: file_tiff_le.c:359:26: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 359 | if(new_offset==-1) | ^~ file_tiff_le.c:375:26: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 375 | if(new_offset==-1) | ^~ file_tiff_le.c:419:28: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 419 | if(new_offset==-1) | ^~ file_tiff_le.c:462:11: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 462 | if(tmp==-1) | ^~ file_tiff_le.c:470:11: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 470 | if(tmp==-1) | ^~ file_tiff_le.c:479:19: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 479 | if(new_offset != -1 && max_offset < new_offset) | ^~ file_tiff_le.c: In function ‘header_check_tiff_le_new’: file_tiff_le.c:485:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 485 | int header_check_tiff_le_new(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tivo.o file_tivo.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_tivo.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_tivo.c: In function ‘header_check_tivo’: file_tivo.c:52:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_tivo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_tivo.c:52:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_tivo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_tivo.c:52:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_tivo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_torrent.o file_torrent.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_torrent.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_torrent.c: In function ‘header_check_torrent’: file_torrent.c:44:81: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_torrent(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_torrent.c:44:113: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_torrent(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_torrent.c:44:154: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_torrent(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tph.o file_tph.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_tph.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_tph.c: In function ‘header_check_tph’: file_tph.c:56:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 56 | static int header_check_tph(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_tph.c:56:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 56 | static int header_check_tph(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_tph.c:56:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 56 | static int header_check_tph(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tpl.o file_tpl.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_tpl.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_tpl.c: In function ‘header_check_tpl’: file_tpl.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_tpl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_tpl.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_tpl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_tpl.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_tpl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_tpl.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_tpl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ttf.o file_ttf.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_ttf.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_ttf.c:31: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ttf.c: In function ‘header_check_ttf’: file_ttf.c:74:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 74 | static int header_check_ttf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ttf.c:74:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 74 | static int header_check_ttf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tz.o file_tz.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_tz.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_tz.c:34: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_tz.c: In function ‘header_check_tz’: file_tz.c:48:49: warning: unused parameter ‘buffer’ [-Wunused-parameter] 48 | static int header_check_tz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_tz.c:48:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 48 | static int header_check_tz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_tz.c:48:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 48 | static int header_check_tz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_tz.c:48:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 48 | static int header_check_tz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_v2i.o file_v2i.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_v2i.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_v2i.c: In function ‘header_check_v2i’: file_v2i.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_v2i(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_v2i.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_v2i(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_v2i.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_v2i(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_vault.o file_vault.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_vault.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_vault.c: In function ‘header_check_vault’: file_vault.c:67:52: warning: unused parameter ‘buffer’ [-Wunused-parameter] 67 | static int header_check_vault(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_vault.c:67:79: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 67 | static int header_check_vault(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_vault.c:67:111: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 67 | static int header_check_vault(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_vault.c:67:152: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 67 | static int header_check_vault(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_vdi.o file_vdi.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_vdi.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_vdi.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_vdi.c: In function ‘header_check_vdi’: file_vdi.c:81:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 81 | static int header_check_vdi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_vdi.c:81:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 81 | static int header_check_vdi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_vdi.c:81:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 81 | static int header_check_vdi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_vdj.o file_vdj.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_vdj.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_vdj.c: In function ‘header_check_vdj’: file_vdj.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_vdj(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_vdj.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_vdj(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_vdj.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_vdj(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_vdj.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_vdj(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_veg.o file_veg.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_veg.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_veg.c: In function ‘header_check_veg’: file_veg.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_veg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_veg.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_veg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_veg.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_veg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_vfb.o file_vfb.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_vfb.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_vfb.c: In function ‘header_check_vfb’: file_vfb.c:53:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 53 | static int header_check_vfb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_vfb.c:53:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 53 | static int header_check_vfb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_vfb.c:53:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 53 | static int header_check_vfb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_vfb.c:53:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 53 | static int header_check_vfb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_vib.o file_vib.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_vib.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_vib.c: In function ‘header_check_vib’: file_vib.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_vib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_vib.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_vib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_vib.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_vib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_vib.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_vib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_vmdk.o file_vmdk.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_vmdk.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_vmdk.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_vmdk.c:74:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 74 | } __attribute__((gcc_struct,__packed__)) VMDK4Header; | ^ file_vmdk.c: In function ‘header_check_vmdk3’: file_vmdk.c:76:79: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 76 | static int header_check_vmdk3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_vmdk.c:76:111: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 76 | static int header_check_vmdk3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_vmdk.c:76:152: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 76 | static int header_check_vmdk3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_vmdk.c: In function ‘header_check_vmdk4’: file_vmdk.c:92:79: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 92 | static int header_check_vmdk4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_vmdk.c:92:111: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 92 | static int header_check_vmdk4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_vmdk.c:92:152: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 92 | static int header_check_vmdk4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_vmg.o file_vmg.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_vmg.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_vmg.c: In function ‘header_check_vmg’: file_vmg.c:54:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 54 | static int header_check_vmg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_vmg.c:54:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 54 | static int header_check_vmg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_vmg.c:54:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 54 | static int header_check_vmg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_vmg.c:54:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 54 | static int header_check_vmg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wallet.o file_wallet.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_wallet.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_wallet.c: In function ‘header_check_wallet’: file_wallet.c:44:53: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_wallet(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_wallet.c:44:80: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_wallet(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_wallet.c:44:112: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_wallet(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_wallet.c:44:153: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_wallet(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wdp.o file_wdp.c In file included from file_wdp.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_wdp.c:32: file_tiff.h:67:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 67 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from file_wdp.c:33: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_wdp.c: In function ‘header_check_wdp’: file_wdp.c:47:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 47 | static int header_check_wdp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_wdp.c:47:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 47 | static int header_check_wdp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wee.o file_wee.c In file included from file_wee.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_wee.c: In function ‘header_check_wee’: file_wee.c:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_wee(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_wee.c:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_wee(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_wee.c:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_wee(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wim.o file_wim.c In file included from file_wim.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_wim.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_wim.c:55:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 55 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_wim.c:76:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_wim.c: In function ‘header_check_wim’: file_wim.c:78:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 78 | static int header_check_wim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_wim.c:78:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 78 | static int header_check_wim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_wim.c:78:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 78 | static int header_check_wim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_txt.o file_txt.c In file included from file_txt.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_txt.c:38: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_txt.c: In function ‘header_check_ttd’: file_txt.c:531:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 531 | static int header_check_ttd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_txt.c:531:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 531 | static int header_check_ttd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_txt.c:531:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 531 | static int header_check_ttd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_txt.c: In function ‘header_check_ers’: file_txt.c:548:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 548 | static int header_check_ers(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_txt.c:548:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 548 | static int header_check_ers(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_txt.c:548:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 548 | static int header_check_ers(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_txt.c:548:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 548 | static int header_check_ers(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_txt.c: In function ‘header_check_ics’: file_txt.c:558:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 558 | static int header_check_ics(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_txt.c:558:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 558 | static int header_check_ics(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_txt.c: In function ‘header_check_perlm’: file_txt.c:587:111: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 587 | static int header_check_perlm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_txt.c:587:152: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 587 | static int header_check_perlm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_txt.c: In function ‘header_check_dc’: file_txt.c:616:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 616 | static int header_check_dc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_txt.c:616:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 616 | static int header_check_dc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_txt.c:616:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 616 | static int header_check_dc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_txt.c: In function ‘header_check_html’: file_txt.c:702:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 702 | static int header_check_html(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_txt.c:702:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 702 | static int header_check_html(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_txt.c: In function ‘header_check_vbm’: file_txt.c:729:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 729 | static int header_check_vbm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_txt.c:729:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 729 | static int header_check_vbm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_txt.c:729:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 729 | static int header_check_vbm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_txt.c:729:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 729 | static int header_check_vbm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_txt.c: In function ‘header_check_xml_utf8’: file_txt.c:772:114: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 772 | static int header_check_xml_utf8(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_txt.c:772:155: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 772 | static int header_check_xml_utf8(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_txt.c: In function ‘header_check_xml_utf16’: file_txt.c:802:56: warning: unused parameter ‘buffer’ [-Wunused-parameter] 802 | static int header_check_xml_utf16(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_txt.c:802:83: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 802 | static int header_check_xml_utf16(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_txt.c:802:115: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 802 | static int header_check_xml_utf16(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_txt.c: In function ‘header_check_xml’: file_txt.c:813:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 813 | static int header_check_xml(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_txt.c:813:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 813 | static int header_check_xml(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_txt.c: In function ‘header_check_rtf’: file_txt.c:912:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 912 | static int header_check_rtf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_txt.c:912:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 912 | static int header_check_rtf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_txt.c: In function ‘header_check_xmp’: file_txt.c:930:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 930 | static int header_check_xmp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_txt.c:930:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 930 | static int header_check_xmp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_txt.c: In function ‘header_check_thunderbird’: file_txt.c:957:85: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 957 | static int header_check_thunderbird(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_txt.c:957:117: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 957 | static int header_check_thunderbird(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_txt.c: In function ‘header_check_mbox’: file_txt.c:974:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 974 | static int header_check_mbox(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_txt.c:974:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 974 | static int header_check_mbox(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_txt.c: In function ‘header_check_fasttxt’: file_txt.c:1000:81: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 1000 | static int header_check_fasttxt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_txt.c:1000:113: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 1000 | static int header_check_fasttxt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_txt.c:1000:154: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 1000 | static int header_check_fasttxt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_txt.c: In function ‘header_check_smil’: file_txt.c:1433:51: warning: unused parameter ‘buffer’ [-Wunused-parameter] 1433 | static int header_check_smil(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_txt.c:1433:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 1433 | static int header_check_smil(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_txt.c:1433:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 1433 | static int header_check_smil(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_txt.c:1433:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 1433 | static int header_check_smil(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_txt.c: In function ‘header_check_stl’: file_txt.c:1444:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 1444 | static int header_check_stl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_txt.c:1444:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 1444 | static int header_check_stl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_txt.c: In function ‘header_check_svg’: file_txt.c:1458:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 1458 | static int header_check_svg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_txt.c:1458:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 1458 | static int header_check_svg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_txt.c:1458:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 1458 | static int header_check_svg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_txt.c:1458:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 1458 | static int header_check_svg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_txt.c: In function ‘header_check_snz’: file_txt.c:1467:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 1467 | static int header_check_snz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_txt.c:1467:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 1467 | static int header_check_snz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wks.o file_wks.c In file included from file_wks.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_wks.c: In function ‘header_check_wk4’: file_wks.c:55:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 55 | static int header_check_wk4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_wks.c:55:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 55 | static int header_check_wk4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_wks.c:55:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 55 | static int header_check_wk4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_wks.c:55:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 55 | static int header_check_wk4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_wks.c: In function ‘header_check_wks’: file_wks.c:62:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 62 | static int header_check_wks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_wks.c:62:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 62 | static int header_check_wks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_wks.c:62:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 62 | static int header_check_wks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_wks.c:62:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 62 | static int header_check_wks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_win.o file_win.c In file included from file_win.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_win.c:36: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_win.c: In function ‘header_check_win’: file_win.c:69:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 69 | static int header_check_win(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_win.c:69:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 69 | static int header_check_win(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_win.c:69:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 69 | static int header_check_win(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_win.c:69:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 69 | static int header_check_win(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wmf.o file_wmf.c In file included from file_wmf.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_wmf.c:31: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_wmf.c:56:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 56 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_wmf.c: In function ‘header_check_wmf’: file_wmf.c:58:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 58 | static int header_check_wmf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_wmf.c:58:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 58 | static int header_check_wmf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_wmf.c:58:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 58 | static int header_check_wmf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_wmf.c: In function ‘header_check_other_wmf’: file_wmf.c:73:83: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 73 | static int header_check_other_wmf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_wmf.c:73:115: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 73 | static int header_check_other_wmf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_wmf.c:73:156: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 73 | static int header_check_other_wmf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wld.o file_wld.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_wld.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_wld.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_wld.c: In function ‘header_check_wld’: file_wld.c:66:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 66 | static int header_check_wld(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_wld.c:66:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 66 | static int header_check_wld(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_wld.c:66:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 66 | static int header_check_wld(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wnk.o file_wnk.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_wnk.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_wnk.c: In function ‘header_check_wnk’: file_wnk.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_wnk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_wnk.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_wnk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_wnk.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_wnk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_wnk.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_wnk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_woff.o file_woff.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_woff.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_woff.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_woff.c:60:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 60 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_woff.c: In function ‘header_check_woff’: file_woff.c:62:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 62 | static int header_check_woff(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_woff.c:62:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 62 | static int header_check_woff(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_woff.c:62:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 62 | static int header_check_woff(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wpb.o file_wpb.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_wpb.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_wpb.c: In function ‘header_check_wpb’: file_wpb.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_wpb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_wpb.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_wpb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_wpb.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_wpb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_wpb.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_wpb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wpd.o file_wpd.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_wpd.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_wpd.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_wpd.c:58:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 58 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_wpd.c: In function ‘header_check_wpd’: file_wpd.c:60:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 60 | static int header_check_wpd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_wpd.c:60:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 60 | static int header_check_wpd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_wpd.c:60:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 60 | static int header_check_wpd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wtv.o file_wtv.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_wtv.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_wtv.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_wtv.c: In function ‘header_check_wtv’: file_wtv.c:47:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 47 | static int header_check_wtv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_wtv.c:47:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 47 | static int header_check_wtv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_x3f.o file_x3f.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_x3f.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_x3f.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_x3f.c:57:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 57 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_x3f.c: In function ‘header_check_x3f’: file_x3f.c:59:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 59 | static int header_check_x3f(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wv.o file_wv.c In file included from file_wv.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_wv.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_wv.c: In function ‘header_check_wv’: file_wv.c:66:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 66 | static int header_check_wv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_wv.c:66:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 66 | static int header_check_wv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_wv.c:66:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 66 | static int header_check_wv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_x3i.o file_x3i.c In file included from file_x3i.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_x3i.c: In function ‘header_check_x3i’: file_x3i.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_x3i(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_x3i.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_x3i(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_x3i.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_x3i(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_x3i.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_x3i(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_x4a.o file_x4a.c In file included from file_x4a.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_x4a.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_x4a.c:49:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 49 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_x4a.c: In function ‘header_check_ysfc100’: file_x4a.c:77:81: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 77 | static int header_check_ysfc100(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_x4a.c:77:113: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 77 | static int header_check_ysfc100(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_x4a.c:77:154: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 77 | static int header_check_ysfc100(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_xar.o file_xar.c In file included from file_xar.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_xar.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_xar.c: In function ‘header_check_xar’: file_xar.c:58:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 58 | static int header_check_xar(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_xar.c:58:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 58 | static int header_check_xar(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_xar.c:58:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 58 | static int header_check_xar(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_xfi.o file_xfi.c In file included from file_xfi.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_xfi.c: In function ‘header_check_xfi’: file_xfi.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_xfi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_xfi.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_xfi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_xfi.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_xfi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_xfi.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_xfi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_xcf.o file_xcf.c In file included from file_xcf.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_xcf.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_xcf.c:55:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 55 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_xcf.c: In function ‘header_check_xcf’: file_xcf.c:57:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 57 | static int header_check_xcf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_xcf.c:57:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 57 | static int header_check_xcf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_xcf.c:57:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 57 | static int header_check_xcf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_xfs.o file_xfs.c In file included from file_xfs.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_xfs.c:31: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from file_xfs.c:32: xfs.h:108:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 108 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_xfs.c: In function ‘header_check_xfs_sb’: file_xfs.c:47:80: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 47 | static int header_check_xfs_sb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_xfs.c:47:112: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 47 | static int header_check_xfs_sb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_xfs.c:47:153: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 47 | static int header_check_xfs_sb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_xfs.c: In function ‘data_check_stopasap’: file_xfs.c:63:62: warning: unused parameter ‘buffer’ [-Wunused-parameter] 63 | static data_check_t data_check_stopasap(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_xfs.c:63:89: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 63 | static data_check_t data_check_stopasap(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_xfs.c:63:119: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 63 | static data_check_t data_check_stopasap(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_xfs.c: In function ‘header_save_xfs’: file_xfs.c:68:49: warning: unused parameter ‘buffer’ [-Wunused-parameter] 68 | static int header_save_xfs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_xfs.c:68:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 68 | static int header_save_xfs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_xfs.c:68:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 68 | static int header_save_xfs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_xfs.c: In function ‘header_check_xfs_inode’: file_xfs.c:118:83: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 118 | static int header_check_xfs_inode(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_xfs.c:118:156: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 118 | static int header_check_xfs_inode(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_xm.o file_xm.c In file included from file_xm.c:25: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_xm.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_xm.c: In function ‘header_check_xm’: file_xm.c:181:49: warning: unused parameter ‘buffer’ [-Wunused-parameter] 181 | static int header_check_xm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_xm.c:181:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 181 | static int header_check_xm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_xm.c:181:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 181 | static int header_check_xm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_xm.c:181:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 181 | static int header_check_xm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_xml.o file_xml.c In file included from file_xml.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_xml.c: In function ‘header_check_xml’: file_xml.c:81:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 81 | static int header_check_xml(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_xml.c:81:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 81 | static int header_check_xml(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_xml.c:81:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 81 | static int header_check_xml(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_xml.c:81:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 81 | static int header_check_xml(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_xsv.o file_xsv.c In file included from file_xsv.c:25: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_xsv.c: In function ‘header_check_xsv’: file_xsv.c:46:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 46 | static int header_check_xsv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_xsv.c:46:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 46 | static int header_check_xsv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_xsv.c:46:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 46 | static int header_check_xsv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_xsv.c:46:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 46 | static int header_check_xsv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_xpt.o file_xpt.c In file included from file_xpt.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_xpt.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_xpt.c:54:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 54 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_xpt.c: In function ‘header_check_xpt’: file_xpt.c:56:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 56 | static int header_check_xpt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_xpt.c:56:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 56 | static int header_check_xpt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_xpt.c:56:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 56 | static int header_check_xpt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_xv.o file_xv.c In file included from file_xv.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_xv.c:32: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_xv.c: In function ‘header_check_xv’: file_xv.c:47:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 47 | static int header_check_xv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_xv.c:47:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 47 | static int header_check_xv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_xv.c:47:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 47 | static int header_check_xv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_xz.o file_xz.c In file included from file_xz.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_xz.c: In function ‘header_check_xz’: file_xz.c:50:49: warning: unused parameter ‘buffer’ [-Wunused-parameter] 50 | static int header_check_xz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_xz.c:50:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 50 | static int header_check_xz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_xz.c:50:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 50 | static int header_check_xz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_xz.c:50:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 50 | static int header_check_xz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_z2d.o file_z2d.c In file included from file_z2d.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_z2d.c: In function ‘header_check_z2d’: file_z2d.c:46:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 46 | static int header_check_z2d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_z2d.c:46:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 46 | static int header_check_z2d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_z2d.c:46:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 46 | static int header_check_z2d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_zcode.o file_zcode.c In file included from file_zcode.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_zcode.c: In function ‘header_check_zcode’: file_zcode.c:44:52: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_zcode(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_zcode.c:44:79: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_zcode(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_zcode.c:44:111: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_zcode(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_zcode.c:44:152: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_zcode(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_zpr.o file_zpr.c In file included from file_zpr.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_zpr.c: In function ‘header_check_zpr’: file_zpr.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_zpr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_zpr.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_zpr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_zpr.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_zpr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o partgptro.o partgptro.c In file included from partgptro.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from partgptro.c:29: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partgptro.c:30: partgpt.h:47:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 47 | } __attribute__ ((gcc_struct, __packed__)); | ^ partgptro.c: In function ‘write_part_gpt’: partgptro.c:32:28: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 32 | int write_part_gpt(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~^~~~~~~~ partgptro.c:32:57: warning: unused parameter ‘list_part’ [-Wunused-parameter] 32 | int write_part_gpt(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ partgptro.c:32:92: warning: unused parameter ‘verbose’ [-Wunused-parameter] 32 | int write_part_gpt(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~^~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o suspend_no.o suspend_no.c In file included from suspend_no.c:2: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition suspend_no.c: In function ‘suspend_memory’: suspend_no.c:14:34: warning: unused parameter ‘cinfo’ [-Wunused-parameter] 14 | void suspend_memory(j_common_ptr cinfo) { | ~~~~~~~~~~~~~^~~~~ suspend_no.c: In function ‘resume_memory’: suspend_no.c:17:32: warning: unused parameter ‘cinfo’ [-Wunused-parameter] 17 | int resume_memory(j_common_ptr cinfo) | ~~~~~~~~~~~~~^~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o fidentify.o fidentify.c In file included from fidentify.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from fidentify.c:48: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_zip.o file_zip.c In file included from file_zip.c:29: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from file_zip.c:40: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_zip.c:94:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 94 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_zip.c:104:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 104 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_zip.c: In function ‘zip_parse_central_dir’: file_zip.c:403:3: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 403 | } __attribute__ ((gcc_struct, __packed__)) dir; | ^ file_zip.c: In function ‘zip64_parse_end_central_dir’: file_zip.c:462:3: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 462 | } __attribute__ ((gcc_struct, __packed__)) dir; | ^ file_zip.c: In function ‘zip_parse_end_central_dir’: file_zip.c:505:3: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 505 | } __attribute__ ((gcc_struct, __packed__)) dir; | ^ file_zip.c: In function ‘zip_parse_data_desc’: file_zip.c:540:3: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 540 | } __attribute__ ((gcc_struct, __packed__)) desc; | ^ file_zip.c: In function ‘zip64_parse_end_central_dir_locator’: file_zip.c:597:3: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 597 | } __attribute__ ((gcc_struct, __packed__)) loc; | ^ file_zip.c: In function ‘header_check_winzip’: file_zip.c:882:53: warning: unused parameter ‘buffer’ [-Wunused-parameter] 882 | static int header_check_winzip(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_zip.c:882:80: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 882 | static int header_check_winzip(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_zip.c:882:112: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 882 | static int header_check_winzip(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_zip.c:882:153: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 882 | static int header_check_winzip(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' g++ -DHAVE_CONFIG_H -I. -I.. -DQT_GUI_LIB -I/usr/include/qt5/QtGui -I/usr/include/qt5 -DQT_CORE_LIB -I/usr/include/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/qt5/QtWidgets -I/usr/include/qt5 -DQT_GUI_LIB -I/usr/include/qt5/QtGui -DQT_CORE_LIB -I/usr/include/qt5/QtCore -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -MD -Wpointer-arith -Wmissing-declarations -Wshadow -Wwrite-strings -W -Wcast-align -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wdisabled-optimization -Wmissing-format-attribute -Wmultichar -Wformat=2 -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -Wvla --std=c++14 -fstack-protector-strong -c -o qphotorec-qmainrec.o `test -f 'qmainrec.cpp' || echo './'`qmainrec.cpp In file included from qmainrec.cpp:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from qphotorec.h:28, from qmainrec.cpp:43: common.h:37:42: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' g++ -DHAVE_CONFIG_H -I. -I.. -DQT_GUI_LIB -I/usr/include/qt5/QtGui -I/usr/include/qt5 -DQT_CORE_LIB -I/usr/include/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/qt5/QtWidgets -I/usr/include/qt5 -DQT_GUI_LIB -I/usr/include/qt5/QtGui -DQT_CORE_LIB -I/usr/include/qt5/QtCore -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -MD -Wpointer-arith -Wmissing-declarations -Wshadow -Wwrite-strings -W -Wcast-align -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wdisabled-optimization -Wmissing-format-attribute -Wmultichar -Wformat=2 -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -Wvla --std=c++14 -fstack-protector-strong -c -o qphotorec-qphbs.o `test -f 'qphbs.cpp' || echo './'`qphbs.cpp make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from qphbs.cpp:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from qphbs.cpp:42: common.h:37:42: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' g++ -DHAVE_CONFIG_H -I. -I.. -DQT_GUI_LIB -I/usr/include/qt5/QtGui -I/usr/include/qt5 -DQT_CORE_LIB -I/usr/include/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/qt5/QtWidgets -I/usr/include/qt5 -DQT_GUI_LIB -I/usr/include/qt5/QtGui -DQT_CORE_LIB -I/usr/include/qt5/QtCore -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -MD -Wpointer-arith -Wmissing-declarations -Wshadow -Wwrite-strings -W -Wcast-align -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wdisabled-optimization -Wmissing-format-attribute -Wmultichar -Wformat=2 -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -Wvla --std=c++14 -fstack-protector-strong -c -o qphotorec-qphotorec.o `test -f 'qphotorec.cpp' || echo './'`qphotorec.cpp In file included from qphotorec.cpp:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from qphotorec.cpp:77: common.h:37:42: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ qphotorec.cpp: In member function ‘void QPhotorec::PartListWidget_updateUI()’: qphotorec.cpp:287:27: warning: ‘QString& QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 287 | partname.sprintf("[%s]", partition->partname); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qcoreapplication.h:44, from /usr/include/qt5/QtWidgets/qapplication.h:44, from /usr/include/qt5/QtWidgets/QApplication:1, from qphotorec.cpp:59: /usr/include/qt5/QtCore/qstring.h:393:14: note: declared here 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); | ^~~~~~~ qphotorec.cpp:292:25: warning: ‘QString& QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 292 | fsname.sprintf(" [%s]", partition->fsname); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:393:14: note: declared here 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); | ^~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' QT_SELECT=qt5 moc-qt5 qphotorec.h -o moc_qphotorec.cpp make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' QT_SELECT=qt5 rcc-qt5 qphotorec.qrc -o rcc_qphotorec.cpp -name qphotorec make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' /usr/bin/mkdir -p lang QT_SELECT=qt5 lrelease-qt5 -silent lang/qphotorec.ca.ts -qm lang/qphotorec.ca.qm make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' /usr/bin/mkdir -p lang QT_SELECT=qt5 lrelease-qt5 -silent lang/qphotorec.es.ts -qm lang/qphotorec.es.qm make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' /usr/bin/mkdir -p lang QT_SELECT=qt5 lrelease-qt5 -silent lang/qphotorec.fr.ts -qm lang/qphotorec.fr.qm make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' /usr/bin/mkdir -p lang QT_SELECT=qt5 lrelease-qt5 -silent lang/qphotorec.it.ts -qm lang/qphotorec.it.qm make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' /usr/bin/mkdir -p lang QT_SELECT=qt5 lrelease-qt5 -silent lang/qphotorec.ja.ts -qm lang/qphotorec.ja.qm make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' /usr/bin/mkdir -p lang QT_SELECT=qt5 lrelease-qt5 -silent lang/qphotorec.pt.ts -qm lang/qphotorec.pt.qm make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' /usr/bin/mkdir -p lang QT_SELECT=qt5 lrelease-qt5 -silent lang/qphotorec.ru.ts -qm lang/qphotorec.ru.qm make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' /usr/bin/mkdir -p lang QT_SELECT=qt5 lrelease-qt5 -silent lang/qphotorec.tr.ts -qm lang/qphotorec.tr.qm make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' /usr/bin/mkdir -p lang QT_SELECT=qt5 lrelease-qt5 -silent lang/qphotorec.zh_TW.ts -qm lang/qphotorec.zh_TW.qm make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' g++ -DHAVE_CONFIG_H -I. -I.. -DQT_GUI_LIB -I/usr/include/qt5/QtGui -I/usr/include/qt5 -DQT_CORE_LIB -I/usr/include/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/qt5/QtWidgets -I/usr/include/qt5 -DQT_GUI_LIB -I/usr/include/qt5/QtGui -DQT_CORE_LIB -I/usr/include/qt5/QtCore -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -MD -Wpointer-arith -Wmissing-declarations -Wshadow -Wwrite-strings -W -Wcast-align -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wdisabled-optimization -Wmissing-format-attribute -Wmultichar -Wformat=2 -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -Wvla --std=c++14 -fstack-protector-strong -c -o qphotorec-qpsearch.o `test -f 'qpsearch.cpp' || echo './'`qpsearch.cpp make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from qpsearch.cpp:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from qpsearch.cpp:52: common.h:37:42: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from qpsearch.cpp:56: fat.h:76:42: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:86:42: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:102:42: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 102 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o testdisk autoset.o common.o crc.o ewf.o fnctdsk.o hdaccess.o hdcache.o hdwin32.o hidden.o hpa_dco.o intrf.o iso.o list_sort.o log.o log_part.o misc.o msdos.o parti386.o partgpt.o parthumax.o partmac.o partsun.o partnone.o partxbox.o io_redir.o ntfs_io.o ntfs_utl.o partauto.o sudo.o unicode.o win32.o analyse.o bfs.o bsd.o btrfs.o cramfs.o exfat.o ext2.o ext2_common.o fat.o fat_common.o fatx.o f2fs.o jfs.o gfs2.o hfs.o hfsp.o hpfs.o luks.o lvm.o md.o netware.o ntfs.o refs.o rfs.o savehdr.o sun.o swap.o sysv.o ufs.o vmfs.o wbfs.o xfs.o zfs.o addpart.o addpartn.o adv.o askloc.o chgarch.o chgarchn.o chgtype.o chgtypen.o dimage.o dirn.o dirpart.o diskacc.o diskcapa.o edit.o ext2_sb.o ext2_sbn.o fat1x.o fat32.o fat_adv.o fat_cluster.o fatn.o geometry.o geometryn.o godmode.o hiddenn.o intrface.o intrfn.o nodisk.o ntfs_adv.o ntfs_fix.o ntfs_udl.o parti386n.o partgptn.o partmacn.o partsunn.o partxboxn.o tanalyse.o tbanner.o tdelete.o tdiskop.o tdisksel.o testdisk.o texfat.o thfs.o tload.o tlog.o tmbrcode.o tntfs.o toptions.o tpartwr.o dir.o exfat_dir.o ext2_dir.o fat_dir.o ntfs_dir.o partgptw.o rfs_dir.o setdate.o next.o -lncursesw -ltinfo -lewf -lz -luuid -lntfs-3g -lext2fs -lcom_err make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o photorec phmain.o photorec.o phcfg.o addpart.o chgarch.o dir.o exfatp.o ext2grp.o ext2_dir.o ext2p.o fat_dir.o fatp.o file_found.o geometry.o ntfs_dir.o ntfsp.o pdisksel.o phcli.o poptions.o sessionp.o setdate.o dfxml.o addpartn.o askloc.o chgarchn.o chgtype.o chgtypen.o fat_cluster.o fat_unformat.o geometryn.o hiddenn.o intrfn.o nodisk.o parti386n.o partgptn.o partmacn.o partsunn.o partxboxn.o pbanner.o pblocksize.o pdiskseln.o pfree_whole.o phbf.o phbs.o phnc.o phrecn.o ppartseln.o psearchn.o filegen.o file_list.o file_1cd.o file_3dm.o file_7z.o file_DB.o file_a.o file_ab.o file_abr.o file_acb.o file_ace.o file_ado.o file_afdesign.o file_ahn.o file_aif.o file_all.o file_als.o file_amd.o file_amr.o file_apa.o file_ape.o file_apple.o file_ari.o file_arj.o file_asf.o file_asl.o file_asm.o file_atd.o file_au.o file_axp.o file_axx.o file_bac.o file_bdm.o file_berkeley.o file_bim.o file_bin.o file_binvox.o file_bkf.o file_bld.o file_bmp.o file_bpg.o file_bvr.o file_bz2.o file_c4d.o file_cab.o file_caf.o file_cam.o file_catdrawing.o file_cdt.o file_che.o file_chm.o file_class.o file_cm.o file_compress.o file_cow.o file_cpi.o file_crw.o file_csh.o file_ctg.o file_cwk.o file_d2s.o file_dad.o file_dar.o file_dat.o file_dbf.o file_dbn.o file_dcm.o file_ddf.o file_dex.o file_dim.o file_dir.o file_djv.o file_dmp.o file_doc.o file_dpx.o file_drw.o file_ds2.o file_ds_store.o file_dsc.o file_dss.o file_dst.o file_dta.o file_dump.o file_dv.o file_dvi.o file_dvr.o file_dwg.o file_dxf.o file_e01.o file_edb.o file_ecryptfs.o file_elf.o file_emf.o file_ess.o file_evt.o file_evtx.o file_exe.o file_exs.o file_ext.o file_ext2.o file_fat.o file_fbf.o file_fbk.o file_fcp.o file_fcs.o file_fdb.o file_fds.o file_fh10.o file_fh5.o file_filevault.o file_fits.o file_fit.o file_flac.o file_flp.o file_flv.o file_fm.o file_fob.o file_fos.o file_fp5.o file_fp7.o file_freeway.o file_frm.o file_fs.o file_fwd.o file_gam.o file_gct.o file_gho.o file_gi.o file_gif.o file_gm6.o file_gp2.o file_gp5.o file_gpg.o file_gpx.o file_gsm.o file_gz.o file_hdf.o file_hdr.o file_hds.o file_hfsp.o file_hm.o file_hr9.o file_http.o file_ibd.o file_icc.o file_icns.o file_ico.o file_ifo.o file_idx.o file_imb.o file_indd.o file_info.o file_iso.o file_it.o file_itu.o file_jks.o file_jpg.o file_jsonlz4.o file_kdb.o file_kdbx.o file_key.o file_ldf.o file_lit.o file_lnk.o file_logic.o file_lso.o file_luks.o file_lxo.o file_lzh.o file_lzo.o file_m2ts.o file_mat.o file_max.o file_mb.o file_mcd.o file_mdb.o file_mdf.o file_mfa.o file_mfg.o file_mft.o file_mid.o file_mig.o file_mk5.o file_mkv.o file_mlv.o file_mobi.o file_mov.o file_mp3.o file_mpg.o file_mpl.o file_mrw.o file_msa.o file_mus.o file_mxf.o file_myo.o file_mysql.o file_nd2.o file_nds.o file_nes.o file_njx.o file_nk2.o file_nsf.o file_oci.o file_ogg.o file_one.o file_orf.o file_paf.o file_pap.o file_par2.o file_pcap.o file_pcb.o file_pct.o file_pcx.o file_pdb.o file_pdf.o file_pds.o file_pf.o file_pfx.o file_pgdump.o file_plist.o file_plr.o file_plt.o file_png.o file_pnm.o file_prc.o file_prd.o file_prt.o file_ps.o file_psb.o file_psd.o file_psf.o file_psp.o file_pst.o file_ptb.o file_ptf.o file_pyc.o file_pzf.o file_pzh.o file_qbb.o file_qdf.o file_qkt.o file_qxd.o file_r3d.o file_ra.o file_raf.o file_rar.o file_raw.o file_rdc.o file_reg.o file_res.o file_rfp.o file_riff.o file_rlv.o file_rm.o file_rns.o file_rpm.o file_rw2.o file_rx2.o file_save.o file_ses.o file_sgcta.o file_shn.o file_sib.o file_sig.o file_sit.o file_skd.o file_skp.o file_snag.o file_sp3.o file_spe.o file_spf.o file_spss.o file_sql.o file_sqm.o file_steuer2014.o file_stl.o file_stu.o file_studio.o file_swf.o file_tar.o file_tax.o file_tg.o file_tib.o file_tiff.o file_tiff_be.o file_tiff_le.o file_tivo.o file_torrent.o file_tph.o file_tpl.o file_ttf.o file_txt.o file_tz.o file_v2i.o file_vault.o file_vdi.o file_vdj.o file_veg.o file_vfb.o file_vib.o file_vmdk.o file_vmg.o file_wallet.o file_wdp.o file_wee.o file_wim.o file_win.o file_wks.o file_wld.o file_wmf.o file_wnk.o file_woff.o file_wpb.o file_wpd.o file_wtv.o file_wv.o file_x3f.o file_x3i.o file_x4a.o file_xar.o file_xcf.o file_xfi.o file_xfs.o file_xm.o file_xml.o file_xsv.o file_xpt.o file_xv.o file_xz.o file_z2d.o file_zcode.o file_zip.o file_zpr.o autoset.o common.o crc.o ewf.o fnctdsk.o hdaccess.o hdcache.o hdwin32.o hidden.o hpa_dco.o intrf.o iso.o list_sort.o log.o log_part.o misc.o msdos.o parti386.o partgpt.o parthumax.o partmac.o partsun.o partnone.o partxbox.o io_redir.o ntfs_io.o ntfs_utl.o partauto.o sudo.o unicode.o win32.o partgptro.o analyse.o bfs.o bsd.o btrfs.o cramfs.o exfat.o ext2.o ext2_common.o fat.o fat_common.o fatx.o f2fs.o jfs.o gfs2.o hfs.o hfsp.o hpfs.o luks.o lvm.o md.o netware.o ntfs.o refs.o rfs.o savehdr.o sun.o swap.o sysv.o ufs.o vmfs.o wbfs.o xfs.o zfs.o suspend_no.o -lncursesw -ltinfo -ljpeg -lewf -lz -luuid -lntfs-3g -lext2fs -lcom_err make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In function ‘header_check_doc’, inlined from ‘header_check_doc’ at file_doc.c:389:12: memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:447:11: note: called from here 447 | else if(td_memmem(buffer,buffer_size,"StarCalc",8)!=NULL) | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:451:11: note: called from here 451 | else if(td_memmem(buffer,buffer_size,"StarImpress",11)!=NULL) | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:455:11: note: called from here 455 | else if(td_memmem(buffer,buffer_size,"Worksheet",9)!=NULL || | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:456:7: note: called from here 456 | td_memmem(buffer,buffer_size,"Book",4)!=NULL || | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:457:7: note: called from here 457 | td_memmem(buffer,buffer_size,"Workbook",8)!=NULL || | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:458:7: note: called from here 458 | td_memmem(buffer,buffer_size,"Calc",4)!=NULL) | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:462:11: note: called from here 462 | else if(td_memmem(buffer,buffer_size,"Power",5)!=NULL) | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:466:11: note: called from here 466 | else if(td_memmem(buffer,buffer_size,"AccessObjSiteData",17)!=NULL) | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:470:11: note: called from here 470 | else if(td_memmem(buffer,buffer_size,"Visio",5)!=NULL) | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:474:11: note: called from here 474 | else if(td_memmem(buffer,buffer_size,"SfxDocument",11)!=NULL) | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:478:11: note: called from here 478 | else if(td_memmem(buffer,buffer_size,"CPicPage",8)!=NULL) | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:482:11: note: called from here 482 | else if(td_memmem(buffer,buffer_size,"Microsoft Publisher",19)!=NULL) | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:486:11: note: called from here 486 | else if(td_memmem(buffer, buffer_size, "Microsoft Works Database", 24)!=NULL | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:487:10: note: called from here 487 | || td_memmem( buffer, buffer_size, "MSWorksDBDoc", 12)!=NULL) | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:491:11: note: called from here 491 | else if(td_memmem(buffer,buffer_size,"MetaStock",9)!=NULL) | ^ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' g++ -DHAVE_CONFIG_H -I. -I.. -DQT_GUI_LIB -I/usr/include/qt5/QtGui -I/usr/include/qt5 -DQT_CORE_LIB -I/usr/include/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/qt5/QtWidgets -I/usr/include/qt5 -DQT_GUI_LIB -I/usr/include/qt5/QtGui -DQT_CORE_LIB -I/usr/include/qt5/QtCore -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -MD -Wpointer-arith -Wmissing-declarations -Wshadow -Wwrite-strings -W -Wcast-align -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wdisabled-optimization -Wmissing-format-attribute -Wmultichar -Wformat=2 -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -Wvla --std=c++14 -fstack-protector-strong -c -o qphotorec-moc_qphotorec.o `test -f 'moc_qphotorec.cpp' || echo './'`moc_qphotorec.cpp In file included from qphotorec.h:15, from moc_qphotorec.cpp:10: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from qphotorec.h:28: common.h:37:42: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' g++ -DHAVE_CONFIG_H -I. -I.. -DQT_GUI_LIB -I/usr/include/qt5/QtGui -I/usr/include/qt5 -DQT_CORE_LIB -I/usr/include/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/qt5/QtWidgets -I/usr/include/qt5 -DQT_GUI_LIB -I/usr/include/qt5/QtGui -DQT_CORE_LIB -I/usr/include/qt5/QtCore -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -MD -Wpointer-arith -Wmissing-declarations -Wshadow -Wwrite-strings -W -Wcast-align -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wdisabled-optimization -Wmissing-format-attribute -Wmultichar -Wformat=2 -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -Wvla --std=c++14 -fstack-protector-strong -c -o qphotorec-rcc_qphotorec.o `test -f 'rcc_qphotorec.cpp' || echo './'`rcc_qphotorec.cpp make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' ln -s qphotorec_locale.qrc . || exit 0 QT_SELECT=qt5 rcc-qt5 ./qphotorec_locale.qrc -o rcc_qphotorec_locale.cpp -name qphotorec_locale ln: failed to create symbolic link './qphotorec_locale.qrc': File exists make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' g++ -DHAVE_CONFIG_H -I. -I.. -DQT_GUI_LIB -I/usr/include/qt5/QtGui -I/usr/include/qt5 -DQT_CORE_LIB -I/usr/include/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/qt5/QtWidgets -I/usr/include/qt5 -DQT_GUI_LIB -I/usr/include/qt5/QtGui -DQT_CORE_LIB -I/usr/include/qt5/QtCore -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -MD -Wpointer-arith -Wmissing-declarations -Wshadow -Wwrite-strings -W -Wcast-align -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wdisabled-optimization -Wmissing-format-attribute -Wmultichar -Wformat=2 -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -Wvla --std=c++14 -fstack-protector-strong -c -o qphotorec-rcc_qphotorec_locale.o `test -f 'rcc_qphotorec_locale.cpp' || echo './'`rcc_qphotorec_locale.cpp make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o fidentify fidentify.o common.o misc.o phcfg.o setdate.o filegen.o file_list.o file_1cd.o file_3dm.o file_7z.o file_DB.o file_a.o file_ab.o file_abr.o file_acb.o file_ace.o file_ado.o file_afdesign.o file_ahn.o file_aif.o file_all.o file_als.o file_amd.o file_amr.o file_apa.o file_ape.o file_apple.o file_ari.o file_arj.o file_asf.o file_asl.o file_asm.o file_atd.o file_au.o file_axp.o file_axx.o file_bac.o file_bdm.o file_berkeley.o file_bim.o file_bin.o file_binvox.o file_bkf.o file_bld.o file_bmp.o file_bpg.o file_bvr.o file_bz2.o file_c4d.o file_cab.o file_caf.o file_cam.o file_catdrawing.o file_cdt.o file_che.o file_chm.o file_class.o file_cm.o file_compress.o file_cow.o file_cpi.o file_crw.o file_csh.o file_ctg.o file_cwk.o file_d2s.o file_dad.o file_dar.o file_dat.o file_dbf.o file_dbn.o file_dcm.o file_ddf.o file_dex.o file_dim.o file_dir.o file_djv.o file_dmp.o file_doc.o file_dpx.o file_drw.o file_ds2.o file_ds_store.o file_dsc.o file_dss.o file_dst.o file_dta.o file_dump.o file_dv.o file_dvi.o file_dvr.o file_dwg.o file_dxf.o file_e01.o file_edb.o file_ecryptfs.o file_elf.o file_emf.o file_ess.o file_evt.o file_evtx.o file_exe.o file_exs.o file_ext.o file_ext2.o file_fat.o file_fbf.o file_fbk.o file_fcp.o file_fcs.o file_fdb.o file_fds.o file_fh10.o file_fh5.o file_filevault.o file_fits.o file_fit.o file_flac.o file_flp.o file_flv.o file_fm.o file_fob.o file_fos.o file_fp5.o file_fp7.o file_freeway.o file_frm.o file_fs.o file_fwd.o file_gam.o file_gct.o file_gho.o file_gi.o file_gif.o file_gm6.o file_gp2.o file_gp5.o file_gpg.o file_gpx.o file_gsm.o file_gz.o file_hdf.o file_hdr.o file_hds.o file_hfsp.o file_hm.o file_hr9.o file_http.o file_ibd.o file_icc.o file_icns.o file_ico.o file_ifo.o file_idx.o file_imb.o file_indd.o file_info.o file_iso.o file_it.o file_itu.o file_jks.o file_jpg.o file_jsonlz4.o file_kdb.o file_kdbx.o file_key.o file_ldf.o file_lit.o file_lnk.o file_logic.o file_lso.o file_luks.o file_lxo.o file_lzh.o file_lzo.o file_m2ts.o file_mat.o file_max.o file_mb.o file_mcd.o file_mdb.o file_mdf.o file_mfa.o file_mfg.o file_mft.o file_mid.o file_mig.o file_mk5.o file_mkv.o file_mlv.o file_mobi.o file_mov.o file_mp3.o file_mpg.o file_mpl.o file_mrw.o file_msa.o file_mus.o file_mxf.o file_myo.o file_mysql.o file_nd2.o file_nds.o file_nes.o file_njx.o file_nk2.o file_nsf.o file_oci.o file_ogg.o file_one.o file_orf.o file_paf.o file_pap.o file_par2.o file_pcap.o file_pcb.o file_pct.o file_pcx.o file_pdb.o file_pdf.o file_pds.o file_pf.o file_pfx.o file_pgdump.o file_plist.o file_plr.o file_plt.o file_png.o file_pnm.o file_prc.o file_prd.o file_prt.o file_ps.o file_psb.o file_psd.o file_psf.o file_psp.o file_pst.o file_ptb.o file_ptf.o file_pyc.o file_pzf.o file_pzh.o file_qbb.o file_qdf.o file_qkt.o file_qxd.o file_r3d.o file_ra.o file_raf.o file_rar.o file_raw.o file_rdc.o file_reg.o file_res.o file_rfp.o file_riff.o file_rlv.o file_rm.o file_rns.o file_rpm.o file_rw2.o file_rx2.o file_save.o file_ses.o file_sgcta.o file_shn.o file_sib.o file_sig.o file_sit.o file_skd.o file_skp.o file_snag.o file_sp3.o file_spe.o file_spf.o file_spss.o file_sql.o file_sqm.o file_steuer2014.o file_stl.o file_stu.o file_studio.o file_swf.o file_tar.o file_tax.o file_tg.o file_tib.o file_tiff.o file_tiff_be.o file_tiff_le.o file_tivo.o file_torrent.o file_tph.o file_tpl.o file_ttf.o file_txt.o file_tz.o file_v2i.o file_vault.o file_vdi.o file_vdj.o file_veg.o file_vfb.o file_vib.o file_vmdk.o file_vmg.o file_wallet.o file_wdp.o file_wee.o file_wim.o file_win.o file_wks.o file_wld.o file_wmf.o file_wnk.o file_woff.o file_wpb.o file_wpd.o file_wtv.o file_wv.o file_x3f.o file_x3i.o file_x4a.o file_xar.o file_xcf.o file_xfi.o file_xfs.o file_xm.o file_xml.o file_xsv.o file_xpt.o file_xv.o file_xz.o file_z2d.o file_zcode.o file_zip.o file_zpr.o log.o crc.o ext2_common.o fat_common.o suspend_no.o -ljpeg -lewf -lz -luuid -lntfs-3g -lext2fs -lcom_err make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In function ‘header_check_doc’, inlined from ‘header_check_doc’ at file_doc.c:389:12: memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:447:11: note: called from here 447 | else if(td_memmem(buffer,buffer_size,"StarCalc",8)!=NULL) | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:451:11: note: called from here 451 | else if(td_memmem(buffer,buffer_size,"StarImpress",11)!=NULL) | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:455:11: note: called from here 455 | else if(td_memmem(buffer,buffer_size,"Worksheet",9)!=NULL || | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:456:7: note: called from here 456 | td_memmem(buffer,buffer_size,"Book",4)!=NULL || | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:457:7: note: called from here 457 | td_memmem(buffer,buffer_size,"Workbook",8)!=NULL || | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:458:7: note: called from here 458 | td_memmem(buffer,buffer_size,"Calc",4)!=NULL) | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:462:11: note: called from here 462 | else if(td_memmem(buffer,buffer_size,"Power",5)!=NULL) | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:466:11: note: called from here 466 | else if(td_memmem(buffer,buffer_size,"AccessObjSiteData",17)!=NULL) | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:470:11: note: called from here 470 | else if(td_memmem(buffer,buffer_size,"Visio",5)!=NULL) | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:474:11: note: called from here 474 | else if(td_memmem(buffer,buffer_size,"SfxDocument",11)!=NULL) | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:478:11: note: called from here 478 | else if(td_memmem(buffer,buffer_size,"CPicPage",8)!=NULL) | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:482:11: note: called from here 482 | else if(td_memmem(buffer,buffer_size,"Microsoft Publisher",19)!=NULL) | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:486:11: note: called from here 486 | else if(td_memmem(buffer, buffer_size, "Microsoft Works Database", 24)!=NULL | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:487:10: note: called from here 487 | || td_memmem( buffer, buffer_size, "MSWorksDBDoc", 12)!=NULL) | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:491:11: note: called from here 491 | else if(td_memmem(buffer,buffer_size,"MetaStock",9)!=NULL) | ^ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' g++ -DQT_GUI_LIB -I/usr/include/qt5/QtGui -I/usr/include/qt5 -DQT_CORE_LIB -I/usr/include/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/qt5/QtWidgets -I/usr/include/qt5 -DQT_GUI_LIB -I/usr/include/qt5/QtGui -DQT_CORE_LIB -I/usr/include/qt5/QtCore -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -MD -Wpointer-arith -Wmissing-declarations -Wshadow -Wwrite-strings -W -Wcast-align -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wdisabled-optimization -Wmissing-format-attribute -Wmultichar -Wformat=2 -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -Wvla --std=c++14 -fstack-protector-strong -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o qphotorec qphotorec-qmainrec.o qphotorec-qphotorec.o qphotorec-qphbs.o qphotorec-qpsearch.o chgtype.o photorec.o phcfg.o addpart.o chgarch.o dir.o exfatp.o ext2grp.o ext2_dir.o ext2p.o fat_dir.o fatp.o file_found.o geometry.o ntfs_dir.o ntfsp.o pdisksel.o phcli.o poptions.o sessionp.o setdate.o dfxml.o filegen.o file_list.o file_1cd.o file_3dm.o file_7z.o file_DB.o file_a.o file_ab.o file_abr.o file_acb.o file_ace.o file_ado.o file_afdesign.o file_ahn.o file_aif.o file_all.o file_als.o file_amd.o file_amr.o file_apa.o file_ape.o file_apple.o file_ari.o file_arj.o file_asf.o file_asl.o file_asm.o file_atd.o file_au.o file_axp.o file_axx.o file_bac.o file_bdm.o file_berkeley.o file_bim.o file_bin.o file_binvox.o file_bkf.o file_bld.o file_bmp.o file_bpg.o file_bvr.o file_bz2.o file_c4d.o file_cab.o file_caf.o file_cam.o file_catdrawing.o file_cdt.o file_che.o file_chm.o file_class.o file_cm.o file_compress.o file_cow.o file_cpi.o file_crw.o file_csh.o file_ctg.o file_cwk.o file_d2s.o file_dad.o file_dar.o file_dat.o file_dbf.o file_dbn.o file_dcm.o file_ddf.o file_dex.o file_dim.o file_dir.o file_djv.o file_dmp.o file_doc.o file_dpx.o file_drw.o file_ds2.o file_ds_store.o file_dsc.o file_dss.o file_dst.o file_dta.o file_dump.o file_dv.o file_dvi.o file_dvr.o file_dwg.o file_dxf.o file_e01.o file_edb.o file_ecryptfs.o file_elf.o file_emf.o file_ess.o file_evt.o file_evtx.o file_exe.o file_exs.o file_ext.o file_ext2.o file_fat.o file_fbf.o file_fbk.o file_fcp.o file_fcs.o file_fdb.o file_fds.o file_fh10.o file_fh5.o file_filevault.o file_fits.o file_fit.o file_flac.o file_flp.o file_flv.o file_fm.o file_fob.o file_fos.o file_fp5.o file_fp7.o file_freeway.o file_frm.o file_fs.o file_fwd.o file_gam.o file_gct.o file_gho.o file_gi.o file_gif.o file_gm6.o file_gp2.o file_gp5.o file_gpg.o file_gpx.o file_gsm.o file_gz.o file_hdf.o file_hdr.o file_hds.o file_hfsp.o file_hm.o file_hr9.o file_http.o file_ibd.o file_icc.o file_icns.o file_ico.o file_ifo.o file_idx.o file_imb.o file_indd.o file_info.o file_iso.o file_it.o file_itu.o file_jks.o file_jpg.o file_jsonlz4.o file_kdb.o file_kdbx.o file_key.o file_ldf.o file_lit.o file_lnk.o file_logic.o file_lso.o file_luks.o file_lxo.o file_lzh.o file_lzo.o file_m2ts.o file_mat.o file_max.o file_mb.o file_mcd.o file_mdb.o file_mdf.o file_mfa.o file_mfg.o file_mft.o file_mid.o file_mig.o file_mk5.o file_mkv.o file_mlv.o file_mobi.o file_mov.o file_mp3.o file_mpg.o file_mpl.o file_mrw.o file_msa.o file_mus.o file_mxf.o file_myo.o file_mysql.o file_nd2.o file_nds.o file_nes.o file_njx.o file_nk2.o file_nsf.o file_oci.o file_ogg.o file_one.o file_orf.o file_paf.o file_pap.o file_par2.o file_pcap.o file_pcb.o file_pct.o file_pcx.o file_pdb.o file_pdf.o file_pds.o file_pf.o file_pfx.o file_pgdump.o file_plist.o file_plr.o file_plt.o file_png.o file_pnm.o file_prc.o file_prd.o file_prt.o file_ps.o file_psb.o file_psd.o file_psf.o file_psp.o file_pst.o file_ptb.o file_ptf.o file_pyc.o file_pzf.o file_pzh.o file_qbb.o file_qdf.o file_qkt.o file_qxd.o file_r3d.o file_ra.o file_raf.o file_rar.o file_raw.o file_rdc.o file_reg.o file_res.o file_rfp.o file_riff.o file_rlv.o file_rm.o file_rns.o file_rpm.o file_rw2.o file_rx2.o file_save.o file_ses.o file_sgcta.o file_shn.o file_sib.o file_sig.o file_sit.o file_skd.o file_skp.o file_snag.o file_sp3.o file_spe.o file_spf.o file_spss.o file_sql.o file_sqm.o file_steuer2014.o file_stl.o file_stu.o file_studio.o file_swf.o file_tar.o file_tax.o file_tg.o file_tib.o file_tiff.o file_tiff_be.o file_tiff_le.o file_tivo.o file_torrent.o file_tph.o file_tpl.o file_ttf.o file_txt.o file_tz.o file_v2i.o file_vault.o file_vdi.o file_vdj.o file_veg.o file_vfb.o file_vib.o file_vmdk.o file_vmg.o file_wallet.o file_wdp.o file_wee.o file_wim.o file_win.o file_wks.o file_wld.o file_wmf.o file_wnk.o file_woff.o file_wpb.o file_wpd.o file_wtv.o file_wv.o file_x3f.o file_x3i.o file_x4a.o file_xar.o file_xcf.o file_xfi.o file_xfs.o file_xm.o file_xml.o file_xsv.o file_xpt.o file_xv.o file_xz.o file_z2d.o file_zcode.o file_zip.o file_zpr.o autoset.o common.o crc.o ewf.o fnctdsk.o hdaccess.o hdcache.o hdwin32.o hidden.o hpa_dco.o intrf.o iso.o list_sort.o log.o log_part.o misc.o msdos.o parti386.o partgpt.o parthumax.o partmac.o partsun.o partnone.o partxbox.o io_redir.o ntfs_io.o ntfs_utl.o partauto.o sudo.o unicode.o win32.o partgptro.o analyse.o bfs.o bsd.o btrfs.o cramfs.o exfat.o ext2.o ext2_common.o fat.o fat_common.o fatx.o f2fs.o jfs.o gfs2.o hfs.o hfsp.o hpfs.o luks.o lvm.o md.o netware.o ntfs.o refs.o rfs.o savehdr.o sun.o swap.o sysv.o ufs.o vmfs.o wbfs.o xfs.o zfs.o suspend_no.o qphotorec-moc_qphotorec.o qphotorec-rcc_qphotorec.o qphotorec-rcc_qphotorec_locale.o -ljpeg -lQt5Gui -lQt5Core -lQt5Widgets -lQt5Gui -lQt5Core -lewf -lz -luuid -lntfs-3g -lext2fs -lcom_err In function ‘header_check_doc’, inlined from ‘header_check_doc’ at file_doc.c:389:12: memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:447:11: note: called from here 447 | else if(td_memmem(buffer,buffer_size,"StarCalc",8)!=NULL) | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:451:11: note: called from here 451 | else if(td_memmem(buffer,buffer_size,"StarImpress",11)!=NULL) | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:455:11: note: called from here 455 | else if(td_memmem(buffer,buffer_size,"Worksheet",9)!=NULL || | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:456:7: note: called from here 456 | td_memmem(buffer,buffer_size,"Book",4)!=NULL || | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:457:7: note: called from here 457 | td_memmem(buffer,buffer_size,"Workbook",8)!=NULL || | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:458:7: note: called from here 458 | td_memmem(buffer,buffer_size,"Calc",4)!=NULL) | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:462:11: note: called from here 462 | else if(td_memmem(buffer,buffer_size,"Power",5)!=NULL) | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:466:11: note: called from here 466 | else if(td_memmem(buffer,buffer_size,"AccessObjSiteData",17)!=NULL) | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:470:11: note: called from here 470 | else if(td_memmem(buffer,buffer_size,"Visio",5)!=NULL) | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:474:11: note: called from here 474 | else if(td_memmem(buffer,buffer_size,"SfxDocument",11)!=NULL) | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:478:11: note: called from here 478 | else if(td_memmem(buffer,buffer_size,"CPicPage",8)!=NULL) | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:482:11: note: called from here 482 | else if(td_memmem(buffer,buffer_size,"Microsoft Publisher",19)!=NULL) | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:486:11: note: called from here 486 | else if(td_memmem(buffer, buffer_size, "Microsoft Works Database", 24)!=NULL | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:487:10: note: called from here 487 | || td_memmem( buffer, buffer_size, "MSWorksDBDoc", 12)!=NULL) | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:491:11: note: called from here 491 | else if(td_memmem(buffer,buffer_size,"MetaStock",9)!=NULL) | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Nothing to be done for 'all-am'. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.uNn073 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/testdisk-7.1-11.fc40.s390x '!=' / ']' + rm -rf /builddir/build/BUILDROOT/testdisk-7.1-11.fc40.s390x ++ dirname /builddir/build/BUILDROOT/testdisk-7.1-11.fc40.s390x + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/testdisk-7.1-11.fc40.s390x + 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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd testdisk-7.1 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/testdisk-7.1-11.fc40.s390x 'INSTALL=/usr/bin/install -p' Making install in icons make[1]: Entering directory '/builddir/build/BUILD/testdisk-7.1/icons' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/icons' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/testdisk-7.1-11.fc40.s390x/usr/share/icons/hicolor' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/testdisk-7.1-11.fc40.s390x/usr/share/icons/hicolor/48x48/apps' /usr/bin/install -p -m 644 48x48/apps/qphotorec.png '/builddir/build/BUILDROOT/testdisk-7.1-11.fc40.s390x/usr/share/icons/hicolor/48x48/apps' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/testdisk-7.1-11.fc40.s390x/usr/share/icons/hicolor/scalable/apps' /usr/bin/install -p -m 644 scalable/apps/qphotorec.svg '/builddir/build/BUILDROOT/testdisk-7.1-11.fc40.s390x/usr/share/icons/hicolor/scalable/apps' /usr/bin/make install-data-hook make[3]: Entering directory '/builddir/build/BUILD/testdisk-7.1/icons' *** Icon cache not updated. After (un)install, run this: *** gtk-update-icon-cache -f -t /usr/share/icons/hicolor make[3]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/icons' make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/icons' make[1]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/icons' Making install in man make[1]: Entering directory '/builddir/build/BUILD/testdisk-7.1/man' Making install in zh_CN make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/man/zh_CN' make[3]: Entering directory '/builddir/build/BUILD/testdisk-7.1/man/zh_CN' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/testdisk-7.1-11.fc40.s390x/usr/share/man/zh_CN/man8' /usr/bin/install -p -m 644 testdisk.8 photorec.8 fidentify.8 qphotorec.8 '/builddir/build/BUILDROOT/testdisk-7.1-11.fc40.s390x/usr/share/man/zh_CN/man8' make[3]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/man/zh_CN' make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/man/zh_CN' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/man' make[3]: Entering directory '/builddir/build/BUILD/testdisk-7.1/man' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/testdisk-7.1-11.fc40.s390x/usr/share/man/man8' /usr/bin/install -p -m 644 testdisk.8 photorec.8 fidentify.8 qphotorec.8 '/builddir/build/BUILDROOT/testdisk-7.1-11.fc40.s390x/usr/share/man/man8' make[3]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/man' make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/man' make[1]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/man' Making install in src make[1]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/testdisk-7.1-11.fc40.s390x/usr/bin' /usr/bin/install -p testdisk photorec fidentify qphotorec '/builddir/build/BUILDROOT/testdisk-7.1-11.fc40.s390x/usr/bin' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[1]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[1]: Entering directory '/builddir/build/BUILD/testdisk-7.1' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/make install-data-hook make[3]: Entering directory '/builddir/build/BUILD/testdisk-7.1' /bin/sh /builddir/build/BUILD/testdisk-7.1/config/install-sh -d /builddir/build/BUILDROOT/testdisk-7.1-11.fc40.s390x/usr/share/doc/testdisk /usr/bin/install -p -m 644 ./AUTHORS ./ChangeLog ./NEWS ./README.md ./THANKS ./documentation.html /builddir/build/BUILDROOT/testdisk-7.1-11.fc40.s390x/usr/share/doc/testdisk /bin/sh /builddir/build/BUILD/testdisk-7.1/config/install-sh -d /builddir/build/BUILDROOT/testdisk-7.1-11.fc40.s390x/usr/share/applications /usr/bin/install -p -m 644 ./linux/qphotorec.desktop /builddir/build/BUILDROOT/testdisk-7.1-11.fc40.s390x/usr/share/applications make[3]: Leaving directory '/builddir/build/BUILD/testdisk-7.1' make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1' make[1]: Leaving directory '/builddir/build/BUILD/testdisk-7.1' + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 7.1-11.fc40 --unique-debug-suffix -7.1-11.fc40.s390x --unique-debug-src-base testdisk-7.1-11.fc40.s390x --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/testdisk-7.1 find-debuginfo: starting Extracting debug info from 4 files DWARF-compressing 4 files sepdebugcrcfix: Updated 4 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/testdisk-7.1-11.fc40.s390x 6912 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j2 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.wT3er5 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd testdisk-7.1 + desktop-file-validate /builddir/build/BUILDROOT/testdisk-7.1-11.fc40.s390x//usr/share/applications/qphotorec.desktop + RPM_EC=0 ++ jobs -p + exit 0 Processing files: testdisk-7.1-11.fc40.s390x Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.CtauLs + umask 022 + cd /builddir/build/BUILD + cd testdisk-7.1 + DOCDIR=/builddir/build/BUILDROOT/testdisk-7.1-11.fc40.s390x/usr/share/doc/testdisk + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/testdisk-7.1-11.fc40.s390x/usr/share/doc/testdisk + cp -pr /builddir/build/BUILD/testdisk-7.1/AUTHORS /builddir/build/BUILDROOT/testdisk-7.1-11.fc40.s390x/usr/share/doc/testdisk + cp -pr /builddir/build/BUILD/testdisk-7.1/ChangeLog /builddir/build/BUILDROOT/testdisk-7.1-11.fc40.s390x/usr/share/doc/testdisk + cp -pr /builddir/build/BUILD/testdisk-7.1/NEWS /builddir/build/BUILDROOT/testdisk-7.1-11.fc40.s390x/usr/share/doc/testdisk + cp -pr /builddir/build/BUILD/testdisk-7.1/README.md /builddir/build/BUILDROOT/testdisk-7.1-11.fc40.s390x/usr/share/doc/testdisk + cp -pr /builddir/build/BUILD/testdisk-7.1/THANKS /builddir/build/BUILDROOT/testdisk-7.1-11.fc40.s390x/usr/share/doc/testdisk + cp -pr /builddir/build/BUILD/testdisk-7.1/documentation.html /builddir/build/BUILDROOT/testdisk-7.1-11.fc40.s390x/usr/share/doc/testdisk + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.9F1qKx + umask 022 + cd /builddir/build/BUILD + cd testdisk-7.1 + LICENSEDIR=/builddir/build/BUILDROOT/testdisk-7.1-11.fc40.s390x/usr/share/licenses/testdisk + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/testdisk-7.1-11.fc40.s390x/usr/share/licenses/testdisk + cp -pr /builddir/build/BUILD/testdisk-7.1/COPYING /builddir/build/BUILDROOT/testdisk-7.1-11.fc40.s390x/usr/share/licenses/testdisk + RPM_EC=0 ++ jobs -p + exit 0 Provides: testdisk = 7.1-11.fc40 testdisk(s390-64) = 7.1-11.fc40 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.11)(64bit) libc.so.6(GLIBC_2.2)(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.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_2.7)(64bit) libewf.so.2()(64bit) libext2fs.so.2()(64bit) libjpeg.so.62()(64bit) libjpeg.so.62(LIBJPEG_6.2)(64bit) libncursesw.so.6()(64bit) libntfs-3g.so.89()(64bit) libtinfo.so.6()(64bit) libuuid.so.1()(64bit) libuuid.so.1(UUID_1.0)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Obsoletes: testdisk-doc < 6.12 Processing files: qphotorec-7.1-11.fc40.s390x Provides: application() application(qphotorec.desktop) qphotorec = 7.1-11.fc40 qphotorec(s390-64) = 7.1-11.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libQt5Core.so.5()(64bit) libQt5Core.so.5(Qt_5)(64bit) libQt5Gui.so.5()(64bit) libQt5Gui.so.5(Qt_5)(64bit) libQt5Widgets.so.5()(64bit) libQt5Widgets.so.5(Qt_5)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.11)(64bit) libc.so.6(GLIBC_2.2)(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libewf.so.2()(64bit) libext2fs.so.2()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libjpeg.so.62()(64bit) libjpeg.so.62(LIBJPEG_6.2)(64bit) libntfs-3g.so.89()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: testdisk-debugsource-7.1-11.fc40.s390x Provides: testdisk-debugsource = 7.1-11.fc40 testdisk-debugsource(s390-64) = 7.1-11.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: testdisk-debuginfo-7.1-11.fc40.s390x Provides: debuginfo(build-id) = b4d806679e0efd6d64d71b0989c7a31882de9c0c debuginfo(build-id) = e8ac247d0e31ca2057760a422f6530264c603f39 debuginfo(build-id) = e9f6220a376ca86c6aa01dd2fb59e42b896ae26f testdisk-debuginfo = 7.1-11.fc40 testdisk-debuginfo(s390-64) = 7.1-11.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: testdisk-debugsource(s390-64) = 7.1-11.fc40 Processing files: qphotorec-debuginfo-7.1-11.fc40.s390x Provides: debuginfo(build-id) = 8c8216da69781b2bd319eef3ccceaeccb8cd53f3 qphotorec-debuginfo = 7.1-11.fc40 qphotorec-debuginfo(s390-64) = 7.1-11.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: testdisk-debugsource(s390-64) = 7.1-11.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/testdisk-7.1-11.fc40.s390x Wrote: /builddir/build/RPMS/qphotorec-debuginfo-7.1-11.fc40.s390x.rpm Wrote: /builddir/build/RPMS/testdisk-debuginfo-7.1-11.fc40.s390x.rpm Wrote: /builddir/build/RPMS/testdisk-7.1-11.fc40.s390x.rpm Wrote: /builddir/build/RPMS/testdisk-debugsource-7.1-11.fc40.s390x.rpm Wrote: /builddir/build/RPMS/qphotorec-7.1-11.fc40.s390x.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.g0Mlmw + umask 022 + cd /builddir/build/BUILD + cd testdisk-7.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/testdisk-7.1-11.fc40.s390x + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.92IowX + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/testdisk-7.1-SPECPARTS + rm -rf testdisk-7.1 testdisk-7.1.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Finish: rpmbuild testdisk-7.1-11.fc40.src.rpm Finish: build phase for testdisk-7.1-11.fc40.src.rpm INFO: chroot_scan: 3 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/fedora-rawhide-s390x-1695092308.936586/root/var/log/dnf.rpm.log /var/lib/mock/fedora-rawhide-s390x-1695092308.936586/root/var/log/dnf.librepo.log /var/lib/mock/fedora-rawhide-s390x-1695092308.936586/root/var/log/dnf.log INFO: Done(/var/lib/copr-rpmbuild/results/testdisk-7.1-11.fc40.src.rpm) Config(child) 1 minutes 38 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": "testdisk", "epoch": null, "version": "7.1", "release": "11.fc40", "arch": "src" }, { "name": "testdisk", "epoch": null, "version": "7.1", "release": "11.fc40", "arch": "s390x" }, { "name": "testdisk-debuginfo", "epoch": null, "version": "7.1", "release": "11.fc40", "arch": "s390x" }, { "name": "testdisk-debugsource", "epoch": null, "version": "7.1", "release": "11.fc40", "arch": "s390x" }, { "name": "qphotorec", "epoch": null, "version": "7.1", "release": "11.fc40", "arch": "s390x" }, { "name": "qphotorec-debuginfo", "epoch": null, "version": "7.1", "release": "11.fc40", "arch": "s390x" } ] } RPMResults finished