https://launchpad.net/ubuntu/+source/testdisk/7.1-5+nmu1build2/+build/28013552 RUN: /usr/share/launchpad-buildd/bin/builder-prep Kernel version: Linux bos02-s390x-003 5.4.0-173-generic #191-Ubuntu SMP Fri Feb 2 13:54:49 UTC 2024 s390x Buildd toolchain package versions: launchpad-buildd_236~650~ubuntu20.04.1 python3-lpbuildd_236~650~ubuntu20.04.1 sbuild_0.79.0-1ubuntu1 git-build-recipe_0.3.6 git_1:2.25.1-1ubuntu3.11 dpkg-dev_1.19.7ubuntu3.2 python3-debian_0.1.36ubuntu1.1. Syncing the system clock with the buildd NTP service... 3 Apr 12:29:43 ntpdate[1883]: adjust time server 10.211.37.1 offset 0.012758 sec RUN: /usr/share/launchpad-buildd/bin/in-target unpack-chroot --backend=chroot --series=noble --arch=s390x PACKAGEBUILD-28013552 --image-type chroot /home/buildd/filecache-default/c23f799bb684944311373fdcead5a58221fa6ef7 Creating target for build PACKAGEBUILD-28013552 RUN: /usr/share/launchpad-buildd/bin/in-target mount-chroot --backend=chroot --series=noble --arch=s390x PACKAGEBUILD-28013552 Starting target for build PACKAGEBUILD-28013552 RUN: /usr/share/launchpad-buildd/bin/in-target override-sources-list --backend=chroot --series=noble --arch=s390x PACKAGEBUILD-28013552 'deb http://ftpmaster.internal/ubuntu noble main universe' 'deb http://ftpmaster.internal/ubuntu noble-security main universe' 'deb http://ftpmaster.internal/ubuntu noble-updates main universe' 'deb http://ftpmaster.internal/ubuntu noble-proposed main universe' Overriding sources.list in build-PACKAGEBUILD-28013552 RUN: /usr/share/launchpad-buildd/bin/in-target update-debian-chroot --backend=chroot --series=noble --arch=s390x PACKAGEBUILD-28013552 Updating target for build PACKAGEBUILD-28013552 Get:1 http://ftpmaster.internal/ubuntu noble InRelease [255 kB] Get:2 http://ftpmaster.internal/ubuntu noble-security InRelease [90.7 kB] Get:3 http://ftpmaster.internal/ubuntu noble-updates InRelease [89.7 kB] Get:4 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] Get:5 http://ftpmaster.internal/ubuntu noble/main s390x Packages [1358 kB] Get:6 http://ftpmaster.internal/ubuntu noble/main Translation-en [513 kB] Get:7 http://ftpmaster.internal/ubuntu noble/universe s390x Packages [14.4 MB] Get:8 http://ftpmaster.internal/ubuntu noble/universe Translation-en [6097 kB] Get:9 http://ftpmaster.internal/ubuntu noble-updates/main s390x Packages [675 kB] Get:10 http://ftpmaster.internal/ubuntu noble-updates/main Translation-en [242 kB] Get:11 http://ftpmaster.internal/ubuntu noble-updates/universe s390x Packages [4414 kB] Get:12 http://ftpmaster.internal/ubuntu noble-updates/universe Translation-en [1693 kB] Get:13 http://ftpmaster.internal/ubuntu noble-proposed/main s390x Packages [625 kB] Get:14 http://ftpmaster.internal/ubuntu noble-proposed/main Translation-en [227 kB] Get:15 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x Packages [3584 kB] Get:16 http://ftpmaster.internal/ubuntu noble-proposed/universe Translation-en [1562 kB] Fetched 36.0 MB in 8s (4283 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... The following packages were automatically installed and are no longer required: libnsl-dev libperl5.36 libtirpc-dev libunistring2 perl-modules-5.36 Use 'sudo apt autoremove' to remove them. The following packages will be REMOVED: libapt-pkg6.0* libdb5.3* libext2fs2* libgdbm-compat4* libgdbm6* libgnutls30* libhogweed6* libnettle8* libnpth0* libpng16-16* libreadline8* libssl3* libtirpc3* usrmerge* The following NEW packages will be installed: cpp-13-s390x-linux-gnu cpp-s390x-linux-gnu g++-13-s390x-linux-gnu g++-s390x-linux-gnu gcc-13-s390x-linux-gnu gcc-14-base gcc-s390x-linux-gnu libapt-pkg6.0t64 libdb5.3t64 libext2fs2t64 libgdbm-compat4t64 libgdbm6t64 libgnutls30t64 libhogweed6t64 libnettle8t64 libnpth0t64 libperl5.38t64 libpng16-16t64 libreadline8t64 libssl3t64 libtirpc3t64 libunistring5 perl-modules-5.38 The following packages will be upgraded: apt apt-utils base-files base-passwd bash bash-completion binutils binutils-common binutils-s390x-linux-gnu bsdextrautils bsdutils bzip2 ca-certificates coreutils cpp cpp-13 dash debconf debconf-i18n debianutils diffutils dpkg dpkg-dev e2fsprogs fakeroot g++ g++-13 gcc gcc-13 gcc-13-base gpg gpg-agent gpgconf gpgv grep gzip hostname init init-system-helpers krb5-locales libacl1 libapparmor1 libargon2-1 libasan8 libatomic1 libattr1 libaudit-common libaudit1 libbinutils libblkid1 libbz2-1.0 libc-bin libc-dev-bin libc6 libc6-dev libcap-ng0 libcap2 libcc1-0 libcom-err2 libcrypt-dev libcrypt1 libcryptsetup12 libctf-nobfd0 libctf0 libdebconfclient0 libdevmapper1.02.1 libdpkg-perl libfakeroot libfdisk1 libffi8 libgcc-13-dev libgcc-s1 libgcrypt20 libgomp1 libgpg-error-l10n libgpg-error0 libgpm2 libgssapi-krb5-2 libidn2-0 libip4tc2 libitm1 libjansson4 libk5crypto3 libkeyutils1 libkmod2 libkrb5-3 libkrb5support0 liblocale-gettext-perl liblzma5 libmd0 libmount1 libncursesw6 libnsl-dev libnsl2 libnss-nisplus libp11-kit0 libpam-modules libpam-modules-bin libpam-runtime libpam0g libpcre2-8-0 libproc2-0 libseccomp2 libselinux1 libsemanage-common libsemanage2 libsepol2 libsframe1 libsmartcols1 libsqlite3-0 libss2 libstdc++-13-dev libstdc++6 libsystemd-shared libsystemd0 libtext-charwidth-perl libtext-iconv-perl libtinfo6 libtirpc-common libtirpc-dev libubsan1 libudev1 libuuid1 libxxhash0 libzstd1 linux-libc-dev login logsave lto-disabled-list mawk mount ncurses-base ncurses-bin openssl optipng passwd perl perl-base pinentry-curses procps psmisc readline-common sed sensible-utils systemd systemd-dev systemd-sysv sysvinit-utils tar tzdata ubuntu-keyring util-linux uuid-runtime xz-utils zlib1g 155 upgraded, 23 newly installed, 14 to remove and 0 not upgraded. Need to get 105 MB of archives. After this operation, 76.0 MB of additional disk space will be used. Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libnsl-dev s390x 1.3.0-3build3 [73.1 kB] Get:2 http://ftpmaster.internal/ubuntu noble/main s390x libcrypt-dev s390x 1:4.4.36-4 [135 kB] Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libc6-dev s390x 2.39-0ubuntu8 [1629 kB] Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libc-dev-bin s390x 2.39-0ubuntu8 [20.2 kB] Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libtirpc-common all 1.3.4+ds-1.1build1 [8094 B] Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libtirpc-dev s390x 1.3.4+ds-1.1build1 [197 kB] Get:7 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libnss-nisplus s390x 1.3-5build1 [23.8 kB] Get:8 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libtirpc3t64 s390x 1.3.4+ds-1.1build1 [85.9 kB] Get:9 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libgssapi-krb5-2 s390x 1.20.1-6ubuntu2 [149 kB] Get:10 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libkrb5-3 s390x 1.20.1-6ubuntu2 [360 kB] Get:11 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libk5crypto3 s390x 1.20.1-6ubuntu2 [90.3 kB] Get:12 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libkrb5support0 s390x 1.20.1-6ubuntu2 [34.7 kB] Get:13 http://ftpmaster.internal/ubuntu noble/main s390x libacl1 s390x 2.3.2-1 [18.0 kB] Get:14 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libapparmor1 s390x 4.0.0-beta3-0ubuntu3 [50.8 kB] Get:15 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libaudit-common all 1:3.1.2-2.1build1 [5736 B] Get:16 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libcap-ng0 s390x 0.8.4-2build2 [15.8 kB] Get:17 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libaudit1 s390x 1:3.1.2-2.1build1 [48.9 kB] Get:18 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libblkid1 s390x 2.39.3-9ubuntu4 [128 kB] Get:19 http://ftpmaster.internal/ubuntu noble/main s390x libcap2 s390x 1:2.66-5ubuntu1 [31.7 kB] Get:20 http://ftpmaster.internal/ubuntu noble/main s390x libcrypt1 s390x 1:4.4.36-4 [102 kB] Get:21 http://ftpmaster.internal/ubuntu noble/main s390x libgpg-error-l10n all 1.47-3build1 [8024 B] Get:22 http://ftpmaster.internal/ubuntu noble/main s390x libgpg-error0 s390x 1.47-3build1 [75.6 kB] Get:23 http://ftpmaster.internal/ubuntu noble/main s390x libgcrypt20 s390x 1.10.3-2 [499 kB] Get:24 http://ftpmaster.internal/ubuntu noble/main s390x liblzma5 s390x 5.6.1+really5.4.5-1 [135 kB] Get:25 http://ftpmaster.internal/ubuntu noble/main s390x libzstd1 s390x 1.5.5+dfsg2-2 [336 kB] Get:26 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libkmod2 s390x 31+20240202-2ubuntu5 [56.3 kB] Get:27 http://ftpmaster.internal/ubuntu noble/main s390x libpcre2-8-0 s390x 10.42-4ubuntu1 [243 kB] Get:28 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libselinux1 s390x 3.5-2ubuntu2 [84.8 kB] Get:29 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libmount1 s390x 2.39.3-9ubuntu4 [138 kB] Get:30 http://ftpmaster.internal/ubuntu noble-proposed/main s390x perl-modules-5.38 all 5.38.2-3.2build1 [3110 kB] Get:31 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libdb5.3t64 s390x 5.3.28+dfsg2-6build1 [763 kB] Get:32 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libgdbm6t64 s390x 1.23-5.1build1 [36.5 kB] Get:33 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libgdbm-compat4t64 s390x 1.23-5.1build1 [6890 B] Get:34 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libperl5.38t64 s390x 5.38.2-3.2build1 [5008 kB] Get:35 http://ftpmaster.internal/ubuntu noble-proposed/main s390x perl s390x 5.38.2-3.2build1 [231 kB] Get:36 http://ftpmaster.internal/ubuntu noble-proposed/main s390x perl-base s390x 5.38.2-3.2build1 [1968 kB] Get:37 http://ftpmaster.internal/ubuntu noble-proposed/main s390x liblocale-gettext-perl s390x 1.07-6ubuntu5 [15.8 kB] Get:38 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libtext-iconv-perl s390x 1.7-8build3 [13.8 kB] Get:39 http://ftpmaster.internal/ubuntu noble/main s390x libtext-charwidth-perl s390x 0.04-11build3 [9518 B] Get:40 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libc6 s390x 2.39-0ubuntu8 [2847 kB] Get:41 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libc-bin s390x 2.39-0ubuntu8 [654 kB] Get:42 http://ftpmaster.internal/ubuntu noble-proposed/main s390x openssl s390x 3.0.13-0ubuntu3 [1009 kB] Get:43 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libsystemd-shared s390x 255.4-1ubuntu6 [2131 kB] Get:44 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libcryptsetup12 s390x 2:2.7.0-1ubuntu3 [264 kB] Get:45 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libssl3t64 s390x 3.0.13-0ubuntu3 [1675 kB] Get:46 http://ftpmaster.internal/ubuntu noble-proposed/main s390x systemd-dev all 255.4-1ubuntu6 [104 kB] Get:47 http://ftpmaster.internal/ubuntu noble-proposed/main s390x systemd-sysv s390x 255.4-1ubuntu6 [11.9 kB] Get:48 http://ftpmaster.internal/ubuntu noble-proposed/main s390x systemd s390x 255.4-1ubuntu6 [3533 kB] Get:49 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libsystemd0 s390x 255.4-1ubuntu6 [443 kB] Get:50 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libpam-modules-bin s390x 1.5.3-5ubuntu4 [57.2 kB] Get:51 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libpam-modules s390x 1.5.3-5ubuntu4 [289 kB] Get:52 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libnettle8t64 s390x 3.9.1-2.2build1 [210 kB] Get:53 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libhogweed6t64 s390x 3.9.1-2.2build1 [204 kB] Get:54 http://ftpmaster.internal/ubuntu noble/main s390x libp11-kit0 s390x 0.25.3-4ubuntu1 [318 kB] Get:55 http://ftpmaster.internal/ubuntu noble/main s390x libunistring5 s390x 1.1-2 [544 kB] Get:56 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libgnutls30t64 s390x 3.8.3-1.1ubuntu3 [944 kB] Get:57 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libapt-pkg6.0t64 s390x 2.7.14build2 [1014 kB] Get:58 http://ftpmaster.internal/ubuntu noble-proposed/main s390x bzip2 s390x 1.0.8-5.1 [35.5 kB] Get:59 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libbz2-1.0 s390x 1.0.8-5.1 [40.0 kB] Get:60 http://ftpmaster.internal/ubuntu noble/main s390x gcc-14-base s390x 14-20240330-1ubuntu2 [47.4 kB] Get:61 http://ftpmaster.internal/ubuntu noble/main s390x libgcc-s1 s390x 14-20240330-1ubuntu2 [35.9 kB] Get:62 http://ftpmaster.internal/ubuntu noble/main s390x libstdc++6 s390x 14-20240330-1ubuntu2 [905 kB] Get:63 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libudev1 s390x 255.4-1ubuntu6 [178 kB] Get:64 http://ftpmaster.internal/ubuntu noble/main s390x libxxhash0 s390x 0.8.2-2 [23.6 kB] Get:65 http://ftpmaster.internal/ubuntu noble-proposed/main s390x zlib1g s390x 1:1.3.dfsg-3.1ubuntu2 [75.9 kB] Get:66 http://ftpmaster.internal/ubuntu noble/main s390x libffi8 s390x 3.4.6-1 [23.0 kB] Get:67 http://ftpmaster.internal/ubuntu noble/main s390x libidn2-0 s390x 2.3.7-2 [67.2 kB] Get:68 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libdebconfclient0 s390x 0.271ubuntu3 [11.4 kB] Get:69 http://ftpmaster.internal/ubuntu noble/main s390x base-passwd s390x 3.6.3 [51.1 kB] Get:70 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libsqlite3-0 s390x 3.45.1-1ubuntu2 [747 kB] Get:71 http://ftpmaster.internal/ubuntu noble-proposed/main s390x gpg s390x 2.4.4-2ubuntu16 [589 kB] Get:72 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libreadline8t64 s390x 8.2-4build1 [171 kB] Get:73 http://ftpmaster.internal/ubuntu noble-proposed/main s390x readline-common all 8.2-4build1 [56.5 kB] Get:74 http://ftpmaster.internal/ubuntu noble/main s390x libncursesw6 s390x 6.4+20240113-1ubuntu1 [161 kB] Get:75 http://ftpmaster.internal/ubuntu noble/main s390x libtinfo6 s390x 6.4+20240113-1ubuntu1 [117 kB] Get:76 http://ftpmaster.internal/ubuntu noble-proposed/main s390x gpg-agent s390x 2.4.4-2ubuntu16 [240 kB] Get:77 http://ftpmaster.internal/ubuntu noble-proposed/main s390x gpgconf s390x 2.4.4-2ubuntu16 [111 kB] Get:78 http://ftpmaster.internal/ubuntu noble-proposed/main s390x pinentry-curses s390x 1.2.1-3ubuntu5 [37.6 kB] Get:79 http://ftpmaster.internal/ubuntu noble/main s390x init-system-helpers all 1.66ubuntu1 [39.4 kB] Get:80 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libnpth0t64 s390x 1.6-3.1build1 [8204 B] Get:81 http://ftpmaster.internal/ubuntu noble-proposed/main s390x gpgv s390x 2.4.4-2ubuntu16 [165 kB] Get:82 http://ftpmaster.internal/ubuntu noble/main s390x ubuntu-keyring all 2023.11.28.1 [11.1 kB] Get:83 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libseccomp2 s390x 2.5.5-1ubuntu3 [53.4 kB] Get:84 http://ftpmaster.internal/ubuntu noble-proposed/main s390x apt-utils s390x 2.7.14build2 [214 kB] Get:85 http://ftpmaster.internal/ubuntu noble-proposed/main s390x apt s390x 2.7.14build2 [1390 kB] Get:86 http://ftpmaster.internal/ubuntu noble/main s390x debconf-i18n all 1.5.86 [205 kB] Get:87 http://ftpmaster.internal/ubuntu noble/main s390x debconf all 1.5.86 [124 kB] Get:88 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libpam0g s390x 1.5.3-5ubuntu4 [69.7 kB] Get:89 http://ftpmaster.internal/ubuntu noble/main s390x libargon2-1 s390x 0~20190702+dfsg-4 [53.1 kB] Get:90 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libdevmapper1.02.1 s390x 2:1.02.185-3ubuntu3 [142 kB] Get:91 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libuuid1 s390x 2.39.3-9ubuntu4 [35.8 kB] Get:92 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libfdisk1 s390x 2.39.3-9ubuntu4 [151 kB] Get:93 http://ftpmaster.internal/ubuntu noble-proposed/main s390x mount s390x 2.39.3-9ubuntu4 [119 kB] Get:94 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libcom-err2 s390x 1.47.0-2.4~exp1ubuntu3 [22.9 kB] Get:95 http://ftpmaster.internal/ubuntu noble/main s390x libkeyutils1 s390x 1.6.3-3 [9448 B] Get:96 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libnsl2 s390x 1.3.0-3build3 [44.1 kB] Get:97 http://ftpmaster.internal/ubuntu noble/main s390x linux-libc-dev s390x 6.8.0-20.20 [1592 kB] Get:98 http://ftpmaster.internal/ubuntu noble-proposed/main s390x base-files s390x 13ubuntu9 [73.7 kB] Get:99 http://ftpmaster.internal/ubuntu noble-proposed/main s390x debianutils s390x 5.17build1 [90.2 kB] Get:100 http://ftpmaster.internal/ubuntu noble-proposed/main s390x bash s390x 5.2.21-2ubuntu4 [845 kB] Get:101 http://ftpmaster.internal/ubuntu noble-proposed/main s390x bsdutils s390x 1:2.39.3-9ubuntu4 [96.3 kB] Get:102 http://ftpmaster.internal/ubuntu noble-proposed/main s390x coreutils s390x 9.4-3ubuntu5 [1482 kB] Get:103 http://ftpmaster.internal/ubuntu noble/main s390x tar s390x 1.35+dfsg-3 [269 kB] Get:104 http://ftpmaster.internal/ubuntu noble-proposed/main s390x dpkg s390x 1.22.6ubuntu6 [1278 kB] Get:105 http://ftpmaster.internal/ubuntu noble/main s390x dash s390x 0.5.12-6ubuntu5 [95.0 kB] Get:106 http://ftpmaster.internal/ubuntu noble/main s390x diffutils s390x 1:3.10-1 [187 kB] Get:107 http://ftpmaster.internal/ubuntu noble/main s390x grep s390x 3.11-4 [189 kB] Get:108 http://ftpmaster.internal/ubuntu noble/main s390x gzip s390x 1.12-1ubuntu2 [106 kB] Get:109 http://ftpmaster.internal/ubuntu noble/main s390x hostname s390x 3.23+nmu2ubuntu1 [11.1 kB] Get:110 http://ftpmaster.internal/ubuntu noble/main s390x login s390x 1:4.13+dfsg1-4ubuntu1 [202 kB] Get:111 http://ftpmaster.internal/ubuntu noble/main s390x ncurses-bin s390x 6.4+20240113-1ubuntu1 [198 kB] Get:112 http://ftpmaster.internal/ubuntu noble/main s390x sed s390x 4.9-2 [207 kB] Get:113 http://ftpmaster.internal/ubuntu noble-proposed/main s390x util-linux s390x 2.39.3-9ubuntu4 [1142 kB] Get:114 http://ftpmaster.internal/ubuntu noble/main s390x ncurses-base all 6.4+20240113-1ubuntu1 [25.4 kB] Get:115 http://ftpmaster.internal/ubuntu noble/main s390x sysvinit-utils s390x 3.08-6ubuntu2 [34.7 kB] Get:116 http://ftpmaster.internal/ubuntu noble-proposed/main s390x logsave s390x 1.47.0-2.4~exp1ubuntu3 [22.6 kB] Get:117 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libext2fs2t64 s390x 1.47.0-2.4~exp1ubuntu3 [234 kB] Get:118 http://ftpmaster.internal/ubuntu noble-proposed/main s390x e2fsprogs s390x 1.47.0-2.4~exp1ubuntu3 [615 kB] Get:119 http://ftpmaster.internal/ubuntu noble-proposed/main s390x optipng s390x 0.7.8+ds-1build2 [114 kB] Get:120 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libpng16-16t64 s390x 1.6.43-5build1 [200 kB] Get:121 http://ftpmaster.internal/ubuntu noble/main s390x init s390x 1.66ubuntu1 [6188 B] Get:122 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libsmartcols1 s390x 2.39.3-9ubuntu4 [68.1 kB] Get:123 http://ftpmaster.internal/ubuntu noble-proposed/main s390x uuid-runtime s390x 2.39.3-9ubuntu4 [33.4 kB] Get:124 http://ftpmaster.internal/ubuntu noble/main s390x libattr1 s390x 1:2.5.2-1 [11.7 kB] Get:125 http://ftpmaster.internal/ubuntu noble/main s390x libmd0 s390x 1.1.0-2 [24.7 kB] Get:126 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libpam-runtime all 1.5.3-5ubuntu4 [40.8 kB] Get:127 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libsemanage-common all 3.5-1build5 [10.1 kB] Get:128 http://ftpmaster.internal/ubuntu noble/main s390x libsepol2 s390x 3.5-2 [308 kB] Get:129 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libsemanage2 s390x 3.5-1build5 [96.8 kB] Get:130 http://ftpmaster.internal/ubuntu noble/main s390x passwd s390x 1:4.13+dfsg1-4ubuntu1 [857 kB] Get:131 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libproc2-0 s390x 2:4.0.4-4ubuntu3 [59.8 kB] Get:132 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libss2 s390x 1.47.0-2.4~exp1ubuntu3 [17.2 kB] Get:133 http://ftpmaster.internal/ubuntu noble/main s390x mawk s390x 1.3.4.20240123-1 [133 kB] Get:134 http://ftpmaster.internal/ubuntu noble-proposed/main s390x procps s390x 2:4.0.4-4ubuntu3 [724 kB] Get:135 http://ftpmaster.internal/ubuntu noble/main s390x sensible-utils all 0.0.22 [22.5 kB] Get:136 http://ftpmaster.internal/ubuntu noble/main s390x ca-certificates all 20240203 [159 kB] Get:137 http://ftpmaster.internal/ubuntu noble-proposed/main s390x krb5-locales all 1.20.1-6ubuntu2 [13.8 kB] Get:138 http://ftpmaster.internal/ubuntu noble/main s390x tzdata all 2024a-1ubuntu1 [273 kB] Get:139 http://ftpmaster.internal/ubuntu noble/main s390x bash-completion all 1:2.11-8 [180 kB] Get:140 http://ftpmaster.internal/ubuntu noble-proposed/main s390x bsdextrautils s390x 2.39.3-9ubuntu4 [76.3 kB] Get:141 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libgpm2 s390x 1.20.7-11 [14.7 kB] Get:142 http://ftpmaster.internal/ubuntu noble/main s390x libip4tc2 s390x 1.8.10-3ubuntu1 [24.2 kB] Get:143 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libjansson4 s390x 2.14-2build2 [33.2 kB] Get:144 http://ftpmaster.internal/ubuntu noble-proposed/main s390x psmisc s390x 23.7-1build1 [178 kB] Get:145 http://ftpmaster.internal/ubuntu noble/main s390x xz-utils s390x 5.6.1+really5.4.5-1 [269 kB] Get:146 http://ftpmaster.internal/ubuntu noble/main s390x libctf0 s390x 2.42-4ubuntu2 [98.4 kB] Get:147 http://ftpmaster.internal/ubuntu noble/main s390x libctf-nobfd0 s390x 2.42-4ubuntu2 [100 kB] Get:148 http://ftpmaster.internal/ubuntu noble/main s390x binutils-s390x-linux-gnu s390x 2.42-4ubuntu2 [2270 kB] Get:149 http://ftpmaster.internal/ubuntu noble/main s390x libbinutils s390x 2.42-4ubuntu2 [479 kB] Get:150 http://ftpmaster.internal/ubuntu noble/main s390x binutils s390x 2.42-4ubuntu2 [3042 B] Get:151 http://ftpmaster.internal/ubuntu noble/main s390x binutils-common s390x 2.42-4ubuntu2 [217 kB] Get:152 http://ftpmaster.internal/ubuntu noble/main s390x libsframe1 s390x 2.42-4ubuntu2 [14.2 kB] Get:153 http://ftpmaster.internal/ubuntu noble/main s390x libubsan1 s390x 14-20240330-1ubuntu2 [1186 kB] Get:154 http://ftpmaster.internal/ubuntu noble/main s390x libgomp1 s390x 14-20240330-1ubuntu2 [151 kB] Get:155 http://ftpmaster.internal/ubuntu noble/main s390x libitm1 s390x 14-20240330-1ubuntu2 [31.1 kB] Get:156 http://ftpmaster.internal/ubuntu noble/main s390x libatomic1 s390x 14-20240330-1ubuntu2 [9386 B] Get:157 http://ftpmaster.internal/ubuntu noble/main s390x libasan8 s390x 14-20240330-1ubuntu2 [2994 kB] Get:158 http://ftpmaster.internal/ubuntu noble-proposed/main s390x g++-13 s390x 13.2.0-23ubuntu3 [14.5 kB] Get:159 http://ftpmaster.internal/ubuntu noble-proposed/main s390x gcc-13 s390x 13.2.0-23ubuntu3 [469 kB] Get:160 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libstdc++-13-dev s390x 13.2.0-23ubuntu3 [2494 kB] Get:161 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libgcc-13-dev s390x 13.2.0-23ubuntu3 [1003 kB] Get:162 http://ftpmaster.internal/ubuntu noble/main s390x libcc1-0 s390x 14-20240330-1ubuntu2 [49.8 kB] Get:163 http://ftpmaster.internal/ubuntu noble-proposed/main s390x cpp-13 s390x 13.2.0-23ubuntu3 [1026 B] Get:164 http://ftpmaster.internal/ubuntu noble-proposed/main s390x gcc-13-base s390x 13.2.0-23ubuntu3 [48.6 kB] Get:165 http://ftpmaster.internal/ubuntu noble-proposed/main s390x gcc-13-s390x-linux-gnu s390x 13.2.0-23ubuntu3 [19.1 MB] Get:166 http://ftpmaster.internal/ubuntu noble-proposed/main s390x g++-13-s390x-linux-gnu s390x 13.2.0-23ubuntu3 [11.3 MB] Get:167 http://ftpmaster.internal/ubuntu noble-proposed/main s390x cpp-13-s390x-linux-gnu s390x 13.2.0-23ubuntu3 [9936 kB] Get:168 http://ftpmaster.internal/ubuntu noble/main s390x g++ s390x 4:13.2.0-7ubuntu1 [1096 B] Get:169 http://ftpmaster.internal/ubuntu noble/main s390x gcc s390x 4:13.2.0-7ubuntu1 [5014 B] Get:170 http://ftpmaster.internal/ubuntu noble/main s390x cpp s390x 4:13.2.0-7ubuntu1 [22.4 kB] Get:171 http://ftpmaster.internal/ubuntu noble/main s390x cpp-s390x-linux-gnu s390x 4:13.2.0-7ubuntu1 [5308 B] Get:172 http://ftpmaster.internal/ubuntu noble/main s390x gcc-s390x-linux-gnu s390x 4:13.2.0-7ubuntu1 [1208 B] Get:173 http://ftpmaster.internal/ubuntu noble/main s390x g++-s390x-linux-gnu s390x 4:13.2.0-7ubuntu1 [956 B] Get:174 http://ftpmaster.internal/ubuntu noble-proposed/main s390x dpkg-dev all 1.22.6ubuntu6 [1074 kB] Get:175 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libdpkg-perl all 1.22.6ubuntu6 [268 kB] Get:176 http://ftpmaster.internal/ubuntu noble/main s390x lto-disabled-list all 47 [12.4 kB] Get:177 http://ftpmaster.internal/ubuntu noble/main s390x libfakeroot s390x 1.33-1 [31.9 kB] Get:178 http://ftpmaster.internal/ubuntu noble/main s390x fakeroot s390x 1.33-1 [67.5 kB] Preconfiguring packages ... Fetched 105 MB in 9s (11.2 MB/s) (Reading database ... 13395 files and directories currently installed.) Preparing to unpack .../0-libnsl-dev_1.3.0-3build3_s390x.deb ... Unpacking libnsl-dev:s390x (1.3.0-3build3) over (1.3.0-2build2) ... Preparing to unpack .../1-libcrypt-dev_1%3a4.4.36-4_s390x.deb ... Unpacking libcrypt-dev:s390x (1:4.4.36-4) over (1:4.4.36-2) ... Preparing to unpack .../2-libc6-dev_2.39-0ubuntu8_s390x.deb ... Unpacking libc6-dev:s390x (2.39-0ubuntu8) over (2.38-1ubuntu6) ... Preparing to unpack .../3-libc-dev-bin_2.39-0ubuntu8_s390x.deb ... Unpacking libc-dev-bin (2.39-0ubuntu8) over (2.38-1ubuntu6) ... Preparing to unpack .../4-libtirpc-common_1.3.4+ds-1.1build1_all.deb ... Unpacking libtirpc-common (1.3.4+ds-1.1build1) over (1.3.3+ds-1) ... Preparing to unpack .../5-libtirpc-dev_1.3.4+ds-1.1build1_s390x.deb ... Unpacking libtirpc-dev:s390x (1.3.4+ds-1.1build1) over (1.3.3+ds-1) ... Preparing to unpack .../6-libnss-nisplus_1.3-5build1_s390x.deb ... Unpacking libnss-nisplus:s390x (1.3-5build1) over (1.3-0ubuntu6) ... dpkg: libtirpc3:s390x: dependency problems, but removing anyway as you requested: libnsl2:s390x depends on libtirpc3 (>= 1.0.2). (Reading database ... 13398 files and directories currently installed.) Removing libtirpc3:s390x (1.3.3+ds-1) ... Selecting previously unselected package libtirpc3t64:s390x. (Reading database ... 13392 files and directories currently installed.) Preparing to unpack .../0-libtirpc3t64_1.3.4+ds-1.1build1_s390x.deb ... Adding 'diversion of /lib/s390x-linux-gnu/libtirpc.so.3 to /lib/s390x-linux-gnu/libtirpc.so.3.usr-is-merged by libtirpc3t64' Adding 'diversion of /lib/s390x-linux-gnu/libtirpc.so.3.0.0 to /lib/s390x-linux-gnu/libtirpc.so.3.0.0.usr-is-merged by libtirpc3t64' Unpacking libtirpc3t64:s390x (1.3.4+ds-1.1build1) ... Preparing to unpack .../1-libgssapi-krb5-2_1.20.1-6ubuntu2_s390x.deb ... Unpacking libgssapi-krb5-2:s390x (1.20.1-6ubuntu2) over (1.20.1-3ubuntu1) ... Preparing to unpack .../2-libkrb5-3_1.20.1-6ubuntu2_s390x.deb ... Unpacking libkrb5-3:s390x (1.20.1-6ubuntu2) over (1.20.1-3ubuntu1) ... Preparing to unpack .../3-libk5crypto3_1.20.1-6ubuntu2_s390x.deb ... Unpacking libk5crypto3:s390x (1.20.1-6ubuntu2) over (1.20.1-3ubuntu1) ... Preparing to unpack .../4-libkrb5support0_1.20.1-6ubuntu2_s390x.deb ... Unpacking libkrb5support0:s390x (1.20.1-6ubuntu2) over (1.20.1-3ubuntu1) ... Preparing to unpack .../5-libacl1_2.3.2-1_s390x.deb ... Unpacking libacl1:s390x (2.3.2-1) over (2.3.1-3) ... Setting up libacl1:s390x (2.3.2-1) ... (Reading database ... 13403 files and directories currently installed.) Preparing to unpack .../libapparmor1_4.0.0-beta3-0ubuntu3_s390x.deb ... Unpacking libapparmor1:s390x (4.0.0-beta3-0ubuntu3) over (4.0.0~alpha2-0ubuntu5) ... Preparing to unpack .../libaudit-common_1%3a3.1.2-2.1build1_all.deb ... Unpacking libaudit-common (1:3.1.2-2.1build1) over (1:3.1.1-1) ... Setting up libaudit-common (1:3.1.2-2.1build1) ... (Reading database ... 13403 files and directories currently installed.) Preparing to unpack .../libcap-ng0_0.8.4-2build2_s390x.deb ... Unpacking libcap-ng0:s390x (0.8.4-2build2) over (0.8.3-1build2) ... Setting up libcap-ng0:s390x (0.8.4-2build2) ... (Reading database ... 13403 files and directories currently installed.) Preparing to unpack .../libaudit1_1%3a3.1.2-2.1build1_s390x.deb ... Unpacking libaudit1:s390x (1:3.1.2-2.1build1) over (1:3.1.1-1) ... Setting up libaudit1:s390x (1:3.1.2-2.1build1) ... (Reading database ... 13403 files and directories currently installed.) Preparing to unpack .../libblkid1_2.39.3-9ubuntu4_s390x.deb ... Unpacking libblkid1:s390x (2.39.3-9ubuntu4) over (2.39.1-4ubuntu2) ... Setting up libblkid1:s390x (2.39.3-9ubuntu4) ... (Reading database ... 13403 files and directories currently installed.) Preparing to unpack .../libcap2_1%3a2.66-5ubuntu1_s390x.deb ... Unpacking libcap2:s390x (1:2.66-5ubuntu1) over (1:2.66-4ubuntu1) ... Setting up libcap2:s390x (1:2.66-5ubuntu1) ... (Reading database ... 13403 files and directories currently installed.) Preparing to unpack .../libcrypt1_1%3a4.4.36-4_s390x.deb ... Unpacking libcrypt1:s390x (1:4.4.36-4) over (1:4.4.36-2) ... Setting up libcrypt1:s390x (1:4.4.36-4) ... (Reading database ... 13403 files and directories currently installed.) Preparing to unpack .../libgpg-error-l10n_1.47-3build1_all.deb ... Unpacking libgpg-error-l10n (1.47-3build1) over (1.47-2) ... Preparing to unpack .../libgpg-error0_1.47-3build1_s390x.deb ... Unpacking libgpg-error0:s390x (1.47-3build1) over (1.47-2) ... Setting up libgpg-error0:s390x (1.47-3build1) ... (Reading database ... 13403 files and directories currently installed.) Preparing to unpack .../libgcrypt20_1.10.3-2_s390x.deb ... Unpacking libgcrypt20:s390x (1.10.3-2) over (1.10.2-3ubuntu1) ... Setting up libgcrypt20:s390x (1.10.3-2) ... (Reading database ... 13403 files and directories currently installed.) Preparing to unpack .../liblzma5_5.6.1+really5.4.5-1_s390x.deb ... Unpacking liblzma5:s390x (5.6.1+really5.4.5-1) over (5.4.1-0.2) ... Setting up liblzma5:s390x (5.6.1+really5.4.5-1) ... (Reading database ... 13403 files and directories currently installed.) Preparing to unpack .../libzstd1_1.5.5+dfsg2-2_s390x.deb ... Unpacking libzstd1:s390x (1.5.5+dfsg2-2) over (1.5.5+dfsg2-1ubuntu2) ... Setting up libzstd1:s390x (1.5.5+dfsg2-2) ... (Reading database ... 13403 files and directories currently installed.) Preparing to unpack .../libkmod2_31+20240202-2ubuntu5_s390x.deb ... Unpacking libkmod2:s390x (31+20240202-2ubuntu5) over (30+20230519-1ubuntu3) ... Preparing to unpack .../libpcre2-8-0_10.42-4ubuntu1_s390x.deb ... Unpacking libpcre2-8-0:s390x (10.42-4ubuntu1) over (10.42-4) ... Setting up libpcre2-8-0:s390x (10.42-4ubuntu1) ... (Reading database ... 13403 files and directories currently installed.) Preparing to unpack .../libselinux1_3.5-2ubuntu2_s390x.deb ... Unpacking libselinux1:s390x (3.5-2ubuntu2) over (3.5-1) ... Setting up libselinux1:s390x (3.5-2ubuntu2) ... (Reading database ... 13404 files and directories currently installed.) Preparing to unpack .../libmount1_2.39.3-9ubuntu4_s390x.deb ... Unpacking libmount1:s390x (2.39.3-9ubuntu4) over (2.39.1-4ubuntu2) ... Setting up libmount1:s390x (2.39.3-9ubuntu4) ... (Reading database ... 13404 files and directories currently installed.) Preparing to unpack .../perl_5.38.2-3.2build1_s390x.deb ... Unpacking perl (5.38.2-3.2build1) over (5.36.0-9ubuntu1) ... Selecting previously unselected package perl-modules-5.38. Preparing to unpack .../perl-modules-5.38_5.38.2-3.2build1_all.deb ... Unpacking perl-modules-5.38 (5.38.2-3.2build1) ... dpkg: libdb5.3:s390x: dependency problems, but removing anyway as you requested: libperl5.36:s390x depends on libdb5.3. libpam-modules:s390x depends on libdb5.3. apt-utils depends on libdb5.3. (Reading database ... 14816 files and directories currently installed.) Removing libdb5.3:s390x (5.3.28+dfsg2-2) ... Selecting previously unselected package libdb5.3t64:s390x. (Reading database ... 14810 files and directories currently installed.) Preparing to unpack .../libdb5.3t64_5.3.28+dfsg2-6build1_s390x.deb ... Unpacking libdb5.3t64:s390x (5.3.28+dfsg2-6build1) ... dpkg: libgdbm6:s390x: dependency problems, but removing anyway as you requested: libperl5.36:s390x depends on libgdbm6 (>= 1.21). libgdbm-compat4:s390x depends on libgdbm6 (>= 1.16). (Reading database ... 14816 files and directories currently installed.) Removing libgdbm6:s390x (1.23-3) ... Selecting previously unselected package libgdbm6t64:s390x. (Reading database ... 14811 files and directories currently installed.) Preparing to unpack .../libgdbm6t64_1.23-5.1build1_s390x.deb ... Unpacking libgdbm6t64:s390x (1.23-5.1build1) ... dpkg: libgdbm-compat4:s390x: dependency problems, but removing anyway as you requested: libperl5.36:s390x depends on libgdbm-compat4 (>= 1.18-3). (Reading database ... 14817 files and directories currently installed.) Removing libgdbm-compat4:s390x (1.23-3) ... Selecting previously unselected package libgdbm-compat4t64:s390x. (Reading database ... 14812 files and directories currently installed.) Preparing to unpack .../libgdbm-compat4t64_1.23-5.1build1_s390x.deb ... Unpacking libgdbm-compat4t64:s390x (1.23-5.1build1) ... Selecting previously unselected package libperl5.38t64:s390x. Preparing to unpack .../libperl5.38t64_5.38.2-3.2build1_s390x.deb ... Unpacking libperl5.38t64:s390x (5.38.2-3.2build1) ... Preparing to unpack .../perl-base_5.38.2-3.2build1_s390x.deb ... Unpacking perl-base (5.38.2-3.2build1) over (5.36.0-9ubuntu1) ... Setting up perl-base (5.38.2-3.2build1) ... (Reading database ... 15343 files and directories currently installed.) Preparing to unpack .../liblocale-gettext-perl_1.07-6ubuntu5_s390x.deb ... Unpacking liblocale-gettext-perl (1.07-6ubuntu5) over (1.07-6) ... Preparing to unpack .../libtext-iconv-perl_1.7-8build3_s390x.deb ... Unpacking libtext-iconv-perl:s390x (1.7-8build3) over (1.7-8) ... Preparing to unpack .../libtext-charwidth-perl_0.04-11build3_s390x.deb ... Unpacking libtext-charwidth-perl:s390x (0.04-11build3) over (0.04-11) ... Preparing to unpack .../libc6_2.39-0ubuntu8_s390x.deb ... Unpacking libc6:s390x (2.39-0ubuntu8) over (2.38-1ubuntu6) ... Setting up libc6:s390x (2.39-0ubuntu8) ... (Reading database ... 15345 files and directories currently installed.) Preparing to unpack .../libc-bin_2.39-0ubuntu8_s390x.deb ... Unpacking libc-bin (2.39-0ubuntu8) over (2.38-1ubuntu6) ... Setting up libc-bin (2.39-0ubuntu8) ... (Reading database ... 15345 files and directories currently installed.) Preparing to unpack .../openssl_3.0.13-0ubuntu3_s390x.deb ... Unpacking openssl (3.0.13-0ubuntu3) over (3.0.10-1ubuntu2) ... Preparing to unpack .../libsystemd-shared_255.4-1ubuntu6_s390x.deb ... Unpacking libsystemd-shared:s390x (255.4-1ubuntu6) over (253.5-1ubuntu6) ... Preparing to unpack .../libcryptsetup12_2%3a2.7.0-1ubuntu3_s390x.deb ... Unpacking libcryptsetup12:s390x (2:2.7.0-1ubuntu3) over (2:2.6.1-4ubuntu3) ... dpkg: libssl3:s390x: dependency problems, but removing anyway as you requested: systemd depends on libssl3 (>= 3.0.0). (Reading database ... 15344 files and directories currently installed.) Removing libssl3:s390x (3.0.10-1ubuntu2) ... Selecting previously unselected package libssl3t64:s390x. (Reading database ... 15333 files and directories currently installed.) Preparing to unpack .../libssl3t64_3.0.13-0ubuntu3_s390x.deb ... Unpacking libssl3t64:s390x (3.0.13-0ubuntu3) ... Setting up libssl3t64:s390x (3.0.13-0ubuntu3) ... (Reading database ... 15346 files and directories currently installed.) Preparing to unpack .../systemd-dev_255.4-1ubuntu6_all.deb ... Unpacking systemd-dev (255.4-1ubuntu6) over (253.5-1ubuntu6) ... Preparing to unpack .../systemd-sysv_255.4-1ubuntu6_s390x.deb ... Unpacking systemd-sysv (255.4-1ubuntu6) over (253.5-1ubuntu6) ... Preparing to unpack .../systemd_255.4-1ubuntu6_s390x.deb ... Unpacking systemd (255.4-1ubuntu6) over (253.5-1ubuntu6) ... dpkg: warning: unable to delete old directory '/lib/systemd/system-preset': Directory not empty dpkg: warning: unable to delete old directory '/lib/systemd/system-generators': Directory not empty dpkg: warning: unable to delete old directory '/lib/systemd/system/user@0.service.d': Directory not empty dpkg: warning: unable to delete old directory '/lib/systemd/system/user@.service.d': Directory not empty dpkg: warning: unable to delete old directory '/lib/systemd/system/user-.slice.d': Directory not empty dpkg: warning: unable to delete old directory '/lib/systemd/system/timers.target.wants': Directory not empty dpkg: warning: unable to delete old directory '/lib/systemd/system/systemd-localed.service.d': Directory not empty dpkg: warning: unable to delete old directory '/lib/systemd/system/sysinit.target.wants': Directory not empty dpkg: warning: unable to delete old directory '/lib/systemd/system/sockets.target.wants': Directory not empty dpkg: warning: unable to delete old directory '/lib/systemd/system/rescue.target.wants': Directory not empty dpkg: warning: unable to delete old directory '/lib/systemd/system/rc-local.service.d': Directory not empty dpkg: warning: unable to delete old directory '/lib/systemd/system/multi-user.target.wants': Directory not empty dpkg: warning: unable to delete old directory '/lib/systemd/system/initrd-root-fs.target.wants': Directory not empty dpkg: warning: unable to delete old directory '/lib/systemd/system/initrd-root-device.target.wants': Directory not empty dpkg: warning: unable to delete old directory '/lib/systemd/system/graphical.target.wants': Directory not empty dpkg: warning: unable to delete old directory '/lib/systemd/system/getty.target.wants': Directory not empty dpkg: warning: unable to delete old directory '/lib/systemd/network': Directory not empty dpkg: warning: unable to delete old directory '/lib/systemd/journald.conf.d': Directory not empty dpkg: warning: unable to delete old directory '/lib/modprobe.d': Directory not empty Preparing to unpack .../libsystemd0_255.4-1ubuntu6_s390x.deb ... Unpacking libsystemd0:s390x (255.4-1ubuntu6) over (253.5-1ubuntu6) ... Setting up libsystemd0:s390x (255.4-1ubuntu6) ... (Reading database ... 15485 files and directories currently installed.) Preparing to unpack .../libpam-modules-bin_1.5.3-5ubuntu4_s390x.deb ... Unpacking libpam-modules-bin (1.5.3-5ubuntu4) over (1.5.2-6ubuntu1) ... Setting up libpam-modules-bin (1.5.3-5ubuntu4) ... (Reading database ... 15484 files and directories currently installed.) Preparing to unpack .../libpam-modules_1.5.3-5ubuntu4_s390x.deb ... Unpacking libpam-modules:s390x (1.5.3-5ubuntu4) over (1.5.2-6ubuntu1) ... dpkg: warning: unable to delete old directory '/lib/s390x-linux-gnu/security': Directory not empty Setting up libpam-modules:s390x (1.5.3-5ubuntu4) ... Installing new version of config file /etc/security/namespace.init ... dpkg: libhogweed6:s390x: dependency problems, but removing anyway as you requested: libgnutls30:s390x depends on libhogweed6 (>= 3.6). (Reading database ... 15481 files and directories currently installed.) Removing libhogweed6:s390x (3.9.1-2) ... dpkg: libnettle8:s390x: dependency problems, but removing anyway as you requested: libgnutls30:s390x depends on libnettle8 (>= 3.7~). Removing libnettle8:s390x (3.9.1-2) ... Selecting previously unselected package libnettle8t64:s390x. (Reading database ... 15469 files and directories currently installed.) Preparing to unpack .../libnettle8t64_3.9.1-2.2build1_s390x.deb ... Unpacking libnettle8t64:s390x (3.9.1-2.2build1) ... Setting up libnettle8t64:s390x (3.9.1-2.2build1) ... Selecting previously unselected package libhogweed6t64:s390x. (Reading database ... 15477 files and directories currently installed.) Preparing to unpack .../libhogweed6t64_3.9.1-2.2build1_s390x.deb ... Unpacking libhogweed6t64:s390x (3.9.1-2.2build1) ... Setting up libhogweed6t64:s390x (3.9.1-2.2build1) ... (Reading database ... 15483 files and directories currently installed.) Preparing to unpack .../libp11-kit0_0.25.3-4ubuntu1_s390x.deb ... Unpacking libp11-kit0:s390x (0.25.3-4ubuntu1) over (0.25.0-4ubuntu1) ... Setting up libp11-kit0:s390x (0.25.3-4ubuntu1) ... Selecting previously unselected package libunistring5:s390x. (Reading database ... 15483 files and directories currently installed.) Preparing to unpack .../libunistring5_1.1-2_s390x.deb ... Unpacking libunistring5:s390x (1.1-2) ... Setting up libunistring5:s390x (1.1-2) ... dpkg: libgnutls30:s390x: dependency problems, but removing anyway as you requested: apt depends on libgnutls30 (>= 3.7.5). (Reading database ... 15488 files and directories currently installed.) Removing libgnutls30:s390x (3.8.1-4ubuntu1) ... Selecting previously unselected package libgnutls30t64:s390x. (Reading database ... 15478 files and directories currently installed.) Preparing to unpack .../libgnutls30t64_3.8.3-1.1ubuntu3_s390x.deb ... Unpacking libgnutls30t64:s390x (3.8.3-1.1ubuntu3) ... Setting up libgnutls30t64:s390x (3.8.3-1.1ubuntu3) ... dpkg: libapt-pkg6.0:s390x: dependency problems, but removing anyway as you requested: apt-utils depends on libapt-pkg6.0 (>= 2.7.3). apt depends on libapt-pkg6.0 (>= 2.7.3). (Reading database ... 15490 files and directories currently installed.) Removing libapt-pkg6.0:s390x (2.7.3) ... Selecting previously unselected package libapt-pkg6.0t64:s390x. (Reading database ... 15441 files and directories currently installed.) Preparing to unpack .../libapt-pkg6.0t64_2.7.14build2_s390x.deb ... Unpacking libapt-pkg6.0t64:s390x (2.7.14build2) ... Setting up libapt-pkg6.0t64:s390x (2.7.14build2) ... (Reading database ... 15491 files and directories currently installed.) Preparing to unpack .../bzip2_1.0.8-5.1_s390x.deb ... Unpacking bzip2 (1.0.8-5.1) over (1.0.8-5build1) ... dpkg: warning: old file '/bin/bzip2' is the same as several new files! (both '/usr/bin/bunzip2' and '/usr/bin/bzcat') dpkg: warning: old file '/bin/bzip2' is the same as several new files! (both '/usr/bin/bzcat' and '/usr/bin/bzip2') dpkg: warning: old file '/bin/bzcat' is the same as several new files! (both '/usr/bin/bunzip2' and '/usr/bin/bzcat') dpkg: warning: old file '/bin/bzcat' is the same as several new files! (both '/usr/bin/bzcat' and '/usr/bin/bzip2') dpkg: warning: old file '/bin/bunzip2' is the same as several new files! (both '/usr/bin/bunzip2' and '/usr/bin/bzcat') dpkg: warning: old file '/bin/bunzip2' is the same as several new files! (both '/usr/bin/bzcat' and '/usr/bin/bzip2') Preparing to unpack .../libbz2-1.0_1.0.8-5.1_s390x.deb ... Unpacking libbz2-1.0:s390x (1.0.8-5.1) over (1.0.8-5build1) ... Setting up libbz2-1.0:s390x (1.0.8-5.1) ... Selecting previously unselected package gcc-14-base:s390x. (Reading database ... 15491 files and directories currently installed.) Preparing to unpack .../gcc-14-base_14-20240330-1ubuntu2_s390x.deb ... Unpacking gcc-14-base:s390x (14-20240330-1ubuntu2) ... Setting up gcc-14-base:s390x (14-20240330-1ubuntu2) ... (Reading database ... 15496 files and directories currently installed.) Preparing to unpack .../libgcc-s1_14-20240330-1ubuntu2_s390x.deb ... Unpacking libgcc-s1:s390x (14-20240330-1ubuntu2) over (13.2.0-4ubuntu3) ... Setting up libgcc-s1:s390x (14-20240330-1ubuntu2) ... (Reading database ... 15496 files and directories currently installed.) Preparing to unpack .../libstdc++6_14-20240330-1ubuntu2_s390x.deb ... Unpacking libstdc++6:s390x (14-20240330-1ubuntu2) over (13.2.0-4ubuntu3) ... Setting up libstdc++6:s390x (14-20240330-1ubuntu2) ... (Reading database ... 15496 files and directories currently installed.) Preparing to unpack .../libudev1_255.4-1ubuntu6_s390x.deb ... Unpacking libudev1:s390x (255.4-1ubuntu6) over (253.5-1ubuntu6) ... Setting up libudev1:s390x (255.4-1ubuntu6) ... (Reading database ... 15496 files and directories currently installed.) Preparing to unpack .../libxxhash0_0.8.2-2_s390x.deb ... Unpacking libxxhash0:s390x (0.8.2-2) over (0.8.1-1) ... Setting up libxxhash0:s390x (0.8.2-2) ... (Reading database ... 15496 files and directories currently installed.) Preparing to unpack .../zlib1g_1%3a1.3.dfsg-3.1ubuntu2_s390x.deb ... Unpacking zlib1g:s390x (1:1.3.dfsg-3.1ubuntu2) over (1:1.2.13.dfsg-1ubuntu5) ... Setting up zlib1g:s390x (1:1.3.dfsg-3.1ubuntu2) ... (Reading database ... 15496 files and directories currently installed.) Preparing to unpack .../libffi8_3.4.6-1_s390x.deb ... Unpacking libffi8:s390x (3.4.6-1) over (3.4.4-1) ... Setting up libffi8:s390x (3.4.6-1) ... (Reading database ... 15496 files and directories currently installed.) Preparing to unpack .../libidn2-0_2.3.7-2_s390x.deb ... Unpacking libidn2-0:s390x (2.3.7-2) over (2.3.4-1) ... Setting up libidn2-0:s390x (2.3.7-2) ... (Reading database ... 15496 files and directories currently installed.) Preparing to unpack .../libdebconfclient0_0.271ubuntu3_s390x.deb ... Unpacking libdebconfclient0:s390x (0.271ubuntu3) over (0.270ubuntu1) ... Setting up libdebconfclient0:s390x (0.271ubuntu3) ... (Reading database ... 15496 files and directories currently installed.) Preparing to unpack .../base-passwd_3.6.3_s390x.deb ... Unpacking base-passwd (3.6.3) over (3.6.1) ... Setting up base-passwd (3.6.3) ... (Reading database ... 15496 files and directories currently installed.) Preparing to unpack .../libsqlite3-0_3.45.1-1ubuntu2_s390x.deb ... Unpacking libsqlite3-0:s390x (3.45.1-1ubuntu2) over (3.42.0-1) ... Preparing to unpack .../gpg_2.4.4-2ubuntu16_s390x.deb ... Unpacking gpg (2.4.4-2ubuntu16) over (2.2.40-1.1ubuntu1) ... dpkg: libreadline8:s390x: dependency problems, but removing anyway as you requested: gpgconf depends on libreadline8 (>= 6.0). (Reading database ... 15496 files and directories currently installed.) Removing libreadline8:s390x (8.2-1.3) ... Selecting previously unselected package libreadline8t64:s390x. (Reading database ... 15484 files and directories currently installed.) Preparing to unpack .../libreadline8t64_8.2-4build1_s390x.deb ... Adding 'diversion of /lib/s390x-linux-gnu/libhistory.so.8 to /lib/s390x-linux-gnu/libhistory.so.8.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/s390x-linux-gnu/libhistory.so.8.2 to /lib/s390x-linux-gnu/libhistory.so.8.2.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/s390x-linux-gnu/libreadline.so.8 to /lib/s390x-linux-gnu/libreadline.so.8.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/s390x-linux-gnu/libreadline.so.8.2 to /lib/s390x-linux-gnu/libreadline.so.8.2.usr-is-merged by libreadline8t64' Unpacking libreadline8t64:s390x (8.2-4build1) ... Preparing to unpack .../readline-common_8.2-4build1_all.deb ... Unpacking readline-common (8.2-4build1) over (8.2-1.3) ... Preparing to unpack .../libncursesw6_6.4+20240113-1ubuntu1_s390x.deb ... Unpacking libncursesw6:s390x (6.4+20240113-1ubuntu1) over (6.4+20230625-2) ... Preparing to unpack .../libtinfo6_6.4+20240113-1ubuntu1_s390x.deb ... Unpacking libtinfo6:s390x (6.4+20240113-1ubuntu1) over (6.4+20230625-2) ... Setting up libtinfo6:s390x (6.4+20240113-1ubuntu1) ... (Reading database ... 15504 files and directories currently installed.) Preparing to unpack .../gpg-agent_2.4.4-2ubuntu16_s390x.deb ... Unpacking gpg-agent (2.4.4-2ubuntu16) over (2.2.40-1.1ubuntu1) ... Preparing to unpack .../gpgconf_2.4.4-2ubuntu16_s390x.deb ... Unpacking gpgconf (2.4.4-2ubuntu16) over (2.2.40-1.1ubuntu1) ... Preparing to unpack .../pinentry-curses_1.2.1-3ubuntu5_s390x.deb ... Unpacking pinentry-curses (1.2.1-3ubuntu5) over (1.2.1-1ubuntu1) ... Preparing to unpack .../init-system-helpers_1.66ubuntu1_all.deb ... Unpacking init-system-helpers (1.66ubuntu1) over (1.65.2ubuntu1) ... Setting up init-system-helpers (1.66ubuntu1) ... (Reading database ... 15503 files and directories currently installed.) Removing libnpth0:s390x (1.6-3build2) ... Selecting previously unselected package libnpth0t64:s390x. (Reading database ... 15498 files and directories currently installed.) Preparing to unpack .../libnpth0t64_1.6-3.1build1_s390x.deb ... Unpacking libnpth0t64:s390x (1.6-3.1build1) ... Setting up libnpth0t64:s390x (1.6-3.1build1) ... (Reading database ... 15504 files and directories currently installed.) Preparing to unpack .../gpgv_2.4.4-2ubuntu16_s390x.deb ... Unpacking gpgv (2.4.4-2ubuntu16) over (2.2.40-1.1ubuntu1) ... Setting up gpgv (2.4.4-2ubuntu16) ... (Reading database ... 15504 files and directories currently installed.) Preparing to unpack .../ubuntu-keyring_2023.11.28.1_all.deb ... Unpacking ubuntu-keyring (2023.11.28.1) over (2021.03.26) ... Setting up ubuntu-keyring (2023.11.28.1) ... (Reading database ... 15504 files and directories currently installed.) Preparing to unpack .../libseccomp2_2.5.5-1ubuntu3_s390x.deb ... Unpacking libseccomp2:s390x (2.5.5-1ubuntu3) over (2.5.4-1ubuntu3) ... Setting up libseccomp2:s390x (2.5.5-1ubuntu3) ... (Reading database ... 15504 files and directories currently installed.) Preparing to unpack .../apt-utils_2.7.14build2_s390x.deb ... Unpacking apt-utils (2.7.14build2) over (2.7.3) ... Preparing to unpack .../apt_2.7.14build2_s390x.deb ... Unpacking apt (2.7.14build2) over (2.7.3) ... Setting up apt (2.7.14build2) ... (Reading database ... 15504 files and directories currently installed.) Preparing to unpack .../debconf-i18n_1.5.86_all.deb ... Unpacking debconf-i18n (1.5.86) over (1.5.82) ... Preparing to unpack .../debconf_1.5.86_all.deb ... Unpacking debconf (1.5.86) over (1.5.82) ... Setting up debconf (1.5.86) ... Installing new version of config file /etc/debconf.conf ... (Reading database ... 15503 files and directories currently installed.) Preparing to unpack .../libpam0g_1.5.3-5ubuntu4_s390x.deb ... Unpacking libpam0g:s390x (1.5.3-5ubuntu4) over (1.5.2-6ubuntu1) ... Setting up libpam0g:s390x (1.5.3-5ubuntu4) ... (Reading database ... 15502 files and directories currently installed.) Preparing to unpack .../libargon2-1_0~20190702+dfsg-4_s390x.deb ... Unpacking libargon2-1:s390x (0~20190702+dfsg-4) over (0~20190702+dfsg-3) ... Preparing to unpack .../libdevmapper1.02.1_2%3a1.02.185-3ubuntu3_s390x.deb ... Unpacking libdevmapper1.02.1:s390x (2:1.02.185-3ubuntu3) over (2:1.02.185-2ubuntu1) ... Preparing to unpack .../libuuid1_2.39.3-9ubuntu4_s390x.deb ... Unpacking libuuid1:s390x (2.39.3-9ubuntu4) over (2.39.1-4ubuntu2) ... Setting up libuuid1:s390x (2.39.3-9ubuntu4) ... (Reading database ... 15502 files and directories currently installed.) Preparing to unpack .../0-libfdisk1_2.39.3-9ubuntu4_s390x.deb ... Unpacking libfdisk1:s390x (2.39.3-9ubuntu4) over (2.39.1-4ubuntu2) ... Preparing to unpack .../1-mount_2.39.3-9ubuntu4_s390x.deb ... Unpacking mount (2.39.3-9ubuntu4) over (2.39.1-4ubuntu2) ... Preparing to unpack .../2-libcom-err2_1.47.0-2.4~exp1ubuntu3_s390x.deb ... Unpacking libcom-err2:s390x (1.47.0-2.4~exp1ubuntu3) over (1.47.0-2ubuntu1) ... Preparing to unpack .../3-libkeyutils1_1.6.3-3_s390x.deb ... Unpacking libkeyutils1:s390x (1.6.3-3) over (1.6.3-2) ... Preparing to unpack .../4-libnsl2_1.3.0-3build3_s390x.deb ... Unpacking libnsl2:s390x (1.3.0-3build3) over (1.3.0-2build2) ... Preparing to unpack .../5-linux-libc-dev_6.8.0-20.20_s390x.deb ... Unpacking linux-libc-dev:s390x (6.8.0-20.20) over (6.5.0-9.9) ... Preparing to unpack .../6-base-files_13ubuntu9_s390x.deb ... Unpacking base-files (13ubuntu9) over (13ubuntu3) ... Setting up base-files (13ubuntu9) ... Installing new version of config file /etc/issue ... Installing new version of config file /etc/issue.net ... Installing new version of config file /etc/lsb-release ... Installing new version of config file /etc/update-motd.d/10-help-text ... (Reading database ... 15521 files and directories currently installed.) Preparing to unpack .../debianutils_5.17build1_s390x.deb ... Unpacking debianutils (5.17build1) over (5.8-1) ... Setting up debianutils (5.17build1) ... (Reading database ... 15520 files and directories currently installed.) Preparing to unpack .../bash_5.2.21-2ubuntu4_s390x.deb ... Unpacking bash (5.2.21-2ubuntu4) over (5.2.15-2ubuntu1) ... Setting up bash (5.2.21-2ubuntu4) ... update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode (Reading database ... 15520 files and directories currently installed.) Preparing to unpack .../bsdutils_1%3a2.39.3-9ubuntu4_s390x.deb ... Unpacking bsdutils (1:2.39.3-9ubuntu4) over (1:2.39.1-4ubuntu2) ... Setting up bsdutils (1:2.39.3-9ubuntu4) ... (Reading database ... 15520 files and directories currently installed.) Removing usrmerge (35ubuntu1) ... (Reading database ... 15494 files and directories currently installed.) Preparing to unpack .../coreutils_9.4-3ubuntu5_s390x.deb ... Unpacking coreutils (9.4-3ubuntu5) over (9.1-1ubuntu2) ... Setting up coreutils (9.4-3ubuntu5) ... (Reading database ... 15499 files and directories currently installed.) Preparing to unpack .../tar_1.35+dfsg-3_s390x.deb ... Unpacking tar (1.35+dfsg-3) over (1.34+dfsg-1.2ubuntu1) ... Setting up tar (1.35+dfsg-3) ... (Reading database ... 15499 files and directories currently installed.) Preparing to unpack .../dpkg_1.22.6ubuntu6_s390x.deb ... Unpacking dpkg (1.22.6ubuntu6) over (1.22.0ubuntu1) ... Setting up dpkg (1.22.6ubuntu6) ... (Reading database ... 15497 files and directories currently installed.) Preparing to unpack .../dash_0.5.12-6ubuntu5_s390x.deb ... Unpacking dash (0.5.12-6ubuntu5) over (0.5.12-6ubuntu1) ... Setting up dash (0.5.12-6ubuntu5) ... (Reading database ... 15496 files and directories currently installed.) Preparing to unpack .../diffutils_1%3a3.10-1_s390x.deb ... Unpacking diffutils (1:3.10-1) over (1:3.8-4) ... Setting up diffutils (1:3.10-1) ... (Reading database ... 15496 files and directories currently installed.) Preparing to unpack .../archives/grep_3.11-4_s390x.deb ... Unpacking grep (3.11-4) over (3.11-2) ... Setting up grep (3.11-4) ... (Reading database ... 15496 files and directories currently installed.) Preparing to unpack .../gzip_1.12-1ubuntu2_s390x.deb ... Unpacking gzip (1.12-1ubuntu2) over (1.12-1ubuntu1) ... dpkg: warning: old file '/bin/uncompress' is the same as several new files! (both '/usr/bin/gunzip' and '/usr/bin/uncompress') dpkg: warning: old file '/bin/gunzip' is the same as several new files! (both '/usr/bin/gunzip' and '/usr/bin/uncompress') Setting up gzip (1.12-1ubuntu2) ... (Reading database ... 15496 files and directories currently installed.) Preparing to unpack .../hostname_3.23+nmu2ubuntu1_s390x.deb ... Unpacking hostname (3.23+nmu2ubuntu1) over (3.23+nmu1ubuntu1) ... Setting up hostname (3.23+nmu2ubuntu1) ... (Reading database ... 15496 files and directories currently installed.) Preparing to unpack .../login_1%3a4.13+dfsg1-4ubuntu1_s390x.deb ... Unpacking login (1:4.13+dfsg1-4ubuntu1) over (1:4.13+dfsg1-1ubuntu1) ... Setting up login (1:4.13+dfsg1-4ubuntu1) ... Installing new version of config file /etc/login.defs ... Installing new version of config file /etc/pam.d/login ... (Reading database ... 15496 files and directories currently installed.) Preparing to unpack .../ncurses-bin_6.4+20240113-1ubuntu1_s390x.deb ... Unpacking ncurses-bin (6.4+20240113-1ubuntu1) over (6.4+20230625-2) ... Setting up ncurses-bin (6.4+20240113-1ubuntu1) ... (Reading database ... 15496 files and directories currently installed.) Preparing to unpack .../archives/sed_4.9-2_s390x.deb ... Unpacking sed (4.9-2) over (4.9-1) ... Setting up sed (4.9-2) ... (Reading database ... 15496 files and directories currently installed.) Preparing to unpack .../util-linux_2.39.3-9ubuntu4_s390x.deb ... Unpacking util-linux (2.39.3-9ubuntu4) over (2.39.1-4ubuntu2) ... Setting up util-linux (2.39.3-9ubuntu4) ... (Reading database ... 15498 files and directories currently installed.) Preparing to unpack .../ncurses-base_6.4+20240113-1ubuntu1_all.deb ... Unpacking ncurses-base (6.4+20240113-1ubuntu1) over (6.4+20230625-2) ... Setting up ncurses-base (6.4+20240113-1ubuntu1) ... (Reading database ... 15498 files and directories currently installed.) Preparing to unpack .../sysvinit-utils_3.08-6ubuntu2_s390x.deb ... Unpacking sysvinit-utils (3.08-6ubuntu2) over (3.07-1ubuntu1) ... dpkg: warning: unable to delete old directory '/lib/lsb/init-functions.d': Directory not empty dpkg: warning: unable to delete old directory '/lib/lsb': Directory not empty dpkg: warning: unable to delete old directory '/lib/init': Directory not empty Setting up sysvinit-utils (3.08-6ubuntu2) ... (Reading database ... 15496 files and directories currently installed.) Preparing to unpack .../logsave_1.47.0-2.4~exp1ubuntu3_s390x.deb ... Unpacking logsave (1.47.0-2.4~exp1ubuntu3) over (1.47.0-2ubuntu1) ... dpkg: libext2fs2:s390x: dependency problems, but removing anyway as you requested: e2fsprogs depends on libext2fs2 (= 1.47.0-2ubuntu1). (Reading database ... 15496 files and directories currently installed.) Removing libext2fs2:s390x (1.47.0-2ubuntu1) ... Selecting previously unselected package libext2fs2t64:s390x. (Reading database ... 15489 files and directories currently installed.) Preparing to unpack .../libext2fs2t64_1.47.0-2.4~exp1ubuntu3_s390x.deb ... Adding 'diversion of /lib/s390x-linux-gnu/libe2p.so.2 to /lib/s390x-linux-gnu/libe2p.so.2.usr-is-merged by libext2fs2t64' Adding 'diversion of /lib/s390x-linux-gnu/libe2p.so.2.3 to /lib/s390x-linux-gnu/libe2p.so.2.3.usr-is-merged by libext2fs2t64' Adding 'diversion of /lib/s390x-linux-gnu/libext2fs.so.2 to /lib/s390x-linux-gnu/libext2fs.so.2.usr-is-merged by libext2fs2t64' Adding 'diversion of /lib/s390x-linux-gnu/libext2fs.so.2.4 to /lib/s390x-linux-gnu/libext2fs.so.2.4.usr-is-merged by libext2fs2t64' Unpacking libext2fs2t64:s390x (1.47.0-2.4~exp1ubuntu3) ... Setting up libcom-err2:s390x (1.47.0-2.4~exp1ubuntu3) ... Setting up libext2fs2t64:s390x (1.47.0-2.4~exp1ubuntu3) ... (Reading database ... 15505 files and directories currently installed.) Preparing to unpack .../e2fsprogs_1.47.0-2.4~exp1ubuntu3_s390x.deb ... Unpacking e2fsprogs (1.47.0-2.4~exp1ubuntu3) over (1.47.0-2ubuntu1) ... dpkg: warning: unable to delete old directory '/lib/udev/rules.d': Directory not empty dpkg: warning: unable to delete old directory '/lib/udev': Directory not empty Preparing to unpack .../optipng_0.7.8+ds-1build2_s390x.deb ... Unpacking optipng (0.7.8+ds-1build2) over (0.7.7-2build1) ... (Reading database ... 15503 files and directories currently installed.) Removing libpng16-16:s390x (1.6.40-1) ... Selecting previously unselected package libpng16-16t64:s390x. (Reading database ... 15493 files and directories currently installed.) Preparing to unpack .../libpng16-16t64_1.6.43-5build1_s390x.deb ... Unpacking libpng16-16t64:s390x (1.6.43-5build1) ... Setting up libapparmor1:s390x (4.0.0-beta3-0ubuntu3) ... Setting up libargon2-1:s390x (0~20190702+dfsg-4) ... Setting up libdevmapper1.02.1:s390x (2:1.02.185-3ubuntu3) ... Setting up libcryptsetup12:s390x (2:2.7.0-1ubuntu3) ... Setting up libfdisk1:s390x (2.39.3-9ubuntu4) ... Setting up libkmod2:s390x (31+20240202-2ubuntu5) ... Setting up libsystemd-shared:s390x (255.4-1ubuntu6) ... Setting up systemd-dev (255.4-1ubuntu6) ... Setting up mount (2.39.3-9ubuntu4) ... Setting up systemd (255.4-1ubuntu6) ... Installing new version of config file /etc/systemd/journald.conf ... Installing new version of config file /etc/systemd/logind.conf ... Installing new version of config file /etc/systemd/networkd.conf ... Installing new version of config file /etc/systemd/pstore.conf ... Installing new version of config file /etc/systemd/sleep.conf ... Installing new version of config file /etc/systemd/system.conf ... Installing new version of config file /etc/systemd/user.conf ... Initializing machine ID from random generator. Setting up systemd-sysv (255.4-1ubuntu6) ... (Reading database ... 15504 files and directories currently installed.) Preparing to unpack .../init_1.66ubuntu1_s390x.deb ... Unpacking init (1.66ubuntu1) over (1.65.2ubuntu1) ... Preparing to unpack .../libsmartcols1_2.39.3-9ubuntu4_s390x.deb ... Unpacking libsmartcols1:s390x (2.39.3-9ubuntu4) over (2.39.1-4ubuntu2) ... Setting up libsmartcols1:s390x (2.39.3-9ubuntu4) ... (Reading database ... 15505 files and directories currently installed.) Preparing to unpack .../uuid-runtime_2.39.3-9ubuntu4_s390x.deb ... Unpacking uuid-runtime (2.39.3-9ubuntu4) over (2.39.1-4ubuntu2) ... dpkg: warning: unable to delete old directory '/lib/systemd/system': Directory not empty dpkg: warning: unable to delete old directory '/lib/systemd': Directory not empty Preparing to unpack .../libattr1_1%3a2.5.2-1_s390x.deb ... Unpacking libattr1:s390x (1:2.5.2-1) over (1:2.5.1-4) ... Setting up libattr1:s390x (1:2.5.2-1) ... (Reading database ... 15503 files and directories currently installed.) Preparing to unpack .../libmd0_1.1.0-2_s390x.deb ... Unpacking libmd0:s390x (1.1.0-2) over (1.1.0-1) ... Setting up libmd0:s390x (1.1.0-2) ... (Reading database ... 15503 files and directories currently installed.) Preparing to unpack .../libpam-runtime_1.5.3-5ubuntu4_all.deb ... Unpacking libpam-runtime (1.5.3-5ubuntu4) over (1.5.2-6ubuntu1) ... Setting up libpam-runtime (1.5.3-5ubuntu4) ... (Reading database ... 15502 files and directories currently installed.) Preparing to unpack .../libsemanage-common_3.5-1build5_all.deb ... Unpacking libsemanage-common (3.5-1build5) over (3.5-1) ... Setting up libsemanage-common (3.5-1build5) ... (Reading database ... 15502 files and directories currently installed.) Preparing to unpack .../libsepol2_3.5-2_s390x.deb ... Unpacking libsepol2:s390x (3.5-2) over (3.5-1) ... Setting up libsepol2:s390x (3.5-2) ... (Reading database ... 15502 files and directories currently installed.) Preparing to unpack .../libsemanage2_3.5-1build5_s390x.deb ... Unpacking libsemanage2:s390x (3.5-1build5) over (3.5-1) ... Setting up libsemanage2:s390x (3.5-1build5) ... (Reading database ... 15502 files and directories currently installed.) Preparing to unpack .../passwd_1%3a4.13+dfsg1-4ubuntu1_s390x.deb ... Unpacking passwd (1:4.13+dfsg1-4ubuntu1) over (1:4.13+dfsg1-1ubuntu1) ... Setting up passwd (1:4.13+dfsg1-4ubuntu1) ... (Reading database ... 15502 files and directories currently installed.) Preparing to unpack .../00-libproc2-0_2%3a4.0.4-4ubuntu3_s390x.deb ... Unpacking libproc2-0:s390x (2:4.0.4-4ubuntu3) over (2:4.0.3-1ubuntu1) ... Preparing to unpack .../01-libss2_1.47.0-2.4~exp1ubuntu3_s390x.deb ... Unpacking libss2:s390x (1.47.0-2.4~exp1ubuntu3) over (1.47.0-2ubuntu1) ... Preparing to unpack .../02-mawk_1.3.4.20240123-1_s390x.deb ... Unpacking mawk (1.3.4.20240123-1) over (1.3.4.20230730-1) ... Preparing to unpack .../03-procps_2%3a4.0.4-4ubuntu3_s390x.deb ... Unpacking procps (2:4.0.4-4ubuntu3) over (2:4.0.3-1ubuntu1) ... Preparing to unpack .../04-sensible-utils_0.0.22_all.deb ... Unpacking sensible-utils (0.0.22) over (0.0.20) ... Preparing to unpack .../05-ca-certificates_20240203_all.deb ... Unpacking ca-certificates (20240203) over (20230311ubuntu1) ... Preparing to unpack .../06-krb5-locales_1.20.1-6ubuntu2_all.deb ... Unpacking krb5-locales (1.20.1-6ubuntu2) over (1.20.1-3ubuntu1) ... Preparing to unpack .../07-tzdata_2024a-1ubuntu1_all.deb ... Unpacking tzdata (2024a-1ubuntu1) over (2023c-9ubuntu1) ... Preparing to unpack .../08-bash-completion_1%3a2.11-8_all.deb ... Unpacking bash-completion (1:2.11-8) over (1:2.11-7) ... Preparing to unpack .../09-bsdextrautils_2.39.3-9ubuntu4_s390x.deb ... Unpacking bsdextrautils (2.39.3-9ubuntu4) over (2.39.1-4ubuntu2) ... Preparing to unpack .../10-libgpm2_1.20.7-11_s390x.deb ... Unpacking libgpm2:s390x (1.20.7-11) over (1.20.7-10build1) ... Preparing to unpack .../11-libip4tc2_1.8.10-3ubuntu1_s390x.deb ... Unpacking libip4tc2:s390x (1.8.10-3ubuntu1) over (1.8.9-2ubuntu2) ... Preparing to unpack .../12-libjansson4_2.14-2build2_s390x.deb ... Unpacking libjansson4:s390x (2.14-2build2) over (2.14-2) ... Preparing to unpack .../13-psmisc_23.7-1build1_s390x.deb ... Unpacking psmisc (23.7-1build1) over (23.6-1) ... Preparing to unpack .../14-xz-utils_5.6.1+really5.4.5-1_s390x.deb ... Unpacking xz-utils (5.6.1+really5.4.5-1) over (5.4.1-0.2) ... Preparing to unpack .../15-libctf0_2.42-4ubuntu2_s390x.deb ... Unpacking libctf0:s390x (2.42-4ubuntu2) over (2.41-5ubuntu1) ... Preparing to unpack .../16-libctf-nobfd0_2.42-4ubuntu2_s390x.deb ... Unpacking libctf-nobfd0:s390x (2.42-4ubuntu2) over (2.41-5ubuntu1) ... Preparing to unpack .../17-binutils-s390x-linux-gnu_2.42-4ubuntu2_s390x.deb ... Unpacking binutils-s390x-linux-gnu (2.42-4ubuntu2) over (2.41-5ubuntu1) ... Preparing to unpack .../18-libbinutils_2.42-4ubuntu2_s390x.deb ... Unpacking libbinutils:s390x (2.42-4ubuntu2) over (2.41-5ubuntu1) ... Preparing to unpack .../19-binutils_2.42-4ubuntu2_s390x.deb ... Unpacking binutils (2.42-4ubuntu2) over (2.41-5ubuntu1) ... Preparing to unpack .../20-binutils-common_2.42-4ubuntu2_s390x.deb ... Unpacking binutils-common:s390x (2.42-4ubuntu2) over (2.41-5ubuntu1) ... Preparing to unpack .../21-libsframe1_2.42-4ubuntu2_s390x.deb ... Unpacking libsframe1:s390x (2.42-4ubuntu2) over (2.41-5ubuntu1) ... Preparing to unpack .../22-libubsan1_14-20240330-1ubuntu2_s390x.deb ... Unpacking libubsan1:s390x (14-20240330-1ubuntu2) over (13.2.0-4ubuntu3) ... Preparing to unpack .../23-libgomp1_14-20240330-1ubuntu2_s390x.deb ... Unpacking libgomp1:s390x (14-20240330-1ubuntu2) over (13.2.0-4ubuntu3) ... Preparing to unpack .../24-libitm1_14-20240330-1ubuntu2_s390x.deb ... Unpacking libitm1:s390x (14-20240330-1ubuntu2) over (13.2.0-4ubuntu3) ... Preparing to unpack .../25-libatomic1_14-20240330-1ubuntu2_s390x.deb ... Unpacking libatomic1:s390x (14-20240330-1ubuntu2) over (13.2.0-4ubuntu3) ... Preparing to unpack .../26-libasan8_14-20240330-1ubuntu2_s390x.deb ... Unpacking libasan8:s390x (14-20240330-1ubuntu2) over (13.2.0-4ubuntu3) ... Preparing to unpack .../27-g++-13_13.2.0-23ubuntu3_s390x.deb ... Unpacking g++-13 (13.2.0-23ubuntu3) over (13.2.0-4ubuntu3) ... Preparing to unpack .../28-gcc-13_13.2.0-23ubuntu3_s390x.deb ... Unpacking gcc-13 (13.2.0-23ubuntu3) over (13.2.0-4ubuntu3) ... Preparing to unpack .../29-libstdc++-13-dev_13.2.0-23ubuntu3_s390x.deb ... Unpacking libstdc++-13-dev:s390x (13.2.0-23ubuntu3) over (13.2.0-4ubuntu3) ... Preparing to unpack .../30-libgcc-13-dev_13.2.0-23ubuntu3_s390x.deb ... Unpacking libgcc-13-dev:s390x (13.2.0-23ubuntu3) over (13.2.0-4ubuntu3) ... Preparing to unpack .../31-libcc1-0_14-20240330-1ubuntu2_s390x.deb ... Unpacking libcc1-0:s390x (14-20240330-1ubuntu2) over (13.2.0-4ubuntu3) ... Preparing to unpack .../32-cpp-13_13.2.0-23ubuntu3_s390x.deb ... Unpacking cpp-13 (13.2.0-23ubuntu3) over (13.2.0-4ubuntu3) ... Preparing to unpack .../33-gcc-13-base_13.2.0-23ubuntu3_s390x.deb ... Unpacking gcc-13-base:s390x (13.2.0-23ubuntu3) over (13.2.0-4ubuntu3) ... Selecting previously unselected package gcc-13-s390x-linux-gnu. Preparing to unpack .../34-gcc-13-s390x-linux-gnu_13.2.0-23ubuntu3_s390x.deb ... Unpacking gcc-13-s390x-linux-gnu (13.2.0-23ubuntu3) ... Selecting previously unselected package g++-13-s390x-linux-gnu. Preparing to unpack .../35-g++-13-s390x-linux-gnu_13.2.0-23ubuntu3_s390x.deb ... Unpacking g++-13-s390x-linux-gnu (13.2.0-23ubuntu3) ... Selecting previously unselected package cpp-13-s390x-linux-gnu. Preparing to unpack .../36-cpp-13-s390x-linux-gnu_13.2.0-23ubuntu3_s390x.deb ... Unpacking cpp-13-s390x-linux-gnu (13.2.0-23ubuntu3) ... Preparing to unpack .../37-g++_4%3a13.2.0-7ubuntu1_s390x.deb ... Unpacking g++ (4:13.2.0-7ubuntu1) over (4:13.2.0-1ubuntu1) ... Preparing to unpack .../38-gcc_4%3a13.2.0-7ubuntu1_s390x.deb ... Unpacking gcc (4:13.2.0-7ubuntu1) over (4:13.2.0-1ubuntu1) ... Preparing to unpack .../39-cpp_4%3a13.2.0-7ubuntu1_s390x.deb ... Unpacking cpp (4:13.2.0-7ubuntu1) over (4:13.2.0-1ubuntu1) ... Selecting previously unselected package cpp-s390x-linux-gnu. Preparing to unpack .../40-cpp-s390x-linux-gnu_4%3a13.2.0-7ubuntu1_s390x.deb ... Unpacking cpp-s390x-linux-gnu (4:13.2.0-7ubuntu1) ... Selecting previously unselected package gcc-s390x-linux-gnu. Preparing to unpack .../41-gcc-s390x-linux-gnu_4%3a13.2.0-7ubuntu1_s390x.deb ... Unpacking gcc-s390x-linux-gnu (4:13.2.0-7ubuntu1) ... Selecting previously unselected package g++-s390x-linux-gnu. Preparing to unpack .../42-g++-s390x-linux-gnu_4%3a13.2.0-7ubuntu1_s390x.deb ... Unpacking g++-s390x-linux-gnu (4:13.2.0-7ubuntu1) ... Preparing to unpack .../43-dpkg-dev_1.22.6ubuntu6_all.deb ... Unpacking dpkg-dev (1.22.6ubuntu6) over (1.22.0ubuntu1) ... Preparing to unpack .../44-libdpkg-perl_1.22.6ubuntu6_all.deb ... Unpacking libdpkg-perl (1.22.6ubuntu6) over (1.22.0ubuntu1) ... Preparing to unpack .../45-lto-disabled-list_47_all.deb ... Unpacking lto-disabled-list (47) over (43) ... Preparing to unpack .../46-libfakeroot_1.33-1_s390x.deb ... Unpacking libfakeroot:s390x (1.33-1) over (1.32.1-1) ... Preparing to unpack .../47-fakeroot_1.33-1_s390x.deb ... Unpacking fakeroot (1.33-1) over (1.32.1-1) ... Setting up libip4tc2:s390x (1.8.10-3ubuntu1) ... Setting up libtext-iconv-perl:s390x (1.7-8build3) ... Setting up libtext-charwidth-perl:s390x (0.04-11build3) ... Setting up libkeyutils1:s390x (1.6.3-3) ... Setting up lto-disabled-list (47) ... Setting up libgpm2:s390x (1.20.7-11) ... Setting up libgdbm6t64:s390x (1.23-5.1build1) ... Setting up bsdextrautils (2.39.3-9ubuntu4) ... Setting up init (1.66ubuntu1) ... Setting up libgdbm-compat4t64:s390x (1.23-5.1build1) ... Setting up psmisc (23.7-1build1) ... Setting up libtirpc-common (1.3.4+ds-1.1build1) ... Setting up libsqlite3-0:s390x (3.45.1-1ubuntu2) ... Setting up binutils-common:s390x (2.42-4ubuntu2) ... Setting up linux-libc-dev:s390x (6.8.0-20.20) ... Setting up libctf-nobfd0:s390x (2.42-4ubuntu2) ... Setting up krb5-locales (1.20.1-6ubuntu2) ... Setting up libgomp1:s390x (14-20240330-1ubuntu2) ... Setting up bzip2 (1.0.8-5.1) ... Setting up libsframe1:s390x (2.42-4ubuntu2) ... Setting up libfakeroot:s390x (1.33-1) ... Setting up libjansson4:s390x (2.14-2build2) ... Setting up libkrb5support0:s390x (1.20.1-6ubuntu2) ... Setting up tzdata (2024a-1ubuntu1) ... Current default time zone: 'Etc/UTC' Local time is now: Wed Apr 3 12:30:23 UTC 2024. Universal Time is now: Wed Apr 3 12:30:23 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up fakeroot (1.33-1) ... Setting up gcc-13-base:s390x (13.2.0-23ubuntu3) ... Setting up cpp-13-s390x-linux-gnu (13.2.0-23ubuntu3) ... Setting up bash-completion (1:2.11-8) ... Setting up xz-utils (5.6.1+really5.4.5-1) ... Setting up perl-modules-5.38 (5.38.2-3.2build1) ... Setting up libproc2-0:s390x (2:4.0.4-4ubuntu3) ... Setting up libpng16-16t64:s390x (1.6.43-5build1) ... Setting up libatomic1:s390x (14-20240330-1ubuntu2) ... Setting up libss2:s390x (1.47.0-2.4~exp1ubuntu3) ... Setting up libncursesw6:s390x (6.4+20240113-1ubuntu1) ... Setting up libk5crypto3:s390x (1.20.1-6ubuntu2) ... Setting up logsave (1.47.0-2.4~exp1ubuntu3) ... Setting up libdb5.3t64:s390x (5.3.28+dfsg2-6build1) ... Setting up libubsan1:s390x (14-20240330-1ubuntu2) ... Setting up sensible-utils (0.0.22) ... Setting up uuid-runtime (2.39.3-9ubuntu4) ... Running in chroot, ignoring request. invoke-rc.d: policy-rc.d denied execution of restart. Setting up libcrypt-dev:s390x (1:4.4.36-4) ... Setting up libasan8:s390x (14-20240330-1ubuntu2) ... Setting up procps (2:4.0.4-4ubuntu3) ... Installing new version of config file /etc/sysctl.conf ... Setting up mawk (1.3.4.20240123-1) ... Setting up libkrb5-3:s390x (1.20.1-6ubuntu2) ... Setting up libperl5.38t64:s390x (5.38.2-3.2build1) ... Setting up libbinutils:s390x (2.42-4ubuntu2) ... Setting up libc-dev-bin (2.39-0ubuntu8) ... Setting up openssl (3.0.13-0ubuntu3) ... Setting up libgpg-error-l10n (1.47-3build1) ... Setting up readline-common (8.2-4build1) ... Setting up libcc1-0:s390x (14-20240330-1ubuntu2) ... Setting up liblocale-gettext-perl (1.07-6ubuntu5) ... Setting up libitm1:s390x (14-20240330-1ubuntu2) ... Setting up libctf0:s390x (2.42-4ubuntu2) ... Setting up pinentry-curses (1.2.1-3ubuntu5) ... Setting up apt-utils (2.7.14build2) ... Setting up binutils-s390x-linux-gnu (2.42-4ubuntu2) ... Setting up cpp-13 (13.2.0-23ubuntu3) ... Setting up cpp-s390x-linux-gnu (4:13.2.0-7ubuntu1) ... Setting up debconf-i18n (1.5.86) ... Setting up e2fsprogs (1.47.0-2.4~exp1ubuntu3) ... Setting up binutils (2.42-4ubuntu2) ... Setting up ca-certificates (20240203) ... Updating certificates in /etc/ssl/certs... rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL 14 added, 5 removed; done. Setting up perl (5.38.2-3.2build1) ... Setting up optipng (0.7.8+ds-1build2) ... Setting up libgssapi-krb5-2:s390x (1.20.1-6ubuntu2) ... Setting up libdpkg-perl (1.22.6ubuntu6) ... Setting up libreadline8t64:s390x (8.2-4build1) ... Setting up libgcc-13-dev:s390x (13.2.0-23ubuntu3) ... Setting up cpp (4:13.2.0-7ubuntu1) ... Setting up gpgconf (2.4.4-2ubuntu16) ... Setting up libc6-dev:s390x (2.39-0ubuntu8) ... Setting up gpg (2.4.4-2ubuntu16) ... Setting up libstdc++-13-dev:s390x (13.2.0-23ubuntu3) ... Setting up gpg-agent (2.4.4-2ubuntu16) ... Setting up libtirpc3t64:s390x (1.3.4+ds-1.1build1) ... Setting up dpkg-dev (1.22.6ubuntu6) ... Setting up libtirpc-dev:s390x (1.3.4+ds-1.1build1) ... Setting up gcc-13-s390x-linux-gnu (13.2.0-23ubuntu3) ... Setting up gcc-s390x-linux-gnu (4:13.2.0-7ubuntu1) ... Setting up g++-13-s390x-linux-gnu (13.2.0-23ubuntu3) ... Setting up gcc-13 (13.2.0-23ubuntu3) ... Setting up libnsl2:s390x (1.3.0-3build3) ... Setting up g++-13 (13.2.0-23ubuntu3) ... Setting up g++-s390x-linux-gnu (4:13.2.0-7ubuntu1) ... Setting up libnss-nisplus:s390x (1.3-5build1) ... Setting up gcc (4:13.2.0-7ubuntu1) ... Setting up g++ (4:13.2.0-7ubuntu1) ... Setting up libnsl-dev:s390x (1.3.0-3build3) ... Processing triggers for libc-bin (2.39-0ubuntu8) ... Processing triggers for debianutils (5.17build1) ... (Reading database ... 15548 files and directories currently installed.) Purging configuration files for libssl3:s390x (3.0.10-1ubuntu2) ... Processing triggers for ca-certificates (20240203) ... Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d... done. RUN: /usr/share/launchpad-buildd/bin/sbuild-package PACKAGEBUILD-28013552 s390x noble-proposed -c chroot:build-PACKAGEBUILD-28013552 --arch=s390x --dist=noble-proposed --nolog testdisk_7.1-5+nmu1build2.dsc Initiating build PACKAGEBUILD-28013552 with 4 jobs across 4 processor cores. Kernel reported to sbuild: 5.4.0-173-generic #191-Ubuntu SMP Fri Feb 2 13:54:49 UTC 2024 s390x sbuild (Debian sbuild) 0.79.0 (05 February 2020) on bos02-s390x-003.buildd +==============================================================================+ | testdisk 7.1-5+nmu1build2 (s390x) Wed, 03 Apr 2024 12:30:27 +0000 | +==============================================================================+ Package: testdisk Version: 7.1-5+nmu1build2 Source Version: 7.1-5+nmu1build2 Distribution: noble-proposed Machine Architecture: s390x Host Architecture: s390x Build Architecture: s390x Build Type: any I: NOTICE: Log filtering will replace 'home/buildd/build-PACKAGEBUILD-28013552/chroot-autobuild' with '<>' I: NOTICE: Log filtering will replace 'build/testdisk-pESL6r/resolver-NxvDr4' with '<>' +------------------------------------------------------------------------------+ | Fetch source files | +------------------------------------------------------------------------------+ Local sources ------------- testdisk_7.1-5+nmu1build2.dsc exists in .; copying to chroot I: NOTICE: Log filtering will replace 'build/testdisk-pESL6r/testdisk-7.1' with '<>' I: NOTICE: Log filtering will replace 'build/testdisk-pESL6r' with '<>' +------------------------------------------------------------------------------+ | Install package build dependencies | +------------------------------------------------------------------------------+ Setup apt archive ----------------- Merged Build-Depends: debhelper (>= 9.20160114), e2fslibs-dev (>= 1.35-3), libncurses5-dev, libncursesw5-dev, ntfs-3g-dev, libjpeg-dev, uuid-dev, zlib1g-dev, dh-autoreconf, pkg-config, build-essential, fakeroot Filtered Build-Depends: debhelper (>= 9.20160114), e2fslibs-dev (>= 1.35-3), libncurses5-dev, libncursesw5-dev, ntfs-3g-dev, libjpeg-dev, uuid-dev, zlib1g-dev, dh-autoreconf, pkg-config, build-essential, fakeroot dpkg-deb: building package 'sbuild-build-depends-main-dummy' in '/<>/apt_archive/sbuild-build-depends-main-dummy.deb'. Ign:1 copy:/<>/apt_archive ./ InRelease Get:2 copy:/<>/apt_archive ./ Release [957 B] Ign:3 copy:/<>/apt_archive ./ Release.gpg Get:4 copy:/<>/apt_archive ./ Sources [452 B] Get:5 copy:/<>/apt_archive ./ Packages [523 B] Fetched 1932 B in 0s (0 B/s) Reading package lists... Reading package lists... Install main build dependencies (apt-based resolver) ---------------------------------------------------- Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following packages were automatically installed and are no longer required: apt-utils bash-completion ca-certificates debconf-i18n krb5-locales libgpg-error-l10n libgpm2 libgssapi-krb5-2 libip4tc2 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 liblocale-gettext-perl libnsl-dev libnsl2 libnss-nis libnss-nisplus libperl5.36 libtext-charwidth-perl libtext-iconv-perl libtext-wrapi18n-perl libtirpc-common libtirpc-dev libtirpc3t64 libunistring2 openssl perl-modules-5.36 psmisc uuid-runtime Use 'apt autoremove' to remove them. The following additional packages will be installed: autoconf automake autopoint autotools-dev comerr-dev debhelper debugedit dh-autoreconf dh-strip-nondeterminism dwz file fuse3 gettext gettext-base groff-base intltool-debian libarchive-zip-perl libdebhelper-perl libdw1t64 libelf1t64 libext2fs-dev libfile-stripnondeterminism-perl libfuse3-3 libicu74 libjpeg-dev libjpeg-turbo8 libjpeg-turbo8-dev libjpeg8 libjpeg8-dev libmagic-mgc libmagic1t64 libncurses-dev libncurses6 libntfs-3g89t64 libpipeline1 libpkgconf3 libsub-override-perl libtool libuchardet0 libxml2 m4 man-db ntfs-3g ntfs-3g-dev pkg-config pkgconf pkgconf-bin po-debconf uuid-dev zlib1g-dev Suggested packages: autoconf-archive gnu-standards autoconf-doc doc-base dh-make gettext-doc libasprintf-dev libgettextpo-dev groff ncurses-doc libtool-doc gfortran | fortran95-compiler gcj-jdk m4-doc apparmor less www-browser libmail-box-perl Recommended packages: curl | wget | lynx libarchive-cpio-perl libltdl-dev libmail-sendmail-perl The following NEW packages will be installed: autoconf automake autopoint autotools-dev comerr-dev debhelper debugedit dh-autoreconf dh-strip-nondeterminism dwz file fuse3 gettext gettext-base groff-base intltool-debian libarchive-zip-perl libdebhelper-perl libdw1t64 libelf1t64 libext2fs-dev libfile-stripnondeterminism-perl libfuse3-3 libicu74 libjpeg-dev libjpeg-turbo8 libjpeg-turbo8-dev libjpeg8 libjpeg8-dev libmagic-mgc libmagic1t64 libncurses-dev libncurses6 libntfs-3g89t64 libpipeline1 libpkgconf3 libsub-override-perl libtool libuchardet0 libxml2 m4 man-db ntfs-3g ntfs-3g-dev pkg-config pkgconf pkgconf-bin po-debconf sbuild-build-depends-main-dummy uuid-dev zlib1g-dev 0 upgraded, 51 newly installed, 0 to remove and 0 not upgraded. Need to get 22.5 MB of archives. After this operation, 79.8 MB of additional disk space will be used. Get:1 copy:/<>/apt_archive ./ sbuild-build-depends-main-dummy 0.invalid.0 [746 B] Get:2 http://ftpmaster.internal/ubuntu noble/main s390x libfuse3-3 s390x 3.14.0-5 [82.7 kB] Get:3 http://ftpmaster.internal/ubuntu noble/main s390x fuse3 s390x 3.14.0-5 [26.3 kB] Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libntfs-3g89t64 s390x 1:2022.10.3-1.2ubuntu2 [170 kB] Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main s390x ntfs-3g s390x 1:2022.10.3-1.2ubuntu2 [426 kB] Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libelf1t64 s390x 0.190-1.1build3 [69.6 kB] Get:7 http://ftpmaster.internal/ubuntu noble/main s390x libicu74 s390x 74.2-1ubuntu1 [10.9 MB] Get:8 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libxml2 s390x 2.9.14+dfsg-1.3ubuntu3 [818 kB] Get:9 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libmagic-mgc s390x 1:5.45-3build1 [305 kB] Get:10 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libmagic1t64 s390x 1:5.45-3build1 [93.2 kB] Get:11 http://ftpmaster.internal/ubuntu noble-proposed/main s390x file s390x 1:5.45-3build1 [22.2 kB] Get:12 http://ftpmaster.internal/ubuntu noble/main s390x gettext-base s390x 0.21-14ubuntu1 [39.4 kB] Get:13 http://ftpmaster.internal/ubuntu noble/main s390x libuchardet0 s390x 0.0.8-1 [76.1 kB] Get:14 http://ftpmaster.internal/ubuntu noble-proposed/main s390x groff-base s390x 1.23.0-3build2 [1049 kB] Get:15 http://ftpmaster.internal/ubuntu noble/main s390x libncurses6 s390x 6.4+20240113-1ubuntu1 [124 kB] Get:16 http://ftpmaster.internal/ubuntu noble/main s390x libpipeline1 s390x 1.5.7-2 [25.0 kB] Get:17 http://ftpmaster.internal/ubuntu noble-proposed/main s390x man-db s390x 2.12.0-4build1 [1253 kB] Get:18 http://ftpmaster.internal/ubuntu noble/main s390x m4 s390x 1.4.19-4 [255 kB] Get:19 http://ftpmaster.internal/ubuntu noble/main s390x autoconf all 2.71-3 [339 kB] Get:20 http://ftpmaster.internal/ubuntu noble/main s390x autotools-dev all 20220109.1 [44.9 kB] Get:21 http://ftpmaster.internal/ubuntu noble/main s390x automake all 1:1.16.5-1.3ubuntu1 [558 kB] Get:22 http://ftpmaster.internal/ubuntu noble/main s390x autopoint all 0.21-14ubuntu1 [422 kB] Get:23 http://ftpmaster.internal/ubuntu noble/main s390x libdebhelper-perl all 13.14.1ubuntu5 [89.8 kB] Get:24 http://ftpmaster.internal/ubuntu noble/main s390x libtool all 2.4.7-7 [166 kB] Get:25 http://ftpmaster.internal/ubuntu noble/main s390x dh-autoreconf all 20 [16.1 kB] Get:26 http://ftpmaster.internal/ubuntu noble/main s390x libarchive-zip-perl all 1.68-1 [90.2 kB] Get:27 http://ftpmaster.internal/ubuntu noble/main s390x libsub-override-perl all 0.10-1 [10.0 kB] Get:28 http://ftpmaster.internal/ubuntu noble/main s390x libfile-stripnondeterminism-perl all 1.13.1-1 [18.1 kB] Get:29 http://ftpmaster.internal/ubuntu noble/main s390x dh-strip-nondeterminism all 1.13.1-1 [5362 B] Get:30 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libdw1t64 s390x 0.190-1.1build3 [286 kB] Get:31 http://ftpmaster.internal/ubuntu noble-proposed/main s390x debugedit s390x 1:5.0-5build1 [50.5 kB] Get:32 http://ftpmaster.internal/ubuntu noble-proposed/main s390x dwz s390x 0.15-1build6 [122 kB] Get:33 http://ftpmaster.internal/ubuntu noble/main s390x gettext s390x 0.21-14ubuntu1 [917 kB] Get:34 http://ftpmaster.internal/ubuntu noble/main s390x intltool-debian all 0.35.0+20060710.6 [23.2 kB] Get:35 http://ftpmaster.internal/ubuntu noble/main s390x po-debconf all 1.0.21+nmu1 [233 kB] Get:36 http://ftpmaster.internal/ubuntu noble/main s390x debhelper all 13.14.1ubuntu5 [869 kB] Get:37 http://ftpmaster.internal/ubuntu noble-proposed/main s390x comerr-dev s390x 2.1-1.47.0-2.4~exp1ubuntu3 [44.0 kB] Get:38 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libext2fs-dev s390x 1.47.0-2.4~exp1ubuntu3 [312 kB] Get:39 http://ftpmaster.internal/ubuntu noble/main s390x libjpeg-turbo8 s390x 2.1.5-2ubuntu1 [128 kB] Get:40 http://ftpmaster.internal/ubuntu noble/main s390x libjpeg-turbo8-dev s390x 2.1.5-2ubuntu1 [264 kB] Get:41 http://ftpmaster.internal/ubuntu noble/main s390x libjpeg8 s390x 8c-2ubuntu11 [2146 B] Get:42 http://ftpmaster.internal/ubuntu noble/main s390x libjpeg8-dev s390x 8c-2ubuntu11 [1484 B] Get:43 http://ftpmaster.internal/ubuntu noble/main s390x libjpeg-dev s390x 8c-2ubuntu11 [1484 B] Get:44 http://ftpmaster.internal/ubuntu noble/main s390x libncurses-dev s390x 6.4+20240113-1ubuntu1 [412 kB] Get:45 http://ftpmaster.internal/ubuntu noble/main s390x libpkgconf3 s390x 1.8.1-2 [30.4 kB] Get:46 http://ftpmaster.internal/ubuntu noble-proposed/main s390x ntfs-3g-dev s390x 1:2022.10.3-1.2ubuntu2 [266 kB] Get:47 http://ftpmaster.internal/ubuntu noble/main s390x pkgconf-bin s390x 1.8.1-2 [20.8 kB] Get:48 http://ftpmaster.internal/ubuntu noble/main s390x pkgconf s390x 1.8.1-2 [16.7 kB] Get:49 http://ftpmaster.internal/ubuntu noble/main s390x pkg-config s390x 1.8.1-2 [7170 B] Get:50 http://ftpmaster.internal/ubuntu noble-proposed/main s390x zlib1g-dev s390x 1:1.3.dfsg-3.1ubuntu2 [904 kB] Get:51 http://ftpmaster.internal/ubuntu noble-proposed/main s390x uuid-dev s390x 2.39.3-9ubuntu4 [34.2 kB] Preconfiguring packages ... Fetched 22.5 MB in 4s (6331 kB/s) Selecting previously unselected package libfuse3-3:s390x. (Reading database ... 15548 files and directories currently installed.) Preparing to unpack .../libfuse3-3_3.14.0-5_s390x.deb ... Unpacking libfuse3-3:s390x (3.14.0-5) ... Selecting previously unselected package fuse3. Preparing to unpack .../fuse3_3.14.0-5_s390x.deb ... Unpacking fuse3 (3.14.0-5) ... Selecting previously unselected package libntfs-3g89t64:s390x. Preparing to unpack .../libntfs-3g89t64_1%3a2022.10.3-1.2ubuntu2_s390x.deb ... Unpacking libntfs-3g89t64:s390x (1:2022.10.3-1.2ubuntu2) ... Setting up libfuse3-3:s390x (3.14.0-5) ... Setting up fuse3 (3.14.0-5) ... Selecting previously unselected package ntfs-3g. (Reading database ... 15577 files and directories currently installed.) Preparing to unpack .../00-ntfs-3g_1%3a2022.10.3-1.2ubuntu2_s390x.deb ... Unpacking ntfs-3g (1:2022.10.3-1.2ubuntu2) ... Selecting previously unselected package libelf1t64:s390x. Preparing to unpack .../01-libelf1t64_0.190-1.1build3_s390x.deb ... Unpacking libelf1t64:s390x (0.190-1.1build3) ... Selecting previously unselected package libicu74:s390x. Preparing to unpack .../02-libicu74_74.2-1ubuntu1_s390x.deb ... Unpacking libicu74:s390x (74.2-1ubuntu1) ... Selecting previously unselected package libxml2:s390x. Preparing to unpack .../03-libxml2_2.9.14+dfsg-1.3ubuntu3_s390x.deb ... Unpacking libxml2:s390x (2.9.14+dfsg-1.3ubuntu3) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../04-libmagic-mgc_1%3a5.45-3build1_s390x.deb ... Unpacking libmagic-mgc (1:5.45-3build1) ... Selecting previously unselected package libmagic1t64:s390x. Preparing to unpack .../05-libmagic1t64_1%3a5.45-3build1_s390x.deb ... Unpacking libmagic1t64:s390x (1:5.45-3build1) ... Selecting previously unselected package file. Preparing to unpack .../06-file_1%3a5.45-3build1_s390x.deb ... Unpacking file (1:5.45-3build1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../07-gettext-base_0.21-14ubuntu1_s390x.deb ... Unpacking gettext-base (0.21-14ubuntu1) ... Selecting previously unselected package libuchardet0:s390x. Preparing to unpack .../08-libuchardet0_0.0.8-1_s390x.deb ... Unpacking libuchardet0:s390x (0.0.8-1) ... Selecting previously unselected package groff-base. Preparing to unpack .../09-groff-base_1.23.0-3build2_s390x.deb ... Unpacking groff-base (1.23.0-3build2) ... Selecting previously unselected package libncurses6:s390x. Preparing to unpack .../10-libncurses6_6.4+20240113-1ubuntu1_s390x.deb ... Unpacking libncurses6:s390x (6.4+20240113-1ubuntu1) ... Selecting previously unselected package libpipeline1:s390x. Preparing to unpack .../11-libpipeline1_1.5.7-2_s390x.deb ... Unpacking libpipeline1:s390x (1.5.7-2) ... Selecting previously unselected package man-db. Preparing to unpack .../12-man-db_2.12.0-4build1_s390x.deb ... Unpacking man-db (2.12.0-4build1) ... Selecting previously unselected package m4. Preparing to unpack .../13-m4_1.4.19-4_s390x.deb ... Unpacking m4 (1.4.19-4) ... Selecting previously unselected package autoconf. Preparing to unpack .../14-autoconf_2.71-3_all.deb ... Unpacking autoconf (2.71-3) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../15-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../16-automake_1%3a1.16.5-1.3ubuntu1_all.deb ... Unpacking automake (1:1.16.5-1.3ubuntu1) ... Selecting previously unselected package autopoint. Preparing to unpack .../17-autopoint_0.21-14ubuntu1_all.deb ... Unpacking autopoint (0.21-14ubuntu1) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../18-libdebhelper-perl_13.14.1ubuntu5_all.deb ... Unpacking libdebhelper-perl (13.14.1ubuntu5) ... Selecting previously unselected package libtool. Preparing to unpack .../19-libtool_2.4.7-7_all.deb ... Unpacking libtool (2.4.7-7) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../20-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../21-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libsub-override-perl. Preparing to unpack .../22-libsub-override-perl_0.10-1_all.deb ... Unpacking libsub-override-perl (0.10-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../23-libfile-stripnondeterminism-perl_1.13.1-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.13.1-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../24-dh-strip-nondeterminism_1.13.1-1_all.deb ... Unpacking dh-strip-nondeterminism (1.13.1-1) ... Selecting previously unselected package libdw1t64:s390x. Preparing to unpack .../25-libdw1t64_0.190-1.1build3_s390x.deb ... Unpacking libdw1t64:s390x (0.190-1.1build3) ... Selecting previously unselected package debugedit. Preparing to unpack .../26-debugedit_1%3a5.0-5build1_s390x.deb ... Unpacking debugedit (1:5.0-5build1) ... Selecting previously unselected package dwz. Preparing to unpack .../27-dwz_0.15-1build6_s390x.deb ... Unpacking dwz (0.15-1build6) ... Selecting previously unselected package gettext. Preparing to unpack .../28-gettext_0.21-14ubuntu1_s390x.deb ... Unpacking gettext (0.21-14ubuntu1) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../29-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../30-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../31-debhelper_13.14.1ubuntu5_all.deb ... Unpacking debhelper (13.14.1ubuntu5) ... Selecting previously unselected package comerr-dev:s390x. Preparing to unpack .../32-comerr-dev_2.1-1.47.0-2.4~exp1ubuntu3_s390x.deb ... Unpacking comerr-dev:s390x (2.1-1.47.0-2.4~exp1ubuntu3) ... Selecting previously unselected package libext2fs-dev. Preparing to unpack .../33-libext2fs-dev_1.47.0-2.4~exp1ubuntu3_s390x.deb ... Unpacking libext2fs-dev (1.47.0-2.4~exp1ubuntu3) ... Selecting previously unselected package libjpeg-turbo8:s390x. Preparing to unpack .../34-libjpeg-turbo8_2.1.5-2ubuntu1_s390x.deb ... Unpacking libjpeg-turbo8:s390x (2.1.5-2ubuntu1) ... Selecting previously unselected package libjpeg-turbo8-dev:s390x. Preparing to unpack .../35-libjpeg-turbo8-dev_2.1.5-2ubuntu1_s390x.deb ... Unpacking libjpeg-turbo8-dev:s390x (2.1.5-2ubuntu1) ... Selecting previously unselected package libjpeg8:s390x. Preparing to unpack .../36-libjpeg8_8c-2ubuntu11_s390x.deb ... Unpacking libjpeg8:s390x (8c-2ubuntu11) ... Selecting previously unselected package libjpeg8-dev:s390x. Preparing to unpack .../37-libjpeg8-dev_8c-2ubuntu11_s390x.deb ... Unpacking libjpeg8-dev:s390x (8c-2ubuntu11) ... Selecting previously unselected package libjpeg-dev:s390x. Preparing to unpack .../38-libjpeg-dev_8c-2ubuntu11_s390x.deb ... Unpacking libjpeg-dev:s390x (8c-2ubuntu11) ... Selecting previously unselected package libncurses-dev:s390x. Preparing to unpack .../39-libncurses-dev_6.4+20240113-1ubuntu1_s390x.deb ... Unpacking libncurses-dev:s390x (6.4+20240113-1ubuntu1) ... Selecting previously unselected package libpkgconf3:s390x. Preparing to unpack .../40-libpkgconf3_1.8.1-2_s390x.deb ... Unpacking libpkgconf3:s390x (1.8.1-2) ... Selecting previously unselected package ntfs-3g-dev. Preparing to unpack .../41-ntfs-3g-dev_1%3a2022.10.3-1.2ubuntu2_s390x.deb ... Unpacking ntfs-3g-dev (1:2022.10.3-1.2ubuntu2) ... Selecting previously unselected package pkgconf-bin. Preparing to unpack .../42-pkgconf-bin_1.8.1-2_s390x.deb ... Unpacking pkgconf-bin (1.8.1-2) ... Selecting previously unselected package pkgconf:s390x. Preparing to unpack .../43-pkgconf_1.8.1-2_s390x.deb ... Unpacking pkgconf:s390x (1.8.1-2) ... Selecting previously unselected package pkg-config:s390x. Preparing to unpack .../44-pkg-config_1.8.1-2_s390x.deb ... Unpacking pkg-config:s390x (1.8.1-2) ... Selecting previously unselected package zlib1g-dev:s390x. Preparing to unpack .../45-zlib1g-dev_1%3a1.3.dfsg-3.1ubuntu2_s390x.deb ... Unpacking zlib1g-dev:s390x (1:1.3.dfsg-3.1ubuntu2) ... Selecting previously unselected package uuid-dev:s390x. Preparing to unpack .../46-uuid-dev_2.39.3-9ubuntu4_s390x.deb ... Unpacking uuid-dev:s390x (2.39.3-9ubuntu4) ... Selecting previously unselected package sbuild-build-depends-main-dummy. Preparing to unpack .../47-sbuild-build-depends-main-dummy_0.invalid.0_s390x.deb ... Unpacking sbuild-build-depends-main-dummy (0.invalid.0) ... Setting up libpipeline1:s390x (1.5.7-2) ... Setting up libmagic-mgc (1:5.45-3build1) ... Setting up libntfs-3g89t64:s390x (1:2022.10.3-1.2ubuntu2) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.14.1ubuntu5) ... Setting up libmagic1t64:s390x (1:5.45-3build1) ... Setting up gettext-base (0.21-14ubuntu1) ... Setting up m4 (1.4.19-4) ... Setting up file (1:5.45-3build1) ... Setting up ntfs-3g (1:2022.10.3-1.2ubuntu2) ... Setting up libelf1t64:s390x (0.190-1.1build3) ... Setting up libdw1t64:s390x (0.190-1.1build3) ... Setting up ntfs-3g-dev (1:2022.10.3-1.2ubuntu2) ... Setting up autotools-dev (20220109.1) ... Setting up libpkgconf3:s390x (1.8.1-2) ... Setting up uuid-dev:s390x (2.39.3-9ubuntu4) ... Setting up libncurses6:s390x (6.4+20240113-1ubuntu1) ... Setting up comerr-dev:s390x (2.1-1.47.0-2.4~exp1ubuntu3) ... Setting up autopoint (0.21-14ubuntu1) ... Setting up pkgconf-bin (1.8.1-2) ... Setting up libjpeg-turbo8:s390x (2.1.5-2ubuntu1) ... Setting up autoconf (2.71-3) ... Setting up libicu74:s390x (74.2-1ubuntu1) ... Setting up zlib1g-dev:s390x (1:1.3.dfsg-3.1ubuntu2) ... Setting up dwz (0.15-1build6) ... Setting up libuchardet0:s390x (0.0.8-1) ... Setting up debugedit (1:5.0-5build1) ... Setting up libsub-override-perl (0.10-1) ... Setting up libext2fs-dev (1.47.0-2.4~exp1ubuntu3) ... Setting up libxml2:s390x (2.9.14+dfsg-1.3ubuntu3) ... Setting up libjpeg8:s390x (8c-2ubuntu11) ... Setting up automake (1:1.16.5-1.3ubuntu1) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.13.1-1) ... Setting up libjpeg-turbo8-dev:s390x (2.1.5-2ubuntu1) ... Setting up libncurses-dev:s390x (6.4+20240113-1ubuntu1) ... Setting up gettext (0.21-14ubuntu1) ... Setting up libtool (2.4.7-7) ... Setting up pkgconf:s390x (1.8.1-2) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up pkg-config:s390x (1.8.1-2) ... Setting up dh-strip-nondeterminism (1.13.1-1) ... Setting up groff-base (1.23.0-3build2) ... Setting up libjpeg8-dev:s390x (8c-2ubuntu11) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up libjpeg-dev:s390x (8c-2ubuntu11) ... Setting up man-db (2.12.0-4build1) ... Not building database; man-db/auto-update is not 'true'. Created symlink /etc/systemd/system/timers.target.wants/man-db.timer → /usr/lib/systemd/system/man-db.timer. Setting up debhelper (13.14.1ubuntu5) ... Setting up sbuild-build-depends-main-dummy (0.invalid.0) ... Processing triggers for libc-bin (2.39-0ubuntu8) ... +------------------------------------------------------------------------------+ | Check architectures | +------------------------------------------------------------------------------+ Arch check ok (s390x included in any) +------------------------------------------------------------------------------+ | Build environment | +------------------------------------------------------------------------------+ Kernel: Linux 5.4.0-173-generic #191-Ubuntu SMP Fri Feb 2 13:54:49 UTC 2024 s390x (s390x) Toolchain package versions: binutils_2.42-4ubuntu2 dpkg-dev_1.22.6ubuntu6 g++-13_13.2.0-23ubuntu3 gcc-13_13.2.0-23ubuntu3 libc6-dev_2.39-0ubuntu8 libstdc++-13-dev_13.2.0-23ubuntu3 libstdc++6_14-20240330-1ubuntu2 linux-libc-dev_6.8.0-20.20 Package versions: adduser_3.137ubuntu1 advancecomp_2.5-1 apt_2.7.14build2 apt-utils_2.7.14build2 autoconf_2.71-3 automake_1:1.16.5-1.3ubuntu1 autopoint_0.21-14ubuntu1 autotools-dev_20220109.1 base-files_13ubuntu9 base-passwd_3.6.3 bash_5.2.21-2ubuntu4 bash-completion_1:2.11-8 binutils_2.42-4ubuntu2 binutils-common_2.42-4ubuntu2 binutils-s390x-linux-gnu_2.42-4ubuntu2 bsdextrautils_2.39.3-9ubuntu4 bsdutils_1:2.39.3-9ubuntu4 build-essential_12.10ubuntu1 bzip2_1.0.8-5.1 ca-certificates_20240203 comerr-dev_2.1-1.47.0-2.4~exp1ubuntu3 coreutils_9.4-3ubuntu5 cpp_4:13.2.0-7ubuntu1 cpp-13_13.2.0-23ubuntu3 cpp-13-s390x-linux-gnu_13.2.0-23ubuntu3 cpp-s390x-linux-gnu_4:13.2.0-7ubuntu1 dash_0.5.12-6ubuntu5 debconf_1.5.86 debconf-i18n_1.5.86 debhelper_13.14.1ubuntu5 debianutils_5.17build1 debugedit_1:5.0-5build1 dh-autoreconf_20 dh-strip-nondeterminism_1.13.1-1 diffutils_1:3.10-1 dpkg_1.22.6ubuntu6 dpkg-dev_1.22.6ubuntu6 dwz_0.15-1build6 e2fsprogs_1.47.0-2.4~exp1ubuntu3 fakeroot_1.33-1 file_1:5.45-3build1 findutils_4.9.0-5 fuse3_3.14.0-5 g++_4:13.2.0-7ubuntu1 g++-13_13.2.0-23ubuntu3 g++-13-s390x-linux-gnu_13.2.0-23ubuntu3 g++-s390x-linux-gnu_4:13.2.0-7ubuntu1 gcc_4:13.2.0-7ubuntu1 gcc-13_13.2.0-23ubuntu3 gcc-13-base_13.2.0-23ubuntu3 gcc-13-s390x-linux-gnu_13.2.0-23ubuntu3 gcc-14-base_14-20240330-1ubuntu2 gcc-s390x-linux-gnu_4:13.2.0-7ubuntu1 gettext_0.21-14ubuntu1 gettext-base_0.21-14ubuntu1 gpg_2.4.4-2ubuntu16 gpg-agent_2.4.4-2ubuntu16 gpgconf_2.4.4-2ubuntu16 gpgv_2.4.4-2ubuntu16 grep_3.11-4 groff-base_1.23.0-3build2 gzip_1.12-1ubuntu2 hostname_3.23+nmu2ubuntu1 init_1.66ubuntu1 init-system-helpers_1.66ubuntu1 intltool-debian_0.35.0+20060710.6 krb5-locales_1.20.1-6ubuntu2 libacl1_2.3.2-1 libapparmor1_4.0.0-beta3-0ubuntu3 libapt-pkg6.0t64_2.7.14build2 libarchive-zip-perl_1.68-1 libargon2-1_0~20190702+dfsg-4 libasan8_14-20240330-1ubuntu2 libassuan0_2.5.6-1 libatomic1_14-20240330-1ubuntu2 libattr1_1:2.5.2-1 libaudit-common_1:3.1.2-2.1build1 libaudit1_1:3.1.2-2.1build1 libbinutils_2.42-4ubuntu2 libblkid1_2.39.3-9ubuntu4 libbz2-1.0_1.0.8-5.1 libc-bin_2.39-0ubuntu8 libc-dev-bin_2.39-0ubuntu8 libc6_2.39-0ubuntu8 libc6-dev_2.39-0ubuntu8 libcap-ng0_0.8.4-2build2 libcap2_1:2.66-5ubuntu1 libcc1-0_14-20240330-1ubuntu2 libcom-err2_1.47.0-2.4~exp1ubuntu3 libcrypt-dev_1:4.4.36-4 libcrypt1_1:4.4.36-4 libcryptsetup12_2:2.7.0-1ubuntu3 libctf-nobfd0_2.42-4ubuntu2 libctf0_2.42-4ubuntu2 libdb5.3t64_5.3.28+dfsg2-6build1 libdebconfclient0_0.271ubuntu3 libdebhelper-perl_13.14.1ubuntu5 libdevmapper1.02.1_2:1.02.185-3ubuntu3 libdpkg-perl_1.22.6ubuntu6 libdw1t64_0.190-1.1build3 libelf1t64_0.190-1.1build3 libext2fs-dev_1.47.0-2.4~exp1ubuntu3 libext2fs2t64_1.47.0-2.4~exp1ubuntu3 libfakeroot_1.33-1 libfdisk1_2.39.3-9ubuntu4 libffi8_3.4.6-1 libfile-stripnondeterminism-perl_1.13.1-1 libfuse3-3_3.14.0-5 libgcc-13-dev_13.2.0-23ubuntu3 libgcc-s1_14-20240330-1ubuntu2 libgcrypt20_1.10.3-2 libgdbm-compat4t64_1.23-5.1build1 libgdbm6t64_1.23-5.1build1 libgmp10_2:6.3.0+dfsg-2ubuntu4 libgnutls30t64_3.8.3-1.1ubuntu3 libgomp1_14-20240330-1ubuntu2 libgpg-error-l10n_1.47-3build1 libgpg-error0_1.47-3build1 libgpm2_1.20.7-11 libgssapi-krb5-2_1.20.1-6ubuntu2 libhogweed6t64_3.9.1-2.2build1 libicu74_74.2-1ubuntu1 libidn2-0_2.3.7-2 libip4tc2_1.8.10-3ubuntu1 libisl23_0.26-3 libitm1_14-20240330-1ubuntu2 libjansson4_2.14-2build2 libjpeg-dev_8c-2ubuntu11 libjpeg-turbo8_2.1.5-2ubuntu1 libjpeg-turbo8-dev_2.1.5-2ubuntu1 libjpeg8_8c-2ubuntu11 libjpeg8-dev_8c-2ubuntu11 libjson-c5_0.17-1 libk5crypto3_1.20.1-6ubuntu2 libkeyutils1_1.6.3-3 libkmod2_31+20240202-2ubuntu5 libkrb5-3_1.20.1-6ubuntu2 libkrb5support0_1.20.1-6ubuntu2 liblocale-gettext-perl_1.07-6ubuntu5 liblockfile-bin_1.17-1build2 liblockfile1_1.17-1build2 liblz4-1_1.9.4-1 liblzma5_5.6.1+really5.4.5-1 libmagic-mgc_1:5.45-3build1 libmagic1t64_1:5.45-3build1 libmd0_1.1.0-2 libmount1_2.39.3-9ubuntu4 libmpc3_1.3.1-1 libmpfr6_4.2.1-1 libncurses-dev_6.4+20240113-1ubuntu1 libncurses6_6.4+20240113-1ubuntu1 libncursesw6_6.4+20240113-1ubuntu1 libnettle8t64_3.9.1-2.2build1 libnpth0t64_1.6-3.1build1 libnsl-dev_1.3.0-3build3 libnsl2_1.3.0-3build3 libnss-nis_3.1-0ubuntu6 libnss-nisplus_1.3-5build1 libntfs-3g89t64_1:2022.10.3-1.2ubuntu2 libp11-kit0_0.25.3-4ubuntu1 libpam-modules_1.5.3-5ubuntu4 libpam-modules-bin_1.5.3-5ubuntu4 libpam-runtime_1.5.3-5ubuntu4 libpam0g_1.5.3-5ubuntu4 libpcre2-8-0_10.42-4ubuntu1 libperl5.36_5.36.0-9ubuntu1 libperl5.38t64_5.38.2-3.2build1 libpipeline1_1.5.7-2 libpkgconf3_1.8.1-2 libpng16-16t64_1.6.43-5build1 libproc2-0_2:4.0.4-4ubuntu3 libreadline8t64_8.2-4build1 libseccomp2_2.5.5-1ubuntu3 libselinux1_3.5-2ubuntu2 libsemanage-common_3.5-1build5 libsemanage2_3.5-1build5 libsepol2_3.5-2 libsframe1_2.42-4ubuntu2 libsmartcols1_2.39.3-9ubuntu4 libsqlite3-0_3.45.1-1ubuntu2 libss2_1.47.0-2.4~exp1ubuntu3 libssl3t64_3.0.13-0ubuntu3 libstdc++-13-dev_13.2.0-23ubuntu3 libstdc++6_14-20240330-1ubuntu2 libsub-override-perl_0.10-1 libsystemd-shared_255.4-1ubuntu6 libsystemd0_255.4-1ubuntu6 libtasn1-6_4.19.0-3 libtext-charwidth-perl_0.04-11build3 libtext-iconv-perl_1.7-8build3 libtext-wrapi18n-perl_0.06-10 libtinfo6_6.4+20240113-1ubuntu1 libtirpc-common_1.3.4+ds-1.1build1 libtirpc-dev_1.3.4+ds-1.1build1 libtirpc3t64_1.3.4+ds-1.1build1 libtool_2.4.7-7 libubsan1_14-20240330-1ubuntu2 libuchardet0_0.0.8-1 libudev1_255.4-1ubuntu6 libunistring2_1.0-2 libunistring5_1.1-2 libuuid1_2.39.3-9ubuntu4 libxml2_2.9.14+dfsg-1.3ubuntu3 libxxhash0_0.8.2-2 libzstd1_1.5.5+dfsg2-2 linux-libc-dev_6.8.0-20.20 lockfile-progs_0.1.19build1 login_1:4.13+dfsg1-4ubuntu1 logsave_1.47.0-2.4~exp1ubuntu3 lto-disabled-list_47 m4_1.4.19-4 make_4.3-4.1build1 man-db_2.12.0-4build1 mawk_1.3.4.20240123-1 mount_2.39.3-9ubuntu4 ncurses-base_6.4+20240113-1ubuntu1 ncurses-bin_6.4+20240113-1ubuntu1 ntfs-3g_1:2022.10.3-1.2ubuntu2 ntfs-3g-dev_1:2022.10.3-1.2ubuntu2 openssl_3.0.13-0ubuntu3 optipng_0.7.8+ds-1build2 passwd_1:4.13+dfsg1-4ubuntu1 patch_2.7.6-7build2 perl_5.38.2-3.2build1 perl-base_5.38.2-3.2build1 perl-modules-5.36_5.36.0-9ubuntu1 perl-modules-5.38_5.38.2-3.2build1 pinentry-curses_1.2.1-3ubuntu5 pkg-config_1.8.1-2 pkgbinarymangler_154 pkgconf_1.8.1-2 pkgconf-bin_1.8.1-2 po-debconf_1.0.21+nmu1 policyrcd-script-zg2_0.1-3.1 procps_2:4.0.4-4ubuntu3 psmisc_23.7-1build1 readline-common_8.2-4build1 rpcsvc-proto_1.4.2-0ubuntu6 sbuild-build-depends-main-dummy_0.invalid.0 sed_4.9-2 sensible-utils_0.0.22 systemd_255.4-1ubuntu6 systemd-dev_255.4-1ubuntu6 systemd-sysv_255.4-1ubuntu6 sysvinit-utils_3.08-6ubuntu2 tar_1.35+dfsg-3 tzdata_2024a-1ubuntu1 ubuntu-keyring_2023.11.28.1 util-linux_2.39.3-9ubuntu4 uuid-dev_2.39.3-9ubuntu4 uuid-runtime_2.39.3-9ubuntu4 xz-utils_5.6.1+really5.4.5-1 zlib1g_1:1.3.dfsg-3.1ubuntu2 zlib1g-dev_1:1.3.dfsg-3.1ubuntu2 +------------------------------------------------------------------------------+ | Build | +------------------------------------------------------------------------------+ Unpack source ------------- -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 3.0 (quilt) Source: testdisk Binary: testdisk Architecture: any Version: 7.1-5+nmu1build2 Maintainer: Ubuntu Developers Uploaders: Roland Stigge Standards-Version: 4.3.0 Build-Depends: debhelper (>= 9.20160114), e2fslibs-dev (>= 1.35-3), libncurses5-dev, libncursesw5-dev, ntfs-3g-dev [!hurd-i386], libjpeg-dev, uuid-dev, zlib1g-dev, dh-autoreconf, pkg-config Package-List: testdisk deb admin optional arch=any Checksums-Sha1: f7b9329967f5bed77f3b6b15c4be9be9f5e96cae 742006 testdisk_7.1.orig.tar.bz2 484ddc165ed33dea74d53f4a8cb14223b90a6590 4964 testdisk_7.1-5+nmu1build2.debian.tar.xz Checksums-Sha256: 1413c47569e48c5b22653b943d48136cb228abcbd6f03da109c4df63382190fe 742006 testdisk_7.1.orig.tar.bz2 31c54817f0b8645bdf4aabed89f7ea3ae9894f0d9fa2203c217082127976c711 4964 testdisk_7.1-5+nmu1build2.debian.tar.xz Files: 57d78ffee1c076ef4cf541a74f8d52d4 742006 testdisk_7.1.orig.tar.bz2 3cac23d8c1b6fe6610b353227ab0c07c 4964 testdisk_7.1-5+nmu1build2.debian.tar.xz Original-Maintainer: Jean-Michel Kelbert -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEoIn7Nqr72tWswTJQafeQFxohCYQFAmYKb0IACgkQafeQFxoh CYTrQQ//SE/LYwUwAvSIZ1NYGuFGz0uZcF9eXleNFV9PSCUZdkOMZhEt+Xr1MyM1 ysIDCp2kYlMNBGDfYrm2gISUYxgn7+DHyeKmIPPWnU6EIKiOKqoHjs6o+wquBiFx iE9TvTudqZhdj8mc7E2m6n7ziVX6V0e5+brVqw73jpULBW8cMEkAyNDEfGkco1PR 19gR37m2Cobk5RdEv+ZnfdzA3zlT+sLuIJwHetJL7cHQgjtZaTvPepiUyH6E5+XQ vWG3ByGbNYVkGkG+9bkjasSZHXjXVbFsHADMtmZAc/ksFq+VVjcSIxvlVwHdKsVv Nh9VLSCFHQpI8KnLWVuZVph8+aq1Q7iu7XIpT+ePcsNkdaoNPbOSLK6DJ+x8As2e crbW85fIXX1eynAuyJaY9GTlIGyaovdvTIaVg95rFiGm1IK9mZIR0e3nQgiQ2Wr9 t3tiDUFPACS6YFOr1FVsnOiLlP4OxoPJrM/RvNwJKfuVaKVqqJnFcUYV/FfSS4rI DOFpjyU1Fj5cnuA4HAXr7hk5cYVwhJFGO9tbc52eyOv0x7v2tYlwhcOwLoDe2nit iDHf2pJYvm0D8YdzVdQuFvrnGI0WJiN/dpQ2qHEfWGjn3LLSxtQHR8vgQC7G5TcS SpCDIBIh3musFbkBn3Vog4yFE+wEHiYK3fpAf2irU3PhMV/7I3U= =hP2V -----END PGP SIGNATURE----- gpgv: Signature made Mon Apr 1 08:24:34 2024 UTC gpgv: using RSA key A089FB36AAFBDAD5ACC1325069F790171A210984 gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./testdisk_7.1-5+nmu1build2.dsc: no acceptable signature found dpkg-source: info: extracting testdisk in /<> dpkg-source: info: unpacking testdisk_7.1.orig.tar.bz2 dpkg-source: info: unpacking testdisk_7.1-5+nmu1build2.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying testdisk_sys_uuid_v2.patch Check disk space ---------------- Sufficient free space for build User Environment ---------------- APT_CONFIG=/var/lib/sbuild/apt.conf DEB_BUILD_OPTIONS=parallel=4 HOME=/sbuild-nonexistent LANG=C.UTF-8 LC_ALL=C.UTF-8 LOGNAME=buildd PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games SCHROOT_ALIAS_NAME=build-PACKAGEBUILD-28013552 SCHROOT_CHROOT_NAME=build-PACKAGEBUILD-28013552 SCHROOT_COMMAND=env SCHROOT_GID=2501 SCHROOT_GROUP=buildd SCHROOT_SESSION_ID=build-PACKAGEBUILD-28013552 SCHROOT_UID=2001 SCHROOT_USER=buildd SHELL=/bin/sh TERM=unknown USER=buildd V=1 dpkg-buildpackage ----------------- Command: dpkg-buildpackage -us -uc -mLaunchpad Build Daemon -B -rfakeroot dpkg-buildpackage: info: source package testdisk dpkg-buildpackage: info: source version 7.1-5+nmu1build2 dpkg-buildpackage: info: source distribution noble dpkg-source --before-build . dpkg-buildpackage: info: host architecture s390x fakeroot debian/rules clean dh clean --with autoreconf dh: warning: Compatibility levels before 10 are deprecated (level 9 in use) debian/rules override_dh_auto_clean make[1]: Entering directory '/<>' dh_auto_clean dh_auto_clean: warning: Compatibility levels before 10 are deprecated (level 9 in use) rm -f src/*.d make[1]: Leaving directory '/<>' dh_clean dh_clean: warning: Compatibility levels before 10 are deprecated (level 9 in use) debian/rules build-arch dh build-arch --with autoreconf dh: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_update_autotools_config -a cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead dh_autoreconf -a configure.ac:339: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:339: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:339: the top level src/Makefile.am:413: warning: >' dh_auto_configure -- --enable-sudo --with-sudo-bin=/usr/bin/sudo --with-ncurses-includes=/usr/include/ncursesw --without-ewf dh_auto_configure: warning: Compatibility levels before 10 are deprecated (level 9 in use) ./configure --build=s390x-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/s390x-linux-gnu --libexecdir=\${prefix}/lib/s390x-linux-gnu --disable-maintainer-mode --disable-dependency-tracking --enable-sudo --with-sudo-bin=/usr/bin/sudo --with-ncurses-includes=/usr/include/ncursesw --without-ewf checking build system type... s390x-ibm-linux-gnu checking host system type... s390x-ibm-linux-gnu checking target system type... s390x-ibm-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for 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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... 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 for g++... g++ checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking dependency style of g++... none checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes 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 for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for sys/wait.h that is POSIX.1 compatible... yes checking for byteswap.h... yes checking for curses.h... yes checking for cygwin/fs.h... no checking for cygwin/version.h... no checking for dal/file_dal.h... no checking for dal/file.h... no checking for ddk/ntddstor.h... no checking for dirent.h... yes checking for endian.h... yes checking for errno.h... yes checking for fcntl.h... yes checking for features.h... yes checking for giconv.h... no checking for glob.h... yes checking for iconv.h... yes checking for io.h... no checking for libgen.h... yes checking for limits.h... yes checking for linux/fs.h... yes checking for linux/hdreg.h... yes checking for linux/types.h... yes checking for locale.h... yes checking for machine/endian.h... no checking for malloc.h... yes checking for ncurses.h... yes checking for ncurses/curses.h... no checking for ncurses/ncurses.h... no checking for ncursesw/curses.h... yes checking for ncursesw/ncurses.h... yes checking for ntfs/version.h... no checking for pwd.h... yes checking for scsi/scsi.h... yes checking for scsi/scsi_ioctl.h... yes checking for scsi/sg.h... yes checking for setjmp.h... yes checking for signal.h... yes checking for stdarg.h... yes checking for sys/cygwin.h... no checking for sys/disk.h... no checking for sys/disklabel.h... no checking for sys/dkio.h... no checking for sys/endian.h... no checking for sys/ioctl.h... yes checking for sys/param.h... yes checking for sys/select.h... yes checking for sys/time.h... yes checking for sys/utsname.h... yes checking for sys/vtoc.h... no checking for time.h... yes checking for utime.h... yes checking for w32api/ddk/ntdddisk.h... no checking for windef.h... no checking for windows.h... no 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 for libewf.h... no configure: WARNING: Disable use of ewf library checking for jpeglib.h... yes checking for ntfs/attrib.h... no configure: WARNING: Disable use of ntfs library checking for ntfs/volume.h... no configure: WARNING: Disable use of ntfs library checking for ntfs-3g/attrib.h... 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 how to run the C preprocessor... gcc -E 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 for sys/uuid.h... no checking for uuid/uuid.h... yes 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 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 >= 5.0.0... no checking for Qt5Widgets >= 5.0.0... no checking whether Qt5 is using --std=c++14... no checking whether Qt5 is using --std=c++11... no checking for moc-qt5... no checking for moc... no configure: WARNING: Could not find a moc-qt5 or moc tool in your PATH. checking for rcc-qt5... no checking for rcc... no configure: WARNING: Could not find a rcc-qt5 or rcc tool in your PATH. checking for lrelease-qt5... no checking for lrelease... no configure: WARNING: Could not find a lrelease-qt5 or lrelease tool in your PATH. checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... 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 make[1]: Leaving directory '/<>' dh_auto_build -a dh_auto_build: warning: Compatibility levels before 10 are deprecated (level 9 in use) make -j1 make[1]: Entering directory '/<>' make all-recursive make[2]: Entering directory '/<>' Making all in icons make[3]: Entering directory '/<>/icons' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/<>/icons' Making all in man make[3]: Entering directory '/<>/man' Making all in zh_CN make[4]: Entering directory '/<>/man/zh_CN' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/<>/man/zh_CN' make[4]: Entering directory '/<>/man' make[4]: Nothing to be done for 'all-am'. make[4]: Leaving directory '/<>/man' make[3]: Leaving directory '/<>/man' Making all in src make[3]: Entering directory '/<>/src' gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~^~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 In file included from log.c:23: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 In file included from parti386.c:25: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~^~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 In file included from partgpt.c:25: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from partgpt.c:45: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partgpt.c:51: partgpt.h:47:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 47 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partgpt.c:53: 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:54: 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:55: 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:58: 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:59: 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:326:55: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 326 | 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:399:47: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 399 | static void set_next_status_gpt(const disk_t *disk_car, partition_t *partition) | ~~~~~~~~~~~~~~^~~~~~~~ partgpt.c: In function ‘init_structure_gpt’: partgpt.c:422:89: warning: unused parameter ‘verbose’ [-Wunused-parameter] 422 | static void init_structure_gpt(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~^~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 In file included from parthumax.c:25: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 In file included from partmac.c:25: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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]; | ^~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 In file included from partsun.c:25: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~^~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 In file included from partnone.c:25: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~^~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 In file included from partxbox.c:25: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~^~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 In file included from io_redir.c:23: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 In file included from ntfs_io.c:26: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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’) gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 In file included from ntfs_utl.c:27: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 In file included from partauto.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 In file included from sudo.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from sudo.c:39: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 In file included from unicode.c:25: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 In file included from win32.c:23: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 In file included from analyse.c:23: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 In file included from bfs.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 In file included from bsd.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 In file included from btrfs.c:23: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 In file included from cramfs.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 In file included from exfat.c:23: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 In file included from ext2.c:23: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~^~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ^~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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 gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 In file included from wbfs.c:23: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 In file included from xfs.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 In file included from zfs.c:23: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 In file included from addpart.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 In file included from addpartn.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 In file included from adv.c:23: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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; | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 In file included from askloc.c:23: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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); | ^~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 In file included from chgarch.c:23: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 In file included from chgarchn.c:23: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 In file included from chgtype.c:23: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 In file included from chgtypen.c:23: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 In file included from dimage.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 In file included from dirpart.c:23: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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; | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 In file included from diskacc.c:23: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 In file included from diskcapa.c:23: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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); | ^~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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 gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 In file included from ntfs_adv.c:23: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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; | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 In file included from ntfs_udl.c:28: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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; | ^~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from partgptn.c:44: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 In file included from tdelete.c:23: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 In file included from tload.c:23: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 In file included from tlog.c:23: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 In file included from tmbrcode.c:23: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 In file included from tntfs.c:23: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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; | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 In file included from toptions.c:23: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 In file included from tpartwr.c:23: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 In file included from dir.c:23: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 In file included from exfat_dir.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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)) | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 In file included from ext2_dir.c:23: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 In file included from fat_dir.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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; | ^~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 In file included from ntfs_dir.c:27: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 In file included from partgptw.c:25: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from partgptw.c:43: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partgptw.c:45: 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:243:87: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 243 | if(disk_car->pread(disk_car, gpt_org, disk_car->sector_size, disk_car->sector_size) == disk_car->sector_size) | ^~ partgptw.c:218:92: warning: unused parameter ‘verbose’ [-Wunused-parameter] 218 | int write_part_gpt(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~^~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 In file included from rfs_dir.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~^~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 In file included from setdate.c:23: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-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,-Bsymbolic-functions -flto=auto -ffat-lto-objects -Wl,-z,relro -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 -lz -luuid -lntfs-3g -lext2fs -lcom_err gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ^~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 In file included from fatp.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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; | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ^~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_abr.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_ace.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_ado.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_asm.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_atd.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_au.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_axp.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_axx.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_bac.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_bdm.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_berkeley.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_bim.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_bin.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_binvox.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_bkf.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_bld.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_bmp.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_bpg.c:28: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_bvr.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_bz2.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_c4d.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_che.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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]; | ^~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_hr9.c:23: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_http.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_indd.c:25: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_iso.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_m2ts.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_mat.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_max.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_mb.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_mpg.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_mrw.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_msa.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_plist.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_plr.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_plt.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_pnm.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_pzh.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_sgcta.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_shn.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_sib.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_sig.c:23: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_sit.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_skd.c:23: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_skp.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_snag.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_spe.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_tivo.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_torrent.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_tph.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_tpl.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_ttf.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_tz.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_v2i.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_vault.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_vdi.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_vdj.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_veg.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_vfb.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_vib.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_vmdk.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_vmg.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_wallet.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_wld.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_wnk.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_woff.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_wpb.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_wpd.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_wtv.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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 In file included from file_x3f.c:24: ../config.h:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~^~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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) | ~~~~~~~~~~~~~^~~~~ gcc -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-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,-Bsymbolic-functions -flto=auto -ffat-lto-objects -Wl,-z,relro -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 -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) | ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I/usr/include/ncursesw -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:607: warning: "_FORTIFY_SOURCE" redefined 607 | #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__)); | ^ gcc -g -O2 -fno-omit-frame-pointer -mbackchain -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/testdisk-7.1-5+nmu1build2 -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-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,-Bsymbolic-functions -flto=auto -ffat-lto-objects -Wl,-z,relro -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 -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[3]: Leaving directory '/<>/src' make[3]: Entering directory '/<>' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/<>' make[2]: Leaving directory '/<>' make[1]: Leaving directory '/<>' dh_auto_test -a dh_auto_test: warning: Compatibility levels before 10 are deprecated (level 9 in use) make -j1 check "TESTSUITEFLAGS=-j1 --verbose" VERBOSE=1 make[1]: Entering directory '/<>' Making check in icons make[2]: Entering directory '/<>/icons' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/<>/icons' Making check in man make[2]: Entering directory '/<>/man' Making check in zh_CN make[3]: Entering directory '/<>/man/zh_CN' make[3]: Nothing to be done for 'check'. make[3]: Leaving directory '/<>/man/zh_CN' make[3]: Entering directory '/<>/man' make[3]: Nothing to be done for 'check-am'. make[3]: Leaving directory '/<>/man' make[2]: Leaving directory '/<>/man' Making check in src make[2]: Entering directory '/<>/src' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/<>/src' make[2]: Entering directory '/<>' make[2]: Nothing to be done for 'check-am'. make[2]: Leaving directory '/<>' make[1]: Leaving directory '/<>' fakeroot debian/rules binary-arch dh binary-arch --with autoreconf dh: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_testroot -a dh_prep -a debian/rules override_dh_auto_install make[1]: Entering directory '/<>' dh_auto_install --destdir=debian/tmp dh_auto_install: warning: Compatibility levels before 10 are deprecated (level 9 in use) make -j1 install DESTDIR=/<>/debian/tmp AM_UPDATE_INFO_DIR=no make[2]: Entering directory '/<>' Making install in icons make[3]: Entering directory '/<>/icons' make[4]: Entering directory '/<>/icons' make[4]: Nothing to be done for 'install-exec-am'. make install-data-hook make[5]: Entering directory '/<>/icons' make[5]: Nothing to be done for 'install-data-hook'. make[5]: Leaving directory '/<>/icons' make[4]: Leaving directory '/<>/icons' make[3]: Leaving directory '/<>/icons' Making install in man make[3]: Entering directory '/<>/man' Making install in zh_CN make[4]: Entering directory '/<>/man/zh_CN' make[5]: Entering directory '/<>/man/zh_CN' make[5]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/<>/debian/tmp/usr/share/man/zh_CN/man8' /usr/bin/install -c -m 644 testdisk.8 photorec.8 fidentify.8 '/<>/debian/tmp/usr/share/man/zh_CN/man8' make[5]: Leaving directory '/<>/man/zh_CN' make[4]: Leaving directory '/<>/man/zh_CN' make[4]: Entering directory '/<>/man' make[5]: Entering directory '/<>/man' make[5]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/<>/debian/tmp/usr/share/man/man8' /usr/bin/install -c -m 644 testdisk.8 photorec.8 fidentify.8 '/<>/debian/tmp/usr/share/man/man8' make[5]: Leaving directory '/<>/man' make[4]: Leaving directory '/<>/man' make[3]: Leaving directory '/<>/man' Making install in src make[3]: Entering directory '/<>/src' make[4]: Entering directory '/<>/src' /usr/bin/mkdir -p '/<>/debian/tmp/usr/bin' /usr/bin/install -c testdisk photorec fidentify '/<>/debian/tmp/usr/bin' make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/<>/src' make[3]: Leaving directory '/<>/src' make[3]: Entering directory '/<>' make[4]: Entering directory '/<>' make[4]: Nothing to be done for 'install-exec-am'. make install-data-hook make[5]: Entering directory '/<>' /bin/bash /<>/config/install-sh -d /<>/debian/tmp/usr/share/doc/testdisk /usr/bin/install -c -m 644 ./AUTHORS ./ChangeLog ./NEWS ./README.md ./THANKS ./documentation.html /<>/debian/tmp/usr/share/doc/testdisk make[5]: Leaving directory '/<>' make[4]: Leaving directory '/<>' make[3]: Leaving directory '/<>' make[2]: Leaving directory '/<>' rm -f /<>/debian/tmp/usr/share/doc/testdisk/ChangeLog rm -f /<>/debian/tmp/usr/share/doc/testdisk/COPYING rm -f /<>/debian/tmp/usr/share/doc/testdisk/INSTALL make[1]: Leaving directory '/<>' dh_install -a dh_install: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_installdocs -a dh_installdocs: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_installchangelogs -a dh_installman -a dh_installman: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_perl -a dh_link -a dh_strip_nondeterminism -a dh_compress -a dh_compress: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_fixperms -a dh_missing -a dh_missing: warning: Compatibility levels before 10 are deprecated (level 9 in use) debian/rules override_dh_strip make[1]: Entering directory '/<>' dh_strip --dbgsym-migration='testdisk-dbg (<< 7.1-5+nmu1~)' dh_strip: warning: Compatibility levels before 10 are deprecated (level 9 in use) 6c7c56f97e46c3233b4565738c3364d11e39cdee 14dbf19f77d4232700f28eff8e030de6f1c6fbd5 c1e17fb7d379326c43abbd633824240b5f61d265 make[1]: Leaving directory '/<>' dh_makeshlibs -a dh_makeshlibs: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_shlibdeps -a dh_shlibdeps: warning: Compatibility levels before 10 are deprecated (level 9 in use) dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libext2fs2t64 from: /lib/s390x-linux-gnu/libext2fs.so.2 dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libext2fs2t64 to: /lib/s390x-linux-gnu/libext2fs.so.2.usr-is-merged dh_installdeb -a dh_installdeb: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_gencontrol -a dh_md5sums -a dh_builddeb -a INFO: pkgstriptranslations version 154 INFO: pkgstriptranslations version 154 pkgstriptranslations: processing testdisk-dbgsym (in debian/.debhelper/testdisk/dbgsym-root); do_strip: , oemstrip: pkgstriptranslations: processing testdisk (in debian/testdisk); do_strip: , oemstrip: pkgmaintainermangler: Not overriding Maintainer for domain lists.ubuntu.com pkgstripfiles: processing control file: debian/testdisk/DEBIAN/control, package testdisk, directory debian/testdisk pkgstripfiles: Running PNG optimization (using 4 cpus) for package testdisk ... pkgstripfiles: No PNG files. dpkg-deb: building package 'testdisk' in '../testdisk_7.1-5+nmu1build2_s390x.deb'. pkgmaintainermangler: Not overriding Maintainer for domain lists.ubuntu.com pkgstripfiles: processing control file: debian/.debhelper/testdisk/dbgsym-root/DEBIAN/control, package testdisk-dbgsym, directory debian/.debhelper/testdisk/dbgsym-root dpkg-deb: building package 'testdisk-dbgsym' in 'debian/.debhelper/scratch-space/build-testdisk/testdisk-dbgsym_7.1-5+nmu1build2_s390x.deb'. Renaming testdisk-dbgsym_7.1-5+nmu1build2_s390x.deb to testdisk-dbgsym_7.1-5+nmu1build2_s390x.ddeb dpkg-genbuildinfo --build=any -O../testdisk_7.1-5+nmu1build2_s390x.buildinfo dpkg-genchanges --build=any -mLaunchpad Build Daemon -O../testdisk_7.1-5+nmu1build2_s390x.changes dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) -------------------------------------------------------------------------------- Build finished at 2024-04-03T12:32:06Z Finished -------- I: Built successfully +------------------------------------------------------------------------------+ | Changes | +------------------------------------------------------------------------------+ testdisk_7.1-5+nmu1build2_s390x.changes: ---------------------------------------- Format: 1.8 Date: Mon, 01 Apr 2024 19:24:34 +1100 Source: testdisk Binary: testdisk Built-For-Profiles: noudeb Architecture: s390x Version: 7.1-5+nmu1build2 Distribution: noble-proposed Urgency: medium Maintainer: Launchpad Build Daemon Changed-By: William Grant Description: testdisk - Partition scanner and disk recovery tool, and PhotoRec file recov Changes: testdisk (7.1-5+nmu1build2) noble; urgency=medium . * No-change rebuild for CVE-2024-3094 Checksums-Sha1: e50fb8146d3a4d0bcf500cd6aab472f3d0754eff 2156610 testdisk-dbgsym_7.1-5+nmu1build2_s390x.ddeb 4173d0fc8c3fc68aa0dff41df5a516ec755f7ee7 6909 testdisk_7.1-5+nmu1build2_s390x.buildinfo 3bd3ea12fe018d0ee3e9facca4ca50d6e6c94eef 436568 testdisk_7.1-5+nmu1build2_s390x.deb Checksums-Sha256: f0cefca4ed00e353c7467a5a96d9d3992f3a995b51ff2d67a8233a882c2c5f62 2156610 testdisk-dbgsym_7.1-5+nmu1build2_s390x.ddeb 51a5d852b8b5b72cf40c183d3bd1bd576edb0c479724593ecd25ed25953a8643 6909 testdisk_7.1-5+nmu1build2_s390x.buildinfo 15d9a3d1111974ba7e4ec1c5596c2cedc7a93a4c4f316ea5c140baacc5000c8c 436568 testdisk_7.1-5+nmu1build2_s390x.deb Files: b1c585b7f85885d354c1ba2e0ee93dd0 2156610 debug optional testdisk-dbgsym_7.1-5+nmu1build2_s390x.ddeb c7f06989899491eb899088908eda05da 6909 admin optional testdisk_7.1-5+nmu1build2_s390x.buildinfo 32f5636d85328ba88a82913dbd2ce6c5 436568 admin optional testdisk_7.1-5+nmu1build2_s390x.deb Original-Maintainer: Jean-Michel Kelbert /<>/testdisk_7.1-5+nmu1build2_s390x.changes.new could not be renamed to /<>/testdisk_7.1-5+nmu1build2_s390x.changes: Illegal seek Distribution field may be wrong!!! +------------------------------------------------------------------------------+ | Buildinfo | +------------------------------------------------------------------------------+ Format: 1.0 Source: testdisk Binary: testdisk testdisk-dbgsym Architecture: s390x Version: 7.1-5+nmu1build2 Checksums-Md5: b1c585b7f85885d354c1ba2e0ee93dd0 2156610 testdisk-dbgsym_7.1-5+nmu1build2_s390x.ddeb 32f5636d85328ba88a82913dbd2ce6c5 436568 testdisk_7.1-5+nmu1build2_s390x.deb Checksums-Sha1: e50fb8146d3a4d0bcf500cd6aab472f3d0754eff 2156610 testdisk-dbgsym_7.1-5+nmu1build2_s390x.ddeb 3bd3ea12fe018d0ee3e9facca4ca50d6e6c94eef 436568 testdisk_7.1-5+nmu1build2_s390x.deb Checksums-Sha256: f0cefca4ed00e353c7467a5a96d9d3992f3a995b51ff2d67a8233a882c2c5f62 2156610 testdisk-dbgsym_7.1-5+nmu1build2_s390x.ddeb 15d9a3d1111974ba7e4ec1c5596c2cedc7a93a4c4f316ea5c140baacc5000c8c 436568 testdisk_7.1-5+nmu1build2_s390x.deb Build-Origin: Ubuntu Build-Architecture: s390x Build-Date: Wed, 03 Apr 2024 12:32:06 +0000 Build-Path: /<> Build-Tainted-By: merged-usr-via-aliased-dirs usr-local-has-programs Installed-Build-Depends: adduser (= 3.137ubuntu1), autoconf (= 2.71-3), automake (= 1:1.16.5-1.3ubuntu1), autopoint (= 0.21-14ubuntu1), autotools-dev (= 20220109.1), base-files (= 13ubuntu9), base-passwd (= 3.6.3), bash (= 5.2.21-2ubuntu4), binutils (= 2.42-4ubuntu2), binutils-common (= 2.42-4ubuntu2), binutils-s390x-linux-gnu (= 2.42-4ubuntu2), bsdextrautils (= 2.39.3-9ubuntu4), bsdutils (= 1:2.39.3-9ubuntu4), build-essential (= 12.10ubuntu1), bzip2 (= 1.0.8-5.1), comerr-dev (= 2.1-1.47.0-2.4~exp1ubuntu3), coreutils (= 9.4-3ubuntu5), cpp (= 4:13.2.0-7ubuntu1), cpp-13 (= 13.2.0-23ubuntu3), cpp-13-s390x-linux-gnu (= 13.2.0-23ubuntu3), cpp-s390x-linux-gnu (= 4:13.2.0-7ubuntu1), dash (= 0.5.12-6ubuntu5), debconf (= 1.5.86), debhelper (= 13.14.1ubuntu5), debianutils (= 5.17build1), debugedit (= 1:5.0-5build1), dh-autoreconf (= 20), dh-strip-nondeterminism (= 1.13.1-1), diffutils (= 1:3.10-1), dpkg (= 1.22.6ubuntu6), dpkg-dev (= 1.22.6ubuntu6), dwz (= 0.15-1build6), file (= 1:5.45-3build1), findutils (= 4.9.0-5), fuse3 (= 3.14.0-5), g++ (= 4:13.2.0-7ubuntu1), g++-13 (= 13.2.0-23ubuntu3), g++-13-s390x-linux-gnu (= 13.2.0-23ubuntu3), g++-s390x-linux-gnu (= 4:13.2.0-7ubuntu1), gcc (= 4:13.2.0-7ubuntu1), gcc-13 (= 13.2.0-23ubuntu3), gcc-13-base (= 13.2.0-23ubuntu3), gcc-13-s390x-linux-gnu (= 13.2.0-23ubuntu3), gcc-14-base (= 14-20240330-1ubuntu2), gcc-s390x-linux-gnu (= 4:13.2.0-7ubuntu1), gettext (= 0.21-14ubuntu1), gettext-base (= 0.21-14ubuntu1), grep (= 3.11-4), groff-base (= 1.23.0-3build2), gzip (= 1.12-1ubuntu2), hostname (= 3.23+nmu2ubuntu1), init-system-helpers (= 1.66ubuntu1), intltool-debian (= 0.35.0+20060710.6), libacl1 (= 2.3.2-1), libarchive-zip-perl (= 1.68-1), libasan8 (= 14-20240330-1ubuntu2), libatomic1 (= 14-20240330-1ubuntu2), libattr1 (= 1:2.5.2-1), libaudit-common (= 1:3.1.2-2.1build1), libaudit1 (= 1:3.1.2-2.1build1), libbinutils (= 2.42-4ubuntu2), libblkid1 (= 2.39.3-9ubuntu4), libbz2-1.0 (= 1.0.8-5.1), libc-bin (= 2.39-0ubuntu8), libc-dev-bin (= 2.39-0ubuntu8), libc6 (= 2.39-0ubuntu8), libc6-dev (= 2.39-0ubuntu8), libcap-ng0 (= 0.8.4-2build2), libcap2 (= 1:2.66-5ubuntu1), libcc1-0 (= 14-20240330-1ubuntu2), libcom-err2 (= 1.47.0-2.4~exp1ubuntu3), libcrypt-dev (= 1:4.4.36-4), libcrypt1 (= 1:4.4.36-4), libctf-nobfd0 (= 2.42-4ubuntu2), libctf0 (= 2.42-4ubuntu2), libdb5.3t64 (= 5.3.28+dfsg2-6build1), libdebconfclient0 (= 0.271ubuntu3), libdebhelper-perl (= 13.14.1ubuntu5), libdpkg-perl (= 1.22.6ubuntu6), libdw1t64 (= 0.190-1.1build3), libelf1t64 (= 0.190-1.1build3), libext2fs-dev (= 1.47.0-2.4~exp1ubuntu3), libext2fs2t64 (= 1.47.0-2.4~exp1ubuntu3), libffi8 (= 3.4.6-1), libfile-stripnondeterminism-perl (= 1.13.1-1), libfuse3-3 (= 3.14.0-5), libgcc-13-dev (= 13.2.0-23ubuntu3), libgcc-s1 (= 14-20240330-1ubuntu2), libgcrypt20 (= 1.10.3-2), libgdbm-compat4t64 (= 1.23-5.1build1), libgdbm6t64 (= 1.23-5.1build1), libgmp10 (= 2:6.3.0+dfsg-2ubuntu4), libgnutls30t64 (= 3.8.3-1.1ubuntu3), libgomp1 (= 14-20240330-1ubuntu2), libgpg-error0 (= 1.47-3build1), libhogweed6t64 (= 3.9.1-2.2build1), libicu74 (= 74.2-1ubuntu1), libidn2-0 (= 2.3.7-2), libisl23 (= 0.26-3), libitm1 (= 14-20240330-1ubuntu2), libjansson4 (= 2.14-2build2), libjpeg-dev (= 8c-2ubuntu11), libjpeg-turbo8 (= 2.1.5-2ubuntu1), libjpeg-turbo8-dev (= 2.1.5-2ubuntu1), libjpeg8 (= 8c-2ubuntu11), libjpeg8-dev (= 8c-2ubuntu11), liblz4-1 (= 1.9.4-1), liblzma5 (= 5.6.1+really5.4.5-1), libmagic-mgc (= 1:5.45-3build1), libmagic1t64 (= 1:5.45-3build1), libmd0 (= 1.1.0-2), libmount1 (= 2.39.3-9ubuntu4), libmpc3 (= 1.3.1-1), libmpfr6 (= 4.2.1-1), libncurses-dev (= 6.4+20240113-1ubuntu1), libncurses6 (= 6.4+20240113-1ubuntu1), libncursesw6 (= 6.4+20240113-1ubuntu1), libnettle8t64 (= 3.9.1-2.2build1), libntfs-3g89t64 (= 1:2022.10.3-1.2ubuntu2), libp11-kit0 (= 0.25.3-4ubuntu1), libpam-modules (= 1.5.3-5ubuntu4), libpam-modules-bin (= 1.5.3-5ubuntu4), libpam-runtime (= 1.5.3-5ubuntu4), libpam0g (= 1.5.3-5ubuntu4), libpcre2-8-0 (= 10.42-4ubuntu1), libperl5.38t64 (= 5.38.2-3.2build1), libpipeline1 (= 1.5.7-2), libpkgconf3 (= 1.8.1-2), libseccomp2 (= 2.5.5-1ubuntu3), libselinux1 (= 3.5-2ubuntu2), libsemanage-common (= 3.5-1build5), libsemanage2 (= 3.5-1build5), libsepol2 (= 3.5-2), libsframe1 (= 2.42-4ubuntu2), libsmartcols1 (= 2.39.3-9ubuntu4), libssl3t64 (= 3.0.13-0ubuntu3), libstdc++-13-dev (= 13.2.0-23ubuntu3), libstdc++6 (= 14-20240330-1ubuntu2), libsub-override-perl (= 0.10-1), libsystemd0 (= 255.4-1ubuntu6), libtasn1-6 (= 4.19.0-3), libtinfo6 (= 6.4+20240113-1ubuntu1), libtool (= 2.4.7-7), libubsan1 (= 14-20240330-1ubuntu2), libuchardet0 (= 0.0.8-1), libudev1 (= 255.4-1ubuntu6), libunistring5 (= 1.1-2), libuuid1 (= 2.39.3-9ubuntu4), libxml2 (= 2.9.14+dfsg-1.3ubuntu3), libzstd1 (= 1.5.5+dfsg2-2), linux-libc-dev (= 6.8.0-20.20), login (= 1:4.13+dfsg1-4ubuntu1), lto-disabled-list (= 47), m4 (= 1.4.19-4), make (= 4.3-4.1build1), man-db (= 2.12.0-4build1), mawk (= 1.3.4.20240123-1), mount (= 2.39.3-9ubuntu4), ncurses-base (= 6.4+20240113-1ubuntu1), ncurses-bin (= 6.4+20240113-1ubuntu1), ntfs-3g (= 1:2022.10.3-1.2ubuntu2), ntfs-3g-dev (= 1:2022.10.3-1.2ubuntu2), passwd (= 1:4.13+dfsg1-4ubuntu1), patch (= 2.7.6-7build2), perl (= 5.38.2-3.2build1), perl-base (= 5.38.2-3.2build1), perl-modules-5.38 (= 5.38.2-3.2build1), pkg-config (= 1.8.1-2), pkgconf (= 1.8.1-2), pkgconf-bin (= 1.8.1-2), po-debconf (= 1.0.21+nmu1), rpcsvc-proto (= 1.4.2-0ubuntu6), sed (= 4.9-2), sensible-utils (= 0.0.22), sysvinit-utils (= 3.08-6ubuntu2), tar (= 1.35+dfsg-3), util-linux (= 2.39.3-9ubuntu4), uuid-dev (= 2.39.3-9ubuntu4), xz-utils (= 5.6.1+really5.4.5-1), zlib1g (= 1:1.3.dfsg-3.1ubuntu2), zlib1g-dev (= 1:1.3.dfsg-3.1ubuntu2) Environment: DEB_BUILD_OPTIONS="parallel=4" DEB_BUILD_PROFILES="noudeb" LANG="C.UTF-8" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1711959874" +------------------------------------------------------------------------------+ | Package contents | +------------------------------------------------------------------------------+ testdisk_7.1-5+nmu1build2_s390x.deb ----------------------------------- new Debian package, version 2.0. size 436568 bytes: control archive=1682 bytes. 2308 bytes, 64 lines control 632 bytes, 10 lines md5sums Package: testdisk Version: 7.1-5+nmu1build2 Architecture: s390x Maintainer: Ubuntu Developers Installed-Size: 1535 Depends: libc6 (>= 2.38), libext2fs2t64 (>= 1.41.0), libjpeg8 (>= 8c), libncursesw6 (>= 6), libntfs-3g89t64, libtinfo6 (>= 6), libuuid1 (>= 2.16), zlib1g (>= 1:1.1.4), ntfs-3g Section: admin Priority: optional Description: Partition scanner and disk recovery tool, and PhotoRec file recovery tool TestDisk checks the partition and boot sectors of your disks. It is very useful in forensics, recovering lost partitions. It works with : * DOS/Windows FAT12, FAT16 and FAT32 * NTFS ( Windows NT/2K/XP ) * Linux Ext2 and Ext3 * BeFS ( BeOS ) * BSD disklabel ( FreeBSD/OpenBSD/NetBSD ) * CramFS (Compressed File System) * HFS and HFS+, Hierarchical File System * JFS, IBM's Journaled File System * Linux Raid * Linux Swap (versions 1 and 2) * LVM and LVM2, Linux Logical Volume Manager * Netware NSS * ReiserFS 3.5 and 3.6 * Sun Solaris i386 disklabel * UFS and UFS2 (Sun/BSD/...) * XFS, SGI's Journaled File System . PhotoRec is file data recovery software designed to recover lost pictures from digital camera memory or even Hard Disks. It has been extended to search also for non audio/video headers. It searches for following files and is able to undelete them: * Sun/NeXT audio data (.au) * RIFF audio/video (.avi/.wav) * BMP bitmap (.bmp) * bzip2 compressed data (.bz2) * Source code written in C (.c) * Canon Raw picture (.crw) * Canon catalog (.ctg) * FAT subdirectory * Microsoft Office Document (.doc) * Nikon dsc (.dsc) * HTML page (.html) * JPEG picture (.jpg) * MOV video (.mov) * MP3 audio (MPEG ADTS, layer III, v1) (.mp3) * Moving Picture Experts Group video (.mpg) * Minolta Raw picture (.mrw) * Olympus Raw Format picture (.orf) * Portable Document Format (.pdf) * Perl script (.pl) * Portable Network Graphics (.png) * Raw Fujifilm picture (.raf) * Contax picture (.raw) * Rollei picture (.rdc) * Rich Text Format (.rtf) * Shell script (.sh) * Tar archive (.tar ) * Tag Image File Format (.tiff) * Microsoft ASF (.wma) * Sigma/Foveon X3 raw picture (.x3f) * zip archive (.zip) Original-Maintainer: Jean-Michel Kelbert drwxr-xr-x root/root 0 2024-04-01 08:24 ./ drwxr-xr-x root/root 0 2024-04-01 08:24 ./usr/ drwxr-xr-x root/root 0 2024-04-01 08:24 ./usr/bin/ -rwxr-xr-x root/root 409064 2024-04-01 08:24 ./usr/bin/fidentify -rwxr-xr-x root/root 697520 2024-04-01 08:24 ./usr/bin/photorec -rwxr-xr-x root/root 435960 2024-04-01 08:24 ./usr/bin/testdisk drwxr-xr-x root/root 0 2024-04-01 08:24 ./usr/share/ drwxr-xr-x root/root 0 2024-04-01 08:24 ./usr/share/doc/ drwxr-xr-x root/root 0 2024-04-01 08:24 ./usr/share/doc/testdisk/ -rw-r--r-- root/root 8422 2019-07-07 17:16 ./usr/share/doc/testdisk/NEWS.gz -rw-r--r-- root/root 2053 2017-12-02 15:47 ./usr/share/doc/testdisk/README.md -rw-r--r-- root/root 672 2024-04-01 08:24 ./usr/share/doc/testdisk/changelog.Debian.gz -rw-r--r-- root/root 1121 2019-08-06 13:39 ./usr/share/doc/testdisk/copyright drwxr-xr-x root/root 0 2024-04-01 08:24 ./usr/share/man/ drwxr-xr-x root/root 0 2024-04-01 08:24 ./usr/share/man/man8/ -rw-r--r-- root/root 526 2024-04-01 08:24 ./usr/share/man/man8/fidentify.8.gz -rw-r--r-- root/root 680 2024-04-01 08:24 ./usr/share/man/man8/photorec.8.gz -rw-r--r-- root/root 892 2024-04-01 08:24 ./usr/share/man/man8/testdisk.8.gz +------------------------------------------------------------------------------+ | Post Build | +------------------------------------------------------------------------------+ +------------------------------------------------------------------------------+ | Cleanup | +------------------------------------------------------------------------------+ Purging /<> Not removing build depends: as requested +------------------------------------------------------------------------------+ | Summary | +------------------------------------------------------------------------------+ Build Architecture: s390x Build Type: any Build-Space: 59348 Build-Time: 90 Distribution: noble-proposed Host Architecture: s390x Install-Time: 9 Job: testdisk_7.1-5+nmu1build2.dsc Machine Architecture: s390x Package: testdisk Package-Time: 99 Source-Version: 7.1-5+nmu1build2 Space: 59348 Status: successful Version: 7.1-5+nmu1build2 -------------------------------------------------------------------------------- Finished at 2024-04-03T12:32:06Z Build needed 00:01:39, 59348k disk space RUN: /usr/share/launchpad-buildd/bin/in-target scan-for-processes --backend=chroot --series=noble --arch=s390x PACKAGEBUILD-28013552 Scanning for processes to kill in build PACKAGEBUILD-28013552