I: pbuilder: network access will be disabled during build I: Current time: Mon Aug 23 01:16:51 -12 2021 I: pbuilder-time-stamp: 1629724611 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [testdisk_7.0-3.dsc] I: copying [./testdisk_7.0.orig.tar.bz2] I: copying [./testdisk_7.0-3.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/var/lib/jenkins/.gnupg/trustedkeys.kbx': General error gpgv: Signature made Tue Jan 10 09:05:16 2017 -12 gpgv: using RSA key 437FE24F9543CB69 gpgv: issuer "kelbert@debian.org" gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./testdisk_7.0-3.dsc dpkg-source: info: extracting testdisk in testdisk-7.0 dpkg-source: info: unpacking testdisk_7.0.orig.tar.bz2 dpkg-source: info: unpacking testdisk_7.0-3.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 01-reproducible-builds.patch dpkg-source: info: applying 01-fix_convertion_macro I: using fakeroot in build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/16947/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build' BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' BUILDUSERNAME='pbuilder1' BUILD_ARCH='arm64' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8' DISTRIBUTION='' HOME='/var/lib/jenkins' HOST_ARCH='arm64' IFS=' ' LANG='C' LANGUAGE='en_US:en' LC_ALL='C' MAIL='/var/mail/root' OPTIND='1' PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' PBCURRENTCOMMANDLINEOPERATION='build' PBUILDER_OPERATION='build' PBUILDER_PKGDATADIR='/usr/share/pbuilder' PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' PBUILDER_SYSCONFDIR='/etc' PPID='16947' PS1='# ' PS2='> ' PS4='+ ' PWD='/' SHELL='/bin/bash' SHLVL='2' SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.StVTe65N4g/pbuilderrc_CsbQ --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.StVTe65N4g/b1 --logfile b1/build.log testdisk_7.0-3.dsc' SUDO_GID='117' SUDO_UID='110' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT+12' USER='root' USERNAME='root' _='/usr/bin/systemd-run' http_proxy='http://192.168.101.16:3128' I: uname -a Linux codethink-sled15-arm64 4.4.0-185-generic #215-Ubuntu SMP Mon Jun 8 21:55:24 UTC 2020 aarch64 GNU/Linux I: ls -l /bin total 4928 -rwxr-xr-x 1 root root 1216928 Apr 17 2019 bash -rwxr-xr-x 3 root root 34808 Jul 10 2019 bunzip2 -rwxr-xr-x 3 root root 34808 Jul 10 2019 bzcat lrwxrwxrwx 1 root root 6 Jul 10 2019 bzcmp -> bzdiff -rwxr-xr-x 1 root root 2227 Jul 10 2019 bzdiff lrwxrwxrwx 1 root root 6 Jul 10 2019 bzegrep -> bzgrep -rwxr-xr-x 1 root root 4877 Jun 24 2019 bzexe lrwxrwxrwx 1 root root 6 Jul 10 2019 bzfgrep -> bzgrep -rwxr-xr-x 1 root root 3641 Jul 10 2019 bzgrep -rwxr-xr-x 3 root root 34808 Jul 10 2019 bzip2 -rwxr-xr-x 1 root root 14264 Jul 10 2019 bzip2recover lrwxrwxrwx 1 root root 6 Jul 10 2019 bzless -> bzmore -rwxr-xr-x 1 root root 1297 Jul 10 2019 bzmore -rwxr-xr-x 1 root root 35576 Feb 28 2019 cat -rwxr-xr-x 1 root root 60256 Feb 28 2019 chgrp -rwxr-xr-x 1 root root 56096 Feb 28 2019 chmod -rwxr-xr-x 1 root root 64368 Feb 28 2019 chown -rwxr-xr-x 1 root root 134632 Feb 28 2019 cp -rwxr-xr-x 1 root root 129536 Jan 17 2019 dash -rwxr-xr-x 1 root root 97136 Feb 28 2019 date -rwxr-xr-x 1 root root 76736 Feb 28 2019 dd -rwxr-xr-x 1 root root 93752 Feb 28 2019 df -rwxr-xr-x 1 root root 138848 Feb 28 2019 dir -rwxr-xr-x 1 root root 75984 Jan 9 2019 dmesg lrwxrwxrwx 1 root root 8 Sep 26 2018 dnsdomainname -> hostname lrwxrwxrwx 1 root root 8 Sep 26 2018 domainname -> hostname -rwxr-xr-x 1 root root 31368 Feb 28 2019 echo -rwxr-xr-x 1 root root 28 Jan 7 2019 egrep -rwxr-xr-x 1 root root 27256 Feb 28 2019 false -rwxr-xr-x 1 root root 28 Jan 7 2019 fgrep -rwxr-xr-x 1 root root 68792 Jan 9 2019 findmnt -rwsr-xr-x 1 root root 34824 Apr 22 2020 fusermount -rwxr-xr-x 1 root root 174304 Jan 7 2019 grep -rwxr-xr-x 2 root root 2345 Jan 5 2019 gunzip -rwxr-xr-x 1 root root 6375 Jan 5 2019 gzexe -rwxr-xr-x 1 root root 89656 Jan 5 2019 gzip -rwxr-xr-x 1 root root 18440 Sep 26 2018 hostname -rwxr-xr-x 1 root root 64472 Feb 28 2019 ln -rwxr-xr-x 1 root root 52544 Jul 26 2018 login -rwxr-xr-x 1 root root 138848 Feb 28 2019 ls -rwxr-xr-x 1 root root 108552 Jan 9 2019 lsblk -rwxr-xr-x 1 root root 76840 Feb 28 2019 mkdir -rwxr-xr-x 1 root root 64480 Feb 28 2019 mknod -rwxr-xr-x 1 root root 39736 Feb 28 2019 mktemp -rwxr-xr-x 1 root root 38840 Jan 9 2019 more -rwsr-xr-x 1 root root 47112 Jan 9 2019 mount -rwxr-xr-x 1 root root 14344 Jan 9 2019 mountpoint -rwxr-xr-x 1 root root 138736 Feb 28 2019 mv lrwxrwxrwx 1 root root 8 Sep 26 2018 nisdomainname -> hostname lrwxrwxrwx 1 root root 14 Feb 14 2019 pidof -> /sbin/killall5 -rwxr-xr-x 1 root root 35560 Feb 28 2019 pwd lrwxrwxrwx 1 root root 4 Apr 17 2019 rbash -> bash -rwxr-xr-x 1 root root 43712 Feb 28 2019 readlink -rwxr-xr-x 1 root root 68440 Feb 28 2019 rm -rwxr-xr-x 1 root root 39624 Feb 28 2019 rmdir -rwxr-xr-x 1 root root 19144 Jan 21 2019 run-parts -rwxr-xr-x 1 root root 114016 Dec 22 2018 sed lrwxrwxrwx 1 root root 4 Jul 18 2020 sh -> dash -rwxr-xr-x 1 root root 31384 Feb 28 2019 sleep -rwxr-xr-x 1 root root 72480 Feb 28 2019 stty -rwsr-xr-x 1 root root 59424 Jan 9 2019 su -rwxr-xr-x 1 root root 31416 Feb 28 2019 sync -rwxr-xr-x 1 root root 449416 Apr 23 2019 tar -rwxr-xr-x 1 root root 10560 Jan 21 2019 tempfile -rwxr-xr-x 1 root root 88968 Feb 28 2019 touch -rwxr-xr-x 1 root root 27256 Feb 28 2019 true -rwxr-xr-x 1 root root 14264 Apr 22 2020 ulockmgr_server -rwsr-xr-x 1 root root 30728 Jan 9 2019 umount -rwxr-xr-x 1 root root 31384 Feb 28 2019 uname -rwxr-xr-x 2 root root 2345 Jan 5 2019 uncompress -rwxr-xr-x 1 root root 138848 Feb 28 2019 vdir -rwxr-xr-x 1 root root 34824 Jan 9 2019 wdctl -rwxr-xr-x 1 root root 946 Jan 21 2019 which lrwxrwxrwx 1 root root 8 Sep 26 2018 ypdomainname -> hostname -rwxr-xr-x 1 root root 1983 Jan 5 2019 zcat -rwxr-xr-x 1 root root 1677 Jan 5 2019 zcmp -rwxr-xr-x 1 root root 5879 Jan 5 2019 zdiff -rwxr-xr-x 1 root root 29 Jan 5 2019 zegrep -rwxr-xr-x 1 root root 29 Jan 5 2019 zfgrep -rwxr-xr-x 1 root root 2080 Jan 5 2019 zforce -rwxr-xr-x 1 root root 7584 Jan 5 2019 zgrep -rwxr-xr-x 1 root root 2205 Jan 5 2019 zless -rwxr-xr-x 1 root root 1841 Jan 5 2019 zmore -rwxr-xr-x 1 root root 4552 Jan 5 2019 znew I: user script /srv/workspace/pbuilder/16947/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: arm64 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper (>= 9), e2fslibs-dev (>= 1.35-3), libncurses5-dev, libncursesw5-dev, ntfs-3g-dev, libjpeg-dev, uuid-dev, zlib1g-dev, dh-autoreconf, pkg-config dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19168 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper (>= 9); however: Package debhelper is not installed. pbuilder-satisfydepends-dummy depends on e2fslibs-dev (>= 1.35-3); however: Package e2fslibs-dev is not installed. pbuilder-satisfydepends-dummy depends on libncurses5-dev; however: Package libncurses5-dev is not installed. pbuilder-satisfydepends-dummy depends on libncursesw5-dev; however: Package libncursesw5-dev is not installed. pbuilder-satisfydepends-dummy depends on ntfs-3g-dev; however: Package ntfs-3g-dev is not installed. pbuilder-satisfydepends-dummy depends on libjpeg-dev; however: Package libjpeg-dev is not installed. pbuilder-satisfydepends-dummy depends on uuid-dev; however: Package uuid-dev is not installed. pbuilder-satisfydepends-dummy depends on zlib1g-dev; however: Package zlib1g-dev is not installed. pbuilder-satisfydepends-dummy depends on dh-autoreconf; however: Package dh-autoreconf is not installed. pbuilder-satisfydepends-dummy depends on pkg-config; however: Package pkg-config is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdmainutils{a} comerr-dev{a} debhelper{a} dh-autoreconf{a} dh-strip-nondeterminism{a} dwz{a} e2fslibs-dev{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libbsd0{a} libcroco3{a} libelf1{a} libext2fs-dev{a} libfile-stripnondeterminism-perl{a} libglib2.0-0{a} libicu63{a} libjpeg-dev{a} libjpeg62-turbo{a} libjpeg62-turbo-dev{a} libmagic-mgc{a} libmagic1{a} libncurses-dev{a} libncurses5-dev{a} libncurses6{a} libntfs-3g883{a} libpipeline1{a} libsigsegv2{a} libtool{a} libuchardet0{a} libxml2{a} m4{a} man-db{a} ntfs-3g{a} ntfs-3g-dev{a} pkg-config{a} po-debconf{a} sensible-utils{a} uuid-dev{a} zlib1g-dev{a} The following packages are RECOMMENDED but will NOT be installed: curl libarchive-cpio-perl libglib2.0-data libgpm2 libltdl-dev libmail-sendmail-perl lynx shared-mime-info wget xdg-user-dirs 0 packages upgraded, 47 newly installed, 0 to remove and 0 not upgraded. Need to get 20.9 MB of archives. After unpacking 77.4 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian buster/main arm64 libbsd0 arm64 0.9.1-2 [97.4 kB] Get: 2 http://deb.debian.org/debian buster/main arm64 bsdmainutils arm64 11.1.2+b1 [185 kB] Get: 3 http://deb.debian.org/debian buster/main arm64 libuchardet0 arm64 0.0.6-3 [65.0 kB] Get: 4 http://deb.debian.org/debian buster/main arm64 groff-base arm64 1.22.4-3 [869 kB] Get: 5 http://deb.debian.org/debian buster/main arm64 libpipeline1 arm64 1.5.1-2 [29.8 kB] Get: 6 http://deb.debian.org/debian buster/main arm64 man-db arm64 2.8.5-2 [1258 kB] Get: 7 http://deb.debian.org/debian buster/main arm64 libntfs-3g883 arm64 1:2017.3.23AR.3-3 [154 kB] Get: 8 http://deb.debian.org/debian buster/main arm64 ntfs-3g arm64 1:2017.3.23AR.3-3 [381 kB] Get: 9 http://deb.debian.org/debian buster/main arm64 sensible-utils all 0.0.12 [15.8 kB] Get: 10 http://deb.debian.org/debian buster/main arm64 libmagic-mgc arm64 1:5.35-4+deb10u1 [242 kB] Get: 11 http://deb.debian.org/debian buster/main arm64 libmagic1 arm64 1:5.35-4+deb10u1 [115 kB] Get: 12 http://deb.debian.org/debian buster/main arm64 file arm64 1:5.35-4+deb10u1 [66.4 kB] Get: 13 http://deb.debian.org/debian buster/main arm64 gettext-base arm64 0.19.8.1-9 [120 kB] Get: 14 http://deb.debian.org/debian buster/main arm64 libsigsegv2 arm64 2.12-2 [32.3 kB] Get: 15 http://deb.debian.org/debian buster/main arm64 m4 arm64 1.4.18-2 [198 kB] Get: 16 http://deb.debian.org/debian buster/main arm64 autoconf all 2.69-11 [341 kB] Get: 17 http://deb.debian.org/debian buster/main arm64 autotools-dev all 20180224.1 [77.0 kB] Get: 18 http://deb.debian.org/debian buster/main arm64 automake all 1:1.16.1-4 [771 kB] Get: 19 http://deb.debian.org/debian buster/main arm64 autopoint all 0.19.8.1-9 [434 kB] Get: 20 http://deb.debian.org/debian buster/main arm64 comerr-dev arm64 2.1-1.44.5-1+deb10u3 [102 kB] Get: 21 http://deb.debian.org/debian buster/main arm64 libtool all 2.4.6-9 [547 kB] Get: 22 http://deb.debian.org/debian buster/main arm64 dh-autoreconf all 19 [16.9 kB] Get: 23 http://deb.debian.org/debian buster/main arm64 libarchive-zip-perl all 1.64-1 [96.8 kB] Get: 24 http://deb.debian.org/debian buster/main arm64 libfile-stripnondeterminism-perl all 1.1.2-1 [19.8 kB] Get: 25 http://deb.debian.org/debian buster/main arm64 dh-strip-nondeterminism all 1.1.2-1 [13.0 kB] Get: 26 http://deb.debian.org/debian buster/main arm64 libelf1 arm64 0.176-1.1 [160 kB] Get: 27 http://deb.debian.org/debian buster/main arm64 dwz arm64 0.12-3 [71.7 kB] Get: 28 http://deb.debian.org/debian buster/main arm64 libglib2.0-0 arm64 2.58.3-2+deb10u2 [1185 kB] Get: 29 http://deb.debian.org/debian buster/main arm64 libicu63 arm64 63.1-6+deb10u1 [8151 kB] Get: 30 http://deb.debian.org/debian buster/main arm64 libxml2 arm64 2.9.4+dfsg1-7+b3 [623 kB] Get: 31 http://deb.debian.org/debian buster/main arm64 libcroco3 arm64 0.6.12-3 [140 kB] Get: 32 http://deb.debian.org/debian buster/main arm64 libncurses6 arm64 6.1+20181013-2+deb10u2 [92.6 kB] Get: 33 http://deb.debian.org/debian buster/main arm64 gettext arm64 0.19.8.1-9 [1261 kB] Get: 34 http://deb.debian.org/debian buster/main arm64 intltool-debian all 0.35.0+20060710.5 [26.8 kB] Get: 35 http://deb.debian.org/debian buster/main arm64 po-debconf all 1.0.21 [248 kB] Get: 36 http://deb.debian.org/debian buster/main arm64 debhelper all 12.1.1 [1016 kB] Get: 37 http://deb.debian.org/debian buster/main arm64 libext2fs-dev arm64 1.44.5-1+deb10u3 [300 kB] Get: 38 http://deb.debian.org/debian buster/main arm64 e2fslibs-dev all 1.44.5-1+deb10u3 [64.6 kB] Get: 39 http://deb.debian.org/debian buster/main arm64 libjpeg62-turbo arm64 1:1.5.2-2+b1 [115 kB] Get: 40 http://deb.debian.org/debian buster/main arm64 libjpeg62-turbo-dev arm64 1:1.5.2-2+b1 [186 kB] Get: 41 http://deb.debian.org/debian buster/main arm64 libjpeg-dev all 1:1.5.2-2 [57.5 kB] Get: 42 http://deb.debian.org/debian buster/main arm64 libncurses-dev arm64 6.1+20181013-2+deb10u2 [324 kB] Get: 43 http://deb.debian.org/debian buster/main arm64 libncurses5-dev arm64 6.1+20181013-2+deb10u2 [948 B] Get: 44 http://deb.debian.org/debian buster/main arm64 ntfs-3g-dev arm64 1:2017.3.23AR.3-3 [231 kB] Get: 45 http://deb.debian.org/debian buster/main arm64 pkg-config arm64 0.29-6 [62.2 kB] Get: 46 http://deb.debian.org/debian buster/main arm64 uuid-dev arm64 2.33.1-0.1 [93.8 kB] Get: 47 http://deb.debian.org/debian buster/main arm64 zlib1g-dev arm64 1:1.2.11.dfsg-1 [210 kB] Fetched 20.9 MB in 2s (13.0 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0:arm64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19168 files and directories currently installed.) Preparing to unpack .../00-libbsd0_0.9.1-2_arm64.deb ... Unpacking libbsd0:arm64 (0.9.1-2) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../01-bsdmainutils_11.1.2+b1_arm64.deb ... Unpacking bsdmainutils (11.1.2+b1) ... Selecting previously unselected package libuchardet0:arm64. Preparing to unpack .../02-libuchardet0_0.0.6-3_arm64.deb ... Unpacking libuchardet0:arm64 (0.0.6-3) ... Selecting previously unselected package groff-base. Preparing to unpack .../03-groff-base_1.22.4-3_arm64.deb ... Unpacking groff-base (1.22.4-3) ... Selecting previously unselected package libpipeline1:arm64. Preparing to unpack .../04-libpipeline1_1.5.1-2_arm64.deb ... Unpacking libpipeline1:arm64 (1.5.1-2) ... Selecting previously unselected package man-db. Preparing to unpack .../05-man-db_2.8.5-2_arm64.deb ... Unpacking man-db (2.8.5-2) ... Selecting previously unselected package libntfs-3g883. Preparing to unpack .../06-libntfs-3g883_1%3a2017.3.23AR.3-3_arm64.deb ... Unpacking libntfs-3g883 (1:2017.3.23AR.3-3) ... Selecting previously unselected package ntfs-3g. Preparing to unpack .../07-ntfs-3g_1%3a2017.3.23AR.3-3_arm64.deb ... Unpacking ntfs-3g (1:2017.3.23AR.3-3) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../08-sensible-utils_0.0.12_all.deb ... Unpacking sensible-utils (0.0.12) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../09-libmagic-mgc_1%3a5.35-4+deb10u1_arm64.deb ... Unpacking libmagic-mgc (1:5.35-4+deb10u1) ... Selecting previously unselected package libmagic1:arm64. Preparing to unpack .../10-libmagic1_1%3a5.35-4+deb10u1_arm64.deb ... Unpacking libmagic1:arm64 (1:5.35-4+deb10u1) ... Selecting previously unselected package file. Preparing to unpack .../11-file_1%3a5.35-4+deb10u1_arm64.deb ... Unpacking file (1:5.35-4+deb10u1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../12-gettext-base_0.19.8.1-9_arm64.deb ... Unpacking gettext-base (0.19.8.1-9) ... Selecting previously unselected package libsigsegv2:arm64. Preparing to unpack .../13-libsigsegv2_2.12-2_arm64.deb ... Unpacking libsigsegv2:arm64 (2.12-2) ... Selecting previously unselected package m4. Preparing to unpack .../14-m4_1.4.18-2_arm64.deb ... Unpacking m4 (1.4.18-2) ... Selecting previously unselected package autoconf. Preparing to unpack .../15-autoconf_2.69-11_all.deb ... Unpacking autoconf (2.69-11) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../16-autotools-dev_20180224.1_all.deb ... Unpacking autotools-dev (20180224.1) ... Selecting previously unselected package automake. Preparing to unpack .../17-automake_1%3a1.16.1-4_all.deb ... Unpacking automake (1:1.16.1-4) ... Selecting previously unselected package autopoint. Preparing to unpack .../18-autopoint_0.19.8.1-9_all.deb ... Unpacking autopoint (0.19.8.1-9) ... Selecting previously unselected package comerr-dev:arm64. Preparing to unpack .../19-comerr-dev_2.1-1.44.5-1+deb10u3_arm64.deb ... Unpacking comerr-dev:arm64 (2.1-1.44.5-1+deb10u3) ... Selecting previously unselected package libtool. Preparing to unpack .../20-libtool_2.4.6-9_all.deb ... Unpacking libtool (2.4.6-9) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../21-dh-autoreconf_19_all.deb ... Unpacking dh-autoreconf (19) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../22-libarchive-zip-perl_1.64-1_all.deb ... Unpacking libarchive-zip-perl (1.64-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../23-libfile-stripnondeterminism-perl_1.1.2-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.1.2-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../24-dh-strip-nondeterminism_1.1.2-1_all.deb ... Unpacking dh-strip-nondeterminism (1.1.2-1) ... Selecting previously unselected package libelf1:arm64. Preparing to unpack .../25-libelf1_0.176-1.1_arm64.deb ... Unpacking libelf1:arm64 (0.176-1.1) ... Selecting previously unselected package dwz. Preparing to unpack .../26-dwz_0.12-3_arm64.deb ... Unpacking dwz (0.12-3) ... Selecting previously unselected package libglib2.0-0:arm64. Preparing to unpack .../27-libglib2.0-0_2.58.3-2+deb10u2_arm64.deb ... Unpacking libglib2.0-0:arm64 (2.58.3-2+deb10u2) ... Selecting previously unselected package libicu63:arm64. Preparing to unpack .../28-libicu63_63.1-6+deb10u1_arm64.deb ... Unpacking libicu63:arm64 (63.1-6+deb10u1) ... Selecting previously unselected package libxml2:arm64. Preparing to unpack .../29-libxml2_2.9.4+dfsg1-7+b3_arm64.deb ... Unpacking libxml2:arm64 (2.9.4+dfsg1-7+b3) ... Selecting previously unselected package libcroco3:arm64. Preparing to unpack .../30-libcroco3_0.6.12-3_arm64.deb ... Unpacking libcroco3:arm64 (0.6.12-3) ... Selecting previously unselected package libncurses6:arm64. Preparing to unpack .../31-libncurses6_6.1+20181013-2+deb10u2_arm64.deb ... Unpacking libncurses6:arm64 (6.1+20181013-2+deb10u2) ... Selecting previously unselected package gettext. Preparing to unpack .../32-gettext_0.19.8.1-9_arm64.deb ... Unpacking gettext (0.19.8.1-9) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../33-intltool-debian_0.35.0+20060710.5_all.deb ... Unpacking intltool-debian (0.35.0+20060710.5) ... Selecting previously unselected package po-debconf. Preparing to unpack .../34-po-debconf_1.0.21_all.deb ... Unpacking po-debconf (1.0.21) ... Selecting previously unselected package debhelper. Preparing to unpack .../35-debhelper_12.1.1_all.deb ... Unpacking debhelper (12.1.1) ... Selecting previously unselected package libext2fs-dev. Preparing to unpack .../36-libext2fs-dev_1.44.5-1+deb10u3_arm64.deb ... Unpacking libext2fs-dev (1.44.5-1+deb10u3) ... Selecting previously unselected package e2fslibs-dev. Preparing to unpack .../37-e2fslibs-dev_1.44.5-1+deb10u3_all.deb ... Unpacking e2fslibs-dev (1.44.5-1+deb10u3) ... Selecting previously unselected package libjpeg62-turbo:arm64. Preparing to unpack .../38-libjpeg62-turbo_1%3a1.5.2-2+b1_arm64.deb ... Unpacking libjpeg62-turbo:arm64 (1:1.5.2-2+b1) ... Selecting previously unselected package libjpeg62-turbo-dev:arm64. Preparing to unpack .../39-libjpeg62-turbo-dev_1%3a1.5.2-2+b1_arm64.deb ... Unpacking libjpeg62-turbo-dev:arm64 (1:1.5.2-2+b1) ... Selecting previously unselected package libjpeg-dev. Preparing to unpack .../40-libjpeg-dev_1%3a1.5.2-2_all.deb ... Unpacking libjpeg-dev (1:1.5.2-2) ... Selecting previously unselected package libncurses-dev:arm64. Preparing to unpack .../41-libncurses-dev_6.1+20181013-2+deb10u2_arm64.deb ... Unpacking libncurses-dev:arm64 (6.1+20181013-2+deb10u2) ... Selecting previously unselected package libncurses5-dev:arm64. Preparing to unpack .../42-libncurses5-dev_6.1+20181013-2+deb10u2_arm64.deb ... Unpacking libncurses5-dev:arm64 (6.1+20181013-2+deb10u2) ... Selecting previously unselected package ntfs-3g-dev. Preparing to unpack .../43-ntfs-3g-dev_1%3a2017.3.23AR.3-3_arm64.deb ... Unpacking ntfs-3g-dev (1:2017.3.23AR.3-3) ... Selecting previously unselected package pkg-config. Preparing to unpack .../44-pkg-config_0.29-6_arm64.deb ... Unpacking pkg-config (0.29-6) ... Selecting previously unselected package uuid-dev:arm64. Preparing to unpack .../45-uuid-dev_2.33.1-0.1_arm64.deb ... Unpacking uuid-dev:arm64 (2.33.1-0.1) ... Selecting previously unselected package zlib1g-dev:arm64. Preparing to unpack .../46-zlib1g-dev_1%3a1.2.11.dfsg-1_arm64.deb ... Unpacking zlib1g-dev:arm64 (1:1.2.11.dfsg-1) ... Setting up libpipeline1:arm64 (1.5.1-2) ... Setting up libmagic-mgc (1:5.35-4+deb10u1) ... Setting up libarchive-zip-perl (1.64-1) ... Setting up libglib2.0-0:arm64 (2.58.3-2+deb10u2) ... No schema files found: doing nothing. Setting up libmagic1:arm64 (1:5.35-4+deb10u1) ... Setting up gettext-base (0.19.8.1-9) ... Setting up libntfs-3g883 (1:2017.3.23AR.3-3) ... Setting up file (1:5.35-4+deb10u1) ... Setting up libicu63:arm64 (63.1-6+deb10u1) ... Setting up ntfs-3g (1:2017.3.23AR.3-3) ... Setting up ntfs-3g-dev (1:2017.3.23AR.3-3) ... Setting up autotools-dev (20180224.1) ... Setting up libjpeg62-turbo:arm64 (1:1.5.2-2+b1) ... Setting up libjpeg62-turbo-dev:arm64 (1:1.5.2-2+b1) ... Setting up uuid-dev:arm64 (2.33.1-0.1) ... Setting up libncurses6:arm64 (6.1+20181013-2+deb10u2) ... Setting up libsigsegv2:arm64 (2.12-2) ... Setting up comerr-dev:arm64 (2.1-1.44.5-1+deb10u3) ... Setting up autopoint (0.19.8.1-9) ... Setting up pkg-config (0.29-6) ... Setting up zlib1g-dev:arm64 (1:1.2.11.dfsg-1) ... Setting up sensible-utils (0.0.12) ... Setting up libuchardet0:arm64 (0.0.6-3) ... Setting up libext2fs-dev (1.44.5-1+deb10u3) ... Setting up libbsd0:arm64 (0.9.1-2) ... Setting up libelf1:arm64 (0.176-1.1) ... Setting up libxml2:arm64 (2.9.4+dfsg1-7+b3) ... Setting up libfile-stripnondeterminism-perl (1.1.2-1) ... Setting up libncurses-dev:arm64 (6.1+20181013-2+deb10u2) ... Setting up libtool (2.4.6-9) ... Setting up libjpeg-dev (1:1.5.2-2) ... Setting up m4 (1.4.18-2) ... Setting up bsdmainutils (11.1.2+b1) ... update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode Setting up libcroco3:arm64 (0.6.12-3) ... Setting up autoconf (2.69-11) ... Setting up e2fslibs-dev (1.44.5-1+deb10u3) ... Setting up dwz (0.12-3) ... Setting up groff-base (1.22.4-3) ... Setting up libncurses5-dev:arm64 (6.1+20181013-2+deb10u2) ... Setting up automake (1:1.16.1-4) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up gettext (0.19.8.1-9) ... Setting up man-db (2.8.5-2) ... Not building database; man-db/auto-update is not 'true'. Setting up intltool-debian (0.35.0+20060710.5) ... Setting up po-debconf (1.0.21) ... Setting up debhelper (12.1.1) ... Setting up dh-autoreconf (19) ... Setting up dh-strip-nondeterminism (1.1.2-1) ... Processing triggers for libc-bin (2.28-10) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps Reading package lists... Building dependency tree... Reading state information... fakeroot is already the newest version (1.23-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package I: Running cd /build/testdisk-7.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b dpkg-buildpackage: info: source package testdisk dpkg-buildpackage: info: source version 7.0-3 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Jean-Michel Kelbert dpkg-source --before-build . dpkg-buildpackage: info: host architecture arm64 fakeroot debian/rules clean dh clean --with autoreconf dh: Compatibility levels before 9 are deprecated (level 8 in use) debian/rules override_dh_auto_clean make[1]: Entering directory '/build/testdisk-7.0' dh_auto_clean dh_auto_clean: Compatibility levels before 9 are deprecated (level 8 in use) rm -f src/*.d make[1]: Leaving directory '/build/testdisk-7.0' dh_clean dh_clean: Compatibility levels before 9 are deprecated (level 8 in use) debian/rules build dh build --with autoreconf dh: Compatibility levels before 9 are deprecated (level 8 in use) dh_update_autotools_config dh_autoreconf debian/rules override_dh_auto_configure make[1]: Entering directory '/build/testdisk-7.0' dh_auto_configure -- --enable-sudo --with-sudo-bin=/usr/bin/sudo --with-ncurses-includes=/usr/include/ncursesw --without-ewf dh_auto_configure: Compatibility levels before 9 are deprecated (level 8 in use) ./configure --build=aarch64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libexecdir=\${prefix}/lib/testdisk --disable-maintainer-mode --disable-dependency-tracking --enable-sudo --with-sudo-bin=/usr/bin/sudo --with-ncurses-includes=/usr/include/ncursesw --without-ewf configure: WARNING: unrecognized options: --disable-maintainer-mode checking build system type... aarch64-unknown-linux-gnu checking host system type... aarch64-unknown-linux-gnu checking target system type... aarch64-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /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 we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for 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 how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking byteswap.h usability... yes checking byteswap.h presence... yes checking for byteswap.h... yes checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking cygwin/fs.h usability... no checking cygwin/fs.h presence... no checking for cygwin/fs.h... no checking cygwin/version.h usability... no checking cygwin/version.h presence... no checking for cygwin/version.h... no checking dal/file_dal.h usability... no checking dal/file_dal.h presence... no checking for dal/file_dal.h... no checking dal/file.h usability... no checking dal/file.h presence... no checking for dal/file.h... no checking ddk/ntddstor.h usability... no checking ddk/ntddstor.h presence... no checking for ddk/ntddstor.h... no checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking endian.h usability... yes checking endian.h presence... yes checking for endian.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking features.h usability... yes checking features.h presence... yes checking for features.h... yes checking giconv.h usability... no checking giconv.h presence... no checking for giconv.h... no checking glob.h usability... yes checking glob.h presence... yes checking for glob.h... yes checking iconv.h usability... yes checking iconv.h presence... yes checking for iconv.h... yes checking io.h usability... no checking io.h presence... no checking for io.h... no checking libgen.h usability... yes checking libgen.h presence... yes checking for libgen.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking linux/fs.h usability... yes checking linux/fs.h presence... yes checking for linux/fs.h... yes checking linux/hdreg.h usability... yes checking linux/hdreg.h presence... yes checking for linux/hdreg.h... yes checking linux/types.h usability... yes checking linux/types.h presence... yes checking for linux/types.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking machine/endian.h usability... no checking machine/endian.h presence... no checking for machine/endian.h... no checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking ncurses.h usability... yes checking ncurses.h presence... yes checking for ncurses.h... yes checking ncurses/curses.h usability... no checking ncurses/curses.h presence... no checking for ncurses/curses.h... no checking ncurses/ncurses.h usability... no checking ncurses/ncurses.h presence... no checking for ncurses/ncurses.h... no checking ncursesw/curses.h usability... yes checking ncursesw/curses.h presence... yes checking for ncursesw/curses.h... yes checking ncursesw/ncurses.h usability... yes checking ncursesw/ncurses.h presence... yes checking for ncursesw/ncurses.h... yes checking ntfs/version.h usability... no checking ntfs/version.h presence... no checking for ntfs/version.h... no checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking scsi/scsi.h usability... yes checking scsi/scsi.h presence... yes checking for scsi/scsi.h... yes checking scsi/scsi_ioctl.h usability... yes checking scsi/scsi_ioctl.h presence... yes checking for scsi/scsi_ioctl.h... yes checking scsi/sg.h usability... yes checking scsi/sg.h presence... yes checking for scsi/sg.h... yes checking setjmp.h usability... yes checking setjmp.h presence... yes checking for setjmp.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking sys/cygwin.h usability... no checking sys/cygwin.h presence... no checking for sys/cygwin.h... no checking sys/disk.h usability... no checking sys/disk.h presence... no checking for sys/disk.h... no checking sys/disklabel.h usability... no checking sys/disklabel.h presence... no checking for sys/disklabel.h... no checking sys/dkio.h usability... no checking sys/dkio.h presence... no checking for sys/dkio.h... no checking sys/endian.h usability... no checking sys/endian.h presence... no checking for sys/endian.h... no checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking sys/vtoc.h usability... no checking sys/vtoc.h presence... no checking for sys/vtoc.h... no checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking w32api/ddk/ntdddisk.h usability... no checking w32api/ddk/ntdddisk.h presence... no checking for w32api/ddk/ntdddisk.h... no checking windef.h usability... no checking windef.h presence... no checking for windef.h... no checking windows.h usability... no checking windows.h presence... no checking for windows.h... no checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking iconv support... yes, in libc checking for sys/mount.h... yes checking for winbase.h... no checking for winioctl.h... no checking for ext2fs/ext2_fs.h... yes checking for ext2fs/ext2fs.h... yes checking for off64_t... yes checking libewf.h usability... no checking libewf.h presence... no checking for libewf.h... no configure: WARNING: Disable use of ewf library checking jpeglib.h usability... yes checking jpeglib.h presence... yes checking for jpeglib.h... yes checking ntfs/attrib.h usability... no checking ntfs/attrib.h presence... no checking for ntfs/attrib.h... no configure: WARNING: Disable use of ntfs library checking ntfs/volume.h usability... no checking ntfs/volume.h presence... no checking for ntfs/volume.h... no configure: WARNING: Disable use of ntfs library checking ntfs-3g/attrib.h usability... yes checking ntfs-3g/attrib.h presence... yes checking for ntfs-3g/attrib.h... yes checking ntfs-3g/volume.h usability... yes checking ntfs-3g/volume.h presence... yes checking for ntfs-3g/volume.h... yes checking for an ANSI C-conforming const... yes checking whether byte ordering is bigendian... no checking for inline... inline checking for off_t... yes checking for size_t... yes checking for struct stat.st_blocks... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct stat.st_blksize... yes checking for struct stat.st_rdev... yes checking for dal_t.block_size... no checking for dal_t.error... no checking for dal_t.entity... no checking for dal_t.name... no checking for struct dal_ops.dev... no checking for struct struct_io_manager.set_option... yes checking for struct struct_io_manager.read_blk64... yes checking for struct struct_io_manager.write_blk64... yes checking for struct tm.tm_gmtoff... no checking whether gcc needs -traditional... no checking for initscr in -lncursesw... yes checking for keypad in -ltinfo... yes checking for assume_default_colors... yes checking for ext2fs_open in -lext2fs... yes checking for com_err in -lcom_err... 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 configure: WARNING: Use of ntfs library disabled checking for libreiserfs_get_version in -lreiserfs... no configure: WARNING: No reiserfs library detected checking sys/uuid.h usability... no checking sys/uuid.h presence... no checking for sys/uuid.h... no checking uuid/uuid.h usability... yes checking uuid/uuid.h presence... yes checking for uuid/uuid.h... yes checking uuid.h usability... no checking uuid.h presence... no checking for uuid.h... no checking for uuidgen... no checking for library containing uuid_generate... -luuid checking for uuid_create... no checking for uuid_generate... yes checking for compress2 in -lz... yes configure: WARNING: Use of ewf library disabled checking whether gcc understands -Wdeclaration-after-statement... yes checking whether gcc understands -Wall... 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 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 -Winline... 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 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 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 QTGUI... no checking for moc-qt4... no checking for moc... no configure: WARNING: Could not find a moc-qt4 or moc tool in your PATH. checking for rcc-qt4... no checking for rcc... no configure: WARNING: Could not find a rcc-qt4 or rcc tool in your PATH. checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... 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 configure: WARNING: unrecognized options: --disable-maintainer-mode make[1]: Leaving directory '/build/testdisk-7.0' dh_auto_build dh_auto_build: Compatibility levels before 9 are deprecated (level 8 in use) make -j1 make[1]: Entering directory '/build/testdisk-7.0' make all-recursive make[2]: Entering directory '/build/testdisk-7.0' Making all in icons make[3]: Entering directory '/build/testdisk-7.0/icons' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/build/testdisk-7.0/icons' Making all in man make[3]: Entering directory '/build/testdisk-7.0/man' Making all in zh_CN make[4]: Entering directory '/build/testdisk-7.0/man/zh_CN' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/build/testdisk-7.0/man/zh_CN' make[4]: Entering directory '/build/testdisk-7.0/man' make[4]: Nothing to be done for 'all-am'. make[4]: Leaving directory '/build/testdisk-7.0/man' make[3]: Leaving directory '/build/testdisk-7.0/man' Making all in src make[3]: Entering directory '/build/testdisk-7.0/src' gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o autoset.o autoset.c In file included from autoset.c:27: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o common.o common.c In file included from common.c:49: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o crc.o crc.c In file included from crc.c:29: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o ewf.o ewf.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o fnctdsk.o fnctdsk.c In file included from fnctdsk.c:35: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o hdaccess.o hdaccess.c In file included from hdaccess.c:44: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ hdaccess.c:138:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ hdaccess.c:878:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct,__packed__)) scsi_inquiry_data_t; ^ hdaccess.c: In function 'disk_get_model': hdaccess.c:937:76: warning: unused parameter 'verbose' [-Wunused-parameter] static void disk_get_model(const int hd_h, disk_t *dev, const unsigned int verbose) ~~~~~~~~~~~~~~~~~~~^~~~~~~ hdaccess.c: In function 'file_nopwrite': hdaccess.c:1291:56: warning: unused parameter 'buf' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o hdcache.o hdcache.c In file included from hdcache.c:33: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o hdwin32.o hdwin32.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o hidden.o hidden.c In file included from hidden.c:28: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o hpa_dco.o hpa_dco.c In file included from hpa_dco.c:43: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o intrf.o intrf.c In file included from intrf.c:58: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o iso.o iso.c In file included from iso.c:33: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from iso.c:34: iso9660.h:62:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o list_sort.o list_sort.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o log.o log.c In file included from log.c:47: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o log_part.o log_part.c In file included from log_part.c:28: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o misc.o misc.c In file included from misc.c:48: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ misc.c: In function 'get_os': misc.c:181:56: warning: '%s' directive output may be truncated writing up to 64 bytes into a region of size between 26 and 90 [-Wformat-truncation=] snprintf(buffer, sizeof(buffer) - 1, "%s, kernel %s (%s) %s", ^~ Ver.sysname, Ver.release, Ver.version, Ver.machine); ~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from misc.c:30: /usr/include/aarch64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 14 and 270 bytes into a destination of size 99 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o msdos.o msdos.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o parti386.o parti386.c In file included from parti386.c:37: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from parti386.c:46: exfat.h:50:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ exfat.h:70:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ exfat.h:84:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ exfat.h:93:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from parti386.c:47: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ fat.h:101:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from parti386.c:48: hfs.h:34:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ hfs.h:77:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from parti386.c:53: ntfs.h:57:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ ntfs.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ ntfs.h:147:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; ^ ntfs.h:191:3: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)); ^ ntfs.h:196:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)); ^ ntfs.h:201:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; ^ ntfs.h:241:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; ^ In file included from parti386.c:54: sun.h:75:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from parti386.c:58: partgpt.h:47:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from parti386.c:59: partxbox.h:32:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ parti386.c: In function 'init_part_order_i386': parti386.c:327:56: warning: unused parameter 'disk_car' [-Wunused-parameter] static list_part_t *init_part_order_i386(const disk_t *disk_car, list_part_t *list_part) ~~~~~~~~~~~~~~^~~~~~~~ parti386.c: In function 'test_structure_i386': parti386.c:1195:4: warning: this statement may fall through [-Wimplicit-fallthrough=] if(nbr_prim_boot++) ^ parti386.c:1197:7: note: here case STATUS_PRIM: ^~~~ parti386.c: In function 'read_part_i386': parti386.c:386:8: warning: this statement may fall through [-Wimplicit-fallthrough=] status=STATUS_EXT; ~~~~~~^~~~~~~~~~~ parti386.c:388:7: note: here default: ^~~~~~~ parti386.c: In function 'test_MBR_data': parti386.c:425:9: warning: this statement may fall through [-Wimplicit-fallthrough=] nb_boot++; ~~~~~~~^~ parti386.c:426:7: note: here case STATUS_PRIM: ^~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o partgpt.o partgpt.c In file included from partgpt.c:45: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from partgpt.c:51: partgpt.h:47:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from partgpt.c:53: exfat.h:50:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ exfat.h:70:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ exfat.h:84:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ exfat.h:93:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from partgpt.c:54: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ fat.h:101:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from partgpt.c:55: hfs.h:34:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ hfs.h:77:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from partgpt.c:58: ntfs.h:57:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ ntfs.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ ntfs.h:147:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; ^ ntfs.h:191:3: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)); ^ ntfs.h:196:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)); ^ ntfs.h:201:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; ^ ntfs.h:241:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; ^ partgpt.c: In function 'init_part_order_gpt': partgpt.c:319:55: warning: unused parameter 'disk_car' [-Wunused-parameter] 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:394:47: warning: unused parameter 'disk_car' [-Wunused-parameter] static void set_next_status_gpt(const disk_t *disk_car, partition_t *partition) ~~~~~~~~~~~~~~^~~~~~~~ partgpt.c: In function 'init_structure_gpt': partgpt.c:417:89: warning: unused parameter 'verbose' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o parthumax.o parthumax.c In file included from parthumax.c:37: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ parthumax.c:67:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ parthumax.c:73:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ parthumax.c: In function 'read_part_humax': parthumax.c:102:65: warning: unused parameter 'verbose' [-Wunused-parameter] static list_part_t *read_part_humax(disk_t *disk_car, const int verbose, const int saveheader) ~~~~~~~~~~^~~~~~~ parthumax.c:102:84: warning: unused parameter 'saveheader' [-Wunused-parameter] 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:152:37: warning: unused parameter 'disk_car' [-Wunused-parameter] static int write_part_humax(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) ~~~~~~~~^~~~~~~~ parthumax.c:152:66: warning: unused parameter 'list_part' [-Wunused-parameter] static int write_part_humax(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ parthumax.c:152:101: warning: unused parameter 'verbose' [-Wunused-parameter] 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:160:57: warning: unused parameter 'disk_car' [-Wunused-parameter] 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:231:49: warning: unused parameter 'disk_car' [-Wunused-parameter] static void set_next_status_humax(const disk_t *disk_car, partition_t *partition) ~~~~~~~~~~~~~~^~~~~~~~ parthumax.c: In function 'init_structure_humax': parthumax.c:267:91: warning: unused parameter 'verbose' [-Wunused-parameter] 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:301:68: warning: unused parameter 'partition' [-Wunused-parameter] static const char *get_partition_typename_humax(const partition_t *partition) ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o partmac.o partmac.c In file included from partmac.c:37: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from partmac.c:45: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ fat.h:101:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from partmac.c:46: hfs.h:34:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ hfs.h:77:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ partmac.c: In function 'write_part_mac': partmac.c:199:35: warning: unused parameter 'disk_car' [-Wunused-parameter] static int write_part_mac(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) ~~~~~~~~^~~~~~~~ partmac.c:199:64: warning: unused parameter 'list_part' [-Wunused-parameter] static int write_part_mac(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ partmac.c:199:99: warning: unused parameter 'verbose' [-Wunused-parameter] 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:207:55: warning: unused parameter 'disk_car' [-Wunused-parameter] 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:274:47: warning: unused parameter 'disk_car' [-Wunused-parameter] static void set_next_status_mac(const disk_t *disk_car, partition_t *partition) ~~~~~~~~~~~~~~^~~~~~~~ partmac.c: In function 'init_structure_mac': partmac.c:307:89: warning: unused parameter 'verbose' [-Wunused-parameter] static void init_structure_mac(const disk_t *disk_car,list_part_t *list_part, const int verbose) ~~~~~~~~~~^~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o partsun.o partsun.c In file included from partsun.c:37: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from partsun.c:43: sun.h:75:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from partsun.c:48: ufs.h:290:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ ufs.h:297:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ ufs.h:306:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ ufs.h:315:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ ufs.h:339:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ ufs.h:458:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ partsun.c: In function 'write_part_sun': partsun.c:177:35: warning: unused parameter 'disk_car' [-Wunused-parameter] static int write_part_sun(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) ~~~~~~~~^~~~~~~~ partsun.c:177:64: warning: unused parameter 'list_part' [-Wunused-parameter] static int write_part_sun(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ partsun.c:177:99: warning: unused parameter 'verbose' [-Wunused-parameter] 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:270:47: warning: unused parameter 'disk_car' [-Wunused-parameter] static void set_next_status_sun(const disk_t *disk_car, partition_t *partition) ~~~~~~~~~~~~~~^~~~~~~~ partsun.c: In function 'init_structure_sun': partsun.c:302:89: warning: unused parameter 'verbose' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o partnone.o partnone.c In file included from partnone.c:37: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from partnone.c:44: btrfs.h:97:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ btrfs.h:139:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from partnone.c:46: exfat.h:50:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ exfat.h:70:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ exfat.h:84:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ exfat.h:93:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from partnone.c:48: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ fat.h:101:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from partnone.c:50: fatx.h:33:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from partnone.c:51: iso9660.h:62:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from partnone.c:54: hfs.h:34:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ hfs.h:77:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from partnone.c:63: ntfs.h:57:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ ntfs.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ ntfs.h:147:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; ^ ntfs.h:191:3: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)); ^ ntfs.h:196:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)); ^ ntfs.h:201:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; ^ ntfs.h:241:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; ^ In file included from partnone.c:64: rfs.h:73:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ rfs.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from partnone.c:65: sun.h:75:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from partnone.c:66: sysv.h:119:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from partnone.c:68: ufs.h:290:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ ufs.h:297:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ ufs.h:306:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ ufs.h:315:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ ufs.h:339:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ ufs.h:458:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from partnone.c:69: xfs.h:107:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from partnone.c:70: vmfs.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ vmfs.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from partnone.c:71: wbfs.h:39:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ partnone.c: In function 'get_geometry_from_nonembr': partnone.c:170:77: warning: unused parameter 'verbose' [-Wunused-parameter] 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:300:56: warning: unused parameter 'disk_car' [-Wunused-parameter] 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:306:48: warning: unused parameter 'disk_car' [-Wunused-parameter] static void set_next_status_none(const disk_t *disk_car, partition_t *partition) ~~~~~~~~~~~~~~^~~~~~~~ partnone.c:306:71: warning: unused parameter 'partition' [-Wunused-parameter] static void set_next_status_none(const disk_t *disk_car, partition_t *partition) ~~~~~~~~~~~~~^~~~~~~~~ partnone.c: In function 'test_structure_none': partnone.c:310:45: warning: unused parameter 'list_part' [-Wunused-parameter] static int test_structure_none(list_part_t *list_part) ~~~~~~~~~~~~~^~~~~~~~~ partnone.c: In function 'is_part_known_none': partnone.c:321:50: warning: unused parameter 'partition' [-Wunused-parameter] static int is_part_known_none(const partition_t *partition) ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ partnone.c: In function 'init_structure_none': partnone.c:326:47: warning: unused parameter 'disk_car' [-Wunused-parameter] static void init_structure_none(const disk_t *disk_car,list_part_t *list_part, const int verbose) ~~~~~~~~~~~~~~^~~~~~~~ partnone.c:326:90: warning: unused parameter 'verbose' [-Wunused-parameter] 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:335:97: warning: unused parameter 'saveheader' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o partxbox.o partxbox.c In file included from partxbox.c:37: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from partxbox.c:42: partxbox.h:32:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from partxbox.c:44: fatx.h:33:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ partxbox.c: In function 'write_part_xbox': partxbox.c:134:36: warning: unused parameter 'disk_car' [-Wunused-parameter] static int write_part_xbox(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) ~~~~~~~~^~~~~~~~ partxbox.c:134:65: warning: unused parameter 'list_part' [-Wunused-parameter] static int write_part_xbox(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ partxbox.c:134:100: warning: unused parameter 'verbose' [-Wunused-parameter] 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:142:56: warning: unused parameter 'disk_car' [-Wunused-parameter] 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:209:48: warning: unused parameter 'disk_car' [-Wunused-parameter] static void set_next_status_xbox(const disk_t *disk_car, partition_t *partition) ~~~~~~~~~~~~~~^~~~~~~~ partxbox.c: In function 'init_structure_xbox': partxbox.c:242:90: warning: unused parameter 'verbose' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o io_redir.o io_redir.c In file included from io_redir.c:35: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o ntfs_io.o ntfs_io.c In file included from ntfs_io.c:56: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __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] 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] 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] static int ntfs_device_testdisk_io_ioctl(struct ntfs_device *dev, int request, ~~~~~~~~~~~~~~~~~~~~^~~ ntfs_io.c:157:71: warning: unused parameter 'request' [-Wunused-parameter] static int ntfs_device_testdisk_io_ioctl(struct ntfs_device *dev, int request, ~~~~^~~~~~~ ntfs_io.c:158:9: warning: unused parameter 'argp' [-Wunused-parameter] void *argp) ~~~~~~^~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o ntfs_utl.o ntfs_utl.c In file included from ntfs_utl.c:61: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o partauto.o partauto.c In file included from partauto.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o sudo.o sudo.c In file included from sudo.c:39: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o unicode.o unicode.c In file included from unicode.c:28: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o win32.o win32.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o analyse.o analyse.c In file included from analyse.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from analyse.c:35: btrfs.h:97:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ btrfs.h:139:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from analyse.c:37: exfat.h:50:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ exfat.h:70:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ exfat.h:84:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ exfat.h:93:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from analyse.c:39: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ fat.h:101:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from analyse.c:40: fatx.h:33:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from analyse.c:42: hfs.h:34:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ hfs.h:77:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from analyse.c:51: ntfs.h:57:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ ntfs.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ ntfs.h:147:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; ^ ntfs.h:191:3: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)); ^ ntfs.h:196:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)); ^ ntfs.h:201:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; ^ ntfs.h:241:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; ^ In file included from analyse.c:52: rfs.h:73:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ rfs.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from analyse.c:53: sun.h:75:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from analyse.c:55: sysv.h:119:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from analyse.c:56: ufs.h:290:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ ufs.h:297:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ ufs.h:306:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ ufs.h:315:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ ufs.h:339:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ ufs.h:458:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from analyse.c:57: vmfs.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ vmfs.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from analyse.c:58: wbfs.h:39:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from analyse.c:59: xfs.h:107:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o bfs.o bfs.c In file included from bfs.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o bsd.o bsd.c In file included from bsd.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o btrfs.o btrfs.c In file included from btrfs.c:34: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from btrfs.c:35: btrfs.h:97:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ btrfs.h:139:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o cramfs.o cramfs.c In file included from cramfs.c:35: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o exfat.o exfat.c In file included from exfat.c:34: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from exfat.c:35: exfat.h:50:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ exfat.h:70:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ exfat.h:84:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ exfat.h:93:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o fat.o fat.c In file included from fat.c:39: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from fat.c:40: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ fat.h:101:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o fat_common.o fat_common.c In file included from fat_common.c:30: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from fat_common.c:31: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ fat.h:101:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o fatx.o fatx.c In file included from fatx.c:30: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from fatx.c:31: fatx.h:33:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o ext2.o ext2.c In file included from ext2.c:34: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o ext2_common.o ext2_common.c In file included from ext2_common.c:34: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o jfs.o jfs.c In file included from jfs.c:33: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o gfs2.o gfs2.c In file included from gfs2.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gfs2.c: In function 'set_gfs2_info': gfs2.c:37:48: warning: unused parameter 'sb' [-Wunused-parameter] static int set_gfs2_info(const struct gfs2_sb *sb, partition_t *partition) ~~~~~~~~~~~~~~~~~~~~~~^~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o hfs.o hfs.c In file included from hfs.c:33: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from hfs.c:34: hfs.h:34:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ hfs.h:77:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o hfsp.o hfsp.c In file included from hfsp.c:34: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o hpfs.o hpfs.c In file included from hpfs.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from hpfs.c:33: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ fat.h:101:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o luks.o luks.c In file included from luks.c:33: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o lvm.o lvm.c In file included from lvm.c:34: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o md.o md.c In file included from md.c:34: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o netware.o netware.c In file included from netware.c:33: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o ntfs.o ntfs.c In file included from ntfs.c:40: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from ntfs.c:42: ntfs.h:57:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ ntfs.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ ntfs.h:147:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; ^ ntfs.h:191:3: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)); ^ ntfs.h:196:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)); ^ ntfs.h:201:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; ^ ntfs.h:241:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __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: 'uint32_t' {aka 'const unsigned int'} and 'int' [-Wsign-compare] le32(attrib->type)!= -1) ^~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o rfs.o rfs.c In file included from rfs.c:35: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from rfs.c:36: rfs.h:73:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ rfs.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o savehdr.o savehdr.c In file included from savehdr.c:41: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o sun.o sun.c In file included from sun.c:35: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from sun.c:36: sun.h:75:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o swap.o swap.c In file included from swap.c:34: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o sysv.o sysv.c In file included from sysv.c:35: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from sysv.c:36: sysv.h:119:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o ufs.o ufs.c In file included from ufs.c:35: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from ufs.c:36: ufs.h:290:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ ufs.h:297:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ ufs.h:306:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ ufs.h:315:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ ufs.h:339:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ ufs.h:458:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o vmfs.o vmfs.c In file included from vmfs.c:33: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from vmfs.c:36: vmfs.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ vmfs.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o wbfs.o wbfs.c In file included from wbfs.c:33: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from wbfs.c:36: wbfs.h:39:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o xfs.o xfs.c In file included from xfs.c:35: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from xfs.c:36: xfs.h:107:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o zfs.o zfs.c In file included from zfs.c:33: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o addpart.o addpart.c In file included from addpart.c:29: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from addpart.c:31: partgpt.h:47:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from addpart.c:35: partxbox.h:32:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o addpartn.o addpartn.c In file included from addpartn.c:30: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from addpartn.c:32: partgpt.h:47:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from addpartn.c:35: partxbox.h:32:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o adv.o adv.c In file included from adv.c:38: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from adv.c:46: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ fat.h:101:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from adv.c:47: ntfs.h:57:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ ntfs.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ ntfs.h:147:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; ^ ntfs.h:191:3: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)); ^ ntfs.h:196:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)); ^ ntfs.h:201:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; ^ ntfs.h:241:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o askloc.o askloc.c In file included from askloc.c:53: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ askloc.c: In function 'ask_location': askloc.c:317:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] line_directory=aff_txt(2, window, msg, src_dir); ^~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o chgarch.o chgarch.c In file included from chgarch.c:34: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o chgarchn.o chgarchn.c In file included from chgarchn.c:35: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o chgtype.o chgtype.c In file included from chgtype.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o chgtypen.o chgtypen.c In file included from chgtypen.c:35: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from chgtypen.c:45: partgpt.h:47:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o dimage.o dimage.c In file included from dimage.c:43: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o dirn.o dirn.c In file included from dirn.c:38: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o dirpart.o dirpart.c In file included from dirpart.c:34: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from dirpart.c:35: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ fat.h:101:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from dirpart.c:48: ntfs.h:57:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ ntfs.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ ntfs.h:147:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; ^ ntfs.h:191:3: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)); ^ ntfs.h:196:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)); ^ ntfs.h:201:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; ^ ntfs.h:241:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o diskacc.o diskacc.c In file included from diskacc.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o diskcapa.o diskcapa.c In file included from diskcapa.c:28: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o edit.o edit.c In file included from edit.c:35: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o ext2_sb.o ext2_sb.c In file included from ext2_sb.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o ext2_sbn.o ext2_sbn.c In file included from ext2_sbn.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o fat1x.o fat1x.c In file included from fat1x.c:34: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from fat1x.c:39: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ fat.h:101:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o fat32.o fat32.c In file included from fat32.c:35: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from fat32.c:40: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ fat.h:101:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o fat_adv.o fat_adv.c In file included from fat_adv.c:42: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from fat_adv.c:43: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ fat.h:101:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o fat_cluster.o fat_cluster.c In file included from fat_cluster.c:35: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from fat_cluster.c:40: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ fat.h:101:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o fatn.o fatn.c In file included from fatn.c:30: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from fatn.c:33: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ fat.h:101:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o geometry.o geometry.c In file included from geometry.c:34: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o geometryn.o geometryn.c In file included from geometryn.c:35: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o godmode.o godmode.c In file included from godmode.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from godmode.c:42: ntfs.h:57:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ ntfs.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ ntfs.h:147:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; ^ ntfs.h:191:3: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)); ^ ntfs.h:196:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)); ^ ntfs.h:201:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; ^ ntfs.h:241:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o hiddenn.o hiddenn.c In file included from hiddenn.c:29: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o intrface.o intrface.c In file included from intrface.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o intrfn.o intrfn.c In file included from intrfn.c:59: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o nodisk.o nodisk.c In file included from nodisk.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o ntfs_adv.o ntfs_adv.c In file included from ntfs_adv.c:35: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from ntfs_adv.c:39: ntfs.h:57:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ ntfs.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ ntfs.h:147:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; ^ ntfs.h:191:3: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)); ^ ntfs.h:196:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)); ^ ntfs.h:201:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; ^ ntfs.h:241:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; ^ ntfs_adv.c: In function 'create_ntfs_boot_sector': ntfs_adv.c:323:40: warning: operand of ?: changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] mft_record_size / cluster_size : -(testdisk_ffs(mft_record_size) - 1)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntfs_adv.c:325:41: warning: operand of ?: changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] index_block_size / cluster_size : -(testdisk_ffs(index_block_size) - 1)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o ntfs_fix.o ntfs_fix.c In file included from ntfs_fix.c:38: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from ntfs_fix.c:40: ntfs.h:57:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ ntfs.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ ntfs.h:147:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; ^ ntfs.h:191:3: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)); ^ ntfs.h:196:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)); ^ ntfs.h:201:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; ^ ntfs.h:241:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o ntfs_udl.o ntfs_udl.c In file included from ntfs_udl.c:45: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o parti386n.o parti386n.c In file included from parti386n.c:34: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o partgptn.o partgptn.c In file included from partgptn.c:45: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o partmacn.o partmacn.c In file included from partmacn.c:34: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o partsunn.o partsunn.c In file included from partsunn.c:34: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o partxboxn.o partxboxn.c In file included from partxboxn.c:34: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o tanalyse.o tanalyse.c In file included from tanalyse.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o tbanner.o tbanner.c In file included from tbanner.c:29: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o tdelete.o tdelete.c In file included from tdelete.c:28: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o tdiskop.o tdiskop.c In file included from tdiskop.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o tdisksel.o tdisksel.c In file included from tdisksel.c:34: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o testdisk.o testdisk.c In file included from testdisk.c:44: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o texfat.o texfat.c In file included from texfat.c:35: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from texfat.c:39: exfat.h:50:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ exfat.h:70:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ exfat.h:84:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ exfat.h:93:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ texfat.c: In function 'exFAT_boot_sector': texfat.c:76:71: warning: unused parameter 'verbose' [-Wunused-parameter] int exFAT_boot_sector(disk_t *disk, partition_t *partition, const int verbose, char **current_cmd) ~~~~~~~~~~^~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o thfs.o thfs.c In file included from thfs.c:35: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from thfs.c:39: hfs.h:34:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ hfs.h:77:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o tload.o tload.c In file included from tload.c:40: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o tlog.o tlog.c In file included from tlog.c:28: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o tmbrcode.o tmbrcode.c In file included from tmbrcode.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o tntfs.o tntfs.c In file included from tntfs.c:34: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from tntfs.c:39: ntfs.h:57:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ ntfs.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ ntfs.h:147:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; ^ ntfs.h:191:3: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)); ^ ntfs.h:196:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)); ^ ntfs.h:201:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; ^ ntfs.h:241:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o toptions.o toptions.c In file included from toptions.c:29: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o tpartwr.o tpartwr.c In file included from tpartwr.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o dir.o dir.c In file included from dir.c:44: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o exfat_dir.o exfat_dir.c In file included from exfat_dir.c:45: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from exfat_dir.c:46: exfat.h:50:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ exfat.h:70:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ exfat.h:84:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ exfat.h:93:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from exfat_dir.c:53: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ fat.h:101:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __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] if (iconv(cd, (char **)&inp, &inb_left, &outp, &outb_left) == (size_t)(-1)) ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o ext2_dir.o ext2_dir.c In file included from /usr/include/ext2fs/ext2fs.h:97, from ext2_dir.c:38: /usr/include/ext2fs/hashmap.h:20:9: note: struct defined here struct ext2fs_hashmap_entry *first; ^~~~~~~~~~~~~~~~~~~~ /usr/include/ext2fs/hashmap.h:20:9: note: struct defined here In file included from ext2_dir.c:42: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ ext2_dir.c: In function 'alloc_io_channel': ext2_dir.c:108:44: warning: unused parameter 'disk_car' [-Wunused-parameter] 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] static errcode_t my_open(const char *dev, int flags, io_channel *channel) ~~~~~~~~~~~~^~~ ext2_dir.c:135:47: warning: unused parameter 'flags' [-Wunused-parameter] 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] 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] static int list_dir_proc2(ext2_ino_t dir, ~~~~~~~~~~~^~~ ext2_dir.c:217:9: warning: unused parameter 'offset' [-Wunused-parameter] int offset, ~~~~^~~~~~ ext2_dir.c:218:9: warning: unused parameter 'blocksize' [-Wunused-parameter] int blocksize, ~~~~^~~~~~~~~ ext2_dir.c:219:11: warning: unused parameter 'buf' [-Wunused-parameter] char *buf, ~~~~~~^~~ ext2_dir.c: In function 'ext2_dir': ext2_dir.c:267:29: warning: unused parameter 'disk_car' [-Wunused-parameter] 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] 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] 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] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o fat_dir.o fat_dir.c In file included from fat_dir.c:42: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from fat_dir.c:43: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ fat.h:101:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o ntfs_dir.o ntfs_dir.c In file included from ntfs_dir.c:71: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from ntfs_dir.c:73: ntfs.h:57:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ ntfs.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ ntfs.h:147:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; ^ ntfs.h:191:3: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)); ^ ntfs.h:196:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)); ^ ntfs.h:201:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; ^ ntfs.h:241:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; ^ ntfs_dir.c: In function 'ntfs_ucstoutf8': ntfs_dir.c:150:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 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:166:54: warning: unused parameter 'pos' [-Wunused-parameter] const int name_len, const int name_type, const s64 pos, ~~~~~~~~~~^~~ ntfs_dir.c: In function 'ntfs_dir': ntfs_dir.c:298:29: warning: unused parameter 'disk_car' [-Wunused-parameter] 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:298:58: warning: unused parameter 'partition' [-Wunused-parameter] 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:333:30: warning: unused parameter 'disk_car' [-Wunused-parameter] 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:333:59: warning: unused parameter 'partition' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o partgptw.o partgptw.c In file included from partgptw.c:44: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from partgptw.c:46: partgpt.h:47:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ partgptw.c: In function 'write_part_gpt': partgptw.c:196:92: warning: unused parameter 'verbose' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o rfs_dir.o rfs_dir.c In file included from rfs_dir.c:44: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from rfs_dir.c:46: rfs.h:73:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ rfs.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __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] 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] 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] 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] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o setdate.o setdate.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o next.o next.c In file included from next.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -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 fat.o fat_common.o fatx.o ext2.o ext2_common.o jfs.o gfs2.o hfs.o hfsp.o hpfs.o luks.o lvm.o md.o netware.o ntfs.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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o phmain.o phmain.c In file included from phmain.c:59: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o photorec.o photorec.c In file included from photorec.c:45: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ photorec.c: In function 'set_search_start': photorec.c:763:20: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if(params->offset!=-1) ^~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o phcfg.o phcfg.c In file included from phcfg.c:41: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o exfatp.o exfatp.c In file included from exfatp.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from exfatp.c:35: exfat.h:50:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ exfat.h:70:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ exfat.h:84:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ exfat.h:93:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from exfatp.c:37: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ fat.h:101:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o ext2grp.o ext2grp.c In file included from ext2grp.c:30: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o ext2p.o ext2p.c In file included from ext2p.c:33: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from /usr/include/ext2fs/ext2fs.h:97, from ext2p.c:42: /usr/include/ext2fs/hashmap.h:20:9: note: struct defined here struct ext2fs_hashmap_entry *first; ^~~~~~~~~~~~~~~~~~~~ /usr/include/ext2fs/hashmap.h:20:9: note: struct defined here gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o fatp.o fatp.c In file included from fatp.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from fatp.c:35: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ fat.h:101:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_found.o file_found.c In file included from file_found.c:35: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o ntfsp.o ntfsp.c In file included from ntfsp.c:37: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from ntfsp.c:51: ntfs.h:57:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ ntfs.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ ntfs.h:147:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; ^ ntfs.h:191:3: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)); ^ ntfs.h:196:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)); ^ ntfs.h:201:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; ^ ntfs.h:241:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o pdisksel.o pdisksel.c In file included from pdisksel.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o phcli.o phcli.c In file included from phcli.c:35: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o poptions.o poptions.c In file included from poptions.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o sessionp.o sessionp.c In file included from sessionp.c:46: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __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] if(params->status!=STATUS_FIND_OFFSET && params->offset!=-1) ^~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o dfxml.o dfxml.c In file included from dfxml.c:53: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o fat_unformat.o fat_unformat.c In file included from fat_unformat.c:40: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from fat_unformat.c:44: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ fat.h:101:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o pbanner.o pbanner.c In file included from pbanner.c:29: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o pblocksize.o pblocksize.c In file included from pblocksize.c:29: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o pdiskseln.o pdiskseln.c In file included from pdiskseln.c:38: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o pfree_whole.o pfree_whole.c In file included from pfree_whole.c:29: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o phbf.o phbf.c In file included from phbf.c:44: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o phbs.o phbs.c In file included from phbs.c:41: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o phnc.o phnc.c In file included from phnc.c:36: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o phrecn.o phrecn.c In file included from phrecn.c:45: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from phrecn.c:59: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ fat.h:101:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o ppartseln.o ppartseln.c In file included from ppartseln.c:36: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o psearchn.o psearchn.c In file included from psearchn.c:51: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from psearchn.c:55: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ fat.h:101:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o filegen.o filegen.c In file included from filegen.c:35: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ filegen.c: In function 'data_check_size': filegen.c:282:51: warning: unused parameter 'buffer' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_list.o file_list.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_1cd.o file_1cd.c In file included from file_1cd.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_1cd.c:51:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_1cd.c: In function 'header_check_1cd': file_1cd.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_3dm.o file_3dm.c file_3dm.c: In function 'header_check_3dm': file_3dm.c:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_7z.o file_7z.c In file included from file_7z.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_7z.c:54:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_7z.c: In function 'header_check_7z': file_7z.c:56:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:56:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:56:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_DB.o file_DB.c file_DB.c: In function 'header_check_DB': file_DB.c:54:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:54:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:54:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_a.o file_a.c file_a.c:54:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_a.c: In function 'header_check_a': file_a.c:56:75: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:56:107: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:56:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_ab.o file_ab.c In file included from file_ab.c:28: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_ab.c:48:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_ab.c: In function 'header_check_addressbook': file_ab.c:72:85: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:72:117: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:72:158: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_abr.o file_abr.c file_abr.c: In function 'header_check_abr': file_abr.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_acb.o file_acb.c file_acb.c: In function 'header_check_acb': file_acb.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_ace.o file_ace.c In file included from file_ace.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_ace.c:65:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_ace.c: In function 'header_check_ace': file_ace.c:180:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:180:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:180:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_ado.o file_ado.c file_ado.c: In function 'header_check_ado': file_ado.c:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_ahn.o file_ahn.c file_ahn.c: In function 'header_check_ahn': file_ahn.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_aif.o file_aif.c In file included from file_aif.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_aif.c:51:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_aif.c: In function 'header_check_aif': file_aif.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_all.o file_all.c file_all.c: In function 'header_check_all': file_all.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_als.o file_als.c file_als.c: In function 'header_check_als': file_als.c:64:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:64:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:64:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_amd.o file_amd.c In file included from file_amd.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_amd.c: In function 'header_check_amd': file_amd.c:67:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:67:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:67:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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:82:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:82:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:82:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_amr.o file_amr.c file_amr.c: In function 'header_check_amr': file_amr.c:75:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:75:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:75:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_apa.o file_apa.c In file included from file_apa.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_apa.c: In function 'header_check_apa': file_apa.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_ape.o file_ape.c In file included from file_ape.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_ape.c:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_ape.c: In function 'header_check_ape': file_ape.c:103:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:103:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_apple.o file_apple.c file_apple.c: In function 'header_check_apple': file_apple.c:54:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:54:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:54:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_ari.o file_ari.c In file included from file_ari.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_ari.c:56:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_ari.c: In function 'header_check_ari': file_ari.c:58:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:58:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:58:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_arj.o file_arj.c In file included from file_arj.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_arj.c:118:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_arj.c: In function 'header_check_arj': file_arj.c:126:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:126:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:126:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_asf.o file_asf.c In file included from file_asf.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_asf.c:54:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_asf.c:62:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_asf.c:68:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_asf.c: In function 'header_check_asf': file_asf.c:70:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:70:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_asl.o file_asl.c file_asl.c: In function 'header_check_asl': file_asl.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_asm.o file_asm.c file_asm.c: In function 'header_check_asm': file_asm.c:58:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:58:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:58:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_atd.o file_atd.c file_atd.c: In function 'header_check_atd': file_atd.c:55:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:55:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:55:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_au.o file_au.c In file included from file_au.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_au.c:63:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_au.c: In function 'header_check_au': file_au.c:65:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:65:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:65:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_axx.o file_axx.c In file included from file_axx.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_axx.c:51:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_axx.c: In function 'header_check_axx': file_axx.c:91:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:91:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:91:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_bac.o file_bac.c In file included from file_bac.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_bac.c:56:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_bac.c: In function 'header_check_bac': file_bac.c:93:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:93:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:93:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_berkeley.o file_berkeley.c file_berkeley.c: In function 'header_check_berkeley_le': file_berkeley.c:45:58: warning: unused parameter 'buffer' [-Wunused-parameter] 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:45:85: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:45:117: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:45:158: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_bim.o file_bim.c file_bim.c: In function 'header_check_bim': file_bim.c:58:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:58:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:58:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_binvox.o file_binvox.c file_binvox.c: In function 'header_check_binvox': file_binvox.c:45:53: warning: unused parameter 'buffer' [-Wunused-parameter] 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:45:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:45:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:45:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_bkf.o file_bkf.c In file included from file_bkf.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_bkf.c:64:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_bkf.c: In function 'header_check_bkf': file_bkf.c:72:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:72:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:72:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_bld.o file_bld.c file_bld.c: In function 'header_check_blend': file_bld.c:59:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:59:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:59:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_bmp.o file_bmp.c In file included from file_bmp.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_bmp.c:60:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_bmp.c: In function 'header_check_bmp': file_bmp.c:62:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:62:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:62:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_bz2.o file_bz2.c file_bz2.c: In function 'header_check_bz2': file_bz2.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_cab.o file_cab.c In file included from file_cab.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_cab.c:59:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_cab.c: In function 'header_check_cab': file_cab.c:61:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:61:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:61:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_caf.o file_caf.c In file included from file_caf.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_caf.c:56:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_caf.c: In function 'header_check_caf': file_caf.c:98:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:98:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:98:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_cam.o file_cam.c file_cam.c: In function 'header_check_cam': file_cam.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_catdrawing.o file_catdrawing.c file_catdrawing.c: In function 'header_check_catdrawing': file_catdrawing.c:50:84: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:50:116: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:50:157: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_cdt.o file_cdt.c file_cdt.c: In function 'header_check_cdt': file_cdt.c:55:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:55:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:55:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_chm.o file_chm.c file_chm.c: In function 'header_check_chm': file_chm.c:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_class.o file_class.c In file included from file_class.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_class.c: In function 'header_check_class': file_class.c:62:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:62:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:62:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_cm.o file_cm.c file_cm.c: In function 'header_check_cm': file_cm.c:53:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:53:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:53:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_compress.o file_compress.c file_compress.c: In function 'header_check_compress': file_compress.c:53:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:53:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:53:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_cow.o file_cow.c In file included from file_cow.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_cow.c:60:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)) QCowHeader_t; ^ file_cow.c: In function 'header_check_qcow1': file_cow.c:78:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:78:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:78:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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:91:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:91:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:91:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_crw.o file_crw.c file_crw.c: In function 'header_check_crw': file_crw.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_csh.o file_csh.c file_csh.c: In function 'header_check_csh': file_csh.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_ctg.o file_ctg.c file_ctg.c: In function 'header_check_ctg': file_ctg.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_cwk.o file_cwk.c In file included from file_cwk.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_cwk.c:66:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_cwk.c: In function 'header_check_cwk': file_cwk.c:74:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:74:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:74:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_d2s.o file_d2s.c In file included from file_d2s.c:30: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_d2s.c:51:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_d2s.c: In function 'header_check_d2s': file_d2s.c:65:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:65:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:65:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_dad.o file_dad.c In file included from file_dad.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_dad.c:53:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_dad.c: In function 'header_check_dad': file_dad.c:74:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:74:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_dar.o file_dar.c file_dar.c: In function 'header_check_dar': file_dar.c:49:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:49:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:49:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_dat.o file_dat.c file_dat.c: In function 'header_check_dat': file_dat.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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:53:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:53:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:53:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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:67:86: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:67:118: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:67:159: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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:77:87: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:77:119: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:77:160: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_dbf.o file_dbf.c file_dbf.c: In function 'header_check_dbf': file_dbf.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_dbn.o file_dbn.c file_dbn.c: In function 'header_check_dbn': file_dbn.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_dcm.o file_dcm.c file_dcm.c: In function 'header_check_dcm': file_dcm.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_ddf.o file_ddf.c In file included from file_ddf.c:35: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_ddf.c:81:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_ddf.c: In function 'header_check_ddf3': file_ddf.c:104:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:104:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:104:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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:114:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:114:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:114:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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:124:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:124:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:124:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_dex.o file_dex.c In file included from file_dex.c:33: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_dex.c:73:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_dex.c: In function 'header_check_dex': file_dex.c:75:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:75:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:75:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_dim.o file_dim.c file_dim.c: In function 'header_check_dim': file_dim.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_dir.o file_dir.c In file included from file_dir.c:35: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from file_dir.c:36: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ fat.h:101:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_dir.c: In function 'data_check_fatdir': file_dir.c:72:60: warning: unused parameter 'buffer' [-Wunused-parameter] 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:79:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:79:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:79:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_djv.o file_djv.c In file included from file_djv.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_djv.c:51:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_djv.c: In function 'header_check_djv': file_djv.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_dmp.o file_dmp.c file_dmp.c: In function 'header_check_dmp': file_dmp.c:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_doc.o file_doc.c In file included from file_doc.c:34: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from file_doc.c:36: ole.h:57:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ ole.h:78:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_doc.c: In function 'header_check_doc': file_doc.c:378:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:378:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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:38: memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 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:425:10: note: called from here if(td_memmem(buffer,buffer_size,"Microsoft Publisher",19)!=NULL) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from file_doc.c:38: memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 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:434:11: note: called from here else if(td_memmem(buffer,buffer_size,"StarDraw",8)!=NULL) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from file_doc.c:38: memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 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:438:11: note: called from here else if(td_memmem(buffer,buffer_size,"StarCalc",8)!=NULL) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from file_doc.c:38: memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 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:442:11: note: called from here else if(td_memmem(buffer,buffer_size,"StarImpress",11)!=NULL) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from file_doc.c:38: memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 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:446:11: note: called from here else if(td_memmem(buffer,buffer_size,"Worksheet",9)!=NULL || ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from file_doc.c:38: memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 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:7: note: called from here td_memmem(buffer,buffer_size,"Book",4)!=NULL || ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from file_doc.c:38: memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 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:448:7: note: called from here td_memmem(buffer,buffer_size,"Workbook",8)!=NULL || ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from file_doc.c:38: memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 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:449:7: note: called from here td_memmem(buffer,buffer_size,"Calc",4)!=NULL) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from file_doc.c:38: memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 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:453:11: note: called from here else if(td_memmem(buffer,buffer_size,"Power",5)!=NULL) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from file_doc.c:38: memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 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:11: note: called from here else if(td_memmem(buffer,buffer_size,"AccessObjSiteData",17)!=NULL) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from file_doc.c:38: memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 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:461:11: note: called from here else if(td_memmem(buffer,buffer_size,"Visio",5)!=NULL) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from file_doc.c:38: memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 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:465:11: note: called from here else if(td_memmem(buffer,buffer_size,"SfxDocument",11)!=NULL) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from file_doc.c:38: memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 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:469:11: note: called from here else if(td_memmem(buffer,buffer_size,"CPicPage",8)!=NULL) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from file_doc.c:38: memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 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:473:11: note: called from here else if(td_memmem(buffer,buffer_size,"Microsoft Publisher",19)!=NULL) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from file_doc.c:38: memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 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:477:11: note: called from here else if(td_memmem(buffer, buffer_size, "Microsoft Works Database", 24)!=NULL ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from file_doc.c:38: memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 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:10: note: called from here || td_memmem( buffer, buffer_size, "MSWorksDBDoc", 12)!=NULL) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from file_doc.c:38: memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 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 else if(td_memmem(buffer,buffer_size,"MetaStock",9)!=NULL) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_dpx.o file_dpx.c In file included from file_dpx.c:35: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_dpx.c:67:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_dpx.c: In function 'header_check_dpx': file_dpx.c:69:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:69:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:69:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_drw.o file_drw.c file_drw.c: In function 'header_check_drw': file_drw.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_ds2.o file_ds2.c file_ds2.c: In function 'header_check_ds2': file_ds2.c:59:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:59:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:59:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_dsc.o file_dsc.c file_dsc.c: In function 'header_check_dsc': file_dsc.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_dss.o file_dss.c file_dss.c: In function 'header_check_dss': file_dss.c:63:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:63:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:63:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_dta.o file_dta.c file_dta.c: In function 'header_check_dta': file_dta.c:55:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:55:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:55:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_dump.o file_dump.c In file included from file_dump.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_dump.c: In function 'header_check_dump': file_dump.c:127:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:127:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:127:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_dv.o file_dv.c file_dv.c: In function 'header_check_dv': file_dv.c:138:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:138:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_dwg.o file_dwg.c file_dwg.c: In function 'header_check_dwg': file_dwg.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_dxf.o file_dxf.c In file included from file_dxf.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_dxf.c: In function 'header_check_dxf': file_dxf.c:48:50: warning: unused parameter 'buffer' [-Wunused-parameter] 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:48:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:48:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:48:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_e01.o file_e01.c In file included from file_e01.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_e01.c:67:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_e01.c: In function 'header_check_e01': file_e01.c:87:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:87:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:87:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_edb.o file_edb.c In file included from file_edb.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_edb.c: In function 'header_check_edb': file_edb.c:47:50: warning: unused parameter 'buffer' [-Wunused-parameter] 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:47:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:47:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_ecryptfs.o file_ecryptfs.c In file included from file_ecryptfs.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_ecryptfs.c:57:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_ecryptfs.c: In function 'header_check_ecryptfs': file_ecryptfs.c:72:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:72:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:72:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_elf.o file_elf.c In file included from file_elf.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_elf.c: In function 'header_check_elf': file_elf.c:121:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:121:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:121:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_emf.o file_emf.c In file included from file_emf.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_emf.c:81:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_emf.c: In function 'header_check_emf': file_emf.c:214:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:214:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:214:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_evt.o file_evt.c In file included from file_evt.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_evt.c:52:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_evt.c: In function 'header_check_evt': file_evt.c:85:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:85:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:85:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_exe.o file_exe.c In file included from file_exe.c:34: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from file_exe.c:36: pe.h:50:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ pe.h:55:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ pe.h:66:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ pe.h:71:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ pe.h:105:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ pe.h:138:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ pe.h:157:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_exe.c: In function 'header_check_exe': file_exe.c:60:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:60:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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:212:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_exe.c:219:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_exs.o file_exs.c file_exs.c: In function 'header_check_exs': file_exs.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_ext.o file_ext.c In file included from file_ext.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_ext.c: In function 'header_check_ext2_sb': file_ext.c:67:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:67:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:67:154: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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:81:60: warning: unused parameter 'buffer' [-Wunused-parameter] 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:105:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:105:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:105:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_ext2.o file_ext2.c In file included from file_ext2.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_ext2.c: In function 'header_check_ext2_fs': file_ext2.c:56:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:56:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_fat.o file_fat.c In file included from file_fat.c:34: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from file_fat.c:38: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ fat.h:101:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_fat.c: In function 'header_check_fat': file_fat.c:61:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:61:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:61:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_fbf.o file_fbf.c file_fbf.c: In function 'header_check_fbf': file_fbf.c:46:50: warning: unused parameter 'buffer' [-Wunused-parameter] 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:46:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:46:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:46:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_fbk.o file_fbk.c file_fbk.c: In function 'header_check_fbk': file_fbk.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_fcp.o file_fcp.c file_fcp.c: In function 'header_check_fcp': file_fcp.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_fcs.o file_fcs.c file_fcs.c:64:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_fcs.c: In function 'header_check_fcs': file_fcs.c:96:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:96:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_fdb.o file_fdb.c file_fdb.c: In function 'header_check_fdb': file_fdb.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_fds.o file_fds.c In file included from file_fds.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_fds.c:51:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_fds.c: In function 'header_check_fds': file_fds.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_fh10.o file_fh10.c file_fh10.c: In function 'header_check_fh10': file_fh10.c:59:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:59:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:59:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_fh5.o file_fh5.c In file included from file_fh5.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_fh5.c:39:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_fh5.c: In function 'header_check_fh5': file_fh5.c:62:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:62:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:62:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_filevault.o file_filevault.c file_filevault.c: In function 'header_check_filevault': file_filevault.c:55:83: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:55:115: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:55:156: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_fits.o file_fits.c file_fits.c: In function 'header_check_fits': file_fits.c:154:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:154:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_flac.o file_flac.c In file included from file_flac.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_flac.c: In function 'header_check_flac': file_flac.c:82:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:82:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:82:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_flp.o file_flp.c In file included from file_flp.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_flp.c:56:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_flp.c: In function 'header_check_flp': file_flp.c:58:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:58:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:58:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_flv.o file_flv.c In file included from file_flv.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_flv.c:53:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_flv.c:63:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_flv.c: In function 'header_check_flv': file_flv.c:94:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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] 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] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_fob.o file_fob.c file_fob.c: In function 'header_check_fob': file_fob.c:47:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:47:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_fp5.o file_fp5.c file_fp5.c: In function 'header_check_fp5': file_fp5.c:55:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:55:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:55:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_fp7.o file_fp7.c file_fp7.c: In function 'header_check_fp7': file_fp7.c:50:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:50:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_freeway.o file_freeway.c file_freeway.c: In function 'header_check_freeway': file_freeway.c:56:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:56:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:56:154: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_frm.o file_frm.c file_frm.c: In function 'header_check_frm': file_frm.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_fs.o file_fs.c In file included from file_fs.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_fs.c:58:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_fs.c: In function 'header_check_fs': file_fs.c:83:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:83:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:83:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_fwd.o file_fwd.c file_fwd.c: In function 'header_check_fwd': file_fwd.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_gam.o file_gam.c file_gam.c: In function 'header_check_gam': file_gam.c:49:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:49:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:49:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_gct.o file_gct.c file_gct.c: In function 'header_check_gct': file_gct.c:50:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:50:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:50:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_gho.o file_gho.c file_gho.c: In function 'header_check_db': file_gho.c:56:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:56:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:56:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_gif.o file_gif.c file_gif.c: In function 'header_check_gif': file_gif.c:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_gm6.o file_gm6.c file_gm6.c: In function 'header_check_gm6': file_gm6.c:60:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:60:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:60:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_gp5.o file_gp5.c file_gp5.c: In function 'header_check_gp5': file_gp5.c:58:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:58:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:58:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_gpg.o file_gpg.c In file included from file_gpg.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_gpg.c: In function 'header_check_gpg': file_gpg.c:418:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:418:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_gsm.o file_gsm.c In file included from file_gsm.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_gsm.c:52:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_gsm.c: In function 'header_check_gsm': file_gsm.c:68:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:68:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_gz.o file_gz.c In file included from file_gz.c:35: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_gz.c:59:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_gz.c: In function 'header_check_gz': file_gz.c:142:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] d_stream.next_in = (Bytef*)buffer_compr; ^ file_gz.c:83:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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) ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_gz.c:83:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_hdf.o file_hdf.c In file included from file_hdf.c:35: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_hdf.c:62:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_hdf.c:70:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_hdf.c: In function 'header_check_hdf': file_hdf.c:123:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:123:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:123:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_hds.o file_hds.c In file included from file_hds.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_hds.c:55:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct,__packed__)); ^ file_hds.c: In function 'header_check_hds': file_hds.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_hfsp.o file_hfsp.c In file included from file_hfsp.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_hfsp.c: In function 'header_check_hfsp': file_hfsp.c:47:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:47:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:47:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_hr9.o file_hr9.c file_hr9.c: In function 'header_check_hr9': file_hr9.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_http.o file_http.c file_http.c: In function 'header_check_http': file_http.c:45:51: warning: unused parameter 'buffer' [-Wunused-parameter] 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:45:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:45:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:45:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_icc.o file_icc.c file_icc.c: In function 'header_check_icc': file_icc.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_ico.o file_ico.c In file included from file_ico.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_ico.c:63:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_ico.c:75:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_ico.c: In function 'header_check_ico': file_ico.c:77:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:77:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:77:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_ifo.o file_ifo.c In file included from file_ifo.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_ifo.c:61:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_ifo.c: In function 'header_check_ifo': file_ifo.c:63:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:63:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:63:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_idx.o file_idx.c file_idx.c: In function 'header_check_idx': file_idx.c:58:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:58:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_imb.o file_imb.c file_imb.c: In function 'header_check_imb': file_imb.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_indd.o file_indd.c In file included from file_indd.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_indd.c:78:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_indd.c:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_indd.c: In function 'header_check_indd': file_indd.c:126:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:126:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:126:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_info.o file_info.c file_info.c: In function 'header_check_info': file_info.c:45:51: warning: unused parameter 'buffer' [-Wunused-parameter] 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:45:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:45:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:45:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_iso.o file_iso.c In file included from file_iso.c:32: iso9660.h:62:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_iso.c: In function 'header_check_db': file_iso.c:54:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:54:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_it.o file_it.c file_it.c:70:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_it.c: In function 'header_check_it': file_it.c:72:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:72:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:72:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_itu.o file_itu.c file_itu.c: In function 'header_check_itunes': file_itu.c:46:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:46:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:46:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_jpg.o file_jpg.c In file included from file_jpg.c:47: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from file_jpg.c:50: file_tiff.h:66:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_jpg.c:118:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_jpg.c:127:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_jpg.c: In function 'header_check_jpg': file_jpg.c:369:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:501:45: warning: unused parameter 'cinfo' [-Wunused-parameter] static void my_output_message (j_common_ptr cinfo) ~~~~~~~~~~~~~^~~~~ file_jpg.c: In function 'jpg_term_source': file_jpg.c:692:47: warning: unused parameter 'cinfo' [-Wunused-parameter] static void jpg_term_source (j_decompress_ptr cinfo) ~~~~~~~~~~~~~~~~~^~~~~ file_jpg.c: In function 'jpg_find_error': file_jpg.c:1012:252: warning: unused parameter 'blocksize' [-Wunused-parameter] static uint64_t jpg_find_error(FILE *handle, const unsigned int output_scanline, const unsigned int output_width, const unsigned int output_components, const unsigned char *frame, const unsigned int *offsets, const uint64_t offset, const unsigned int blocksize, const uint64_t checkpoint_offset) ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ file_jpg.c:1012:278: warning: unused parameter 'checkpoint_offset' [-Wunused-parameter] static uint64_t jpg_find_error(FILE *handle, const unsigned int output_scanline, const unsigned int output_width, const unsigned int output_components, const unsigned char *frame, const unsigned int *offsets, const uint64_t offset, const unsigned int blocksize, const uint64_t checkpoint_offset) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ file_jpg.c: At top level: file_jpg.c:1318:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_kdb.o file_kdb.c file_kdb.c: In function 'header_check_kdb': file_kdb.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_kdbx.o file_kdbx.c file_kdbx.c: In function 'header_check_kdbx': file_kdbx.c:45:51: warning: unused parameter 'buffer' [-Wunused-parameter] 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:45:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:45:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:45:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_ldf.o file_ldf.c file_ldf.c: In function 'header_check_ldf': file_ldf.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_lit.o file_lit.c file_lit.c: In function 'header_check_lit': file_lit.c:50:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:50:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:50:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_lnk.o file_lnk.c In file included from file_lnk.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_lnk.c:71:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_lnk.c: In function 'header_check_lnk': file_lnk.c:91:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:91:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_logic.o file_logic.c file_logic.c: In function 'header_check_logic': file_logic.c:55:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:55:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:55:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_lso.o file_lso.c file_lso.c: In function 'header_check_lso': file_lso.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_luks.o file_luks.c In file included from file_luks.c:33: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_luks.c: In function 'header_check_luks': file_luks.c:52:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:52:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:52:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_lxo.o file_lxo.c In file included from file_lxo.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_lxo.c:51:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_lxo.c: In function 'header_check_lxo': file_lxo.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_lzh.o file_lzh.c file_lzh.c:59:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_lzh.c:73:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_lzh.c:87:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_lzh.c: In function 'header_check_lzh': file_lzh.c:106:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:106:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:106:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_lzo.o file_lzo.c file_lzo.c: In function 'header_check_lzo': file_lzo.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_m2ts.o file_m2ts.c file_m2ts.c: In function 'header_check_m2ts': file_m2ts.c:120:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:174:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_mat.o file_mat.c file_mat.c: In function 'header_check_mat': file_mat.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_max.o file_max.c In file included from file_max.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_max.c: In function 'header_check_max': file_max.c:47:50: warning: unused parameter 'buffer' [-Wunused-parameter] 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:47:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:47:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:47:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_mb.o file_mb.c In file included from file_mb.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_mb.c:51:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_mb.c: In function 'header_check_mb': file_mb.c:53:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:53:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:53:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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:67:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:67:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:67:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_mcd.o file_mcd.c file_mcd.c: In function 'header_check_mcd': file_mcd.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_mdb.o file_mdb.c file_mdb.c: In function 'header_check_db': file_mdb.c:73:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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_mdb.c:73:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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_mdb.c:73:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_mdf.o file_mdf.c file_mdf.c: In function 'header_check_mdf': file_mdf.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_mfa.o file_mfa.c file_mfa.c: In function 'header_check_mfa': file_mfa.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_mfg.o file_mfg.c file_mfg.c: In function 'header_check_mfg': file_mfg.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_mft.o file_mft.c In file included from file_mft.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from file_mft.c:33: ntfs.h:57:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ ntfs.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ ntfs.h:147:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; ^ ntfs.h:191:3: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)); ^ ntfs.h:196:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)); ^ ntfs.h:201:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; ^ ntfs.h:241:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; ^ file_mft.c: In function 'header_check_mft': file_mft.c:65:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:65:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:65:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_mid.o file_mid.c In file included from file_mid.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_mid.c:62:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_mid.c: In function 'header_check_mid': file_mid.c:111:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:111:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:111:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_mig.o file_mig.c In file included from file_mig.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_mig.c:64:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_mig.c: In function 'header_check_mig': file_mig.c:108:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:108:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:108:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_mk5.o file_mk5.c file_mk5.c: In function 'header_check_mk5': file_mk5.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_mkv.o file_mkv.c In file included from file_mkv.c:36: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_mkv.c: In function 'header_check_mkv': file_mkv.c:157:21: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long unsigned int'} and 'long long int' [-Wsign-compare] if(segment_size == (1LL << (7 * len)) - 1) ^~ file_mkv.c:120:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:120:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_mlv.o file_mlv.c In file included from file_mlv.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_mlv.c:67:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)) mlv_file_hdr_t; ^ file_mlv.c:73:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)) mlv_hdr_t; ^ file_mlv.c: In function 'header_check_mlv': file_mlv.c:119:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:119:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:119:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_mobi.o file_mobi.c file_mobi.c: In function 'header_check_mobi': file_mobi.c:60:51: warning: unused parameter 'buffer' [-Wunused-parameter] 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:60:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:60:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:60:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_mov.o file_mov.c In file included from file_mov.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_mov.c:73:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_mov.c:80:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_mov.c: In function 'header_check_mov': file_mov.c:98:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] static int header_check_mov(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_mp3.o file_mp3.c In file included from file_mp3.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_mp3.c: In function 'header_check_id3': file_mp3.c:116:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:116:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:116:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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:146:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_mpg.o file_mpg.c file_mpg.c: In function 'header_check_mpg_Pack': file_mpg.c:155:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:236:116: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:278:118: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:313:120: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_mrw.o file_mrw.c In file included from file_mrw.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_mrw.c:59:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_mrw.c:77:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_mrw.c: In function 'header_check_mrw': file_mrw.c:80:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:80:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:80:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_mus.o file_mus.c file_mus.c: In function 'header_check_mus': file_mus.c:55:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:55:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:55:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_mxf.o file_mxf.c file_mxf.c: In function 'header_check_mxf': file_mxf.c:62:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:62:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:62:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_myo.o file_myo.c file_myo.c: In function 'header_check_myo': file_myo.c:47:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:47:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:47:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_mysql.o file_mysql.c file_mysql.c: In function 'header_check_mysql': file_mysql.c:56:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:56:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:56:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_nds.o file_nds.c file_nds.c: In function 'header_check_nds': file_nds.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_nes.o file_nes.c In file included from file_nes.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_nes.c:51:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_nes.c: In function 'header_check_nes': file_nes.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_njx.o file_njx.c file_njx.c: In function 'header_check_njx': file_njx.c:55:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:55:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:55:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_nk2.o file_nk2.c In file included from file_nk2.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_nk2.c: In function 'header_check_nk2': file_nk2.c:81:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:81:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:81:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_nsf.o file_nsf.c file_nsf.c: In function 'header_check_nsf': file_nsf.c:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_oci.o file_oci.c In file included from file_oci.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_oci.c:50:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_oci.c: In function 'header_check_oci': file_oci.c:87:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:87:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_ogg.o file_ogg.c file_ogg.c: In function 'header_check_ogg': file_ogg.c:51:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:51:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_one.o file_one.c file_one.c: In function 'header_check_one': file_one.c:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_orf.o file_orf.c In file included from file_orf.c:32: file_tiff.h:66:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_orf.c: In function 'header_check_orf_IIRS': file_orf.c:46:55: warning: unused parameter 'buffer' [-Wunused-parameter] 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:46:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:46:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:46:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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:53:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:53:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_paf.o file_paf.c file_paf.c: In function 'header_check_paf': file_paf.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_pap.o file_pap.c file_pap.c: In function 'header_check_pap': file_pap.c:46:50: warning: unused parameter 'buffer' [-Wunused-parameter] 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:46:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:46:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:46:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_par2.o file_par2.c In file included from file_par2.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_par2.c: In function 'header_check_par2': file_par2.c:115:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:115:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_pcap.o file_pcap.c file_pcap.c: In function 'header_check_pcap': file_pcap.c:45:51: warning: unused parameter 'buffer' [-Wunused-parameter] 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:45:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:45:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:45:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_pct.o file_pct.c In file included from file_pct.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_pct.c:81:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_pct.c: In function 'header_check_pct': file_pct.c:88:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:88:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:88:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_pcx.o file_pcx.c In file included from file_pcx.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_pcx.c:79:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_pcx.c: In function 'header_check_pcx': file_pcx.c:86:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:86:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:86:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_pdf.o file_pdf.c In file included from file_pdf.c:40: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_pdf.c: In function 'header_check_pdf': file_pdf.c:299:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:299:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_pds.o file_pds.c file_pds.c: In function 'header_check_pds': file_pds.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_pfx.o file_pfx.c file_pfx.c: In function 'header_check_pfx': file_pfx.c:67:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:67:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:67:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_plist.o file_plist.c file_plist.c: In function 'header_check_plist': file_plist.c:46:52: warning: unused parameter 'buffer' [-Wunused-parameter] 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:46:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:46:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:46:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_plt.o file_plt.c file_plt.c: In function 'header_check_plt': file_plt.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_png.o file_png.c In file included from file_png.c:38: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_png.c:69:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_png.c: In function 'header_check_jng': file_png.c:71:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:71:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:71:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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:89:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:89:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:89:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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:131:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:131:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_pnm.o file_pnm.c file_pnm.c: In function 'header_check_pbm': file_pnm.c:46:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:46:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:46:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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:55:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:55:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:55:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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:64:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:64:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:64:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_prc.o file_prc.c In file included from file_prc.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_prc.c:67:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_prc.c: In function 'header_check_prc': file_prc.c:69:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:69:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:69:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_prt.o file_prt.c file_prt.c: In function 'header_check_prt': file_prt.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_ps.o file_ps.c In file included from file_ps.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_ps.c: In function 'header_check_ps': file_ps.c:56:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:56:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:56:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_psb.o file_psb.c In file included from file_psb.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_psb.c:64:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_psb.c: In function 'header_check_psb': file_psb.c:66:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:66:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:66:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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:99:62: warning: unused parameter 'buffer' [-Wunused-parameter] 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:99:89: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_psd.o file_psd.c In file included from file_psd.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_psd.c:64:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_psd.c: In function 'header_check_psd': file_psd.c:66:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:66:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:66:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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:99:62: warning: unused parameter 'buffer' [-Wunused-parameter] 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:99:89: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_psf.o file_psf.c file_psf.c: In function 'header_check_psf': file_psf.c:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_psp.o file_psp.c In file included from file_psp.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_psp.c:56:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_psp.c: In function 'header_check_psp': file_psp.c:74:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:74:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:74:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_pst.o file_pst.c file_pst.c: In function 'header_check_dbx': file_pst.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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:93:50: warning: unused parameter 'buffer' [-Wunused-parameter] 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:93:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:93:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:93:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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:100:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:100:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:100:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_ptb.o file_ptb.c file_ptb.c: In function 'header_check_ptb': file_ptb.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_ptf.o file_ptf.c file_ptf.c: In function 'header_check_ptf': file_ptf.c:51:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:51:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:51:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_pyc.o file_pyc.c In file included from file_pyc.c:34: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_pyc.c: In function 'header_check_pyc': file_pyc.c:84:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:84:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:84:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_pzf.o file_pzf.c file_pzf.c: In function 'header_check_pzf': file_pzf.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_pzh.o file_pzh.c file_pzh.c: In function 'header_check_pzh': file_pzh.c:76:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:76:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:76:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_qbb.o file_qbb.c file_qbb.c: In function 'data_check_qbb': file_qbb.c:46:57: warning: unused parameter 'buffer' [-Wunused-parameter] static data_check_t data_check_qbb(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_qbb.c: In function 'header_check_qbb': file_qbb.c:61:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:61:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:61:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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:73:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:73:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:73:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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:88:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:88:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:88:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_qdf.o file_qdf.c file_qdf.c: In function 'header_check_qdf': file_qdf.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 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] 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] 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:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_qkt.o file_qkt.c file_qkt.c: In function 'header_check_qkt': file_qkt.c:55:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:55:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:55:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_qxd.o file_qxd.c file_qxd.c: In function 'header_check_qxd': file_qxd.c:47:50: warning: unused parameter 'buffer' [-Wunused-parameter] 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:47:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:47:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:47:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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:55:50: warning: unused parameter 'buffer' [-Wunused-parameter] 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:55:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:55:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:55:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_r3d.o file_r3d.c In file included from file_r3d.c:33: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_r3d.c:57:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_r3d.c: In function 'header_check_r3d': file_r3d.c:98:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:98:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:98:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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:117:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:117:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:117:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_ra.o file_ra.c In file included from file_ra.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_ra.c:54:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_ra.c:82:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_ra.c: In function 'header_check_ra': file_ra.c:84:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:84:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:84:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_raf.o file_raf.c In file included from file_raf.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_raf.c:62:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_raf.c: In function 'header_check_raf': file_raf.c:64:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:64:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:64:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_rar.o file_rar.c file_rar.c: In function 'header_check_rar': file_rar.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] static int header_check_rar(const unsigned char *buffer, 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:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] static int header_check_rar(const unsigned char *buffer, 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:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] static int header_check_rar(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_raw.o file_raw.c file_raw.c: In function 'header_check_raw': file_raw.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_rdc.o file_rdc.c file_rdc.c: In function 'header_check_rdc': file_rdc.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_reg.o file_reg.c In file included from file_reg.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_reg.c:57:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_reg.c:71:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_reg.c: In function 'header_check_reg_9x': file_reg.c:73:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:73:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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:105:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_reg.c: In function 'header_check_reg_nt': file_reg.c:107:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:107:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:107:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_res.o file_res.c file_res.c: In function 'header_check_res': file_res.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_rfp.o file_rfp.c file_rfp.c: In function 'header_check_rfp': file_rfp.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_riff.o file_riff.c In file included from file_riff.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_riff.c: In function 'header_check_riff': file_riff.c:223:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:223:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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:321:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:321:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:321:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_rlv.o file_rlv.c file_rlv.c: In function 'header_check_rlv': file_rlv.c:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_rm.o file_rm.c In file included from file_rm.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_rm.c:54:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_rm.c: In function 'header_check_rm': file_rm.c:56:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:56:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:56:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_rns.o file_rns.c file_rns.c: In function 'header_check_rns': file_rns.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_rpm.o file_rpm.c In file included from file_rpm.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_rpm.c:57:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_rpm.c: In function 'header_check_rpm': file_rpm.c:74:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:74:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:74:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_rw2.o file_rw2.c In file included from file_rw2.c:32: file_tiff.h:66:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from file_rw2.c:33: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_rw2.c: In function 'header_check_rw2': file_rw2.c:48:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:48:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_rx2.o file_rx2.c In file included from file_rx2.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_rx2.c:52:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_rx2.c: In function 'header_check_rx2': file_rx2.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_save.o file_save.c file_save.c: In function 'header_check_save': file_save.c:49:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:49:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:49:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_ses.o file_ses.c In file included from file_ses.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_ses.c: In function 'header_check_ses': file_ses.c:46:50: warning: unused parameter 'buffer' [-Wunused-parameter] 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:46:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:46:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:46:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_sgcta.o file_sgcta.c file_sgcta.c: In function 'header_check_sgcta': file_sgcta.c:45:52: warning: unused parameter 'buffer' [-Wunused-parameter] 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:45:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:45:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:45:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_shn.o file_shn.c file_shn.c: In function 'header_check_shn': file_shn.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_sib.o file_sib.c file_sib.c: In function 'header_check_sib': file_sib.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_sig.o file_sig.c In file included from file_sig.c:41: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_sig.c: In function 'header_check_sig': file_sig.c:84:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:84:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:84:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_sit.o file_sit.c file_sit.c: In function 'header_check_sit': file_sit.c:48:50: warning: unused parameter 'buffer' [-Wunused-parameter] 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:48:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:48:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:48:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_skd.o file_skd.c file_skd.c: In function 'header_check_skd': file_skd.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_skp.o file_skp.c file_skp.c: In function 'header_check_skp': file_skp.c:55:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:55:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:55:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_sp3.o file_sp3.c In file included from file_sp3.c:35: file_sp3.h:306:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from file_sp3.c:36: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_sp3.c: In function 'header_check_sp3': file_sp3.c:65:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:65:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:65:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_spe.o file_spe.c In file included from file_spe.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_spe.c:239:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_spe.c: In function 'header_check_spe': file_spe.c:248:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:248:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:248:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_spf.o file_spf.c In file included from file_spf.c:33: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_spf.c: In function 'header_check_spf': file_spf.c:64:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:64:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:64:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_spss.o file_spss.c file_spss.c: In function 'header_check_spss': file_spss.c:45:51: warning: unused parameter 'buffer' [-Wunused-parameter] 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:45:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:45:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:45:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_sql.o file_sql.c In file included from file_sql.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_sql.c:73:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_sql.c: In function 'header_check_sqlite': file_sql.c:75:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:75:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:75:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_sqm.o file_sqm.c file_sqm.c: In function 'header_check_sqm': file_sqm.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_stl.o file_stl.c In file included from file_stl.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_stl.c: In function 'header_check_stl': file_stl.c:47:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:47:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:47:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_stu.o file_stu.c file_stu.c: In function 'header_check_stuffit': file_stu.c:54:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:54:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:54:154: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_swf.o file_swf.c In file included from file_swf.c:35: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_swf.c:54:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_swf.c: In function 'header_check_swfc': file_swf.c:101:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] d_stream.next_in = (Bytef*)buffer_compr; ^ file_swf.c:76:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:76:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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:146:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:146:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:146:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_tar.o file_tar.c file_tar.c: In function 'header_check_tar': file_tar.c:55:70: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:55:102: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_tax.o file_tax.c file_tax.c: In function 'header_check_tax': file_tax.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_tib.o file_tib.c In file included from file_tib.c:35: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_tib.c: In function 'header_check_tib': file_tib.c:110:50: warning: unused parameter 'buffer' [-Wunused-parameter] 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:110:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:110:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:110:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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:117:51: warning: unused parameter 'buffer' [-Wunused-parameter] 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:117:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:117:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:117:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_tiff.o file_tiff.c In file included from file_tiff.c:38: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from file_tiff.c:39: file_tiff.h:66:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_tiff.c: In function 'header_check_tiff_be_new': file_tiff.c:313:117: warning: unused parameter 'safe_header_only' [-Wunused-parameter] static 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) ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_tiff.c:313:158: warning: unused parameter 'file_recovery' [-Wunused-parameter] static 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) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_tiff.c: In function 'header_check_tiff_le_new': file_tiff.c:338:117: warning: unused parameter 'safe_header_only' [-Wunused-parameter] static 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) ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_tiff.c: In function 'header_check_tiff_le': file_tiff.c:683:19: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'const long unsigned int'} and 'int' [-Wsign-compare] if(new_offset==-1) ^~ file_tiff.c:702:19: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'const long unsigned int'} and 'int' [-Wsign-compare] if(new_offset==-1) ^~ file_tiff.c:746:21: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'const long unsigned int'} and 'int' [-Wsign-compare] if(new_offset==-1) ^~ file_tiff.c:788:11: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'const long unsigned int'} and 'int' [-Wsign-compare] if(tmp==-1) ^~ file_tiff.c:796:11: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'const long unsigned int'} and 'int' [-Wsign-compare] if(tmp==-1) ^~ file_tiff.c:805:19: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'const long unsigned int'} and 'int' [-Wsign-compare] if(new_offset != -1 && max_offset < new_offset) ^~ file_tiff.c: In function 'header_check_tiff_be': file_tiff.c:993:19: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'const long unsigned int'} and 'int' [-Wsign-compare] if(new_offset==-1) ^~ file_tiff.c:1012:19: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'const long unsigned int'} and 'int' [-Wsign-compare] if(new_offset==-1) ^~ file_tiff.c:1056:21: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'const long unsigned int'} and 'int' [-Wsign-compare] if(new_offset==-1) ^~ file_tiff.c:1111:18: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if(max_offset!=-1 && max_offset < new_offset) ^~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_tivo.o file_tivo.c file_tivo.c: In function 'header_check_tivo': file_tivo.c:57:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:57:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:57:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_torrent.o file_torrent.c file_torrent.c: In function 'header_check_torrent': file_torrent.c:45:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:45:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:45:154: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_tph.o file_tph.c file_tph.c: In function 'header_check_tph': file_tph.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_tpl.o file_tpl.c file_tpl.c: In function 'header_check_tpl': file_tpl.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 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:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_ttf.o file_ttf.c In file included from file_ttf.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_ttf.c: In function 'header_check_ttf': file_ttf.c:83:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:83:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_txt.o file_txt.c In file included from file_txt.c:38: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_txt.c: In function 'header_check_ttd': file_txt.c:474:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:474:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:474:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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:491:50: warning: unused parameter 'buffer' [-Wunused-parameter] 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:491:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:491:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:491:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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:501:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:501:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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:541:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:541:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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:570:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:570:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:570:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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:585:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:585:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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_xml': file_txt.c:617:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:617:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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:700:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:700:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:718:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:718:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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_mbox': file_txt.c:734:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:734:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:760:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:760:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:760:154: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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:1188:51: warning: unused parameter 'buffer' [-Wunused-parameter] 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:1188:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:1188:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:1188:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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:1199:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:1199:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from file_txt.c:41: file_txt.c: In function 'header_check_txt': memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) ^~~~~~~~~ file_txt.c:972:4: note: called from here td_memmem(buffer, buffer_size_test, "exif:", 5)!=NULL || ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from file_txt.c:41: memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) ^~~~~~~~~ file_txt.c:973:4: note: called from here td_memmem(buffer, buffer_size_test, "", 6)!=NULL || ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from file_txt.c:41: memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) ^~~~~~~~~ file_txt.c:976:4: note: called from here td_memmem(buffer, buffer_size_test, "xmp:CreatorTool>", 16)!=NULL || ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from file_txt.c:41: memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) ^~~~~~~~~ file_txt.c:977:4: note: called from here td_memmem(buffer, buffer_size_test, "[camera info]", 13)!=NULL) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_tz.o file_tz.c In file included from file_tz.c:34: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_tz.c: In function 'header_check_tz': file_tz.c:75:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:75:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:75:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_v2i.o file_v2i.c file_v2i.c: In function 'header_check_v2i': file_v2i.c:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_vault.o file_vault.c file_vault.c: In function 'header_check_vault': file_vault.c:80:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:80:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:80:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_vdi.o file_vdi.c In file included from file_vdi.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_vdi.c: In function 'header_check_vdi': file_vdi.c:82:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:82:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:82:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_veg.o file_veg.c file_veg.c: In function 'header_check_veg': file_veg.c:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_vfb.o file_vfb.c file_vfb.c: In function 'header_check_vfb': file_vfb.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_vmdk.o file_vmdk.c In file included from file_vmdk.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_vmdk.c:75:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__((gcc_struct,__packed__)) VMDK4Header; ^ file_vmdk.c: In function 'header_check_vmdk3': file_vmdk.c:77:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:77:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:77:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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:93:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:93:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:93:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_vmg.o file_vmg.c file_vmg.c: In function 'header_check_vmg': file_vmg.c:63:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:63:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:63:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_wallet.o file_wallet.c file_wallet.c: In function 'header_check_wallet': file_wallet.c:45:53: warning: unused parameter 'buffer' [-Wunused-parameter] 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:45:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:45:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:45:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_wdp.o file_wdp.c In file included from file_wdp.c:32: file_tiff.h:66:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from file_wdp.c:33: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_wdp.c: In function 'header_check_wdp': file_wdp.c:48:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:48:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_wim.o file_wim.c In file included from file_wim.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_wim.c:56:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_wim.c:77:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_wim.c: In function 'header_check_wim': file_wim.c:79:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:79:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:79:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_win.o file_win.c In file included from file_win.c:36: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_win.c: In function 'header_check_win': file_win.c:64:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:64:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:64:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_wks.o file_wks.c file_wks.c: In function 'header_check_wks': file_wks.c:69:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:69:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:69:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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: In function 'header_check_wk4': file_wks.c:80:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:80:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:80:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_wmf.o file_wmf.c In file included from file_wmf.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_wmf.c:57:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_wmf.c: In function 'header_check_wmf': file_wmf.c:59:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:59:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:59:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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:74:83: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:74:115: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:74:156: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_wnk.o file_wnk.c file_wnk.c: In function 'header_check_wnk': file_wnk.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_woff.o file_woff.c In file included from file_woff.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_woff.c:61:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_woff.c: In function 'header_check_woff': file_woff.c:63:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:63:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:63:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_wpb.o file_wpb.c file_wpb.c: In function 'header_check_wpb': file_wpb.c:49:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:49:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:49:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_wpd.o file_wpd.c In file included from file_wpd.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_wpd.c:59:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_wpd.c: In function 'header_check_wpd': file_wpd.c:61:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:61:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:61:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_wtv.o file_wtv.c In file included from file_wtv.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_wtv.c: In function 'header_check_wtv': file_wtv.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_wv.o file_wv.c In file included from file_wv.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_wv.c: In function 'header_check_wv': file_wv.c:67:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:67:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:67:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_x3f.o file_x3f.c In file included from file_x3f.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_x3f.c:57:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_x3f.c: In function 'header_check_x3f': file_x3f.c:59:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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) ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_x3f.c:59:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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) ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_x3f.c:59:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_xcf.o file_xcf.c In file included from file_xcf.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_xcf.c:56:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_xcf.c: In function 'header_check_xcf': file_xcf.c:58:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:58:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:58:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_xfi.o file_xfi.c file_xfi.c: In function 'header_check_xfi': file_xfi.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_xfs.o file_xfs.c In file included from file_xfs.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from file_xfs.c:32: xfs.h:107:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_xfs.c: In function 'header_check_xfs_sb': file_xfs.c:48:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:48:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:48:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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:64:62: warning: unused parameter 'buffer' [-Wunused-parameter] static data_check_t data_check_stopasap(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_xfs.c:64:89: warning: unused parameter 'buffer_size' [-Wunused-parameter] static data_check_t data_check_stopasap(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_xfs.c:64:119: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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:69:49: warning: unused parameter 'buffer' [-Wunused-parameter] 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:69:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:69:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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:119:83: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:119:156: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_xm.o file_xm.c In file included from file_xm.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_xm.c: In function 'header_check_xm': file_xm.c:190:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:190:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:190:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_xsv.o file_xsv.c file_xsv.c: In function 'header_check_xsv': file_xsv.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_xpt.o file_xpt.c In file included from file_xpt.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_xpt.c:55:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_xpt.c: In function 'header_check_xpt': file_xpt.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_xv.o file_xv.c In file included from file_xv.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_xv.c: In function 'header_check_xv': file_xv.c:48:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:48:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:48:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_xz.o file_xz.c file_xz.c: In function 'header_check_xz': file_xz.c:57:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:57:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:57:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_z2d.o file_z2d.c file_z2d.c: In function 'header_check_z2d': file_z2d.c:47:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 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:47:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 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:47:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o file_zip.o file_zip.c In file included from file_zip.c:40: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_zip.c:102:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_zip.c:112:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_zip.c: In function 'zip_parse_central_dir': file_zip.c:386:3: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)) dir; ^ file_zip.c: In function 'zip64_parse_end_central_dir': file_zip.c:445:3: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)) dir; ^ file_zip.c: In function 'zip_parse_end_central_dir': file_zip.c:485:3: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)) dir; ^ file_zip.c: In function 'zip_parse_data_desc': file_zip.c:520:3: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)) desc; ^ file_zip.c: In function 'zip64_parse_end_central_dir_locator': file_zip.c:576:3: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)) loc; ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o partgptro.o partgptro.c In file included from partgptro.c:29: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from partgptro.c:30: partgpt.h:47:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ partgptro.c: In function 'write_part_gpt': partgptro.c:32:28: warning: unused parameter 'disk_car' [-Wunused-parameter] 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] 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] 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=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o suspend_no.o suspend_no.c suspend_no.c: In function 'suspend_memory': suspend_no.c:14:34: warning: unused parameter 'cinfo' [-Wunused-parameter] 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] int resume_memory(j_common_ptr cinfo) ~~~~~~~~~~~~~^~~~~ gcc -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -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_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_axx.o file_bac.o file_berkeley.o file_bim.o file_binvox.o file_bkf.o file_bld.o file_bmp.o file_bz2.o file_cab.o file_caf.o file_cam.o file_catdrawing.o file_cdt.o file_chm.o file_class.o file_cm.o file_compress.o file_cow.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_dsc.o file_dss.o file_dta.o file_dump.o file_dv.o file_dwg.o file_dxf.o file_e01.o file_edb.o file_ecryptfs.o file_elf.o file_emf.o file_evt.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_flac.o file_flp.o file_flv.o file_fob.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_gif.o file_gm6.o file_gp5.o file_gpg.o file_gsm.o file_gz.o file_hdf.o file_hds.o file_hfsp.o file_hr9.o file_http.o file_icc.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_jpg.o file_kdb.o file_kdbx.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_mrw.o file_mus.o file_mxf.o file_myo.o file_mysql.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_pct.o file_pcx.o file_pdf.o file_pds.o file_pfx.o file_plist.o file_plt.o file_png.o file_pnm.o file_prc.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_sp3.o file_spe.o file_spf.o file_spss.o file_sql.o file_sqm.o file_stl.o file_stu.o file_swf.o file_tar.o file_tax.o file_tib.o file_tiff.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_veg.o file_vfb.o file_vmdk.o file_vmg.o file_wallet.o file_wdp.o file_wim.o file_win.o file_wks.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_xcf.o file_xfi.o file_xfs.o file_xm.o file_xsv.o file_xpt.o file_xv.o file_xz.o file_z2d.o file_zip.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 fat.o fat_common.o fatx.o ext2.o ext2_common.o jfs.o gfs2.o hfs.o hfsp.o hpfs.o luks.o lvm.o md.o netware.o ntfs.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 gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -c -o fidentify.o fidentify.c In file included from fidentify.c:48: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -g -O2 -ffile-prefix-map=/build/testdisk-7.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -fstack-protector-strong -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_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_axx.o file_bac.o file_berkeley.o file_bim.o file_binvox.o file_bkf.o file_bld.o file_bmp.o file_bz2.o file_cab.o file_caf.o file_cam.o file_catdrawing.o file_cdt.o file_chm.o file_class.o file_cm.o file_compress.o file_cow.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_dsc.o file_dss.o file_dta.o file_dump.o file_dv.o file_dwg.o file_dxf.o file_e01.o file_edb.o file_ecryptfs.o file_elf.o file_emf.o file_evt.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_flac.o file_flp.o file_flv.o file_fob.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_gif.o file_gm6.o file_gp5.o file_gpg.o file_gsm.o file_gz.o file_hdf.o file_hds.o file_hfsp.o file_hr9.o file_http.o file_icc.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_jpg.o file_kdb.o file_kdbx.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_mrw.o file_mus.o file_mxf.o file_myo.o file_mysql.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_pct.o file_pcx.o file_pdf.o file_pds.o file_pfx.o file_plist.o file_plt.o file_png.o file_pnm.o file_prc.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_sp3.o file_spe.o file_spf.o file_spss.o file_sql.o file_sqm.o file_stl.o file_stu.o file_swf.o file_tar.o file_tax.o file_tib.o file_tiff.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_veg.o file_vfb.o file_vmdk.o file_vmg.o file_wallet.o file_wdp.o file_wim.o file_win.o file_wks.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_xcf.o file_xfi.o file_xfs.o file_xm.o file_xsv.o file_xpt.o file_xv.o file_xz.o file_z2d.o file_zip.o log.o crc.o ext2_common.o fat_common.o suspend_no.o -ljpeg -lz -luuid -lntfs-3g -lext2fs -lcom_err make[3]: Leaving directory '/build/testdisk-7.0/src' make[3]: Entering directory '/build/testdisk-7.0' make[3]: Leaving directory '/build/testdisk-7.0' make[2]: Leaving directory '/build/testdisk-7.0' make[1]: Leaving directory '/build/testdisk-7.0' dh_auto_test dh_auto_test: Compatibility levels before 9 are deprecated (level 8 in use) make -j1 check VERBOSE=1 make[1]: Entering directory '/build/testdisk-7.0' Making check in icons make[2]: Entering directory '/build/testdisk-7.0/icons' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/build/testdisk-7.0/icons' Making check in man make[2]: Entering directory '/build/testdisk-7.0/man' Making check in zh_CN make[3]: Entering directory '/build/testdisk-7.0/man/zh_CN' make[3]: Nothing to be done for 'check'. make[3]: Leaving directory '/build/testdisk-7.0/man/zh_CN' make[3]: Entering directory '/build/testdisk-7.0/man' make[3]: Nothing to be done for 'check-am'. make[3]: Leaving directory '/build/testdisk-7.0/man' make[2]: Leaving directory '/build/testdisk-7.0/man' Making check in src make[2]: Entering directory '/build/testdisk-7.0/src' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/build/testdisk-7.0/src' make[2]: Entering directory '/build/testdisk-7.0' make[2]: Leaving directory '/build/testdisk-7.0' make[1]: Leaving directory '/build/testdisk-7.0' fakeroot debian/rules binary dh binary --with autoreconf dh: Compatibility levels before 9 are deprecated (level 8 in use) dh_testroot dh_prep debian/rules override_dh_auto_install make[1]: Entering directory '/build/testdisk-7.0' dh_auto_install dh_auto_install: Compatibility levels before 9 are deprecated (level 8 in use) make -j1 install DESTDIR=/build/testdisk-7.0/debian/tmp AM_UPDATE_INFO_DIR=no make[2]: Entering directory '/build/testdisk-7.0' Making install in icons make[3]: Entering directory '/build/testdisk-7.0/icons' make[4]: Entering directory '/build/testdisk-7.0/icons' make[4]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/build/testdisk-7.0/debian/tmp/usr/share/icons/hicolor' /bin/mkdir -p '/build/testdisk-7.0/debian/tmp/usr/share/icons/hicolor/48x48/apps' /usr/bin/install -c -m 644 48x48/apps/qphotorec.png '/build/testdisk-7.0/debian/tmp/usr/share/icons/hicolor/48x48/apps' /bin/mkdir -p '/build/testdisk-7.0/debian/tmp/usr/share/icons/hicolor/scalable/apps' /usr/bin/install -c -m 644 scalable/apps/qphotorec.svg '/build/testdisk-7.0/debian/tmp/usr/share/icons/hicolor/scalable/apps' make install-data-hook make[5]: Entering directory '/build/testdisk-7.0/icons' make[5]: Nothing to be done for 'install-data-hook'. make[5]: Leaving directory '/build/testdisk-7.0/icons' make[4]: Leaving directory '/build/testdisk-7.0/icons' make[3]: Leaving directory '/build/testdisk-7.0/icons' Making install in man make[3]: Entering directory '/build/testdisk-7.0/man' Making install in zh_CN make[4]: Entering directory '/build/testdisk-7.0/man/zh_CN' make[5]: Entering directory '/build/testdisk-7.0/man/zh_CN' make[5]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/build/testdisk-7.0/debian/tmp/usr/share/man/zh_CN/man8' /usr/bin/install -c -m 644 testdisk.8 photorec.8 qphotorec.8 fidentify.8 '/build/testdisk-7.0/debian/tmp/usr/share/man/zh_CN/man8' make[5]: Leaving directory '/build/testdisk-7.0/man/zh_CN' make[4]: Leaving directory '/build/testdisk-7.0/man/zh_CN' make[4]: Entering directory '/build/testdisk-7.0/man' make[5]: Entering directory '/build/testdisk-7.0/man' make[5]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/build/testdisk-7.0/debian/tmp/usr/share/man/man8' /usr/bin/install -c -m 644 testdisk.8 photorec.8 qphotorec.8 fidentify.8 '/build/testdisk-7.0/debian/tmp/usr/share/man/man8' make[5]: Leaving directory '/build/testdisk-7.0/man' make[4]: Leaving directory '/build/testdisk-7.0/man' make[3]: Leaving directory '/build/testdisk-7.0/man' Making install in src make[3]: Entering directory '/build/testdisk-7.0/src' make[4]: Entering directory '/build/testdisk-7.0/src' /bin/mkdir -p '/build/testdisk-7.0/debian/tmp/usr/bin' /usr/bin/install -c testdisk photorec fidentify '/build/testdisk-7.0/debian/tmp/usr/bin' make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/build/testdisk-7.0/src' make[3]: Leaving directory '/build/testdisk-7.0/src' make[3]: Entering directory '/build/testdisk-7.0' make[4]: Entering directory '/build/testdisk-7.0' make[4]: Nothing to be done for 'install-exec-am'. make install-data-hook make[5]: Entering directory '/build/testdisk-7.0' /bin/bash /build/testdisk-7.0/config/install-sh -d /build/testdisk-7.0/debian/tmp/usr/share/doc/testdisk /usr/bin/install -c -m 644 ./AUTHORS ./ChangeLog ./NEWS ./README ./THANKS ./documentation.html /build/testdisk-7.0/debian/tmp/usr/share/doc/testdisk make[5]: Leaving directory '/build/testdisk-7.0' make[4]: Leaving directory '/build/testdisk-7.0' make[3]: Leaving directory '/build/testdisk-7.0' make[2]: Leaving directory '/build/testdisk-7.0' rm -f /build/testdisk-7.0/debian/tmp/usr/share/doc/testdisk/ChangeLog rm -f /build/testdisk-7.0/debian/tmp/usr/share/doc/testdisk/COPYING rm -f /build/testdisk-7.0/debian/tmp/usr/share/doc/testdisk/INSTALL make[1]: Leaving directory '/build/testdisk-7.0' dh_install dh_install: Compatibility levels before 9 are deprecated (level 8 in use) dh_installdocs dh_installdocs: Compatibility levels before 9 are deprecated (level 8 in use) dh_installchangelogs dh_installchangelogs: Compatibility levels before 9 are deprecated (level 8 in use) dh_installman dh_installman: Compatibility levels before 9 are deprecated (level 8 in use) dh_perl dh_link dh_strip_nondeterminism dh_compress dh_compress: Compatibility levels before 9 are deprecated (level 8 in use) dh_compress: Compatibility levels before 9 are deprecated (level 8 in use) dh_fixperms dh_missing dh_missing: Compatibility levels before 9 are deprecated (level 8 in use) debian/rules override_dh_strip make[1]: Entering directory '/build/testdisk-7.0' dh_strip --dbg-package=testdisk-dbg dh_strip: Compatibility levels before 9 are deprecated (level 8 in use) make[1]: Leaving directory '/build/testdisk-7.0' dh_makeshlibs dh_shlibdeps dh_shlibdeps: Compatibility levels before 9 are deprecated (level 8 in use) dh_shlibdeps: Compatibility levels before 9 are deprecated (level 8 in use) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/testdisk/usr/bin/fidentify debian/testdisk/usr/bin/testdisk debian/testdisk/usr/bin/photorec were not linked against libcom_err.so.2 (they use none of the library's symbols) dh_installdeb dh_installdeb: Compatibility levels before 9 are deprecated (level 8 in use) dh_gencontrol dpkg-gencontrol: warning: Depends field of package testdisk-dbg: substitution variable ${shlibs:Depends} used, but is not defined dh_md5sums dh_builddeb dpkg-deb: building package 'testdisk-dbg' in '../testdisk-dbg_7.0-3_arm64.deb'. dpkg-deb: building package 'testdisk' in '../testdisk_7.0-3_arm64.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../testdisk_7.0-3_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/16947 and its subdirectories I: Current time: Mon Aug 23 01:19:46 -12 2021 I: pbuilder-time-stamp: 1629724786