https://launchpad.net/ubuntu/+archive/test-rebuild-20181222/+build/16090457 RUN: /usr/share/launchpad-buildd/slavebin/slave-prep Forking launchpad-buildd slave process... Kernel version: Linux bos02-arm64-049 4.4.0-142-generic #168-Ubuntu SMP Wed Jan 16 21:00:53 UTC 2019 aarch64 Buildd toolchain package versions: launchpad-buildd_167 python-lpbuildd_167 sbuild_0.67.0-2ubuntu7.1 bzr-builder_0.7.3+bzr174~ppa13~ubuntu14.10.1 bzr_2.7.0-2ubuntu3.1 git-build-recipe_0.3.4~git201611291343.dcee459~ubuntu16.04.1 git_1:2.7.4-0ubuntu1.6 dpkg-dev_1.18.4ubuntu1.5 python-debian_0.1.27ubuntu2. Syncing the system clock with the buildd NTP service... 20 Feb 10:46:06 ntpdate[1812]: adjust time server 10.211.37.1 offset 0.000469 sec RUN: /usr/share/launchpad-buildd/slavebin/in-target unpack-chroot --backend=chroot --series=bionic --arch=armhf PACKAGEBUILD-16090457 --image-type chroot /home/buildd/filecache-default/fc6c56f66744d62233b3c844f67cb7d83d839bbc Creating target for build PACKAGEBUILD-16090457 RUN: /usr/share/launchpad-buildd/slavebin/in-target mount-chroot --backend=chroot --series=bionic --arch=armhf PACKAGEBUILD-16090457 Starting target for build PACKAGEBUILD-16090457 RUN: /usr/share/launchpad-buildd/slavebin/in-target override-sources-list --backend=chroot --series=bionic --arch=armhf PACKAGEBUILD-16090457 'deb http://ftpmaster.internal/ubuntu bionic main restricted universe multiverse' 'deb http://ftpmaster.internal/ubuntu bionic-security main restricted universe multiverse' 'deb http://ftpmaster.internal/ubuntu bionic-updates main restricted universe multiverse' Overriding sources.list in build-PACKAGEBUILD-16090457 RUN: /usr/share/launchpad-buildd/slavebin/in-target update-debian-chroot --backend=chroot --series=bionic --arch=armhf PACKAGEBUILD-16090457 Updating target for build PACKAGEBUILD-16090457 Get:1 http://ftpmaster.internal/ubuntu bionic InRelease [242 kB] Get:2 http://ftpmaster.internal/ubuntu bionic-security InRelease [88.7 kB] Get:3 http://ftpmaster.internal/ubuntu bionic-updates InRelease [88.7 kB] Get:4 http://ftpmaster.internal/ubuntu bionic/main armhf Packages [968 kB] Get:5 http://ftpmaster.internal/ubuntu bionic/main Translation-en [516 kB] Get:6 http://ftpmaster.internal/ubuntu bionic/universe armhf Packages [8269 kB] Get:7 http://ftpmaster.internal/ubuntu bionic/universe Translation-en [4941 kB] Get:8 http://ftpmaster.internal/ubuntu bionic/multiverse armhf Packages [129 kB] Get:9 http://ftpmaster.internal/ubuntu bionic-security/main armhf Packages [180 kB] Get:10 http://ftpmaster.internal/ubuntu bionic-security/main Translation-en [101 kB] Get:11 http://ftpmaster.internal/ubuntu bionic-security/universe armhf Packages [123 kB] Get:12 http://ftpmaster.internal/ubuntu bionic-security/universe Translation-en [71.2 kB] Get:13 http://ftpmaster.internal/ubuntu bionic-security/multiverse armhf Packages [1448 B] Get:14 http://ftpmaster.internal/ubuntu bionic-security/multiverse Translation-en [1848 B] Get:15 http://ftpmaster.internal/ubuntu bionic-updates/main armhf Packages [416 kB] Get:16 http://ftpmaster.internal/ubuntu bionic-updates/main Translation-en [196 kB] Get:17 http://ftpmaster.internal/ubuntu bionic-updates/restricted armhf Packages [6476 B] Get:18 http://ftpmaster.internal/ubuntu bionic-updates/restricted Translation-en [3076 B] Get:19 http://ftpmaster.internal/ubuntu bionic-updates/universe armhf Packages [589 kB] Get:20 http://ftpmaster.internal/ubuntu bionic-updates/universe Translation-en [189 kB] Get:21 http://ftpmaster.internal/ubuntu bionic-updates/multiverse armhf Packages [3360 B] Get:22 http://ftpmaster.internal/ubuntu bionic-updates/multiverse Translation-en [3452 B] Fetched 17.1 MB in 7s (2480 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... The following packages will be upgraded: apt base-files binutils binutils-arm-linux-gnueabihf binutils-common bsdutils cpp cpp-7 dpkg dpkg-dev e2fslibs e2fsprogs fdisk g++ g++-7 gcc gcc-7 gcc-7-base gcc-8-base gpg gpg-agent gpgconf gpgv libapparmor1 libapt-pkg5.0 libasan4 libatomic1 libbinutils libblkid1 libcc1-0 libcilkrts5 libcom-err2 libcomerr2 libcryptsetup12 libdpkg-perl libext2fs2 libfdisk1 libgcc-7-dev libgcc1 libgcrypt20 libgomp1 libkmod2 libmount1 libncurses5 libncursesw5 libperl5.26 libpng16-16 libprocps6 libsmartcols1 libss2 libssl1.1 libstdc++-7-dev libstdc++6 libsystemd0 libtinfo5 libubsan0 libudev1 libuuid1 linux-libc-dev mount ncurses-base ncurses-bin openssl perl perl-base perl-modules-5.26 pkgbinarymangler procps systemd systemd-sysv tar tzdata ubuntu-keyring util-linux 74 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 44.4 MB of archives. After this operation, 233 kB of additional disk space will be used. Get:1 http://ftpmaster.internal/ubuntu bionic-updates/main armhf base-files armhf 10.1ubuntu2.4 [59.9 kB] Get:2 http://ftpmaster.internal/ubuntu bionic-updates/main armhf bsdutils armhf 1:2.31.1-0.4ubuntu3.3 [55.5 kB] Get:3 http://ftpmaster.internal/ubuntu bionic-updates/main armhf tar armhf 1.29b-2ubuntu0.1 [209 kB] Get:4 http://ftpmaster.internal/ubuntu bionic-updates/main armhf dpkg armhf 1.19.0.5ubuntu2.1 [1094 kB] Get:5 http://ftpmaster.internal/ubuntu bionic-updates/main armhf libext2fs2 armhf 1.44.1-1ubuntu1.1 [144 kB] Get:6 http://ftpmaster.internal/ubuntu bionic-updates/main armhf e2fsprogs armhf 1.44.1-1ubuntu1.1 [369 kB] Get:7 http://ftpmaster.internal/ubuntu bionic-updates/main armhf ncurses-bin armhf 6.1-1ubuntu1.18.04 [155 kB] Get:8 http://ftpmaster.internal/ubuntu bionic-security/main armhf libperl5.26 armhf 5.26.1-6ubuntu0.3 [2888 kB] Get:9 http://ftpmaster.internal/ubuntu bionic-security/main armhf perl armhf 5.26.1-6ubuntu0.3 [201 kB] Get:10 http://ftpmaster.internal/ubuntu bionic-security/main armhf perl-base armhf 5.26.1-6ubuntu0.3 [1291 kB] Get:11 http://ftpmaster.internal/ubuntu bionic-security/main armhf perl-modules-5.26 all 5.26.1-6ubuntu0.3 [2763 kB] Get:12 http://ftpmaster.internal/ubuntu bionic-updates/main armhf libuuid1 armhf 2.31.1-0.4ubuntu3.3 [19.5 kB] Get:13 http://ftpmaster.internal/ubuntu bionic-updates/main armhf libblkid1 armhf 2.31.1-0.4ubuntu3.3 [112 kB] Get:14 http://ftpmaster.internal/ubuntu bionic-updates/main armhf libfdisk1 armhf 2.31.1-0.4ubuntu3.3 [152 kB] Get:15 http://ftpmaster.internal/ubuntu bionic-updates/main armhf libmount1 armhf 2.31.1-0.4ubuntu3.3 [122 kB] Get:16 http://ftpmaster.internal/ubuntu bionic-updates/main armhf libncurses5 armhf 6.1-1ubuntu1.18.04 [74.8 kB] Get:17 http://ftpmaster.internal/ubuntu bionic-updates/main armhf libtinfo5 armhf 6.1-1ubuntu1.18.04 [68.2 kB] Get:18 http://ftpmaster.internal/ubuntu bionic-updates/main armhf libncursesw5 armhf 6.1-1ubuntu1.18.04 [95.3 kB] Get:19 http://ftpmaster.internal/ubuntu bionic-updates/main armhf libsmartcols1 armhf 2.31.1-0.4ubuntu3.3 [74.6 kB] Get:20 http://ftpmaster.internal/ubuntu bionic-updates/main armhf fdisk armhf 2.31.1-0.4ubuntu3.3 [97.5 kB] Get:21 http://ftpmaster.internal/ubuntu bionic-updates/main armhf util-linux armhf 2.31.1-0.4ubuntu3.3 [845 kB] Get:22 http://ftpmaster.internal/ubuntu bionic-updates/main armhf ncurses-base all 6.1-1ubuntu1.18.04 [17.8 kB] Get:23 http://ftpmaster.internal/ubuntu bionic-updates/main armhf libgomp1 armhf 8.2.0-1ubuntu2~18.04 [66.6 kB] Get:24 http://ftpmaster.internal/ubuntu bionic-updates/main armhf gcc-8-base armhf 8.2.0-1ubuntu2~18.04 [18.4 kB] Get:25 http://ftpmaster.internal/ubuntu bionic-updates/main armhf libgcc1 armhf 1:8.2.0-1ubuntu2~18.04 [37.1 kB] Get:26 http://ftpmaster.internal/ubuntu bionic-updates/main armhf libcc1-0 armhf 8.2.0-1ubuntu2~18.04 [32.7 kB] Get:27 http://ftpmaster.internal/ubuntu bionic-updates/main armhf libatomic1 armhf 8.2.0-1ubuntu2~18.04 [7064 B] Get:28 http://ftpmaster.internal/ubuntu bionic-updates/main armhf libstdc++6 armhf 8.2.0-1ubuntu2~18.04 [350 kB] Get:29 http://ftpmaster.internal/ubuntu bionic-security/main armhf libudev1 armhf 237-3ubuntu10.13 [48.7 kB] Get:30 http://ftpmaster.internal/ubuntu bionic-updates/main armhf libapt-pkg5.0 armhf 1.6.8 [731 kB] Get:31 http://ftpmaster.internal/ubuntu bionic-security/main armhf libgcrypt20 armhf 1.8.1-4ubuntu1.1 [364 kB] Get:32 http://ftpmaster.internal/ubuntu bionic-security/main armhf gpgv armhf 2.2.4-1ubuntu1.2 [167 kB] Get:33 http://ftpmaster.internal/ubuntu bionic-updates/main armhf ubuntu-keyring all 2018.09.18.1~18.04.0 [22.4 kB] Get:34 http://ftpmaster.internal/ubuntu bionic-updates/main armhf apt armhf 1.6.8 [1121 kB] Get:35 http://ftpmaster.internal/ubuntu bionic-security/main armhf libapparmor1 armhf 2.12-4ubuntu5.1 [27.1 kB] Get:36 http://ftpmaster.internal/ubuntu bionic-updates/main armhf libcryptsetup12 armhf 2:2.0.2-1ubuntu1.1 [119 kB] Get:37 http://ftpmaster.internal/ubuntu bionic-updates/main armhf libkmod2 armhf 24-1ubuntu3.2 [34.3 kB] Get:38 http://ftpmaster.internal/ubuntu bionic-updates/main armhf mount armhf 2.31.1-0.4ubuntu3.3 [99.7 kB] Get:39 http://ftpmaster.internal/ubuntu bionic-security/main armhf libprocps6 armhf 2:3.3.12-3ubuntu1.1 [28.8 kB] Get:40 http://ftpmaster.internal/ubuntu bionic-security/main armhf procps armhf 2:3.3.12-3ubuntu1.1 [213 kB] Get:41 http://ftpmaster.internal/ubuntu bionic-security/main armhf systemd armhf 237-3ubuntu10.13 [2726 kB] Get:42 http://ftpmaster.internal/ubuntu bionic-security/main armhf libsystemd0 armhf 237-3ubuntu10.13 [186 kB] Get:43 http://ftpmaster.internal/ubuntu bionic-security/main armhf systemd-sysv armhf 237-3ubuntu10.13 [12.0 kB] Get:44 http://ftpmaster.internal/ubuntu bionic-updates/main armhf libcom-err2 armhf 1.44.1-1ubuntu1.1 [8416 B] Get:45 http://ftpmaster.internal/ubuntu bionic-updates/main armhf libss2 armhf 1.44.1-1ubuntu1.1 [9392 B] Get:46 http://ftpmaster.internal/ubuntu bionic-security/main armhf libssl1.1 armhf 1.1.0g-2ubuntu4.3 [914 kB] Get:47 http://ftpmaster.internal/ubuntu bionic-security/main armhf openssl armhf 1.1.0g-2ubuntu4.3 [509 kB] Get:48 http://ftpmaster.internal/ubuntu bionic-security/main armhf tzdata all 2018i-0ubuntu0.18.04 [189 kB] Get:49 http://ftpmaster.internal/ubuntu bionic-security/main armhf libpng16-16 armhf 1.6.34-1ubuntu0.18.04.1 [159 kB] Get:50 http://ftpmaster.internal/ubuntu bionic-updates/main armhf binutils-arm-linux-gnueabihf armhf 2.30-21ubuntu1~18.04 [2175 kB] Get:51 http://ftpmaster.internal/ubuntu bionic-updates/main armhf libbinutils armhf 2.30-21ubuntu1~18.04 [308 kB] Get:52 http://ftpmaster.internal/ubuntu bionic-updates/main armhf binutils armhf 2.30-21ubuntu1~18.04 [3356 B] Get:53 http://ftpmaster.internal/ubuntu bionic-updates/main armhf binutils-common armhf 2.30-21ubuntu1~18.04 [193 kB] Get:54 http://ftpmaster.internal/ubuntu bionic-updates/main armhf libubsan0 armhf 7.3.0-27ubuntu1~18.04 [108 kB] Get:55 http://ftpmaster.internal/ubuntu bionic-updates/main armhf libasan4 armhf 7.3.0-27ubuntu1~18.04 [327 kB] Get:56 http://ftpmaster.internal/ubuntu bionic-updates/main armhf libcilkrts5 armhf 7.3.0-27ubuntu1~18.04 [36.0 kB] Get:57 http://ftpmaster.internal/ubuntu bionic-updates/main armhf g++-7 armhf 7.3.0-27ubuntu1~18.04 [6047 kB] Get:58 http://ftpmaster.internal/ubuntu bionic-updates/main armhf gcc-7 armhf 7.3.0-27ubuntu1~18.04 [5951 kB] Get:59 http://ftpmaster.internal/ubuntu bionic-updates/main armhf libstdc++-7-dev armhf 7.3.0-27ubuntu1~18.04 [1536 kB] Get:60 http://ftpmaster.internal/ubuntu bionic-updates/main armhf libgcc-7-dev armhf 7.3.0-27ubuntu1~18.04 [706 kB] Get:61 http://ftpmaster.internal/ubuntu bionic-updates/main armhf cpp-7 armhf 7.3.0-27ubuntu1~18.04 [5295 kB] Get:62 http://ftpmaster.internal/ubuntu bionic-updates/main armhf gcc-7-base armhf 7.3.0-27ubuntu1~18.04 [19.0 kB] Get:63 http://ftpmaster.internal/ubuntu bionic-updates/main armhf cpp armhf 4:7.3.0-3ubuntu2.1 [27.6 kB] Get:64 http://ftpmaster.internal/ubuntu bionic-updates/main armhf dpkg-dev all 1.19.0.5ubuntu2.1 [608 kB] Get:65 http://ftpmaster.internal/ubuntu bionic-updates/main armhf libdpkg-perl all 1.19.0.5ubuntu2.1 [211 kB] Get:66 http://ftpmaster.internal/ubuntu bionic-updates/main armhf e2fslibs armhf 1.44.1-1ubuntu1.1 [2712 B] Get:67 http://ftpmaster.internal/ubuntu bionic-updates/main armhf gcc armhf 4:7.3.0-3ubuntu2.1 [5204 B] Get:68 http://ftpmaster.internal/ubuntu bionic-updates/main armhf g++ armhf 4:7.3.0-3ubuntu2.1 [1576 B] Get:69 http://ftpmaster.internal/ubuntu bionic-security/main armhf gpg armhf 2.2.4-1ubuntu1.2 [408 kB] Get:70 http://ftpmaster.internal/ubuntu bionic-security/main armhf gpgconf armhf 2.2.4-1ubuntu1.2 [105 kB] Get:71 http://ftpmaster.internal/ubuntu bionic-security/main armhf gpg-agent armhf 2.2.4-1ubuntu1.2 [188 kB] Get:72 http://ftpmaster.internal/ubuntu bionic-updates/main armhf libcomerr2 armhf 1.44.1-1ubuntu1.1 [2712 B] Get:73 http://ftpmaster.internal/ubuntu bionic-security/main armhf linux-libc-dev armhf 4.15.0-45.48 [981 kB] Get:74 http://ftpmaster.internal/ubuntu bionic-security/main armhf pkgbinarymangler all 138.18.04.0 [52.8 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 44.4 MB in 2s (26.2 MB/s) (Reading database ... 12378 files and directories currently installed.) Preparing to unpack .../base-files_10.1ubuntu2.4_armhf.deb ... Unpacking base-files (10.1ubuntu2.4) over (10.1ubuntu2) ... Setting up base-files (10.1ubuntu2.4) ... Installing new version of config file /etc/issue ... Installing new version of config file /etc/issue.net ... Installing new version of config file /etc/lsb-release ... Installing new version of config file /etc/update-motd.d/50-motd-news ... (Reading database ... 12380 files and directories currently installed.) Preparing to unpack .../bsdutils_1%3a2.31.1-0.4ubuntu3.3_armhf.deb ... Unpacking bsdutils (1:2.31.1-0.4ubuntu3.3) over (1:2.31.1-0.4ubuntu3) ... Setting up bsdutils (1:2.31.1-0.4ubuntu3.3) ... (Reading database ... 12380 files and directories currently installed.) Preparing to unpack .../tar_1.29b-2ubuntu0.1_armhf.deb ... Unpacking tar (1.29b-2ubuntu0.1) over (1.29b-2) ... Setting up tar (1.29b-2ubuntu0.1) ... (Reading database ... 12380 files and directories currently installed.) Preparing to unpack .../dpkg_1.19.0.5ubuntu2.1_armhf.deb ... Unpacking dpkg (1.19.0.5ubuntu2.1) over (1.19.0.5ubuntu2) ... Setting up dpkg (1.19.0.5ubuntu2.1) ... (Reading database ... 12380 files and directories currently installed.) Preparing to unpack .../libext2fs2_1.44.1-1ubuntu1.1_armhf.deb ... Unpacking libext2fs2:armhf (1.44.1-1ubuntu1.1) over (1.44.1-1) ... Setting up libext2fs2:armhf (1.44.1-1ubuntu1.1) ... (Reading database ... 12380 files and directories currently installed.) Preparing to unpack .../e2fsprogs_1.44.1-1ubuntu1.1_armhf.deb ... Unpacking e2fsprogs (1.44.1-1ubuntu1.1) over (1.44.1-1) ... Setting up e2fsprogs (1.44.1-1ubuntu1.1) ... (Reading database ... 12380 files and directories currently installed.) Preparing to unpack .../ncurses-bin_6.1-1ubuntu1.18.04_armhf.deb ... Unpacking ncurses-bin (6.1-1ubuntu1.18.04) over (6.1-1ubuntu1) ... Setting up ncurses-bin (6.1-1ubuntu1.18.04) ... (Reading database ... 12380 files and directories currently installed.) Preparing to unpack .../libperl5.26_5.26.1-6ubuntu0.3_armhf.deb ... Unpacking libperl5.26:armhf (5.26.1-6ubuntu0.3) over (5.26.1-6) ... Preparing to unpack .../perl_5.26.1-6ubuntu0.3_armhf.deb ... Unpacking perl (5.26.1-6ubuntu0.3) over (5.26.1-6) ... Preparing to unpack .../perl-base_5.26.1-6ubuntu0.3_armhf.deb ... Unpacking perl-base (5.26.1-6ubuntu0.3) over (5.26.1-6) ... Setting up perl-base (5.26.1-6ubuntu0.3) ... (Reading database ... 12380 files and directories currently installed.) Preparing to unpack .../perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) over (5.26.1-6) ... Preparing to unpack .../libuuid1_2.31.1-0.4ubuntu3.3_armhf.deb ... Unpacking libuuid1:armhf (2.31.1-0.4ubuntu3.3) over (2.31.1-0.4ubuntu3) ... Setting up libuuid1:armhf (2.31.1-0.4ubuntu3.3) ... (Reading database ... 12380 files and directories currently installed.) Preparing to unpack .../libblkid1_2.31.1-0.4ubuntu3.3_armhf.deb ... Unpacking libblkid1:armhf (2.31.1-0.4ubuntu3.3) over (2.31.1-0.4ubuntu3) ... Setting up libblkid1:armhf (2.31.1-0.4ubuntu3.3) ... (Reading database ... 12380 files and directories currently installed.) Preparing to unpack .../libfdisk1_2.31.1-0.4ubuntu3.3_armhf.deb ... Unpacking libfdisk1:armhf (2.31.1-0.4ubuntu3.3) over (2.31.1-0.4ubuntu3) ... Setting up libfdisk1:armhf (2.31.1-0.4ubuntu3.3) ... (Reading database ... 12380 files and directories currently installed.) Preparing to unpack .../libmount1_2.31.1-0.4ubuntu3.3_armhf.deb ... Unpacking libmount1:armhf (2.31.1-0.4ubuntu3.3) over (2.31.1-0.4ubuntu3) ... Setting up libmount1:armhf (2.31.1-0.4ubuntu3.3) ... (Reading database ... 12380 files and directories currently installed.) Preparing to unpack .../libncurses5_6.1-1ubuntu1.18.04_armhf.deb ... Unpacking libncurses5:armhf (6.1-1ubuntu1.18.04) over (6.1-1ubuntu1) ... Preparing to unpack .../libtinfo5_6.1-1ubuntu1.18.04_armhf.deb ... Unpacking libtinfo5:armhf (6.1-1ubuntu1.18.04) over (6.1-1ubuntu1) ... Setting up libtinfo5:armhf (6.1-1ubuntu1.18.04) ... (Reading database ... 12380 files and directories currently installed.) Preparing to unpack .../libncursesw5_6.1-1ubuntu1.18.04_armhf.deb ... Unpacking libncursesw5:armhf (6.1-1ubuntu1.18.04) over (6.1-1ubuntu1) ... Setting up libncursesw5:armhf (6.1-1ubuntu1.18.04) ... (Reading database ... 12380 files and directories currently installed.) Preparing to unpack .../libsmartcols1_2.31.1-0.4ubuntu3.3_armhf.deb ... Unpacking libsmartcols1:armhf (2.31.1-0.4ubuntu3.3) over (2.31.1-0.4ubuntu3) ... Setting up libsmartcols1:armhf (2.31.1-0.4ubuntu3.3) ... (Reading database ... 12380 files and directories currently installed.) Preparing to unpack .../fdisk_2.31.1-0.4ubuntu3.3_armhf.deb ... Unpacking fdisk (2.31.1-0.4ubuntu3.3) over (2.31.1-0.4ubuntu3) ... Setting up fdisk (2.31.1-0.4ubuntu3.3) ... (Reading database ... 12380 files and directories currently installed.) Preparing to unpack .../util-linux_2.31.1-0.4ubuntu3.3_armhf.deb ... Unpacking util-linux (2.31.1-0.4ubuntu3.3) over (2.31.1-0.4ubuntu3) ... Setting up util-linux (2.31.1-0.4ubuntu3.3) ... (Reading database ... 12380 files and directories currently installed.) Preparing to unpack .../ncurses-base_6.1-1ubuntu1.18.04_all.deb ... Unpacking ncurses-base (6.1-1ubuntu1.18.04) over (6.1-1ubuntu1) ... Setting up ncurses-base (6.1-1ubuntu1.18.04) ... (Reading database ... 12382 files and directories currently installed.) Preparing to unpack .../libgomp1_8.2.0-1ubuntu2~18.04_armhf.deb ... Unpacking libgomp1:armhf (8.2.0-1ubuntu2~18.04) over (8-20180414-1ubuntu2) ... Preparing to unpack .../gcc-8-base_8.2.0-1ubuntu2~18.04_armhf.deb ... Unpacking gcc-8-base:armhf (8.2.0-1ubuntu2~18.04) over (8-20180414-1ubuntu2) ... Setting up gcc-8-base:armhf (8.2.0-1ubuntu2~18.04) ... (Reading database ... 12381 files and directories currently installed.) Preparing to unpack .../libgcc1_1%3a8.2.0-1ubuntu2~18.04_armhf.deb ... Unpacking libgcc1:armhf (1:8.2.0-1ubuntu2~18.04) over (1:8-20180414-1ubuntu2) ... Setting up libgcc1:armhf (1:8.2.0-1ubuntu2~18.04) ... (Reading database ... 12381 files and directories currently installed.) Preparing to unpack .../libcc1-0_8.2.0-1ubuntu2~18.04_armhf.deb ... Unpacking libcc1-0:armhf (8.2.0-1ubuntu2~18.04) over (8-20180414-1ubuntu2) ... Preparing to unpack .../libatomic1_8.2.0-1ubuntu2~18.04_armhf.deb ... Unpacking libatomic1:armhf (8.2.0-1ubuntu2~18.04) over (8-20180414-1ubuntu2) ... Preparing to unpack .../libstdc++6_8.2.0-1ubuntu2~18.04_armhf.deb ... Unpacking libstdc++6:armhf (8.2.0-1ubuntu2~18.04) over (8-20180414-1ubuntu2) ... Setting up libstdc++6:armhf (8.2.0-1ubuntu2~18.04) ... (Reading database ... 12381 files and directories currently installed.) Preparing to unpack .../libudev1_237-3ubuntu10.13_armhf.deb ... Unpacking libudev1:armhf (237-3ubuntu10.13) over (237-3ubuntu10) ... Setting up libudev1:armhf (237-3ubuntu10.13) ... (Reading database ... 12381 files and directories currently installed.) Preparing to unpack .../libapt-pkg5.0_1.6.8_armhf.deb ... Unpacking libapt-pkg5.0:armhf (1.6.8) over (1.6.1) ... Setting up libapt-pkg5.0:armhf (1.6.8) ... (Reading database ... 12381 files and directories currently installed.) Preparing to unpack .../libgcrypt20_1.8.1-4ubuntu1.1_armhf.deb ... Unpacking libgcrypt20:armhf (1.8.1-4ubuntu1.1) over (1.8.1-4ubuntu1) ... Setting up libgcrypt20:armhf (1.8.1-4ubuntu1.1) ... (Reading database ... 12381 files and directories currently installed.) Preparing to unpack .../gpgv_2.2.4-1ubuntu1.2_armhf.deb ... Unpacking gpgv (2.2.4-1ubuntu1.2) over (2.2.4-1ubuntu1) ... Setting up gpgv (2.2.4-1ubuntu1.2) ... (Reading database ... 12381 files and directories currently installed.) Preparing to unpack .../ubuntu-keyring_2018.09.18.1~18.04.0_all.deb ... Unpacking ubuntu-keyring (2018.09.18.1~18.04.0) over (2018.02.28) ... Setting up ubuntu-keyring (2018.09.18.1~18.04.0) ... (Reading database ... 12382 files and directories currently installed.) Preparing to unpack .../archives/apt_1.6.8_armhf.deb ... Unpacking apt (1.6.8) over (1.6.1) ... Setting up apt (1.6.8) ... Installing new version of config file /etc/apt/apt.conf.d/01autoremove ... (Reading database ... 12382 files and directories currently installed.) Preparing to unpack .../0-libapparmor1_2.12-4ubuntu5.1_armhf.deb ... Unpacking libapparmor1:armhf (2.12-4ubuntu5.1) over (2.12-4ubuntu5) ... Preparing to unpack .../1-libcryptsetup12_2%3a2.0.2-1ubuntu1.1_armhf.deb ... Unpacking libcryptsetup12:armhf (2:2.0.2-1ubuntu1.1) over (2:2.0.2-1ubuntu1) ... Preparing to unpack .../2-libkmod2_24-1ubuntu3.2_armhf.deb ... Unpacking libkmod2:armhf (24-1ubuntu3.2) over (24-1ubuntu3) ... Preparing to unpack .../3-mount_2.31.1-0.4ubuntu3.3_armhf.deb ... Unpacking mount (2.31.1-0.4ubuntu3.3) over (2.31.1-0.4ubuntu3) ... Preparing to unpack .../4-libprocps6_2%3a3.3.12-3ubuntu1.1_armhf.deb ... Unpacking libprocps6:armhf (2:3.3.12-3ubuntu1.1) over (2:3.3.12-3ubuntu1) ... Preparing to unpack .../5-procps_2%3a3.3.12-3ubuntu1.1_armhf.deb ... Unpacking procps (2:3.3.12-3ubuntu1.1) over (2:3.3.12-3ubuntu1) ... Setting up libcryptsetup12:armhf (2:2.0.2-1ubuntu1.1) ... (Reading database ... 12382 files and directories currently installed.) Preparing to unpack .../systemd_237-3ubuntu10.13_armhf.deb ... Unpacking systemd (237-3ubuntu10.13) over (237-3ubuntu10) ... Preparing to unpack .../libsystemd0_237-3ubuntu10.13_armhf.deb ... Unpacking libsystemd0:armhf (237-3ubuntu10.13) over (237-3ubuntu10) ... Setting up libsystemd0:armhf (237-3ubuntu10.13) ... Setting up libapparmor1:armhf (2.12-4ubuntu5.1) ... Setting up libkmod2:armhf (24-1ubuntu3.2) ... Setting up mount (2.31.1-0.4ubuntu3.3) ... Setting up libncurses5:armhf (6.1-1ubuntu1.18.04) ... Setting up libprocps6:armhf (2:3.3.12-3ubuntu1.1) ... Setting up procps (2:3.3.12-3ubuntu1.1) ... Setting up systemd (237-3ubuntu10.13) ... (Reading database ... 12382 files and directories currently installed.) Preparing to unpack .../systemd-sysv_237-3ubuntu10.13_armhf.deb ... Unpacking systemd-sysv (237-3ubuntu10.13) over (237-3ubuntu10) ... Preparing to unpack .../libcom-err2_1.44.1-1ubuntu1.1_armhf.deb ... Unpacking libcom-err2:armhf (1.44.1-1ubuntu1.1) over (1.44.1-1) ... Setting up libcom-err2:armhf (1.44.1-1ubuntu1.1) ... (Reading database ... 12382 files and directories currently installed.) Preparing to unpack .../libss2_1.44.1-1ubuntu1.1_armhf.deb ... Unpacking libss2:armhf (1.44.1-1ubuntu1.1) over (1.44.1-1) ... Setting up libss2:armhf (1.44.1-1ubuntu1.1) ... (Reading database ... 12382 files and directories currently installed.) Preparing to unpack .../00-libssl1.1_1.1.0g-2ubuntu4.3_armhf.deb ... Unpacking libssl1.1:armhf (1.1.0g-2ubuntu4.3) over (1.1.0g-2ubuntu4) ... Preparing to unpack .../01-openssl_1.1.0g-2ubuntu4.3_armhf.deb ... Unpacking openssl (1.1.0g-2ubuntu4.3) over (1.1.0g-2ubuntu4) ... Preparing to unpack .../02-tzdata_2018i-0ubuntu0.18.04_all.deb ... Unpacking tzdata (2018i-0ubuntu0.18.04) over (2018d-1) ... Preparing to unpack .../03-libpng16-16_1.6.34-1ubuntu0.18.04.1_armhf.deb ... Unpacking libpng16-16:armhf (1.6.34-1ubuntu0.18.04.1) over (1.6.34-1) ... Preparing to unpack .../04-binutils-arm-linux-gnueabihf_2.30-21ubuntu1~18.04_armhf.deb ... Unpacking binutils-arm-linux-gnueabihf (2.30-21ubuntu1~18.04) over (2.30-15ubuntu1) ... Preparing to unpack .../05-libbinutils_2.30-21ubuntu1~18.04_armhf.deb ... Unpacking libbinutils:armhf (2.30-21ubuntu1~18.04) over (2.30-15ubuntu1) ... Preparing to unpack .../06-binutils_2.30-21ubuntu1~18.04_armhf.deb ... Unpacking binutils (2.30-21ubuntu1~18.04) over (2.30-15ubuntu1) ... Preparing to unpack .../07-binutils-common_2.30-21ubuntu1~18.04_armhf.deb ... Unpacking binutils-common:armhf (2.30-21ubuntu1~18.04) over (2.30-15ubuntu1) ... Preparing to unpack .../08-libubsan0_7.3.0-27ubuntu1~18.04_armhf.deb ... Unpacking libubsan0:armhf (7.3.0-27ubuntu1~18.04) over (7.3.0-16ubuntu3) ... Preparing to unpack .../09-libasan4_7.3.0-27ubuntu1~18.04_armhf.deb ... Unpacking libasan4:armhf (7.3.0-27ubuntu1~18.04) over (7.3.0-16ubuntu3) ... Preparing to unpack .../10-libcilkrts5_7.3.0-27ubuntu1~18.04_armhf.deb ... Unpacking libcilkrts5:armhf (7.3.0-27ubuntu1~18.04) over (7.3.0-16ubuntu3) ... Preparing to unpack .../11-g++-7_7.3.0-27ubuntu1~18.04_armhf.deb ... Unpacking g++-7 (7.3.0-27ubuntu1~18.04) over (7.3.0-16ubuntu3) ... Preparing to unpack .../12-gcc-7_7.3.0-27ubuntu1~18.04_armhf.deb ... Unpacking gcc-7 (7.3.0-27ubuntu1~18.04) over (7.3.0-16ubuntu3) ... Preparing to unpack .../13-libstdc++-7-dev_7.3.0-27ubuntu1~18.04_armhf.deb ... Unpacking libstdc++-7-dev:armhf (7.3.0-27ubuntu1~18.04) over (7.3.0-16ubuntu3) ... Preparing to unpack .../14-libgcc-7-dev_7.3.0-27ubuntu1~18.04_armhf.deb ... Unpacking libgcc-7-dev:armhf (7.3.0-27ubuntu1~18.04) over (7.3.0-16ubuntu3) ... Preparing to unpack .../15-cpp-7_7.3.0-27ubuntu1~18.04_armhf.deb ... Unpacking cpp-7 (7.3.0-27ubuntu1~18.04) over (7.3.0-16ubuntu3) ... Preparing to unpack .../16-gcc-7-base_7.3.0-27ubuntu1~18.04_armhf.deb ... Unpacking gcc-7-base:armhf (7.3.0-27ubuntu1~18.04) over (7.3.0-16ubuntu3) ... Preparing to unpack .../17-cpp_4%3a7.3.0-3ubuntu2.1_armhf.deb ... Unpacking cpp (4:7.3.0-3ubuntu2.1) over (4:7.3.0-3ubuntu2) ... Preparing to unpack .../18-dpkg-dev_1.19.0.5ubuntu2.1_all.deb ... Unpacking dpkg-dev (1.19.0.5ubuntu2.1) over (1.19.0.5ubuntu2) ... Preparing to unpack .../19-libdpkg-perl_1.19.0.5ubuntu2.1_all.deb ... Unpacking libdpkg-perl (1.19.0.5ubuntu2.1) over (1.19.0.5ubuntu2) ... Preparing to unpack .../20-e2fslibs_1.44.1-1ubuntu1.1_armhf.deb ... Unpacking e2fslibs:armhf (1.44.1-1ubuntu1.1) over (1.44.1-1) ... Preparing to unpack .../21-gcc_4%3a7.3.0-3ubuntu2.1_armhf.deb ... Unpacking gcc (4:7.3.0-3ubuntu2.1) over (4:7.3.0-3ubuntu2) ... Preparing to unpack .../22-g++_4%3a7.3.0-3ubuntu2.1_armhf.deb ... Unpacking g++ (4:7.3.0-3ubuntu2.1) over (4:7.3.0-3ubuntu2) ... Preparing to unpack .../23-gpg_2.2.4-1ubuntu1.2_armhf.deb ... Unpacking gpg (2.2.4-1ubuntu1.2) over (2.2.4-1ubuntu1) ... Preparing to unpack .../24-gpgconf_2.2.4-1ubuntu1.2_armhf.deb ... Unpacking gpgconf (2.2.4-1ubuntu1.2) over (2.2.4-1ubuntu1) ... Preparing to unpack .../25-gpg-agent_2.2.4-1ubuntu1.2_armhf.deb ... Unpacking gpg-agent (2.2.4-1ubuntu1.2) over (2.2.4-1ubuntu1) ... Preparing to unpack .../26-libcomerr2_1.44.1-1ubuntu1.1_armhf.deb ... Unpacking libcomerr2:armhf (1.44.1-1ubuntu1.1) over (1.44.1-1) ... Preparing to unpack .../27-linux-libc-dev_4.15.0-45.48_armhf.deb ... Unpacking linux-libc-dev:armhf (4.15.0-45.48) over (4.15.0-20.21) ... Preparing to unpack .../28-pkgbinarymangler_138.18.04.0_all.deb ... Unpacking pkgbinarymangler (138.18.04.0) over (138) ... Setting up libgomp1:armhf (8.2.0-1ubuntu2~18.04) ... Setting up libatomic1:armhf (8.2.0-1ubuntu2~18.04) ... Setting up libcc1-0:armhf (8.2.0-1ubuntu2~18.04) ... Setting up pkgbinarymangler (138.18.04.0) ... Setting up e2fslibs:armhf (1.44.1-1ubuntu1.1) ... Setting up libpng16-16:armhf (1.6.34-1ubuntu0.18.04.1) ... Setting up tzdata (2018i-0ubuntu0.18.04) ... Current default time zone: 'Etc/UTC' Local time is now: Wed Feb 20 10:46:51 UTC 2019. Universal Time is now: Wed Feb 20 10:46:51 UTC 2019. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up systemd-sysv (237-3ubuntu10.13) ... Setting up gpgconf (2.2.4-1ubuntu1.2) ... Setting up linux-libc-dev:armhf (4.15.0-45.48) ... Setting up gpg-agent (2.2.4-1ubuntu1.2) ... Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... Setting up gcc-7-base:armhf (7.3.0-27ubuntu1~18.04) ... Setting up binutils-common:armhf (2.30-21ubuntu1~18.04) ... Processing triggers for libc-bin (2.27-3ubuntu1) ... Setting up libperl5.26:armhf (5.26.1-6ubuntu0.3) ... Setting up libssl1.1:armhf (1.1.0g-2ubuntu4.3) ... Setting up openssl (1.1.0g-2ubuntu4.3) ... Setting up libcomerr2:armhf (1.44.1-1ubuntu1.1) ... Setting up gpg (2.2.4-1ubuntu1.2) ... Setting up libasan4:armhf (7.3.0-27ubuntu1~18.04) ... Setting up libbinutils:armhf (2.30-21ubuntu1~18.04) ... Setting up libcilkrts5:armhf (7.3.0-27ubuntu1~18.04) ... Setting up libubsan0:armhf (7.3.0-27ubuntu1~18.04) ... Setting up binutils-arm-linux-gnueabihf (2.30-21ubuntu1~18.04) ... Setting up libgcc-7-dev:armhf (7.3.0-27ubuntu1~18.04) ... Setting up cpp-7 (7.3.0-27ubuntu1~18.04) ... Setting up libstdc++-7-dev:armhf (7.3.0-27ubuntu1~18.04) ... Setting up perl (5.26.1-6ubuntu0.3) ... Setting up binutils (2.30-21ubuntu1~18.04) ... Setting up cpp (4:7.3.0-3ubuntu2.1) ... Setting up gcc-7 (7.3.0-27ubuntu1~18.04) ... Setting up g++-7 (7.3.0-27ubuntu1~18.04) ... Setting up libdpkg-perl (1.19.0.5ubuntu2.1) ... Setting up gcc (4:7.3.0-3ubuntu2.1) ... Setting up dpkg-dev (1.19.0.5ubuntu2.1) ... Setting up g++ (4:7.3.0-3ubuntu2.1) ... Processing triggers for libc-bin (2.27-3ubuntu1) ... RUN: /usr/share/launchpad-buildd/slavebin/sbuild-package PACKAGEBUILD-16090457 armhf bionic -c chroot:build-PACKAGEBUILD-16090457 --arch=armhf --dist=bionic --nolog testdisk_7.0-3build2.dsc Initiating build PACKAGEBUILD-16090457 with 4 jobs across 4 processor cores. Kernel reported to sbuild: 4.4.0-142-generic #168-Ubuntu SMP Wed Jan 16 21:00:53 UTC 2019 armv7l sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on bos02-arm64-049.buildd +==============================================================================+ | testdisk 7.0-3build2 (armhf) 20 Feb 2019 10:46 | +==============================================================================+ Package: testdisk Version: 7.0-3build2 Source Version: 7.0-3build2 Distribution: bionic Machine Architecture: arm64 Host Architecture: armhf Build Architecture: armhf I: NOTICE: Log filtering will replace 'build/testdisk-9bholx/testdisk-7.0' with '<>' I: NOTICE: Log filtering will replace 'build/testdisk-9bholx' with '<>' I: NOTICE: Log filtering will replace 'home/buildd/build-PACKAGEBUILD-16090457/chroot-autobuild' with '<>' +------------------------------------------------------------------------------+ | Fetch source files | +------------------------------------------------------------------------------+ Local sources ------------- testdisk_7.0-3build2.dsc exists in .; copying to chroot Check architectures ------------------- Check dependencies ------------------ Merged Build-Depends: build-essential, fakeroot Filtered Build-Depends: build-essential, fakeroot dpkg-deb: building package 'sbuild-build-depends-core-dummy' in '/<>/resolver-NvJBvW/apt_archive/sbuild-build-depends-core-dummy.deb'. Ign:1 copy:/<>/resolver-NvJBvW/apt_archive ./ InRelease Get:2 copy:/<>/resolver-NvJBvW/apt_archive ./ Release [2119 B] Ign:3 copy:/<>/resolver-NvJBvW/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-NvJBvW/apt_archive ./ Sources [214 B] Get:5 copy:/<>/resolver-NvJBvW/apt_archive ./ Packages [527 B] Fetched 2860 B in 0s (112 kB/s) Reading package lists... Reading package lists... +------------------------------------------------------------------------------+ | Install core build dependencies (apt-based resolver) | +------------------------------------------------------------------------------+ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: sbuild-build-depends-core-dummy 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 852 B of archives. After this operation, 0 B of additional disk space will be used. Get:1 copy:/<>/resolver-NvJBvW/apt_archive ./ sbuild-build-depends-core-dummy 0.invalid.0 [852 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 852 B in 0s (0 B/s) Selecting previously unselected package sbuild-build-depends-core-dummy. (Reading database ... 12385 files and directories currently installed.) Preparing to unpack .../sbuild-build-depends-core-dummy_0.invalid.0_armhf.deb ... Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ... Setting up sbuild-build-depends-core-dummy (0.invalid.0) ... Merged Build-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 Filtered Build-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 'sbuild-build-depends-testdisk-dummy' in '/<>/resolver-ksVmdj/apt_archive/sbuild-build-depends-testdisk-dummy.deb'. Ign:1 copy:/<>/resolver-ksVmdj/apt_archive ./ InRelease Get:2 copy:/<>/resolver-ksVmdj/apt_archive ./ Release [2119 B] Ign:3 copy:/<>/resolver-ksVmdj/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-ksVmdj/apt_archive ./ Sources [277 B] Get:5 copy:/<>/resolver-ksVmdj/apt_archive ./ Packages [593 B] Fetched 2989 B in 0s (116 kB/s) Reading package lists... Reading package lists... +------------------------------------------------------------------------------+ | Install testdisk build dependencies (apt-based resolver) | +------------------------------------------------------------------------------+ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: autoconf automake autopoint autotools-dev bsdmainutils comerr-dev debhelper dh-autoreconf dh-strip-nondeterminism e2fslibs-dev file fuse gettext gettext-base groff-base intltool-debian libarchive-zip-perl libbsd0 libcroco3 libext2fs-dev libfile-stripnondeterminism-perl libfuse2 libglib2.0-0 libicu60 libjpeg-dev libjpeg-turbo8 libjpeg-turbo8-dev libjpeg8 libjpeg8-dev libmagic-mgc libmagic1 libncurses5-dev libncursesw5-dev libntfs-3g88 libpipeline1 libsigsegv2 libtimedate-perl libtinfo-dev libtool libxml2 m4 man-db ntfs-3g ntfs-3g-dev pkg-config po-debconf uuid-dev zlib1g-dev Suggested packages: autoconf-archive gnu-standards autoconf-doc wamerican | wordlist whois vacation doc-base dh-make dwz gettext-doc libasprintf-dev libgettextpo-dev groff ncurses-doc libtool-doc gfortran | fortran95-compiler gcj-jdk m4-doc apparmor less www-browser libmail-box-perl Recommended packages: curl | wget | lynx libarchive-cpio-perl libglib2.0-data shared-mime-info xdg-user-dirs libltdl-dev libmail-sendmail-perl The following NEW packages will be installed: autoconf automake autopoint autotools-dev bsdmainutils comerr-dev debhelper dh-autoreconf dh-strip-nondeterminism e2fslibs-dev file fuse gettext gettext-base groff-base intltool-debian libarchive-zip-perl libbsd0 libcroco3 libext2fs-dev libfile-stripnondeterminism-perl libfuse2 libglib2.0-0 libicu60 libjpeg-dev libjpeg-turbo8 libjpeg-turbo8-dev libjpeg8 libjpeg8-dev libmagic-mgc libmagic1 libncurses5-dev libncursesw5-dev libntfs-3g88 libpipeline1 libsigsegv2 libtimedate-perl libtinfo-dev libtool libxml2 m4 man-db ntfs-3g ntfs-3g-dev pkg-config po-debconf sbuild-build-depends-testdisk-dummy uuid-dev zlib1g-dev 0 upgraded, 49 newly installed, 0 to remove and 0 not upgraded. Need to get 17.9 MB of archives. After this operation, 63.9 MB of additional disk space will be used. Get:1 copy:/<>/resolver-ksVmdj/apt_archive ./ sbuild-build-depends-testdisk-dummy 0.invalid.0 [924 B] Get:2 http://ftpmaster.internal/ubuntu bionic/main armhf libbsd0 armhf 0.8.7-1 [40.4 kB] Get:3 http://ftpmaster.internal/ubuntu bionic/main armhf bsdmainutils armhf 11.1.2ubuntu1 [177 kB] Get:4 http://ftpmaster.internal/ubuntu bionic/main armhf groff-base armhf 1.22.3-10 [1013 kB] Get:5 http://ftpmaster.internal/ubuntu bionic/main armhf libpipeline1 armhf 1.5.0-1 [21.1 kB] Get:6 http://ftpmaster.internal/ubuntu bionic-updates/main armhf man-db armhf 2.8.3-2ubuntu0.1 [993 kB] Get:7 http://ftpmaster.internal/ubuntu bionic/main armhf libfuse2 armhf 2.9.7-1ubuntu1 [71.5 kB] Get:8 http://ftpmaster.internal/ubuntu bionic/main armhf fuse armhf 2.9.7-1ubuntu1 [23.5 kB] Get:9 http://ftpmaster.internal/ubuntu bionic/main armhf libntfs-3g88 armhf 1:2017.3.23-2 [139 kB] Get:10 http://ftpmaster.internal/ubuntu bionic/main armhf ntfs-3g armhf 1:2017.3.23-2 [379 kB] Get:11 http://ftpmaster.internal/ubuntu bionic-security/main armhf libjpeg-turbo8 armhf 1.5.2-0ubuntu5.18.04.1 [87.4 kB] Get:12 http://ftpmaster.internal/ubuntu bionic-security/main armhf libmagic-mgc armhf 1:5.32-2ubuntu0.1 [184 kB] Get:13 http://ftpmaster.internal/ubuntu bionic-security/main armhf libmagic1 armhf 1:5.32-2ubuntu0.1 [62.7 kB] Get:14 http://ftpmaster.internal/ubuntu bionic-security/main armhf file armhf 1:5.32-2ubuntu0.1 [21.5 kB] Get:15 http://ftpmaster.internal/ubuntu bionic-updates/main armhf libglib2.0-0 armhf 2.56.3-0ubuntu0.18.04.1 [1016 kB] Get:16 http://ftpmaster.internal/ubuntu bionic/main armhf libicu60 armhf 60.2-3ubuntu3 [7797 kB] Get:17 http://ftpmaster.internal/ubuntu bionic-security/main armhf libxml2 armhf 2.9.4+dfsg1-6.1ubuntu1.2 [567 kB] Get:18 http://ftpmaster.internal/ubuntu bionic-security/main armhf gettext-base armhf 0.19.8.1-6ubuntu0.1 [46.4 kB] Get:19 http://ftpmaster.internal/ubuntu bionic/main armhf libsigsegv2 armhf 2.12-1 [14.0 kB] Get:20 http://ftpmaster.internal/ubuntu bionic/main armhf m4 armhf 1.4.18-1 [181 kB] Get:21 http://ftpmaster.internal/ubuntu bionic/main armhf autoconf all 2.69-11 [322 kB] Get:22 http://ftpmaster.internal/ubuntu bionic/main armhf autotools-dev all 20180224.1 [39.6 kB] Get:23 http://ftpmaster.internal/ubuntu bionic/main armhf automake all 1:1.15.1-3ubuntu2 [509 kB] Get:24 http://ftpmaster.internal/ubuntu bionic-security/main armhf autopoint all 0.19.8.1-6ubuntu0.1 [412 kB] Get:25 http://ftpmaster.internal/ubuntu bionic/main armhf libtool all 2.4.6-2 [194 kB] Get:26 http://ftpmaster.internal/ubuntu bionic/main armhf dh-autoreconf all 17 [15.8 kB] Get:27 http://ftpmaster.internal/ubuntu bionic-security/main armhf libarchive-zip-perl all 1.60-1ubuntu0.1 [84.6 kB] Get:28 http://ftpmaster.internal/ubuntu bionic/main armhf libfile-stripnondeterminism-perl all 0.040-1.1~build1 [13.8 kB] Get:29 http://ftpmaster.internal/ubuntu bionic/main armhf libtimedate-perl all 2.3000-2 [37.5 kB] Get:30 http://ftpmaster.internal/ubuntu bionic/main armhf dh-strip-nondeterminism all 0.040-1.1~build1 [5208 B] Get:31 http://ftpmaster.internal/ubuntu bionic/main armhf libcroco3 armhf 0.6.12-2 [69.4 kB] Get:32 http://ftpmaster.internal/ubuntu bionic-security/main armhf gettext armhf 0.19.8.1-6ubuntu0.1 [834 kB] Get:33 http://ftpmaster.internal/ubuntu bionic/main armhf intltool-debian all 0.35.0+20060710.4 [24.9 kB] Get:34 http://ftpmaster.internal/ubuntu bionic/main armhf po-debconf all 1.0.20 [232 kB] Get:35 http://ftpmaster.internal/ubuntu bionic-updates/main armhf debhelper all 11.1.6ubuntu2 [902 kB] Get:36 http://ftpmaster.internal/ubuntu bionic-updates/main armhf comerr-dev armhf 2.1-1.44.1-1ubuntu1.1 [37.9 kB] Get:37 http://ftpmaster.internal/ubuntu bionic-updates/main armhf libext2fs-dev armhf 1.44.1-1ubuntu1.1 [226 kB] Get:38 http://ftpmaster.internal/ubuntu bionic-security/main armhf libjpeg-turbo8-dev armhf 1.5.2-0ubuntu5.18.04.1 [199 kB] Get:39 http://ftpmaster.internal/ubuntu bionic/main armhf libjpeg8 armhf 8c-2ubuntu8 [2202 B] Get:40 http://ftpmaster.internal/ubuntu bionic/main armhf libjpeg8-dev armhf 8c-2ubuntu8 [1554 B] Get:41 http://ftpmaster.internal/ubuntu bionic/main armhf libjpeg-dev armhf 8c-2ubuntu8 [1554 B] Get:42 http://ftpmaster.internal/ubuntu bionic-updates/main armhf libtinfo-dev armhf 6.1-1ubuntu1.18.04 [71.1 kB] Get:43 http://ftpmaster.internal/ubuntu bionic-updates/main armhf libncurses5-dev armhf 6.1-1ubuntu1.18.04 [157 kB] Get:44 http://ftpmaster.internal/ubuntu bionic-updates/main armhf libncursesw5-dev armhf 6.1-1ubuntu1.18.04 [181 kB] Get:45 http://ftpmaster.internal/ubuntu bionic/main armhf ntfs-3g-dev armhf 1:2017.3.23-2 [233 kB] Get:46 http://ftpmaster.internal/ubuntu bionic/main armhf pkg-config armhf 0.29.1-0ubuntu2 [42.0 kB] Get:47 http://ftpmaster.internal/ubuntu bionic/main armhf zlib1g-dev armhf 1:1.2.11.dfsg-0ubuntu2 [168 kB] Get:48 http://ftpmaster.internal/ubuntu bionic-updates/main armhf e2fslibs-dev all 1.44.1-1ubuntu1.1 [5204 B] Get:49 http://ftpmaster.internal/ubuntu bionic-updates/main armhf uuid-dev armhf 2.31.1-0.4ubuntu3.3 [32.4 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 17.9 MB in 1s (15.9 MB/s) Selecting previously unselected package libbsd0:armhf. (Reading database ... 12385 files and directories currently installed.) Preparing to unpack .../0-libbsd0_0.8.7-1_armhf.deb ... Unpacking libbsd0:armhf (0.8.7-1) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../1-bsdmainutils_11.1.2ubuntu1_armhf.deb ... Unpacking bsdmainutils (11.1.2ubuntu1) ... Selecting previously unselected package groff-base. Preparing to unpack .../2-groff-base_1.22.3-10_armhf.deb ... Unpacking groff-base (1.22.3-10) ... Selecting previously unselected package libpipeline1:armhf. Preparing to unpack .../3-libpipeline1_1.5.0-1_armhf.deb ... Unpacking libpipeline1:armhf (1.5.0-1) ... Selecting previously unselected package man-db. Preparing to unpack .../4-man-db_2.8.3-2ubuntu0.1_armhf.deb ... Unpacking man-db (2.8.3-2ubuntu0.1) ... Selecting previously unselected package libfuse2:armhf. Preparing to unpack .../5-libfuse2_2.9.7-1ubuntu1_armhf.deb ... Unpacking libfuse2:armhf (2.9.7-1ubuntu1) ... Selecting previously unselected package fuse. Preparing to unpack .../6-fuse_2.9.7-1ubuntu1_armhf.deb ... Unpacking fuse (2.9.7-1ubuntu1) ... Selecting previously unselected package libntfs-3g88. Preparing to unpack .../7-libntfs-3g88_1%3a2017.3.23-2_armhf.deb ... Unpacking libntfs-3g88 (1:2017.3.23-2) ... Setting up libfuse2:armhf (2.9.7-1ubuntu1) ... Setting up fuse (2.9.7-1ubuntu1) ... Selecting previously unselected package ntfs-3g. (Reading database ... 12960 files and directories currently installed.) Preparing to unpack .../00-ntfs-3g_1%3a2017.3.23-2_armhf.deb ... Unpacking ntfs-3g (1:2017.3.23-2) ... Selecting previously unselected package libjpeg-turbo8:armhf. Preparing to unpack .../01-libjpeg-turbo8_1.5.2-0ubuntu5.18.04.1_armhf.deb ... Unpacking libjpeg-turbo8:armhf (1.5.2-0ubuntu5.18.04.1) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../02-libmagic-mgc_1%3a5.32-2ubuntu0.1_armhf.deb ... Unpacking libmagic-mgc (1:5.32-2ubuntu0.1) ... Selecting previously unselected package libmagic1:armhf. Preparing to unpack .../03-libmagic1_1%3a5.32-2ubuntu0.1_armhf.deb ... Unpacking libmagic1:armhf (1:5.32-2ubuntu0.1) ... Selecting previously unselected package file. Preparing to unpack .../04-file_1%3a5.32-2ubuntu0.1_armhf.deb ... Unpacking file (1:5.32-2ubuntu0.1) ... Selecting previously unselected package libglib2.0-0:armhf. Preparing to unpack .../05-libglib2.0-0_2.56.3-0ubuntu0.18.04.1_armhf.deb ... Unpacking libglib2.0-0:armhf (2.56.3-0ubuntu0.18.04.1) ... Selecting previously unselected package libicu60:armhf. Preparing to unpack .../06-libicu60_60.2-3ubuntu3_armhf.deb ... Unpacking libicu60:armhf (60.2-3ubuntu3) ... Selecting previously unselected package libxml2:armhf. Preparing to unpack .../07-libxml2_2.9.4+dfsg1-6.1ubuntu1.2_armhf.deb ... Unpacking libxml2:armhf (2.9.4+dfsg1-6.1ubuntu1.2) ... Selecting previously unselected package gettext-base. Preparing to unpack .../08-gettext-base_0.19.8.1-6ubuntu0.1_armhf.deb ... Unpacking gettext-base (0.19.8.1-6ubuntu0.1) ... Selecting previously unselected package libsigsegv2:armhf. Preparing to unpack .../09-libsigsegv2_2.12-1_armhf.deb ... Unpacking libsigsegv2:armhf (2.12-1) ... Selecting previously unselected package m4. Preparing to unpack .../10-m4_1.4.18-1_armhf.deb ... Unpacking m4 (1.4.18-1) ... Selecting previously unselected package autoconf. Preparing to unpack .../11-autoconf_2.69-11_all.deb ... Unpacking autoconf (2.69-11) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../12-autotools-dev_20180224.1_all.deb ... Unpacking autotools-dev (20180224.1) ... Selecting previously unselected package automake. Preparing to unpack .../13-automake_1%3a1.15.1-3ubuntu2_all.deb ... Unpacking automake (1:1.15.1-3ubuntu2) ... Selecting previously unselected package autopoint. Preparing to unpack .../14-autopoint_0.19.8.1-6ubuntu0.1_all.deb ... Unpacking autopoint (0.19.8.1-6ubuntu0.1) ... Selecting previously unselected package libtool. Preparing to unpack .../15-libtool_2.4.6-2_all.deb ... Unpacking libtool (2.4.6-2) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../16-dh-autoreconf_17_all.deb ... Unpacking dh-autoreconf (17) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../17-libarchive-zip-perl_1.60-1ubuntu0.1_all.deb ... Unpacking libarchive-zip-perl (1.60-1ubuntu0.1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../18-libfile-stripnondeterminism-perl_0.040-1.1~build1_all.deb ... Unpacking libfile-stripnondeterminism-perl (0.040-1.1~build1) ... Selecting previously unselected package libtimedate-perl. Preparing to unpack .../19-libtimedate-perl_2.3000-2_all.deb ... Unpacking libtimedate-perl (2.3000-2) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../20-dh-strip-nondeterminism_0.040-1.1~build1_all.deb ... Unpacking dh-strip-nondeterminism (0.040-1.1~build1) ... Selecting previously unselected package libcroco3:armhf. Preparing to unpack .../21-libcroco3_0.6.12-2_armhf.deb ... Unpacking libcroco3:armhf (0.6.12-2) ... Selecting previously unselected package gettext. Preparing to unpack .../22-gettext_0.19.8.1-6ubuntu0.1_armhf.deb ... Unpacking gettext (0.19.8.1-6ubuntu0.1) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../23-intltool-debian_0.35.0+20060710.4_all.deb ... Unpacking intltool-debian (0.35.0+20060710.4) ... Selecting previously unselected package po-debconf. Preparing to unpack .../24-po-debconf_1.0.20_all.deb ... Unpacking po-debconf (1.0.20) ... Selecting previously unselected package debhelper. Preparing to unpack .../25-debhelper_11.1.6ubuntu2_all.deb ... Unpacking debhelper (11.1.6ubuntu2) ... Selecting previously unselected package comerr-dev:armhf. Preparing to unpack .../26-comerr-dev_2.1-1.44.1-1ubuntu1.1_armhf.deb ... Unpacking comerr-dev:armhf (2.1-1.44.1-1ubuntu1.1) ... Selecting previously unselected package libext2fs-dev. Preparing to unpack .../27-libext2fs-dev_1.44.1-1ubuntu1.1_armhf.deb ... Unpacking libext2fs-dev (1.44.1-1ubuntu1.1) ... Selecting previously unselected package libjpeg-turbo8-dev:armhf. Preparing to unpack .../28-libjpeg-turbo8-dev_1.5.2-0ubuntu5.18.04.1_armhf.deb ... Unpacking libjpeg-turbo8-dev:armhf (1.5.2-0ubuntu5.18.04.1) ... Selecting previously unselected package libjpeg8:armhf. Preparing to unpack .../29-libjpeg8_8c-2ubuntu8_armhf.deb ... Unpacking libjpeg8:armhf (8c-2ubuntu8) ... Selecting previously unselected package libjpeg8-dev:armhf. Preparing to unpack .../30-libjpeg8-dev_8c-2ubuntu8_armhf.deb ... Unpacking libjpeg8-dev:armhf (8c-2ubuntu8) ... Selecting previously unselected package libjpeg-dev:armhf. Preparing to unpack .../31-libjpeg-dev_8c-2ubuntu8_armhf.deb ... Unpacking libjpeg-dev:armhf (8c-2ubuntu8) ... Selecting previously unselected package libtinfo-dev:armhf. Preparing to unpack .../32-libtinfo-dev_6.1-1ubuntu1.18.04_armhf.deb ... Unpacking libtinfo-dev:armhf (6.1-1ubuntu1.18.04) ... Selecting previously unselected package libncurses5-dev:armhf. Preparing to unpack .../33-libncurses5-dev_6.1-1ubuntu1.18.04_armhf.deb ... Unpacking libncurses5-dev:armhf (6.1-1ubuntu1.18.04) ... Selecting previously unselected package libncursesw5-dev:armhf. Preparing to unpack .../34-libncursesw5-dev_6.1-1ubuntu1.18.04_armhf.deb ... Unpacking libncursesw5-dev:armhf (6.1-1ubuntu1.18.04) ... Selecting previously unselected package ntfs-3g-dev. Preparing to unpack .../35-ntfs-3g-dev_1%3a2017.3.23-2_armhf.deb ... Unpacking ntfs-3g-dev (1:2017.3.23-2) ... Selecting previously unselected package pkg-config. Preparing to unpack .../36-pkg-config_0.29.1-0ubuntu2_armhf.deb ... Unpacking pkg-config (0.29.1-0ubuntu2) ... Selecting previously unselected package zlib1g-dev:armhf. Preparing to unpack .../37-zlib1g-dev_1%3a1.2.11.dfsg-0ubuntu2_armhf.deb ... Unpacking zlib1g-dev:armhf (1:1.2.11.dfsg-0ubuntu2) ... Selecting previously unselected package e2fslibs-dev. Preparing to unpack .../38-e2fslibs-dev_1.44.1-1ubuntu1.1_all.deb ... Unpacking e2fslibs-dev (1.44.1-1ubuntu1.1) ... Selecting previously unselected package uuid-dev:armhf. Preparing to unpack .../39-uuid-dev_2.31.1-0.4ubuntu3.3_armhf.deb ... Unpacking uuid-dev:armhf (2.31.1-0.4ubuntu3.3) ... Selecting previously unselected package sbuild-build-depends-testdisk-dummy. Preparing to unpack .../40-sbuild-build-depends-testdisk-dummy_0.invalid.0_armhf.deb ... Unpacking sbuild-build-depends-testdisk-dummy (0.invalid.0) ... Setting up libicu60:armhf (60.2-3ubuntu3) ... Setting up libarchive-zip-perl (1.60-1ubuntu0.1) ... Setting up comerr-dev:armhf (2.1-1.44.1-1ubuntu1.1) ... Setting up libtimedate-perl (2.3000-2) ... Setting up libsigsegv2:armhf (2.12-1) ... Setting up groff-base (1.22.3-10) ... Setting up libglib2.0-0:armhf (2.56.3-0ubuntu0.18.04.1) ... No schema files found: doing nothing. Setting up uuid-dev:armhf (2.31.1-0.4ubuntu3.3) ... Setting up libtinfo-dev:armhf (6.1-1ubuntu1.18.04) ... Setting up libext2fs-dev (1.44.1-1ubuntu1.1) ... Setting up gettext-base (0.19.8.1-6ubuntu0.1) ... Setting up libjpeg-turbo8:armhf (1.5.2-0ubuntu5.18.04.1) ... Setting up libpipeline1:armhf (1.5.0-1) ... Setting up m4 (1.4.18-1) ... Setting up libbsd0:armhf (0.8.7-1) ... Setting up libxml2:armhf (2.9.4+dfsg1-6.1ubuntu1.2) ... Setting up libmagic-mgc (1:5.32-2ubuntu0.1) ... Setting up libmagic1:armhf (1:5.32-2ubuntu0.1) ... Setting up libcroco3:armhf (0.6.12-2) ... Setting up libncurses5-dev:armhf (6.1-1ubuntu1.18.04) ... Setting up pkg-config (0.29.1-0ubuntu2) ... Setting up libjpeg-turbo8-dev:armhf (1.5.2-0ubuntu5.18.04.1) ... Processing triggers for libc-bin (2.27-3ubuntu1) ... Setting up autotools-dev (20180224.1) ... Setting up libncursesw5-dev:armhf (6.1-1ubuntu1.18.04) ... Setting up libntfs-3g88 (1:2017.3.23-2) ... Setting up bsdmainutils (11.1.2ubuntu1) ... 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 e2fslibs-dev (1.44.1-1ubuntu1.1) ... Setting up autopoint (0.19.8.1-6ubuntu0.1) ... Setting up zlib1g-dev:armhf (1:1.2.11.dfsg-0ubuntu2) ... Setting up libfile-stripnondeterminism-perl (0.040-1.1~build1) ... Setting up libjpeg8:armhf (8c-2ubuntu8) ... Setting up gettext (0.19.8.1-6ubuntu0.1) ... Setting up autoconf (2.69-11) ... Setting up file (1:5.32-2ubuntu0.1) ... Setting up intltool-debian (0.35.0+20060710.4) ... Setting up libjpeg8-dev:armhf (8c-2ubuntu8) ... Setting up libjpeg-dev:armhf (8c-2ubuntu8) ... Setting up ntfs-3g (1:2017.3.23-2) ... Setting up automake (1:1.15.1-3ubuntu2) ... update-alternatives: using /usr/bin/automake-1.15 to provide /usr/bin/automake (automake) in auto mode Setting up man-db (2.8.3-2ubuntu0.1) ... Not building database; man-db/auto-update is not 'true'. Setting up libtool (2.4.6-2) ... Setting up po-debconf (1.0.20) ... Setting up ntfs-3g-dev (1:2017.3.23-2) ... Setting up dh-autoreconf (17) ... Setting up debhelper (11.1.6ubuntu2) ... Setting up dh-strip-nondeterminism (0.040-1.1~build1) ... Setting up sbuild-build-depends-testdisk-dummy (0.invalid.0) ... Processing triggers for libc-bin (2.27-3ubuntu1) ... +------------------------------------------------------------------------------+ | Build environment | +------------------------------------------------------------------------------+ Kernel: Linux 4.4.0-142-generic arm64 (armv7l) Toolchain package versions: binutils_2.30-21ubuntu1~18.04 dpkg-dev_1.19.0.5ubuntu2.1 g++-7_7.3.0-27ubuntu1~18.04 gcc-7_7.3.0-27ubuntu1~18.04 libc6-dev_2.27-3ubuntu1 libstdc++-7-dev_7.3.0-27ubuntu1~18.04 libstdc++6_8.2.0-1ubuntu2~18.04 linux-libc-dev_4.15.0-45.48 Package versions: adduser_3.116ubuntu1 advancecomp_2.1-1 apt_1.6.8 autoconf_2.69-11 automake_1:1.15.1-3ubuntu2 autopoint_0.19.8.1-6ubuntu0.1 autotools-dev_20180224.1 base-files_10.1ubuntu2.4 base-passwd_3.5.44 bash_4.4.18-2ubuntu1 binutils_2.30-21ubuntu1~18.04 binutils-arm-linux-gnueabihf_2.30-21ubuntu1~18.04 binutils-common_2.30-21ubuntu1~18.04 bsdmainutils_11.1.2ubuntu1 bsdutils_1:2.31.1-0.4ubuntu3.3 build-essential_12.4ubuntu1 bzip2_1.0.6-8.1 ca-certificates_20180409 comerr-dev_2.1-1.44.1-1ubuntu1.1 coreutils_8.28-1ubuntu1 cpp_4:7.3.0-3ubuntu2.1 cpp-7_7.3.0-27ubuntu1~18.04 dash_0.5.8-2.10 debconf_1.5.66 debhelper_11.1.6ubuntu2 debianutils_4.8.4 dh-autoreconf_17 dh-strip-nondeterminism_0.040-1.1~build1 diffutils_1:3.6-1 dmsetup_2:1.02.145-4.1ubuntu3 dpkg_1.19.0.5ubuntu2.1 dpkg-dev_1.19.0.5ubuntu2.1 e2fslibs_1.44.1-1ubuntu1.1 e2fslibs-dev_1.44.1-1ubuntu1.1 e2fsprogs_1.44.1-1ubuntu1.1 fakeroot_1.22-2ubuntu1 fdisk_2.31.1-0.4ubuntu3.3 file_1:5.32-2ubuntu0.1 findutils_4.6.0+git+20170828-2 fuse_2.9.7-1ubuntu1 g++_4:7.3.0-3ubuntu2.1 g++-7_7.3.0-27ubuntu1~18.04 gcc_4:7.3.0-3ubuntu2.1 gcc-7_7.3.0-27ubuntu1~18.04 gcc-7-base_7.3.0-27ubuntu1~18.04 gcc-8-base_8.2.0-1ubuntu2~18.04 gettext_0.19.8.1-6ubuntu0.1 gettext-base_0.19.8.1-6ubuntu0.1 gpg_2.2.4-1ubuntu1.2 gpg-agent_2.2.4-1ubuntu1.2 gpgconf_2.2.4-1ubuntu1.2 gpgv_2.2.4-1ubuntu1.2 grep_3.1-2 groff-base_1.22.3-10 gzip_1.6-5ubuntu1 hostname_3.20 init_1.51 init-system-helpers_1.51 initscripts_2.88dsf-59.3ubuntu2 insserv_1.14.0-5ubuntu3 intltool-debian_0.35.0+20060710.4 libacl1_2.2.52-3build1 libapparmor1_2.12-4ubuntu5.1 libapt-pkg5.0_1.6.8 libarchive-zip-perl_1.60-1ubuntu0.1 libargon2-0_0~20161029-1.1 libasan4_7.3.0-27ubuntu1~18.04 libassuan0_2.5.1-2 libatomic1_8.2.0-1ubuntu2~18.04 libattr1_1:2.4.47-2build1 libaudit-common_1:2.8.2-1ubuntu1 libaudit1_1:2.8.2-1ubuntu1 libbinutils_2.30-21ubuntu1~18.04 libblkid1_2.31.1-0.4ubuntu3.3 libbsd0_0.8.7-1 libbz2-1.0_1.0.6-8.1 libc-bin_2.27-3ubuntu1 libc-dev-bin_2.27-3ubuntu1 libc6_2.27-3ubuntu1 libc6-dev_2.27-3ubuntu1 libcap-ng0_0.7.7-3.1 libcap2_1:2.25-1.2 libcc1-0_8.2.0-1ubuntu2~18.04 libcilkrts5_7.3.0-27ubuntu1~18.04 libcom-err2_1.44.1-1ubuntu1.1 libcomerr2_1.44.1-1ubuntu1.1 libcroco3_0.6.12-2 libcryptsetup12_2:2.0.2-1ubuntu1.1 libdb5.3_5.3.28-13.1ubuntu1 libdebconfclient0_0.213ubuntu1 libdevmapper1.02.1_2:1.02.145-4.1ubuntu3 libdpkg-perl_1.19.0.5ubuntu2.1 libext2fs-dev_1.44.1-1ubuntu1.1 libext2fs2_1.44.1-1ubuntu1.1 libfakeroot_1.22-2ubuntu1 libfdisk1_2.31.1-0.4ubuntu3.3 libffi6_3.2.1-8 libfile-stripnondeterminism-perl_0.040-1.1~build1 libfuse2_2.9.7-1ubuntu1 libgcc-7-dev_7.3.0-27ubuntu1~18.04 libgcc1_1:8.2.0-1ubuntu2~18.04 libgcrypt20_1.8.1-4ubuntu1.1 libgdbm-compat4_1.14.1-6 libgdbm5_1.14.1-6 libglib2.0-0_2.56.3-0ubuntu0.18.04.1 libgmp10_2:6.1.2+dfsg-2 libgnutls30_3.5.18-1ubuntu1 libgomp1_8.2.0-1ubuntu2~18.04 libgpg-error0_1.27-6 libhogweed4_3.4-1 libicu60_60.2-3ubuntu3 libidn11_1.33-2.1ubuntu1 libidn2-0_2.0.4-1.1build2 libip4tc0_1.6.1-2ubuntu2 libisl19_0.19-1 libjpeg-dev_8c-2ubuntu8 libjpeg-turbo8_1.5.2-0ubuntu5.18.04.1 libjpeg-turbo8-dev_1.5.2-0ubuntu5.18.04.1 libjpeg8_8c-2ubuntu8 libjpeg8-dev_8c-2ubuntu8 libjson-c3_0.12.1-1.3 libkmod2_24-1ubuntu3.2 liblockfile-bin_1.14-1.1 liblockfile1_1.14-1.1 liblz4-1_0.0~r131-2ubuntu3 liblzma5_5.2.2-1.3 libmagic-mgc_1:5.32-2ubuntu0.1 libmagic1_1:5.32-2ubuntu0.1 libmount1_2.31.1-0.4ubuntu3.3 libmpc3_1.1.0-1 libmpfr6_4.0.1-1 libncurses5_6.1-1ubuntu1.18.04 libncurses5-dev_6.1-1ubuntu1.18.04 libncursesw5_6.1-1ubuntu1.18.04 libncursesw5-dev_6.1-1ubuntu1.18.04 libnettle6_3.4-1 libnpth0_1.5-3 libntfs-3g88_1:2017.3.23-2 libp11-kit0_0.23.9-2 libpam-modules_1.1.8-3.6ubuntu2 libpam-modules-bin_1.1.8-3.6ubuntu2 libpam-runtime_1.1.8-3.6ubuntu2 libpam0g_1.1.8-3.6ubuntu2 libpcre3_2:8.39-9 libperl5.26_5.26.1-6ubuntu0.3 libpipeline1_1.5.0-1 libpng16-16_1.6.34-1ubuntu0.18.04.1 libprocps6_2:3.3.12-3ubuntu1.1 libreadline7_7.0-3 libseccomp2_2.3.1-2.1ubuntu4 libselinux1_2.7-2build2 libsemanage-common_2.7-2build2 libsemanage1_2.7-2build2 libsepol1_2.7-1 libsigsegv2_2.12-1 libslang2_2.3.1a-3ubuntu1 libsmartcols1_2.31.1-0.4ubuntu3.3 libsqlite3-0_3.22.0-1 libss2_1.44.1-1ubuntu1.1 libssl1.1_1.1.0g-2ubuntu4.3 libstdc++-7-dev_7.3.0-27ubuntu1~18.04 libstdc++6_8.2.0-1ubuntu2~18.04 libsystemd0_237-3ubuntu10.13 libtasn1-6_4.13-2 libtimedate-perl_2.3000-2 libtinfo-dev_6.1-1ubuntu1.18.04 libtinfo5_6.1-1ubuntu1.18.04 libtool_2.4.6-2 libubsan0_7.3.0-27ubuntu1~18.04 libudev1_237-3ubuntu10.13 libunistring2_0.9.9-0ubuntu1 libusb-0.1-4_2:0.1.12-31 libuuid1_2.31.1-0.4ubuntu3.3 libxml2_2.9.4+dfsg1-6.1ubuntu1.2 libzstd1_1.3.3+dfsg-2ubuntu1 linux-libc-dev_4.15.0-45.48 lockfile-progs_0.1.17build1 login_1:4.5-1ubuntu1 lsb-base_9.20170808ubuntu1 m4_1.4.18-1 make_4.1-9.1ubuntu1 man-db_2.8.3-2ubuntu0.1 mawk_1.3.3-17ubuntu3 mount_2.31.1-0.4ubuntu3.3 multiarch-support_2.27-3ubuntu1 ncurses-base_6.1-1ubuntu1.18.04 ncurses-bin_6.1-1ubuntu1.18.04 ntfs-3g_1:2017.3.23-2 ntfs-3g-dev_1:2017.3.23-2 openssl_1.1.0g-2ubuntu4.3 optipng_0.7.6-1.1 passwd_1:4.5-1ubuntu1 patch_2.7.6-2ubuntu1 perl_5.26.1-6ubuntu0.3 perl-base_5.26.1-6ubuntu0.3 perl-modules-5.26_5.26.1-6ubuntu0.3 pinentry-curses_1.1.0-1 pkg-config_0.29.1-0ubuntu2 pkgbinarymangler_138.18.04.0 po-debconf_1.0.20 policyrcd-script-zg2_0.1-3 procps_2:3.3.12-3ubuntu1.1 readline-common_7.0-3 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-testdisk-dummy_0.invalid.0 sed_4.4-2 sensible-utils_0.0.12 systemd_237-3ubuntu10.13 systemd-sysv_237-3ubuntu10.13 sysv-rc_2.88dsf-59.3ubuntu2 sysvinit-utils_2.88dsf-59.10ubuntu1 tar_1.29b-2ubuntu0.1 tzdata_2018i-0ubuntu0.18.04 ubuntu-keyring_2018.09.18.1~18.04.0 util-linux_2.31.1-0.4ubuntu3.3 uuid-dev_2.31.1-0.4ubuntu3.3 xz-utils_5.2.2-1.3 zlib1g_1:1.2.11.dfsg-0ubuntu2 zlib1g-dev_1:1.2.11.dfsg-0ubuntu2 +------------------------------------------------------------------------------+ | Build | +------------------------------------------------------------------------------+ Unpack source ------------- gpgv: Signature made Sun Dec 3 02:53:47 2017 UTC gpgv: using RSA key E66C775AEBFE6C7D gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./testdisk_7.0-3build2.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-3build2.debian.tar.xz dpkg-source: info: applying 01-reproducible-builds.patch dpkg-source: info: applying 01-fix_convertion_macro Check disc space ---------------- Sufficient free space for build User Environment ---------------- APT_CONFIG=/var/lib/sbuild/apt.conf DEB_BUILD_OPTIONS=noautodbgsym parallel=4 HOME=/sbuild-nonexistent LANG=C.UTF-8 LC_ALL=C.UTF-8 LOGNAME=buildd PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games SCHROOT_ALIAS_NAME=build-PACKAGEBUILD-16090457 SCHROOT_CHROOT_NAME=build-PACKAGEBUILD-16090457 SCHROOT_COMMAND=env SCHROOT_GID=2501 SCHROOT_GROUP=buildd SCHROOT_SESSION_ID=build-PACKAGEBUILD-16090457 SCHROOT_UID=2001 SCHROOT_USER=buildd SHELL=/bin/sh TERM=unknown USER=buildd V=1 dpkg-buildpackage ----------------- dpkg-buildpackage: info: source package testdisk dpkg-buildpackage: info: source version 7.0-3build2 dpkg-buildpackage: info: source distribution bionic dpkg-source --before-build testdisk-7.0 dpkg-buildpackage: info: host architecture armhf 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 '/<>' dh_auto_clean dh_auto_clean: Compatibility levels before 9 are deprecated (level 8 in use) rm -f src/*.d make[1]: Leaving directory '/<>' dh_clean dh_clean: Compatibility levels before 9 are deprecated (level 8 in use) debian/rules build-arch dh build-arch --with autoreconf dh: Compatibility levels before 9 are deprecated (level 8 in use) dh_update_autotools_config -a dh_autoreconf -a debian/rules override_dh_auto_configure make[1]: Entering directory '/<>' 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=arm-linux-gnueabihf --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... arm-unknown-linux-gnueabihf checking host system type... arm-unknown-linux-gnueabihf checking target system type... arm-unknown-linux-gnueabihf 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 for style of include used by make... GNU 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... 64 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 '/<>' dh_auto_build -a dh_auto_build: Compatibility levels before 9 are deprecated (level 8 in use) make -j1 make[1]: Entering directory '/<>' make all-recursive make[2]: Entering directory '/<>' Making all in icons make[3]: Entering directory '/<>/icons' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/<>/icons' Making all in man make[3]: Entering directory '/<>/man' Making all in zh_CN make[4]: Entering directory '/<>/man/zh_CN' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/<>/man/zh_CN' make[4]: Entering directory '/<>/man' make[4]: Nothing to be done for 'all-am'. make[4]: Leaving directory '/<>/man' make[3]: Leaving directory '/<>/man' Making all in src make[3]: Entering directory '/<>/src' gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: 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 ‘compute_device_size’: hdaccess.c:1028:54: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(pread(hd_h, buffer, sector_size, max_offset) == sector_size) ^~ hdaccess.c:1038:53: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(pread(hd_h, buffer, sector_size, cur_offset) == sector_size) ^~ hdaccess.c:1048:51: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(pread(hd_h, buffer, sector_size, min_offset) == sector_size) ^~ hdaccess.c: In function ‘file_pread_aux’: hdaccess.c:1205:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(ret!=count) ^~ hdaccess.c: In function ‘file_pwrite_aux’: hdaccess.c:1277:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(ret!=count) ^~ 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) ^~~ hdaccess.c: In function ‘file_test_availability’: hdaccess.c:1521:41: warning: cast increases required alignment of target type [-Wcast-align] if(memcmp(buffer,"DOSEMU",6)==0 && *(unsigned long*)(buffer+11)>0) ^ hdaccess.c:1524:33: warning: cast increases required alignment of target type [-Wcast-align] disk_car->geom.cylinders=*(unsigned long*)(buffer+15); ^ hdaccess.c:1525:42: warning: cast increases required alignment of target type [-Wcast-align] disk_car->geom.heads_per_cylinder=*(unsigned long*)(buffer+7); ^ hdaccess.c:1526:40: warning: cast increases required alignment of target type [-Wcast-align] disk_car->geom.sectors_per_head=*(unsigned long*)(buffer+11); ^ hdaccess.c:1528:25: warning: cast increases required alignment of target type [-Wcast-align] disk_car->offset=*(unsigned long*)(buffer+19); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ hpa_dco.c: In function ‘sg_read_native_max_ext’: hpa_dco.c:143:24: warning: cast increases required alignment of target type [-Wcast-align] const uint16_t *word=(const uint16_t*)(sb + 10); ^ hpa_dco.c: In function ‘sg_device_configuration_identify’: hpa_dco.c:198:18: warning: cast increases required alignment of target type [-Wcast-align] uint16_t *word=(uint16_t*)&data; ^ hpa_dco.c: In function ‘disk_get_hpa_dco’: hpa_dco.c:269:26: warning: cast increases required alignment of target type [-Wcast-align] const uint16_t *id_val=(const uint16_t *) & id_args[4]; ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from iso.c:34:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: 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:862:0, from misc.c:30: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:64: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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from parti386.c:46:0: 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:0: 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:0: 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:0: 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:0: sun.h:75:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from parti386.c:58:0: partgpt.h:47:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from parti386.c:59:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from partgpt.c:51:0: partgpt.h:47:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from partgpt.c:53:0: 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:0: 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:0: 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:0: 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 ‘read_part_gpt_aux’: partgpt.c:276:15: warning: cast increases required alignment of target type [-Wcast-align] gpt_entry=(const struct gpt_ent*)((const char*)gpt_entries + (unsigned long)i*le32(gpt->hdr_entsz)); ^ partgpt.c:289:42: warning: cast increases required alignment of target type [-Wcast-align] UCSle2str(new_partition->partname, (const uint16_t *)&gpt_entry->ent_name, sizeof(gpt_entry->ent_name)/2); ^ 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: 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:114:7: warning: cast increases required alignment of target type [-Wcast-align] p32=(uint32_t*)buffer; ^ 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from partmac.c:45:0: 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:0: 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 ‘read_part_mac’: partmac.c:119:26: warning: cast increases required alignment of target type [-Wcast-align] mac_Block0 *maclabel=(mac_Block0*)&buffer; ^ partmac.c:129:20: warning: cast increases required alignment of target type [-Wcast-align] mac_DPME *dpme=(mac_DPME *)buffer; ^ 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from partsun.c:43:0: sun.h:75:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from partsun.c:48:0: 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 ‘get_geometry_from_sunmbr’: partsun.c:114:33: warning: cast increases required alignment of target type [-Wcast-align] const sun_disklabel *sunlabel=(const sun_disklabel*)buffer; ^ partsun.c: In function ‘read_part_sun’: partsun.c:140:12: warning: cast increases required alignment of target type [-Wcast-align] sunlabel=(sun_disklabel*)buffer; ^ 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from partnone.c:44:0: 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:0: 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:0: 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:0: fatx.h:33:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from partnone.c:51:0: iso9660.h:62:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from partnone.c:54:0: 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:0: 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:0: 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:0: sun.h:75:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from partnone.c:66:0: sysv.h:119:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from partnone.c:68:0: 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:0: xfs.h:107:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from partnone.c:70:0: 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:0: 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 ‘read_part_none’: partnone.c:273:36: warning: cast increases required alignment of target type [-Wcast-align] const struct ext2_super_block *sb=(const struct ext2_super_block*)buffer_disk; ^ 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from partxbox.c:42:0: partxbox.h:32:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from partxbox.c:44:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from analyse.c:35:0: 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:0: 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:0: 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:0: fatx.h:33:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from analyse.c:42:0: 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:0: 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:0: 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:0: sun.h:75:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from analyse.c:55:0: sysv.h:119:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from analyse.c:56:0: 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:0: 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:0: wbfs.h:39:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from analyse.c:59:0: xfs.h:107:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ analyse.c: In function ‘search_HFS_backup’: analyse.c:84:30: warning: cast increases required alignment of target type [-Wcast-align] const struct hfsp_vh *vh=(const struct hfsp_vh *)buffer; ^ analyse.c: In function ‘search_type_0’: analyse.c:136:23: warning: cast increases required alignment of target type [-Wcast-align] const pv_disk_t *pv=(const pv_disk_t *)buffer; ^ analyse.c:137:37: warning: cast increases required alignment of target type [-Wcast-align] const struct cramfs_super *cramfs=(const struct cramfs_super *)buffer; ^ analyse.c:139:44: warning: cast increases required alignment of target type [-Wcast-align] const struct disk_netware *netware_block=(const struct disk_netware *)buffer; ^ analyse.c:142:32: warning: cast increases required alignment of target type [-Wcast-align] const struct luks_phdr *luks=(const struct luks_phdr *)buffer; ^ analyse.c:143:38: warning: cast increases required alignment of target type [-Wcast-align] const struct mdp_superblock_1 *sb1=(const struct mdp_superblock_1 *)buffer; ^ analyse.c:147:40: warning: cast increases required alignment of target type [-Wcast-align] const union swap_header *swap_header=(const union swap_header *)buffer; ^ analyse.c:197:24: warning: cast increases required alignment of target type [-Wcast-align] recover_MD(disk, (const struct mdp_superblock_s*)buffer, partition, verbose, dump_ind)==0) ^ analyse.c: In function ‘search_type_1’: analyse.c:218:38: warning: cast increases required alignment of target type [-Wcast-align] const struct disklabel *bsd_header=(const struct disklabel *)(buffer+0x200); ^ analyse.c:219:45: warning: cast increases required alignment of target type [-Wcast-align] const struct disk_super_block *beos_block=(const struct disk_super_block*)(buffer+0x200); ^ analyse.c:220:37: warning: cast increases required alignment of target type [-Wcast-align] const struct cramfs_super *cramfs=(const struct cramfs_super *)(buffer+0x200); ^ analyse.c: In function ‘search_type_2’: analyse.c:258:28: warning: cast increases required alignment of target type [-Wcast-align] const struct hfsp_vh *vh=(const struct hfsp_vh *)(buffer+0x400); ^ analyse.c:259:37: warning: cast increases required alignment of target type [-Wcast-align] const struct ext2_super_block *sb=(const struct ext2_super_block*)(buffer+0x400); ^ analyse.c: In function ‘search_type_8’: analyse.c:290:40: warning: cast increases required alignment of target type [-Wcast-align] const struct mdp_superblock_1 *sb1=(const struct mdp_superblock_1 *)buffer; ^ analyse.c:292:26: warning: cast increases required alignment of target type [-Wcast-align] recover_MD(disk, (const struct mdp_superblock_s*)buffer, partition, verbose, dump_ind)==0) ^ analyse.c: In function ‘search_type_16’: analyse.c:313:40: warning: cast increases required alignment of target type [-Wcast-align] const struct vdev_boot_header *zfs=(const struct vdev_boot_header*)buffer; ^ analyse.c: In function ‘search_type_64’: analyse.c:337:38: warning: cast increases required alignment of target type [-Wcast-align] const struct jfs_superblock* jfs=(const struct jfs_superblock*)(buffer+0x200); ^ analyse.c: In function ‘search_type_128’: analyse.c:361:32: warning: cast increases required alignment of target type [-Wcast-align] const struct gfs2_sb *gfs2=(const struct gfs2_sb *)buffer; ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ bfs.c: In function ‘check_BeFS’: bfs.c:49:25: warning: cast increases required alignment of target type [-Wcast-align] if(test_BeFS(disk_car,(struct disk_super_block*)buffer,partition,0)!=0) ^ bfs.c:54:17: warning: cast increases required alignment of target type [-Wcast-align] set_BeFS_info((struct disk_super_block*)buffer, partition); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ bsd.c: In function ‘check_BSD’: bsd.c:47:24: warning: cast increases required alignment of target type [-Wcast-align] if(test_BSD(disk_car,(const struct disklabel*)buffer,partition,verbose,0,max_partitions)) ^ bsd.c:52:28: warning: cast increases required alignment of target type [-Wcast-align] set_part_name(partition,((const struct disklabel*)buffer)->d_packname,16); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from btrfs.c:35:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ cramfs.c: In function ‘check_cramfs’: cramfs.c:48:30: warning: cast increases required alignment of target type [-Wcast-align] if(test_cramfs(disk_car, (struct cramfs_super*)buffer, partition, verbose)==0) ^ cramfs.c:50:23: warning: cast increases required alignment of target type [-Wcast-align] set_cramfs_info((struct cramfs_super*)buffer, partition); ^ cramfs.c:57:30: warning: cast increases required alignment of target type [-Wcast-align] if(test_cramfs(disk_car, (struct cramfs_super*)buffer, partition, verbose)==0) ^ cramfs.c:59:23: warning: cast increases required alignment of target type [-Wcast-align] set_cramfs_info((struct cramfs_super*)buffer, partition); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from exfat.c:35:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from fat.c:40:0: 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 fat.c:39:0: fat.c: In function ‘get_next_cluster’: fat.c:259:32: warning: cast increases required alignment of target type [-Wcast-align] next_cluster=le16((*((uint16_t*)&buffer[offset_o])))>>4; ^ common.h:443:19: note: in definition of macro ‘le16’ #define le16(x) (x) /* x as little endian */ ^ fat.c:261:31: warning: cast increases required alignment of target type [-Wcast-align] next_cluster=le16(*((uint16_t*)&buffer[offset_o]))&0x0FFF; ^ common.h:443:19: note: in definition of macro ‘le16’ #define le16(x) (x) /* x as little endian */ ^ fat.c:270:29: warning: cast increases required alignment of target type [-Wcast-align] const uint16_t *p16=(const uint16_t*)buffer; ^ fat.c:289:29: warning: cast increases required alignment of target type [-Wcast-align] const uint32_t *p32=(const uint32_t*)buffer; ^ fat.c: In function ‘set_next_cluster’: fat.c:352:12: warning: cast increases required alignment of target type [-Wcast-align] (*((uint16_t*)&buffer[offset_o]))=le16((next_cluster<<4) | (le16(*((uint16_t*)&buffer[offset_o]))&0xF)); ^ In file included from fat.c:39:0: fat.c:352:76: warning: cast increases required alignment of target type [-Wcast-align] (*((uint16_t*)&buffer[offset_o]))=le16((next_cluster<<4) | (le16(*((uint16_t*)&buffer[offset_o]))&0xF)); ^ common.h:443:19: note: in definition of macro ‘le16’ #define le16(x) (x) /* x as little endian */ ^ fat.c:352:69: note: in expansion of macro ‘le16’ (*((uint16_t*)&buffer[offset_o]))=le16((next_cluster<<4) | (le16(*((uint16_t*)&buffer[offset_o]))&0xF)); ^~~~ fat.c:354:12: warning: cast increases required alignment of target type [-Wcast-align] (*((uint16_t*)&buffer[offset_o]))=le16((next_cluster) | (le16(*((uint16_t*)&buffer[offset_o]))&0xF000)); ^ In file included from fat.c:39:0: fat.c:354:74: warning: cast increases required alignment of target type [-Wcast-align] (*((uint16_t*)&buffer[offset_o]))=le16((next_cluster) | (le16(*((uint16_t*)&buffer[offset_o]))&0xF000)); ^ common.h:443:19: note: in definition of macro ‘le16’ #define le16(x) (x) /* x as little endian */ ^ fat.c:354:67: note: in expansion of macro ‘le16’ (*((uint16_t*)&buffer[offset_o]))=le16((next_cluster) | (le16(*((uint16_t*)&buffer[offset_o]))&0xF000)); ^~~~ fat.c:358:23: warning: cast increases required alignment of target type [-Wcast-align] uint16_t *p16=(uint16_t*)buffer; ^ fat.c:364:23: warning: cast increases required alignment of target type [-Wcast-align] uint32_t *p32=(uint32_t*)buffer; ^ fat.c: In function ‘fat32_get_prev_cluster’: fat.c:392:7: warning: cast increases required alignment of target type [-Wcast-align] p32=(const uint32_t*)buffer; ^ fat.c: In function ‘fat32_free_info’: fat.c:1036:7: warning: cast increases required alignment of target type [-Wcast-align] p32=(const uint32_t*)buffer; ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from fat_common.c:31:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from fatx.c:31:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ ext2.c: In function ‘check_EXT2’: ext2.c:51:16: warning: cast increases required alignment of target type [-Wcast-align] if(test_EXT2((struct ext2_super_block*)buffer, partition)!=0) ^ ext2.c:56:17: warning: cast increases required alignment of target type [-Wcast-align] set_EXT2_info((struct ext2_super_block*)buffer, partition, verbose); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ jfs.c: In function ‘check_JFS’: jfs.c:51:25: warning: cast increases required alignment of target type [-Wcast-align] if(test_JFS(disk_car, (struct jfs_superblock*)buffer, partition,0)!=0) ^ jfs.c:56:16: warning: cast increases required alignment of target type [-Wcast-align] set_JFS_info((struct jfs_superblock*)buffer, partition); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: 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) ^~ gfs2.c: In function ‘check_gfs2’: gfs2.c:70:22: warning: cast increases required alignment of target type [-Wcast-align] if(test_gfs2(disk, (const struct gfs2_sb *)buffer, partition,0)!=0) ^ gfs2.c:75:17: warning: cast increases required alignment of target type [-Wcast-align] set_gfs2_info((const struct gfs2_sb *)buffer, partition); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from hfs.c:34:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ hfsp.c: In function ‘check_HFSP’: hfsp.c:59:25: warning: cast increases required alignment of target type [-Wcast-align] if(test_HFSP(disk_car,(struct hfsp_vh *)buffer,partition,verbose,0)!=0) ^ hfsp.c:64:28: warning: cast increases required alignment of target type [-Wcast-align] set_HFSP_info(partition, (const struct hfsp_vh *)buffer); ^ hfsp.c:67:26: warning: cast increases required alignment of target type [-Wcast-align] test_HFSP(disk_car,(struct hfsp_vh *)buffer,partition,verbose,0)==0) ^ hfsp.c: In function ‘recover_HFSP’: hfsp.c:98:21: warning: cast increases required alignment of target type [-Wcast-align] test_HFSP(disk_car,(struct hfsp_vh *)buffer,partition,verbose,0)==0) ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from hpfs.c:33:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ luks.c: In function ‘check_LUKS’: luks.c:50:26: warning: cast increases required alignment of target type [-Wcast-align] if(test_LUKS(disk_car, (struct luks_phdr*)buffer, partition, 0)!=0) ^ luks.c:55:17: warning: cast increases required alignment of target type [-Wcast-align] set_LUKS_info((struct luks_phdr*)buffer, partition); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ lvm.c: In function ‘check_LVM’: lvm.c:54:24: warning: cast increases required alignment of target type [-Wcast-align] if(test_LVM(disk_car,(pv_disk_t *)buffer,partition,verbose,0)!=0) ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ md.c: In function ‘check_MD’: md.c:49:40: warning: cast increases required alignment of target type [-Wcast-align] const struct mdp_superblock_1 *sb1=(const struct mdp_superblock_1 *)buffer; ^ md.c:53:20: warning: cast increases required alignment of target type [-Wcast-align] test_MD(disk_car, (struct mdp_superblock_s*)buffer, partition, 0)==0) ^ md.c:56:19: warning: cast increases required alignment of target type [-Wcast-align] set_MD_info((struct mdp_superblock_s*)buffer, partition, verbose); ^ md.c:63:30: warning: cast increases required alignment of target type [-Wcast-align] test_MD_be(disk_car, (struct mdp_superblock_s*)buffer, partition, 0)==0) ^ md.c:66:22: warning: cast increases required alignment of target type [-Wcast-align] set_MD_info_be((struct mdp_superblock_s*)buffer, partition, verbose); ^ md.c:74:40: warning: cast increases required alignment of target type [-Wcast-align] const struct mdp_superblock_1 *sb1=(const struct mdp_superblock_1 *)buffer; ^ md.c:78:27: warning: cast increases required alignment of target type [-Wcast-align] test_MD(disk_car, (struct mdp_superblock_s*)buffer, partition, 0)==0) ^ md.c:81:19: warning: cast increases required alignment of target type [-Wcast-align] set_MD_info((struct mdp_superblock_s*)buffer, partition, verbose); ^ md.c:88:30: warning: cast increases required alignment of target type [-Wcast-align] test_MD_be(disk_car, (struct mdp_superblock_s*)buffer, partition, 0)==0) ^ md.c:91:22: warning: cast increases required alignment of target type [-Wcast-align] set_MD_info_be((struct mdp_superblock_s*)buffer, partition, verbose); ^ md.c:98:39: warning: cast increases required alignment of target type [-Wcast-align] const struct mdp_superblock_s *sb=(const struct mdp_superblock_s *)buffer; ^ md.c:108:22: warning: cast increases required alignment of target type [-Wcast-align] test_MD(disk_car, (struct mdp_superblock_s*)buffer, partition, 0)==0) ^ md.c:111:21: warning: cast increases required alignment of target type [-Wcast-align] set_MD_info((struct mdp_superblock_s*)buffer, partition, verbose); ^ md.c:117:25: warning: cast increases required alignment of target type [-Wcast-align] test_MD_be(disk_car, (struct mdp_superblock_s*)buffer, partition, 0)==0) ^ md.c:120:24: warning: cast increases required alignment of target type [-Wcast-align] set_MD_info_be((struct mdp_superblock_s*)buffer, partition, verbose); ^ md.c:136:42: warning: cast increases required alignment of target type [-Wcast-align] const struct mdp_superblock_1 *sb1=(const struct mdp_superblock_1 *)buffer; ^ md.c:140:29: warning: cast increases required alignment of target type [-Wcast-align] test_MD(disk_car, (struct mdp_superblock_s*)buffer, partition, 0)==0) ^ md.c:143:21: warning: cast increases required alignment of target type [-Wcast-align] set_MD_info((struct mdp_superblock_s*)buffer, partition, verbose); ^ md.c:150:32: warning: cast increases required alignment of target type [-Wcast-align] test_MD_be(disk_car, (struct mdp_superblock_s*)buffer, partition, 0)==0) ^ md.c:153:24: warning: cast increases required alignment of target type [-Wcast-align] set_MD_info_be((struct mdp_superblock_s*)buffer, partition, verbose); ^ md.c: In function ‘recover_MD_from_partition’: md.c:171:30: warning: cast increases required alignment of target type [-Wcast-align] if(recover_MD(disk_car,(struct mdp_superblock_s*)buffer,partition,verbose,0)==0) ^ md.c:184:42: warning: cast increases required alignment of target type [-Wcast-align] const struct mdp_superblock_1 *sb1=(const struct mdp_superblock_1 *)buffer; ^ md.c:186:31: warning: cast increases required alignment of target type [-Wcast-align] recover_MD(disk_car,(struct mdp_superblock_s*)buffer,partition,verbose,0)==0) ^ md.c: In function ‘recover_MD’: md.c:215:42: warning: cast increases required alignment of target type [-Wcast-align] const struct mdp_superblock_1 *sb1=(const struct mdp_superblock_1 *)sb; ^ md.c:235:42: warning: cast increases required alignment of target type [-Wcast-align] const struct mdp_superblock_1 *sb1=(const struct mdp_superblock_1 *)sb; ^ md.c: In function ‘set_MD_info’: md.c:274:40: warning: cast increases required alignment of target type [-Wcast-align] const struct mdp_superblock_1 *sb1=(const struct mdp_superblock_1 *)sb; ^ md.c: In function ‘set_MD_info_be’: md.c:337:40: warning: cast increases required alignment of target type [-Wcast-align] const struct mdp_superblock_1 *sb1=(const struct mdp_superblock_1 *)sb; ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ netware.c: In function ‘check_netware’: netware.c:55:19: warning: cast increases required alignment of target type [-Wcast-align] if(test_netware((const struct disk_netware *)buffer, partition)!=0) ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from ntfs.c:42:0: 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_getattributeheaders’: ntfs.c:195:10: warning: cast increases required alignment of target type [-Wcast-align] return (const ntfs_attribheader *)location; ^ ntfs.c: In function ‘ntfs_searchattribute’: ntfs.c:204:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] le32(attrib->type)!= -1) ^~ ntfs.c:217:12: warning: cast increases required alignment of target type [-Wcast-align] attrib=(const ntfs_attribheader*)((const char*)attrib + attr_len); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from rfs.c:36:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from sun.c:36:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ swap.c: In function ‘check_Linux_SWAP’: swap.c:50:22: warning: cast increases required alignment of target type [-Wcast-align] if(test_Linux_SWAP((union swap_header*)buffer, partition)!=0) ^ swap.c:55:23: warning: cast increases required alignment of target type [-Wcast-align] set_Linux_SWAP_info((union swap_header*)buffer,partition); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from sysv.c:36:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from ufs.c:36:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from vmfs.c:36:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from wbfs.c:36:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from xfs.c:36:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ zfs.c: In function ‘check_ZFS’: zfs.c:50:21: warning: cast increases required alignment of target type [-Wcast-align] if(test_ZFS(disk, (struct vdev_boot_header*)buffer, partition, 0)!=0) ^ zfs.c:55:16: warning: cast increases required alignment of target type [-Wcast-align] set_ZFS_info((struct vdev_boot_header*)buffer, partition); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from addpart.c:31:0: partgpt.h:47:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from addpart.c:35:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from addpartn.c:32:0: partgpt.h:47:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from addpartn.c:35:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from adv.c:46:0: 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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: 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); ^~~~~~~~~~~~~~ In file included from askloc.c:56:0: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ askloc.c:352:25: note: in expansion of macro ‘td_list_entry’ file_info=td_list_entry(file_walker, file_info_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ askloc.c:352:25: note: in expansion of macro ‘td_list_entry’ file_info=td_list_entry(file_walker, file_info_t, list); ^~~~~~~~~~~~~ list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ askloc.c:522:13: note: in expansion of macro ‘td_list_entry’ file_info=td_list_entry(current_file, file_info_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ askloc.c:522:13: note: in expansion of macro ‘td_list_entry’ file_info=td_list_entry(current_file, file_info_t, list); ^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from chgtypen.c:45:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from dir.h:30:0, from dirn.c:41: dirn.c: In function ‘dir_aff_ncurses’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ dirn.c:129:34: note: in expansion of macro ‘td_list_entry’ const file_info_t *current_file=td_list_entry(file_walker, file_info_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ dirn.c:129:34: note: in expansion of macro ‘td_list_entry’ const file_info_t *current_file=td_list_entry(file_walker, file_info_t, list); ^~~~~~~~~~~~~ list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ dirn.c:326:22: note: in expansion of macro ‘td_list_entry’ selected_file=td_list_entry(pos, file_info_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ dirn.c:326:22: note: in expansion of macro ‘td_list_entry’ selected_file=td_list_entry(pos, file_info_t, list); ^~~~~~~~~~~~~ list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ dirn.c:342:20: note: in expansion of macro ‘td_list_entry’ file_info_t *tmp=td_list_entry(tmpw, file_info_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ dirn.c:342:20: note: in expansion of macro ‘td_list_entry’ file_info_t *tmp=td_list_entry(tmpw, file_info_t, list); ^~~~~~~~~~~~~ list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ dirn.c:370:25: note: in expansion of macro ‘td_list_entry’ file_info_t *tmp=td_list_entry(pos, file_info_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ dirn.c:370:25: note: in expansion of macro ‘td_list_entry’ file_info_t *tmp=td_list_entry(pos, file_info_t, list); ^~~~~~~~~~~~~ list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ dirn.c:407:25: note: in expansion of macro ‘td_list_entry’ file_info_t *tmp=td_list_entry(pos, file_info_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ dirn.c:407:25: note: in expansion of macro ‘td_list_entry’ file_info_t *tmp=td_list_entry(pos, file_info_t, list); ^~~~~~~~~~~~~ list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ dirn.c:468:22: note: in expansion of macro ‘td_list_entry’ file_info_t *tmp=td_list_entry(tmpw, file_info_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ dirn.c:468:22: note: in expansion of macro ‘td_list_entry’ file_info_t *tmp=td_list_entry(tmpw, file_info_t, list); ^~~~~~~~~~~~~ list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ dirn.c:505:12: note: in expansion of macro ‘td_list_entry’ tmp=td_list_entry(pos, file_info_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ dirn.c:505:12: note: in expansion of macro ‘td_list_entry’ tmp=td_list_entry(pos, file_info_t, list); ^~~~~~~~~~~~~ list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ dirn.c:510:7: note: in expansion of macro ‘td_list_entry’ tmp=td_list_entry(pos, file_info_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ dirn.c:510:7: note: in expansion of macro ‘td_list_entry’ tmp=td_list_entry(pos, file_info_t, list); ^~~~~~~~~~~~~ list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ dirn.c:527:12: note: in expansion of macro ‘td_list_entry’ tmp=td_list_entry(pos, file_info_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ dirn.c:527:12: note: in expansion of macro ‘td_list_entry’ tmp=td_list_entry(pos, file_info_t, list); ^~~~~~~~~~~~~ list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ dirn.c:533:7: note: in expansion of macro ‘td_list_entry’ tmp=td_list_entry(pos, file_info_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ dirn.c:533:7: note: in expansion of macro ‘td_list_entry’ tmp=td_list_entry(pos, file_info_t, list); ^~~~~~~~~~~~~ list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ dirn.c:550:12: note: in expansion of macro ‘td_list_entry’ tmp=td_list_entry(pos, file_info_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ dirn.c:550:12: note: in expansion of macro ‘td_list_entry’ tmp=td_list_entry(pos, file_info_t, list); ^~~~~~~~~~~~~ list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ dirn.c:556:7: note: in expansion of macro ‘td_list_entry’ tmp=td_list_entry(pos, file_info_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ dirn.c:556:7: note: in expansion of macro ‘td_list_entry’ tmp=td_list_entry(pos, file_info_t, list); ^~~~~~~~~~~~~ list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ dirn.c:574:22: note: in expansion of macro ‘td_list_entry’ file_info_t *tmp=td_list_entry(tmpw, file_info_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ dirn.c:574:22: note: in expansion of macro ‘td_list_entry’ file_info_t *tmp=td_list_entry(tmpw, file_info_t, list); ^~~~~~~~~~~~~ dirn.c: In function ‘copy_dir’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ dirn.c:682:18: note: in expansion of macro ‘td_list_entry’ current_file=td_list_entry(file_walker, file_info_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ dirn.c:682:18: note: in expansion of macro ‘td_list_entry’ current_file=td_list_entry(file_walker, file_info_t, list); ^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from dirpart.c:35:0: 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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ ext2_sbn.c: In function ‘search_superblock’: ext2_sbn.c:88:31: warning: cast increases required alignment of target type [-Wcast-align] struct ext2_super_block *sb=(struct ext2_super_block *)buffer; ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from fat1x.c:39:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from fat32.c:40:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from fat_adv.c:43:0: 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 dir.h:30:0, from fat_adv.c:49: fat_adv.c: In function ‘ask_root_directory’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ fat_adv.c:208:39: note: in expansion of macro ‘td_list_entry’ const file_info_t *current_file=td_list_entry(file_walker, file_info_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ fat_adv.c:208:39: note: in expansion of macro ‘td_list_entry’ const file_info_t *current_file=td_list_entry(file_walker, file_info_t, list); ^~~~~~~~~~~~~ fat_adv.c: In function ‘fat32_find_root_cluster’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ fat_adv.c:385:39: note: in expansion of macro ‘td_list_entry’ const file_info_t *first_entry=td_list_entry(&dir_list.list, file_info_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ fat_adv.c:385:39: note: in expansion of macro ‘td_list_entry’ const file_info_t *first_entry=td_list_entry(&dir_list.list, file_info_t, list); ^~~~~~~~~~~~~ list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ fat_adv.c:508:33: note: in expansion of macro ‘td_list_entry’ const file_info_t *file1=td_list_entry(dir_list.list.next, file_info_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ fat_adv.c:508:33: note: in expansion of macro ‘td_list_entry’ const file_info_t *file1=td_list_entry(dir_list.list.next, file_info_t, list); ^~~~~~~~~~~~~ list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ fat_adv.c:509:33: note: in expansion of macro ‘td_list_entry’ const file_info_t *file2=td_list_entry(file1->list.next, file_info_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ fat_adv.c:509:33: note: in expansion of macro ‘td_list_entry’ const file_info_t *file2=td_list_entry(file1->list.next, file_info_t, list); ^~~~~~~~~~~~~ fat_adv.c: In function ‘fat32_create_rootdir’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ fat_adv.c:656:37: note: in expansion of macro ‘td_list_entry’ const file_info_t *current_file=td_list_entry(file_walker, file_info_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ fat_adv.c:656:37: note: in expansion of macro ‘td_list_entry’ const file_info_t *current_file=td_list_entry(file_walker, file_info_t, list); ^~~~~~~~~~~~~ fat_adv.c: In function ‘analyse_dir_entries2’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ fat_adv.c:850:37: note: in expansion of macro ‘td_list_entry’ const file_info_t *current_file=td_list_entry(file_walker, file_info_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ fat_adv.c:850:37: note: in expansion of macro ‘td_list_entry’ const file_info_t *current_file=td_list_entry(file_walker, file_info_t, list); ^~~~~~~~~~~~~ fat_adv.c: In function ‘fat_find_fat_start’: fat_adv.c:1435:25: warning: cast increases required alignment of target type [-Wcast-align] const uint16_t *p16=(const uint16_t*)buffer; ^ fat_adv.c:1495:25: warning: cast increases required alignment of target type [-Wcast-align] const uint32_t *p32=(const uint32_t*)buffer; ^ fat_adv.c: In function ‘repair_FAT_table’: fat_adv.c:2622:27: warning: cast increases required alignment of target type [-Wcast-align] uint32_t *p32=(uint32_t*)buffer_fat[fat_nbr]; ^ fat_adv.c:2636:27: warning: cast increases required alignment of target type [-Wcast-align] uint16_t *p16=(uint16_t*)buffer_fat[fat_nbr]; ^ In file included from fat_adv.c:42:0: fat_adv.c:2647:36: warning: cast increases required alignment of target type [-Wcast-align] next_cluster=le16((*((uint16_t*)&buffer_fat[fat_nbr][offset_o])))>>4; ^ common.h:443:19: note: in definition of macro ‘le16’ #define le16(x) (x) /* x as little endian */ ^ fat_adv.c:2649:35: warning: cast increases required alignment of target type [-Wcast-align] next_cluster=le16(*((uint16_t*)&buffer_fat[fat_nbr][offset_o]))&0x0FFF; ^ common.h:443:19: note: in definition of macro ‘le16’ #define le16(x) (x) /* x as little endian */ ^ fat_adv.c:2653:19: warning: cast increases required alignment of target type [-Wcast-align] *((uint16_t*)&buffer_fat[fat_nbr][offset_o])=le16((FAT12_EOC<<4)|(le16((*((uint16_t*)&buffer_fat[fat_nbr][offset_o])))&0x0F)); ^ In file included from fat_adv.c:42:0: fat_adv.c:2653:91: warning: cast increases required alignment of target type [-Wcast-align] *((uint16_t*)&buffer_fat[fat_nbr][offset_o])=le16((FAT12_EOC<<4)|(le16((*((uint16_t*)&buffer_fat[fat_nbr][offset_o])))&0x0F)); ^ common.h:443:19: note: in definition of macro ‘le16’ #define le16(x) (x) /* x as little endian */ ^ fat_adv.c:2653:83: note: in expansion of macro ‘le16’ *((uint16_t*)&buffer_fat[fat_nbr][offset_o])=le16((FAT12_EOC<<4)|(le16((*((uint16_t*)&buffer_fat[fat_nbr][offset_o])))&0x0F)); ^~~~ fat_adv.c:2655:19: warning: cast increases required alignment of target type [-Wcast-align] *((uint16_t*)&buffer_fat[fat_nbr][offset_o])=le16(FAT12_EOC |(le16((*((uint16_t*)&buffer_fat[fat_nbr][offset_o])))&0xF000)); ^ In file included from fat_adv.c:42:0: fat_adv.c:2655:91: warning: cast increases required alignment of target type [-Wcast-align] *((uint16_t*)&buffer_fat[fat_nbr][offset_o])=le16(FAT12_EOC |(le16((*((uint16_t*)&buffer_fat[fat_nbr][offset_o])))&0xF000)); ^ common.h:443:19: note: in definition of macro ‘le16’ #define le16(x) (x) /* x as little endian */ ^ fat_adv.c:2655:83: note: in expansion of macro ‘le16’ *((uint16_t*)&buffer_fat[fat_nbr][offset_o])=le16(FAT12_EOC |(le16((*((uint16_t*)&buffer_fat[fat_nbr][offset_o])))&0xF000)); ^~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from fat_cluster.c:40:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from fatn.c:33:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ geometryn.c: In function ‘change_geometry_ncurses’: geometryn.c:114:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (tmp_val > 0 && tmp_val <= MAX_HEADS) { ^~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from godmode.c:42:0: 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; ^ godmode.c: In function ‘search_part’: godmode.c:658:39: warning: cast increases required alignment of target type [-Wcast-align] if(recover_MD(disk_car, (const struct mdp_superblock_s*)buffer_disk, partition, verbose, dump_ind)==0) ^ godmode.c:660:52: warning: cast increases required alignment of target type [-Wcast-align] const struct mdp_superblock_1 *sb1=(const struct mdp_superblock_1 *)buffer_disk; ^ godmode.c:750:39: warning: cast increases required alignment of target type [-Wcast-align] const struct ext2_super_block *sb=(const struct ext2_super_block*)buffer_disk; ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from ntfs_adv.c:39:0: 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:38: warning: signed and unsigned type in conditional expression [-Wsign-compare] mft_record_size / cluster_size : -(testdisk_ffs(mft_record_size) - 1)); ^ ntfs_adv.c:325:39: warning: signed and unsigned type in conditional expression [-Wsign-compare] index_block_size / cluster_size : -(testdisk_ffs(index_block_size) - 1)); ^ ntfs_adv.c: In function ‘read_mft_info’: ntfs_adv.c:378:10: warning: cast increases required alignment of target type [-Wcast-align] attr80=(const ntfs_attribnonresident *)ntfs_findattribute(record, 0x80, buffer+sizeof(buffer)); ^ ntfs_adv.c:390:10: warning: cast increases required alignment of target type [-Wcast-align] attr80=(const ntfs_attribnonresident *)ntfs_findattribute(record, 0x80, buffer+sizeof(buffer)); ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from ntfs_fix.c:40:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from ntfs_udl.c:69:0: ntfs_udl.c: In function ‘free_file’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ ntfs_udl.c:189:26: note: in expansion of macro ‘td_list_entry’ struct filename *f = td_list_entry(item, struct filename, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ ntfs_udl.c:189:26: note: in expansion of macro ‘td_list_entry’ struct filename *f = td_list_entry(item, struct filename, list); ^~~~~~~~~~~~~ list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ ntfs_udl.c:196:22: note: in expansion of macro ‘td_list_entry’ struct data *d = td_list_entry(item, struct data, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ ntfs_udl.c:196:22: note: in expansion of macro ‘td_list_entry’ struct data *d = td_list_entry(item, struct data, list); ^~~~~~~~~~~~~ ntfs_udl.c: In function ‘get_data’: ntfs_udl.c:480:22: warning: cast increases required alignment of target type [-Wcast-align] data->uname = (ntfschar *) ((char *) rec + le16_to_cpu(rec->name_offset)); ^ In file included from ntfs_udl.c:69:0: ntfs_udl.c: In function ‘calc_percentage’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ ntfs_udl.c:637:11: note: in expansion of macro ‘td_list_entry’ data = td_list_entry(pos, struct data, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ ntfs_udl.c:637:11: note: in expansion of macro ‘td_list_entry’ data = td_list_entry(pos, struct data, list); ^~~~~~~~~~~~~ ntfs_udl.c: In function ‘undelete_file’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ ntfs_udl.c:904:20: note: in expansion of macro ‘td_list_entry’ struct data *d = td_list_entry(item, struct data, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ ntfs_udl.c:904:20: note: in expansion of macro ‘td_list_entry’ struct data *d = td_list_entry(item, struct data, list); ^~~~~~~~~~~~~ ntfs_udl.c: In function ‘scan_disk’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ ntfs_udl.c:1166:33: note: in expansion of macro ‘td_list_entry’ const struct data *d = td_list_entry(item, struct data, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ ntfs_udl.c:1166:33: note: in expansion of macro ‘td_list_entry’ const struct data *d = td_list_entry(item, struct data, list); ^~~~~~~~~~~~~ ntfs_udl.c: In function ‘ntfs_next_non_deleted’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ ntfs_udl.c:1198:15: note: in expansion of macro ‘td_list_entry’ file_info=td_list_entry(walker, file_info_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ ntfs_udl.c:1198:15: note: in expansion of macro ‘td_list_entry’ file_info=td_list_entry(walker, file_info_t, list); ^~~~~~~~~~~~~ ntfs_udl.c: In function ‘ntfs_prev_non_deleted’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ ntfs_udl.c:1212:15: note: in expansion of macro ‘td_list_entry’ file_info=td_list_entry(walker, file_info_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ ntfs_udl.c:1212:15: note: in expansion of macro ‘td_list_entry’ file_info=td_list_entry(walker, file_info_t, list); ^~~~~~~~~~~~~ ntfs_udl.c: In function ‘ntfs_undelete_menu_ncurses’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ ntfs_udl.c:1249:12: note: in expansion of macro ‘td_list_entry’ file_info=td_list_entry(file_walker, file_info_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ ntfs_udl.c:1249:12: note: in expansion of macro ‘td_list_entry’ file_info=td_list_entry(file_walker, file_info_t, list); ^~~~~~~~~~~~~ list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ ntfs_udl.c:1411:16: note: in expansion of macro ‘td_list_entry’ file_info=td_list_entry(current_file, file_info_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ ntfs_udl.c:1411:16: note: in expansion of macro ‘td_list_entry’ file_info=td_list_entry(current_file, file_info_t, list); ^~~~~~~~~~~~~ list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ ntfs_udl.c:1415:18: note: in expansion of macro ‘td_list_entry’ file_info=td_list_entry(file_walker, file_info_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ ntfs_udl.c:1415:18: note: in expansion of macro ‘td_list_entry’ file_info=td_list_entry(file_walker, file_info_t, list); ^~~~~~~~~~~~~ list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ ntfs_udl.c:1430:13: note: in expansion of macro ‘td_list_entry’ file_info=td_list_entry(file_walker, file_info_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ ntfs_udl.c:1430:13: note: in expansion of macro ‘td_list_entry’ file_info=td_list_entry(file_walker, file_info_t, list); ^~~~~~~~~~~~~ list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ ntfs_udl.c:1444:16: note: in expansion of macro ‘td_list_entry’ file_info=td_list_entry(file_walker, file_info_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ ntfs_udl.c:1444:16: note: in expansion of macro ‘td_list_entry’ file_info=td_list_entry(file_walker, file_info_t, list); ^~~~~~~~~~~~~ list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ ntfs_udl.c:1458:13: note: in expansion of macro ‘td_list_entry’ file_info=td_list_entry(file_walker, file_info_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ ntfs_udl.c:1458:13: note: in expansion of macro ‘td_list_entry’ file_info=td_list_entry(file_walker, file_info_t, list); ^~~~~~~~~~~~~ list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ ntfs_udl.c:1471:16: note: in expansion of macro ‘td_list_entry’ file_info=td_list_entry(current_file, file_info_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ ntfs_udl.c:1471:16: note: in expansion of macro ‘td_list_entry’ file_info=td_list_entry(current_file, file_info_t, list); ^~~~~~~~~~~~~ list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ ntfs_udl.c:1484:16: note: in expansion of macro ‘td_list_entry’ file_info=td_list_entry(current_file, file_info_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ ntfs_udl.c:1484:16: note: in expansion of macro ‘td_list_entry’ file_info=td_list_entry(current_file, file_info_t, list); ^~~~~~~~~~~~~ list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ ntfs_udl.c:1556:18: note: in expansion of macro ‘td_list_entry’ file_info=td_list_entry(file_walker, file_info_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ ntfs_udl.c:1556:18: note: in expansion of macro ‘td_list_entry’ file_info=td_list_entry(file_walker, file_info_t, list); ^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from texfat.c:39:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from thfs.c:39:0: 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__)); ^ thfs.c: In function ‘HFS_HFSP_boot_sector’: thfs.c:127:34: warning: cast increases required alignment of target type [-Wcast-align] else if(test_HFSP(disk_car,(const struct hfsp_vh*)buffer_bs,partition,verbose,0)==0) ^ thfs.c:147:34: warning: cast increases required alignment of target type [-Wcast-align] else if(test_HFSP(disk_car,(const struct hfsp_vh*)buffer_backup_bs,partition,verbose,0)==0) ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from savehdr.h:26:0, from tload.c:46: tload.c: In function ‘interface_load_ncurses’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ tload.c:102:9: note: in expansion of macro ‘td_list_entry’ backup=td_list_entry(backup_walker, backup_disk_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ tload.c:102:9: note: in expansion of macro ‘td_list_entry’ backup=td_list_entry(backup_walker, backup_disk_t, list); ^~~~~~~~~~~~~ tload.c: In function ‘interface_load’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ tload.c:204:12: note: in expansion of macro ‘td_list_entry’ backup=td_list_entry(backup_walker, backup_disk_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ tload.c:204:12: note: in expansion of macro ‘td_list_entry’ backup=td_list_entry(backup_walker, backup_disk_t, list); ^~~~~~~~~~~~~ list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ tload.c:215:12: note: in expansion of macro ‘td_list_entry’ backup=td_list_entry(backup_current, backup_disk_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ tload.c:215:12: note: in expansion of macro ‘td_list_entry’ backup=td_list_entry(backup_current, backup_disk_t, list); ^~~~~~~~~~~~~ list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ tload.c:228:14: note: in expansion of macro ‘td_list_entry’ backup=td_list_entry(backup_walker, backup_disk_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ tload.c:228:14: note: in expansion of macro ‘td_list_entry’ backup=td_list_entry(backup_walker, backup_disk_t, list); ^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from tntfs.c:39:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from dir.h:30:0, from dir.c:45: dir.c: In function ‘dir_aff_log’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ dir.c:162:37: note: in expansion of macro ‘td_list_entry’ const file_info_t *current_file=td_list_entry(file_walker, file_info_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ dir.c:162:37: note: in expansion of macro ‘td_list_entry’ const file_info_t *current_file=td_list_entry(file_walker, file_info_t, list); ^~~~~~~~~~~~~ dir.c: In function ‘log_list_file’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ dir.c:219:37: note: in expansion of macro ‘td_list_entry’ const file_info_t *current_file=td_list_entry(tmp, file_info_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ dir.c:219:37: note: in expansion of macro ‘td_list_entry’ const file_info_t *current_file=td_list_entry(tmp, file_info_t, list); ^~~~~~~~~~~~~ dir.c: In function ‘delete_list_file’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ dir.c:259:9: note: in expansion of macro ‘td_list_entry’ tmp=td_list_entry(file_walker, file_info_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ dir.c:259:9: note: in expansion of macro ‘td_list_entry’ tmp=td_list_entry(file_walker, file_info_t, list); ^~~~~~~~~~~~~ dir.c: In function ‘dir_whole_partition_log_aux’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ dir.c:289:37: note: in expansion of macro ‘td_list_entry’ const file_info_t *current_file=td_list_entry(file_walker, file_info_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ dir.c:289:37: note: in expansion of macro ‘td_list_entry’ const file_info_t *current_file=td_list_entry(file_walker, file_info_t, list); ^~~~~~~~~~~~~ dir.c: In function ‘filesort’: list.h:235:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((const char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ dir.c:329:29: note: in expansion of macro ‘td_list_entry_const’ const file_info_t *file_a=td_list_entry_const(a, const file_info_t, list); ^~~~~~~~~~~~~~~~~~~ list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((const char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ dir.c:329:29: note: in expansion of macro ‘td_list_entry_const’ const file_info_t *file_a=td_list_entry_const(a, const file_info_t, list); ^~~~~~~~~~~~~~~~~~~ list.h:235:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((const char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ dir.c:330:29: note: in expansion of macro ‘td_list_entry_const’ const file_info_t *file_b=td_list_entry_const(b, const file_info_t, list); ^~~~~~~~~~~~~~~~~~~ list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((const char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ dir.c:330:29: note: in expansion of macro ‘td_list_entry_const’ const file_info_t *file_b=td_list_entry_const(b, const file_info_t, list); ^~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from exfat_dir.c:46:0: 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:0: 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)) ^ exfat_dir.c: In function ‘exfat_get_next_cluster’: exfat_dir.c:115:23: warning: cast increases required alignment of target type [-Wcast-align] const uint32_t *p32=(const uint32_t*)buffer; ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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 ext2_dir.c:42:0: 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_write_blk64’: ext2_dir.c:194:30: warning: cast increases required alignment of target type [-Wcast-align] const my_data_t *my_data=(const my_data_t*)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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from fat_dir.c:43:0: 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__)); ^ fat_dir.c: In function ‘dir_fat_aux’: fat_dir.c:102:10: warning: cast increases required alignment of target type [-Wcast-align] ds = (const struct msdos_dir_slot *) de; ^ fat_dir.c:109:12: warning: cast increases required alignment of target type [-Wcast-align] ds = (const struct msdos_dir_slot *) de; ^ fat_dir.c:126:12: warning: cast increases required alignment of target type [-Wcast-align] ds = (const struct msdos_dir_slot *) de_initial; ^ fat_dir.c:160:10: warning: cast increases required alignment of target type [-Wcast-align] ds = (const struct msdos_dir_slot *) de; ^ fat_dir.c:191:7: warning: cast increases required alignment of target type [-Wcast-align] ds = (const struct msdos_dir_slot *) de; ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from ntfs_dir.c:73:0: 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:263:20: warning: cast increases required alignment of target type [-Wcast-align] if (ntfs_ucstombs((ntfschar *) ((char *) rec + le16_to_cpu(rec->name_offset)), ^ 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from partgptw.c:46:0: partgpt.h:47:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ partgptw.c: In function ‘partition_generate_gpt_entry’: partgptw.c:88:13: warning: cast increases required alignment of target type [-Wcast-align] str2UCSle((uint16_t *)&gpt_entry->ent_name, partition->partname, sizeof(gpt_entry->ent_name)/2); ^ 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from rfs_dir.c:46:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -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,-Bsymbolic-functions -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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from dir.h:30:0, from photorec.c:47: photorec.c: In function ‘file_block_log’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:80:33: note: in expansion of macro ‘td_list_entry’ const alloc_list_t *element=td_list_entry(tmp, alloc_list_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:80:33: note: in expansion of macro ‘td_list_entry’ const alloc_list_t *element=td_list_entry(tmp, alloc_list_t, list); ^~~~~~~~~~~~~ photorec.c: In function ‘update_search_space_aux’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:108:26: note: in expansion of macro ‘td_list_entry’ current_search_space=td_list_entry(search_walker, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:108:26: note: in expansion of macro ‘td_list_entry’ current_search_space=td_list_entry(search_walker, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:136:35: note: in expansion of macro ‘td_list_entry’ *new_current_search_space=td_list_entry(current_search_space->list.next, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:136:35: note: in expansion of macro ‘td_list_entry’ *new_current_search_space=td_list_entry(current_search_space->list.next, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:155:37: note: in expansion of macro ‘td_list_entry’ *new_current_search_space=td_list_entry(current_search_space->list.next, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:155:37: note: in expansion of macro ‘td_list_entry’ *new_current_search_space=td_list_entry(current_search_space->list.next, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:165:35: note: in expansion of macro ‘td_list_entry’ *new_current_search_space=td_list_entry(current_search_space->list.next, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:165:35: note: in expansion of macro ‘td_list_entry’ *new_current_search_space=td_list_entry(current_search_space->list.next, alloc_data_t, list); ^~~~~~~~~~~~~ photorec.c: In function ‘free_list_search_space’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:232:26: note: in expansion of macro ‘td_list_entry’ current_search_space=td_list_entry(search_walker, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:232:26: note: in expansion of macro ‘td_list_entry’ current_search_space=td_list_entry(search_walker, alloc_data_t, list); ^~~~~~~~~~~~~ photorec.c: In function ‘get_prev_location’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:293:16: note: in expansion of macro ‘td_list_entry’ file_space=td_list_entry(file_space->list.prev, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:293:16: note: in expansion of macro ‘td_list_entry’ file_space=td_list_entry(file_space->list.prev, alloc_data_t, list); ^~~~~~~~~~~~~ photorec.c: In function ‘get_prev_file_header’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:313:16: note: in expansion of macro ‘td_list_entry’ file_space=td_list_entry(file_space->list.prev, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:313:16: note: in expansion of macro ‘td_list_entry’ file_space=td_list_entry(file_space->list.prev, alloc_data_t, list); ^~~~~~~~~~~~~ photorec.c: In function ‘forget’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:342:11: note: in expansion of macro ‘td_list_entry’ tmp=td_list_entry(search_walker, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:342:11: note: in expansion of macro ‘td_list_entry’ tmp=td_list_entry(search_walker, alloc_data_t, list); ^~~~~~~~~~~~~ photorec.c: In function ‘update_stats’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:381:26: note: in expansion of macro ‘td_list_entry’ current_search_space=td_list_entry(search_walker, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:381:26: note: in expansion of macro ‘td_list_entry’ current_search_space=td_list_entry(search_walker, alloc_data_t, list); ^~~~~~~~~~~~~ photorec.c: In function ‘find_blocksize’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:454:12: note: in expansion of macro ‘td_list_entry’ *offset=(td_list_entry(list_search_space->list.next, alloc_data_t, list))->start % blocksize; ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:454:12: note: in expansion of macro ‘td_list_entry’ *offset=(td_list_entry(list_search_space->list.next, alloc_data_t, list))->start % blocksize; ^~~~~~~~~~~~~ list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:460:31: note: in expansion of macro ‘td_list_entry’ const alloc_data_t *tmp=td_list_entry(search_walker, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:460:31: note: in expansion of macro ‘td_list_entry’ const alloc_data_t *tmp=td_list_entry(search_walker, alloc_data_t, list); ^~~~~~~~~~~~~ photorec.c: In function ‘update_blocksize’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:484:26: note: in expansion of macro ‘td_list_entry’ current_search_space=td_list_entry(search_walker, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:484:26: note: in expansion of macro ‘td_list_entry’ current_search_space=td_list_entry(search_walker, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:490:40: note: in expansion of macro ‘td_list_entry’ alloc_data_t *current_search_space=td_list_entry(search_walker, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:490:40: note: in expansion of macro ‘td_list_entry’ alloc_data_t *current_search_space=td_list_entry(search_walker, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:494:39: note: in expansion of macro ‘td_list_entry’ alloc_data_t *prev_search_space=td_list_entry(search_walker_prev, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:494:39: note: in expansion of macro ‘td_list_entry’ alloc_data_t *prev_search_space=td_list_entry(search_walker_prev, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:518:40: note: in expansion of macro ‘td_list_entry’ alloc_data_t *current_search_space=td_list_entry(search_walker, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:518:40: note: in expansion of macro ‘td_list_entry’ alloc_data_t *current_search_space=td_list_entry(search_walker, alloc_data_t, list); ^~~~~~~~~~~~~ photorec.c: In function ‘file_block_free’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:538:21: note: in expansion of macro ‘td_list_entry’ allocated_space=td_list_entry(tmp, alloc_list_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:538:21: note: in expansion of macro ‘td_list_entry’ allocated_space=td_list_entry(tmp, alloc_list_t, list); ^~~~~~~~~~~~~ photorec.c: In function ‘info_list_search_space’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:685:9: note: in expansion of macro ‘td_list_entry’ tmp=td_list_entry(search_walker, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:685:9: note: in expansion of macro ‘td_list_entry’ tmp=td_list_entry(search_walker, alloc_data_t, list); ^~~~~~~~~~~~~ photorec.c: In function ‘free_search_space’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:716:26: note: in expansion of macro ‘td_list_entry’ current_search_space=td_list_entry(search_walker, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:716:26: note: in expansion of macro ‘td_list_entry’ current_search_space=td_list_entry(search_walker, alloc_data_t, list); ^~~~~~~~~~~~~ photorec.c: In function ‘set_search_start_aux’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:748:26: note: in expansion of macro ‘td_list_entry’ current_search_space=td_list_entry(search_walker, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:748:26: note: in expansion of macro ‘td_list_entry’ current_search_space=td_list_entry(search_walker, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:757:29: note: in expansion of macro ‘td_list_entry’ *new_current_search_space=td_list_entry(search_walker, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:757:29: note: in expansion of macro ‘td_list_entry’ *new_current_search_space=td_list_entry(search_walker, alloc_data_t, list); ^~~~~~~~~~~~~ photorec.c: In function ‘set_search_start’: photorec.c:763:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(params->offset!=-1) ^~ In file included from dir.h:30:0, from photorec.c:47: photorec.c: In function ‘file_block_remove_from_sp_aux’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:893:31: note: in expansion of macro ‘td_list_entry’ *new_current_search_space=td_list_entry(tmp->list.next, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:893:31: note: in expansion of macro ‘td_list_entry’ *new_current_search_space=td_list_entry(tmp->list.next, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:902:31: note: in expansion of macro ‘td_list_entry’ *new_current_search_space=td_list_entry(tmp->list.next, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:902:31: note: in expansion of macro ‘td_list_entry’ *new_current_search_space=td_list_entry(tmp->list.next, alloc_data_t, list); ^~~~~~~~~~~~~ photorec.c: In function ‘file_block_remove_from_sp’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:928:9: note: in expansion of macro ‘td_list_entry’ tmp=td_list_entry(search_walker, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:928:9: note: in expansion of macro ‘td_list_entry’ tmp=td_list_entry(search_walker, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:935:9: note: in expansion of macro ‘td_list_entry’ tmp=td_list_entry(search_walker, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:935:9: note: in expansion of macro ‘td_list_entry’ tmp=td_list_entry(search_walker, alloc_data_t, list); ^~~~~~~~~~~~~ photorec.c: In function ‘file_block_add_to_file’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:946:24: note: in expansion of macro ‘td_list_entry’ alloc_list_t *prev=td_list_entry(list->list.prev, alloc_list_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:946:24: note: in expansion of macro ‘td_list_entry’ alloc_list_t *prev=td_list_entry(list->list.prev, alloc_list_t, list); ^~~~~~~~~~~~~ photorec.c: In function ‘file_block_truncate_aux’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:976:9: note: in expansion of macro ‘td_list_entry’ tmp=td_list_entry(search_walker, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:976:9: note: in expansion of macro ‘td_list_entry’ tmp=td_list_entry(search_walker, alloc_data_t, list); ^~~~~~~~~~~~~ photorec.c: In function ‘file_block_truncate_zero_aux’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:1022:9: note: in expansion of macro ‘td_list_entry’ tmp=td_list_entry(search_walker, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:1022:9: note: in expansion of macro ‘td_list_entry’ tmp=td_list_entry(search_walker, alloc_data_t, list); ^~~~~~~~~~~~~ photorec.c: In function ‘file_block_truncate_zero’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:1063:27: note: in expansion of macro ‘td_list_entry’ alloc_list_t *element=td_list_entry(tmp, alloc_list_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:1063:27: note: in expansion of macro ‘td_list_entry’ alloc_list_t *element=td_list_entry(tmp, alloc_list_t, list); ^~~~~~~~~~~~~ photorec.c: In function ‘file_block_truncate’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:1084:27: note: in expansion of macro ‘td_list_entry’ alloc_list_t *element=td_list_entry(tmp, alloc_list_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:1084:27: note: in expansion of macro ‘td_list_entry’ alloc_list_t *element=td_list_entry(tmp, alloc_list_t, list); ^~~~~~~~~~~~~ photorec.c: In function ‘file_offset_end’: list.h:235:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((const char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:1111:31: note: in expansion of macro ‘td_list_entry_const’ const alloc_list_t *element=td_list_entry_const(tmp, const alloc_list_t, list); ^~~~~~~~~~~~~~~~~~~ list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((const char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:1111:31: note: in expansion of macro ‘td_list_entry_const’ const alloc_list_t *element=td_list_entry_const(tmp, const alloc_list_t, list); ^~~~~~~~~~~~~~~~~~~ photorec.c: In function ‘file_block_move’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:1121:27: note: in expansion of macro ‘td_list_entry’ alloc_data_t *element=td_list_entry(tmp, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ photorec.c:1121:27: note: in expansion of macro ‘td_list_entry’ alloc_data_t *element=td_list_entry(tmp, alloc_data_t, list); ^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from exfatp.c:35:0: 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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ ext2grp.c: In function ‘ext2_fix_group’: ext2grp.c:60:39: warning: cast increases required alignment of target type [-Wcast-align] const struct ext2_super_block *sb=(const struct ext2_super_block *)buffer; ^ In file included from ext2grp.c:31:0: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ ext2grp.c:65:28: note: in expansion of macro ‘td_list_entry’ current_search_space=td_list_entry(search_walker, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ ext2grp.c:65:28: note: in expansion of macro ‘td_list_entry’ current_search_space=td_list_entry(search_walker, alloc_data_t, list); ^~~~~~~~~~~~~ ext2grp.c: In function ‘ext2_fix_inode’: ext2grp.c:97:39: warning: cast increases required alignment of target type [-Wcast-align] const struct ext2_super_block *sb=(const struct ext2_super_block *)buffer; ^ In file included from ext2grp.c:31:0: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ ext2grp.c:103:28: note: in expansion of macro ‘td_list_entry’ current_search_space=td_list_entry(search_walker, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ ext2grp.c:103:28: note: in expansion of macro ‘td_list_entry’ current_search_space=td_list_entry(search_walker, alloc_data_t, list); ^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from fatp.c:35:0: 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 fatp.c:31:0: fatp.c: In function ‘fat12_remove_used_space’: fatp.c:69:28: warning: cast increases required alignment of target type [-Wcast-align] next_cluster=le16((*((uint16_t*)&buffer[offset_o])))>>4; ^ common.h:443:19: note: in definition of macro ‘le16’ #define le16(x) (x) /* x as little endian */ ^ fatp.c:71:27: warning: cast increases required alignment of target type [-Wcast-align] next_cluster=le16(*((uint16_t*)&buffer[offset_o]))&0x0FFF; ^ common.h:443:19: note: in definition of macro ‘le16’ #define le16(x) (x) /* x as little endian */ ^ fatp.c: In function ‘fat16_remove_used_space’: fatp.c:101:7: warning: cast increases required alignment of target type [-Wcast-align] p16=(const uint16_t*)buffer; ^ fatp.c: In function ‘fat32_remove_used_space’: fatp.c:145:7: warning: cast increases required alignment of target type [-Wcast-align] p32=(uint32_t*)buffer; ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from ntfsp.c:51:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from pdisksel.c:33:0: pdisksel.c: In function ‘photorec_disk_selection_cli’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ pdisksel.c:56:28: note: in expansion of macro ‘td_list_entry’ current_search_space=td_list_entry(search_walker, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ pdisksel.c:56:28: note: in expansion of macro ‘td_list_entry’ current_search_space=td_list_entry(search_walker, alloc_data_t, list); ^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from filegen.h:28:0, from phcli.c:36: phcli.c: In function ‘spacerange_cmp’: list.h:235:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((const char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ phcli.c:48:31: note: in expansion of macro ‘td_list_entry_const’ const alloc_data_t *space_a=td_list_entry_const(a, const alloc_data_t, list); ^~~~~~~~~~~~~~~~~~~ list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((const char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ phcli.c:48:31: note: in expansion of macro ‘td_list_entry_const’ const alloc_data_t *space_a=td_list_entry_const(a, const alloc_data_t, list); ^~~~~~~~~~~~~~~~~~~ list.h:235:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((const char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ phcli.c:49:31: note: in expansion of macro ‘td_list_entry_const’ const alloc_data_t *space_b=td_list_entry_const(b, const alloc_data_t, list); ^~~~~~~~~~~~~~~~~~~ list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((const char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ phcli.c:49:31: note: in expansion of macro ‘td_list_entry_const’ const alloc_data_t *space_b=td_list_entry_const(b, const alloc_data_t, list); ^~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: 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 between signed and unsigned integer expressions [-Wsign-compare] if(params->status!=STATUS_FIND_OFFSET && params->offset!=-1) ^~ In file included from filegen.h:28:0, from sessionp.c:48: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ sessionp.c:298:26: note: in expansion of macro ‘td_list_entry’ current_free_space=td_list_entry(free_walker, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ sessionp.c:298:26: note: in expansion of macro ‘td_list_entry’ current_free_space=td_list_entry(free_walker, alloc_data_t, list); ^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from dir.h:30:0, from dfxml.c:54: dfxml.c: In function ‘xml_log_file_recovered’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ dfxml.c:320:33: note: in expansion of macro ‘td_list_entry’ const alloc_list_t *element=td_list_entry(tmp, alloc_list_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ dfxml.c:320:33: note: in expansion of macro ‘td_list_entry’ const alloc_list_t *element=td_list_entry(tmp, alloc_list_t, list); ^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from fat_unformat.c:44:0: 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 dir.h:30:0, from fat_unformat.c:43: pnext.h: In function ‘get_next_header’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ pnext.h:37:27: note: in expansion of macro ‘td_list_entry’ *current_search_space=td_list_entry((*current_search_space)->list.next, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ pnext.h:37:27: note: in expansion of macro ‘td_list_entry’ *current_search_space=td_list_entry((*current_search_space)->list.next, alloc_data_t, list); ^~~~~~~~~~~~~ pnext.h: In function ‘get_prev_header’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ pnext.h:78:27: note: in expansion of macro ‘td_list_entry’ *current_search_space=td_list_entry((*current_search_space)->list.prev, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ pnext.h:78:27: note: in expansion of macro ‘td_list_entry’ *current_search_space=td_list_entry((*current_search_space)->list.prev, alloc_data_t, list); ^~~~~~~~~~~~~ fat_unformat.c: In function ‘pfind_sectors_per_cluster’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ fat_unformat.c:71:24: note: in expansion of macro ‘td_list_entry’ current_search_space=td_list_entry(list_search_space->list.next, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ fat_unformat.c:71:24: note: in expansion of macro ‘td_list_entry’ current_search_space=td_list_entry(list_search_space->list.next, alloc_data_t, list); ^~~~~~~~~~~~~ fat_unformat.c: In function ‘fat_unformat_aux’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ fat_unformat.c:233:24: note: in expansion of macro ‘td_list_entry’ current_search_space=td_list_entry(list_search_space->list.prev, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ fat_unformat.c:233:24: note: in expansion of macro ‘td_list_entry’ current_search_space=td_list_entry(list_search_space->list.prev, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ fat_unformat.c:240:24: note: in expansion of macro ‘td_list_entry’ current_search_space=td_list_entry(list_search_space->list.next, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ fat_unformat.c:240:24: note: in expansion of macro ‘td_list_entry’ current_search_space=td_list_entry(list_search_space->list.next, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ fat_unformat.c:267:36: note: in expansion of macro ‘td_list_entry’ const file_info_t *current_file=td_list_entry(file_walker, file_info_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ fat_unformat.c:267:36: note: in expansion of macro ‘td_list_entry’ const file_info_t *current_file=td_list_entry(file_walker, file_info_t, list); ^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from dir.h:30:0, from phbf.c:57: pnext.h: In function ‘get_next_header’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ pnext.h:37:27: note: in expansion of macro ‘td_list_entry’ *current_search_space=td_list_entry((*current_search_space)->list.next, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ pnext.h:37:27: note: in expansion of macro ‘td_list_entry’ *current_search_space=td_list_entry((*current_search_space)->list.next, alloc_data_t, list); ^~~~~~~~~~~~~ pnext.h: In function ‘get_prev_header’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ pnext.h:78:27: note: in expansion of macro ‘td_list_entry’ *current_search_space=td_list_entry((*current_search_space)->list.prev, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ pnext.h:78:27: note: in expansion of macro ‘td_list_entry’ *current_search_space=td_list_entry((*current_search_space)->list.prev, alloc_data_t, list); ^~~~~~~~~~~~~ phbf.c: In function ‘next_file’: list.h:235:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((const char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ phbf.c:106:9: note: in expansion of macro ‘td_list_entry_const’ tmp=td_list_entry_const(tmp_walker, const alloc_data_t, list); ^~~~~~~~~~~~~~~~~~~ list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((const char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ phbf.c:106:9: note: in expansion of macro ‘td_list_entry_const’ tmp=td_list_entry_const(tmp_walker, const alloc_data_t, list); ^~~~~~~~~~~~~~~~~~~ phbf.c: In function ‘get_offset_next_file’: list.h:235:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((const char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ phbf.c:121:9: note: in expansion of macro ‘td_list_entry_const’ tmp=td_list_entry_const(tmp_walker, const alloc_data_t, list); ^~~~~~~~~~~~~~~~~~~ list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((const char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ phbf.c:121:9: note: in expansion of macro ‘td_list_entry_const’ tmp=td_list_entry_const(tmp_walker, const alloc_data_t, list); ^~~~~~~~~~~~~~~~~~~ phbf.c: In function ‘photorec_bf’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ phbf.c:158:28: note: in expansion of macro ‘td_list_entry’ current_search_space=td_list_entry(search_walker, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ phbf.c:158:28: note: in expansion of macro ‘td_list_entry’ current_search_space=td_list_entry(search_walker, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:235:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((const char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ phbf.c:183:35: note: in expansion of macro ‘td_list_entry_const’ const file_check_list_t *pos=td_list_entry_const(tmpl, const file_check_list_t, list); ^~~~~~~~~~~~~~~~~~~ list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((const char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ phbf.c:183:35: note: in expansion of macro ‘td_list_entry_const’ const file_check_list_t *pos=td_list_entry_const(tmpl, const file_check_list_t, list); ^~~~~~~~~~~~~~~~~~~ list.h:235:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((const char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ phbf.c:186:39: note: in expansion of macro ‘td_list_entry_const’ const file_check_t *file_check=td_list_entry_const(tmp, const file_check_t, list); ^~~~~~~~~~~~~~~~~~~ list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((const char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ phbf.c:186:39: note: in expansion of macro ‘td_list_entry_const’ const file_check_t *file_check=td_list_entry_const(tmp, const file_check_t, list); ^~~~~~~~~~~~~~~~~~~ phbf.c: In function ‘photorec_bf_frag’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ phbf.c:599:35: note: in expansion of macro ‘td_list_entry’ const alloc_list_t *element=td_list_entry(file_recovery->location.list.prev, alloc_list_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ phbf.c:599:35: note: in expansion of macro ‘td_list_entry’ const alloc_list_t *element=td_list_entry(file_recovery->location.list.prev, alloc_list_t, list); ^~~~~~~~~~~~~ list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ phbf.c:603:31: note: in expansion of macro ‘td_list_entry’ extractblock_search_space=td_list_entry(list_search_space->list.next, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ phbf.c:603:31: note: in expansion of macro ‘td_list_entry’ extractblock_search_space=td_list_entry(list_search_space->list.next, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ phbf.c:607:33: note: in expansion of macro ‘td_list_entry’ extractblock_search_space=td_list_entry(extractblock_search_space->list.next, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ phbf.c:607:33: note: in expansion of macro ‘td_list_entry’ extractblock_search_space=td_list_entry(extractblock_search_space->list.next, alloc_data_t, list); ^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from phbs.c:46:0: pnext.h: In function ‘get_next_header’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ pnext.h:37:27: note: in expansion of macro ‘td_list_entry’ *current_search_space=td_list_entry((*current_search_space)->list.next, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ pnext.h:37:27: note: in expansion of macro ‘td_list_entry’ *current_search_space=td_list_entry((*current_search_space)->list.next, alloc_data_t, list); ^~~~~~~~~~~~~ pnext.h: In function ‘get_prev_header’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ pnext.h:78:27: note: in expansion of macro ‘td_list_entry’ *current_search_space=td_list_entry((*current_search_space)->list.prev, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ pnext.h:78:27: note: in expansion of macro ‘td_list_entry’ *current_search_space=td_list_entry((*current_search_space)->list.prev, alloc_data_t, list); ^~~~~~~~~~~~~ phbs.c: In function ‘photorec_find_blocksize’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ phbs.c:91:24: note: in expansion of macro ‘td_list_entry’ current_search_space=td_list_entry(list_search_space->list.next, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ phbs.c:91:24: note: in expansion of macro ‘td_list_entry’ current_search_space=td_list_entry(list_search_space->list.next, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:235:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((const char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ phbs.c:119:33: note: in expansion of macro ‘td_list_entry_const’ const file_check_list_t *pos=td_list_entry_const(tmpl, const file_check_list_t, list); ^~~~~~~~~~~~~~~~~~~ list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((const char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ phbs.c:119:33: note: in expansion of macro ‘td_list_entry_const’ const file_check_list_t *pos=td_list_entry_const(tmpl, const file_check_list_t, list); ^~~~~~~~~~~~~~~~~~~ list.h:235:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((const char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ phbs.c:122:37: note: in expansion of macro ‘td_list_entry_const’ const file_check_t *file_check=td_list_entry_const(tmp, const file_check_t, list); ^~~~~~~~~~~~~~~~~~~ list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((const char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ phbs.c:122:37: note: in expansion of macro ‘td_list_entry_const’ const file_check_t *file_check=td_list_entry_const(tmp, const file_check_t, list); ^~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from phrecn.c:59:0: 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 dir.h:30:0, from phrecn.c:58: pnext.h: In function ‘get_next_header’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ pnext.h:37:27: note: in expansion of macro ‘td_list_entry’ *current_search_space=td_list_entry((*current_search_space)->list.next, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ pnext.h:37:27: note: in expansion of macro ‘td_list_entry’ *current_search_space=td_list_entry((*current_search_space)->list.next, alloc_data_t, list); ^~~~~~~~~~~~~ pnext.h: In function ‘get_prev_header’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ pnext.h:78:27: note: in expansion of macro ‘td_list_entry’ *current_search_space=td_list_entry((*current_search_space)->list.prev, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ pnext.h:78:27: note: in expansion of macro ‘td_list_entry’ *current_search_space=td_list_entry((*current_search_space)->list.prev, alloc_data_t, list); ^~~~~~~~~~~~~ phrecn.c: In function ‘gen_image’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ phrecn.c:213:26: note: in expansion of macro ‘td_list_entry’ current_search_space=td_list_entry(search_walker, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ phrecn.c:213:26: note: in expansion of macro ‘td_list_entry’ current_search_space=td_list_entry(search_walker, alloc_data_t, list); ^~~~~~~~~~~~~ phrecn.c: In function ‘photorec’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ phrecn.c:336:22: note: in expansion of macro ‘td_list_entry’ start_offset=(td_list_entry(list_search_space->list.next, alloc_data_t, list))->start % params->blocksize; ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ phrecn.c:336:22: note: in expansion of macro ‘td_list_entry’ start_offset=(td_list_entry(list_search_space->list.next, alloc_data_t, list))->start % params->blocksize; ^~~~~~~~~~~~~ list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ phrecn.c:445:28: note: in expansion of macro ‘td_list_entry’ current_search_space=td_list_entry(search_walker, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ phrecn.c:445:28: note: in expansion of macro ‘td_list_entry’ current_search_space=td_list_entry(search_walker, alloc_data_t, list); ^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from psearchn.c:55:0: 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 dir.h:30:0, from psearchn.c:54: pnext.h: In function ‘get_next_header’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ pnext.h:37:27: note: in expansion of macro ‘td_list_entry’ *current_search_space=td_list_entry((*current_search_space)->list.next, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ pnext.h:37:27: note: in expansion of macro ‘td_list_entry’ *current_search_space=td_list_entry((*current_search_space)->list.next, alloc_data_t, list); ^~~~~~~~~~~~~ pnext.h: In function ‘get_prev_header’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ pnext.h:78:27: note: in expansion of macro ‘td_list_entry’ *current_search_space=td_list_entry((*current_search_space)->list.prev, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ pnext.h:78:27: note: in expansion of macro ‘td_list_entry’ *current_search_space=td_list_entry((*current_search_space)->list.prev, alloc_data_t, list); ^~~~~~~~~~~~~ In file included from psearchn.c:65:0: psearch.h: In function ‘ind_block’: psearch.h:37:23: warning: cast increases required alignment of target type [-Wcast-align] const uint32_t *p32=(const uint32_t *)buffer; ^ In file included from dir.h:30:0, from psearchn.c:54: psearchn.c: In function ‘photorec_check_header’: list.h:235:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((const char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ psearchn.c:204:34: note: in expansion of macro ‘td_list_entry_const’ const file_check_list_t *pos=td_list_entry_const(tmpl, const file_check_list_t, list); ^~~~~~~~~~~~~~~~~~~ list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((const char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ psearchn.c:204:34: note: in expansion of macro ‘td_list_entry_const’ const file_check_list_t *pos=td_list_entry_const(tmpl, const file_check_list_t, list); ^~~~~~~~~~~~~~~~~~~ list.h:235:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((const char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ psearchn.c:207:38: note: in expansion of macro ‘td_list_entry_const’ const file_check_t *file_check=td_list_entry_const(tmp, const file_check_t, list); ^~~~~~~~~~~~~~~~~~~ list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((const char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ psearchn.c:207:38: note: in expansion of macro ‘td_list_entry_const’ const file_check_t *file_check=td_list_entry_const(tmp, const file_check_t, list); ^~~~~~~~~~~~~~~~~~~ psearchn.c: In function ‘photorec_aux’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ psearchn.c:247:24: note: in expansion of macro ‘td_list_entry’ current_search_space=td_list_entry(list_search_space->list.next, alloc_data_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ psearchn.c:247:24: note: in expansion of macro ‘td_list_entry’ current_search_space=td_list_entry(list_search_space->list.next, alloc_data_t, list); ^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from filegen.h:28:0, from filegen.c:36: filegen.c: In function ‘file_check_cmp’: list.h:235:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((const char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ filegen.c:57:28: note: in expansion of macro ‘td_list_entry_const’ const file_check_t *fc_a=td_list_entry_const(a, const file_check_t, list); ^~~~~~~~~~~~~~~~~~~ list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((const char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ filegen.c:57:28: note: in expansion of macro ‘td_list_entry_const’ const file_check_t *fc_a=td_list_entry_const(a, const file_check_t, list); ^~~~~~~~~~~~~~~~~~~ list.h:235:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((const char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ filegen.c:58:28: note: in expansion of macro ‘td_list_entry_const’ const file_check_t *fc_b=td_list_entry_const(b, const file_check_t, list); ^~~~~~~~~~~~~~~~~~~ list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((const char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ filegen.c:58:28: note: in expansion of macro ‘td_list_entry_const’ const file_check_t *fc_b=td_list_entry_const(b, const file_check_t, list); ^~~~~~~~~~~~~~~~~~~ filegen.c: In function ‘index_header_check_aux’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ filegen.c:105:28: note: in expansion of macro ‘td_list_entry’ file_check_list_t *pos=td_list_entry(tmp, file_check_list_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ filegen.c:105:28: note: in expansion of macro ‘td_list_entry’ file_check_list_t *pos=td_list_entry(tmp, file_check_list_t, list); ^~~~~~~~~~~~~ filegen.c: In function ‘index_header_check’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ filegen.c:135:19: note: in expansion of macro ‘td_list_entry’ current_check=td_list_entry(tmp, file_check_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ filegen.c:135:19: note: in expansion of macro ‘td_list_entry’ current_check=td_list_entry(tmp, file_check_t, list); ^~~~~~~~~~~~~ filegen.c: In function ‘free_header_check’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ filegen.c:150:28: note: in expansion of macro ‘td_list_entry’ file_check_list_t *pos=td_list_entry(tmpl, file_check_list_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ filegen.c:150:28: note: in expansion of macro ‘td_list_entry’ file_check_list_t *pos=td_list_entry(tmpl, file_check_list_t, list); ^~~~~~~~~~~~~ list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ filegen.c:162:16: note: in expansion of macro ‘td_list_entry’ current_check=td_list_entry(tmp, file_check_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ filegen.c:162:16: note: in expansion of macro ‘td_list_entry’ current_check=td_list_entry(tmp, file_check_t, list); ^~~~~~~~~~~~~ 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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:105:36: warning: cast increases required alignment of target type [-Wcast-align] const struct APE_HEADER_OLD *ape=(const struct APE_HEADER_OLD*)buffer; ^ file_ape.c:110:35: warning: cast increases required alignment of target type [-Wcast-align] const struct APE_HEADER *apeh=(const struct APE_HEADER*)&buffer[le32(descr->nDescriptorBytes)]; ^ 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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:154:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(file_recovery_new->time < le32(arj->mtime)) ^ 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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:64:35: warning: cast increases required alignment of target type [-Wcast-align] const struct class_header *cafe=(const struct class_header *)buffer; ^ 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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:93:31: warning: cast increases required alignment of target type [-Wcast-align] const QCowHeader2_t *header=(const QCowHeader2_t*)buffer; ^ 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from file_dir.c:36:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from file_doc.c:36:0: 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 ‘ole_get_file_extension’: file_doc.c:215:9: warning: cast increases required alignment of target type [-Wcast-align] fat=(const uint32_t *)(header+1); ^ file_doc.c:220:26: warning: cast increases required alignment of target type [-Wcast-align] const uint32_t *fati=(const uint32_t *)(header+1); ^ file_doc.c:222:9: warning: cast increases required alignment of target type [-Wcast-align] fat=(const uint32_t *)&buffer[fat_offset]; ^ 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) ^~~~~~~~~~~~~ file_doc.c: In function ‘get32u’: file_doc.c:607:23: warning: cast increases required alignment of target type [-Wcast-align] const uint32_t *val=(const uint32_t *)((const unsigned char *)buffer+offset); ^ file_doc.c: In function ‘get64u’: file_doc.c:613:23: warning: cast increases required alignment of target type [-Wcast-align] const uint64_t *val=(const uint64_t *)((const unsigned char *)buffer+offset); ^ In file included from file_doc.c:38:0: file_doc.c: In function ‘header_check_doc’: 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:419:10: note: called from here if(td_memmem(buffer,buffer_size,"StarImpress",11)!=NULL) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from file_doc.c:38:0: 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:0: 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:430:6: note: called from here if(td_memmem(buffer,buffer_size,"WordDocument",12)!=NULL) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from file_doc.c:38:0: 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:0: 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:0: 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:0: 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:0: 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:0: 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:0: 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:0: 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:0: 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:0: 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:0: 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:0: 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:0: 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:0: 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:0: 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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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:129:34: warning: cast increases required alignment of target type [-Wcast-align] const struct dump_struct *dump=(const struct dump_struct*)buffer; ^ 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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:123:27: warning: cast increases required alignment of target type [-Wcast-align] const Elf32_Ehdr *hdr32=(const Elf32_Ehdr *)buffer; ^ file_elf.c:140:29: warning: cast increases required alignment of target type [-Wcast-align] const Elf64_Ehdr *hdr64=(const Elf64_Ehdr *)buffer; ^ 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from file_exe.c:36:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_ext.c: In function ‘file_rename_ext’: file_ext.c:53:37: warning: cast increases required alignment of target type [-Wcast-align] const struct ext2_super_block *sb=(const struct ext2_super_block *)&buffer; ^ file_ext.c: In function ‘header_check_ext2_sb’: file_ext.c:69:37: warning: cast increases required alignment of target type [-Wcast-align] const struct ext2_super_block *sb=(const struct ext2_super_block *)buffer; ^ 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 ‘file_rename_extdir’: file_ext.c:94:25: warning: cast increases required alignment of target type [-Wcast-align] const uint32_t *inode=(const uint32_t *)&buffer[0]; ^ 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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:58:37: warning: cast increases required alignment of target type [-Wcast-align] const struct ext2_super_block *sb=(const struct ext2_super_block *)&buffer[0x400]; ^ 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from file_fat.c:38:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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:84:23: warning: cast increases required alignment of target type [-Wcast-align] const uint32_t *p32=(const uint32_t *)&buffer[4]; ^ 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:58:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(pos2!=NULL && pos2-buffer > tmp) ^ 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_gpg.c: In function ‘file_check_gpg’: file_gpg.c:300:22: warning: cast increases required alignment of target type [-Wcast-align] const uint16_t *mpi=(const uint16_t *)&buffer[i+1+8+1]; ^ file_gpg.c:325:10: warning: cast increases required alignment of target type [-Wcast-align] mpi=(const uint16_t *)&tmp[0]; ^ file_gpg.c: In function ‘header_check_gpg’: file_gpg.c:467:22: warning: cast increases required alignment of target type [-Wcast-align] const uint16_t *mpi=(const uint16_t *)&buffer[i+1+8+1]; ^ file_gpg.c:489:10: warning: cast increases required alignment of target type [-Wcast-align] mpi=(const uint16_t *)&buffer[i+1+8+1+2+len]; ^ 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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:49:28: warning: cast increases required alignment of target type [-Wcast-align] const struct hfsp_vh *vh=(const struct hfsp_vh *)buffer; ^ 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from file_jpg.c:50:0: 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 ‘check_mpo_be’: file_jpg.c:132:25: warning: cast increases required alignment of target type [-Wcast-align] const uint32_t *tmp32=(const uint32_t *)(&mpo[4]); ^ file_jpg.c:145:9: warning: cast increases required alignment of target type [-Wcast-align] tmp16=(const uint16_t*)(&mpo[offset]); ^ file_jpg.c:165:24: warning: cast increases required alignment of target type [-Wcast-align] const uint32_t *tmp=(const uint32_t *)&field->value[0]; ^ file_jpg.c:174:24: warning: cast increases required alignment of target type [-Wcast-align] const uint32_t *tmp=(const uint32_t *)&field->value[0]; ^ file_jpg.c: In function ‘check_mpo_le’: file_jpg.c:207:25: warning: cast increases required alignment of target type [-Wcast-align] const uint32_t *tmp32=(const uint32_t *)(&mpo[4]); ^ file_jpg.c:220:9: warning: cast increases required alignment of target type [-Wcast-align] tmp16=(const uint16_t*)(&mpo[offset]); ^ file_jpg.c:240:24: warning: cast increases required alignment of target type [-Wcast-align] const uint32_t *tmp=(const uint32_t *)&field->value[0]; ^ file_jpg.c:249:24: warning: cast increases required alignment of target type [-Wcast-align] const uint32_t *tmp=(const uint32_t *)&field->value[0]; ^ file_jpg.c: In function ‘header_check_jpg’: file_jpg.c:450:39: warning: cast increases required alignment of target type [-Wcast-align] jpg_time=get_date_from_tiff_header((const TIFFHeader*)&buffer[i+0x0A], tiff_size); ^ 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 ‘my_error_exit’: file_jpg.c:514:32: warning: cast increases required alignment of target type [-Wcast-align] struct my_error_mgr *myerr = (struct my_error_mgr *) cinfo->err; ^ file_jpg.c: In function ‘my_emit_message’: file_jpg.c:522:32: warning: cast increases required alignment of target type [-Wcast-align] struct my_error_mgr *myerr = (struct my_error_mgr *) cinfo->err; ^ 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__)); ^ file_jpg.c: In function ‘jpg_check_structure’: file_jpg.c:1441:27: warning: cast increases required alignment of target type [-Wcast-align] const TIFFHeader *tiff=(const TIFFHeader*)&buffer[i+0x0A]; ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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:54:31: warning: cast increases required alignment of target type [-Wcast-align] const struct luks_phdr *hdr=(const struct luks_phdr *)buffer; ^ 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from file_mft.c:33:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 between signed and unsigned integer expressions [-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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:57:53: warning: cast increases required alignment of target type [-Wcast-align] file_recovery_new->time=get_date_from_tiff_header((const TIFFHeader *)buffer, buffer_size); ^ 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from file_par2.c:32:0: file_par2.c: In function ‘data_check_par2’: file_par2.c:63:34: warning: cast increases required alignment of target type [-Wcast-align] const uint64_t length=le64((*(const uint64_t *)(&buffer[i+8]))); ^ common.h:452:19: note: in definition of macro ‘le64’ #define le64(x) (x) ^ file_par2.c: In function ‘file_rename_par2’: file_par2.c:84:29: warning: cast increases required alignment of target type [-Wcast-align] const uint64_t *lengthp=(const uint64_t *)&buffer[8]; ^ In file included from file_par2.c:32:0: file_par2.c: In function ‘header_check_par2’: file_par2.c:117:32: warning: cast increases required alignment of target type [-Wcast-align] const uint64_t length=le64((*(const uint64_t *)(&buffer[8]))); ^ common.h:452:19: note: in definition of macro ‘le64’ #define le64(x) (x) ^ 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 ‘get_be64’: file_psb.c:95:23: warning: cast increases required alignment of target type [-Wcast-align] const uint64_t *val=(const uint64_t *)((const unsigned char *)buffer+offset); ^ 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 ‘get_be32’: file_psd.c:95:23: warning: cast increases required alignment of target type [-Wcast-align] const uint32_t *val=(const uint32_t *)((const unsigned char *)buffer+offset); ^ 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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:86:32: warning: cast increases required alignment of target type [-Wcast-align] const struct pyc_header *pyc=(const struct pyc_header *)buffer; ^ 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ file_riff.c: In function ‘data_check_avi’: file_riff.c:186:43: warning: cast increases required alignment of target type [-Wcast-align] const riff_chunk_header *chunk_header=(const riff_chunk_header*)&buffer[i]; ^ file_riff.c: In function ‘data_check_avi_stream’: file_riff.c:201:43: warning: cast increases required alignment of target type [-Wcast-align] const riff_chunk_header *chunk_header=(const riff_chunk_header*)&buffer[i]; ^ 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: file_tiff.h:66:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from file_rw2.c:33:0: 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:50:28: warning: cast increases required alignment of target type [-Wcast-align] const TIFFHeader *header=(const TIFFHeader *)buffer; ^ 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: file_sp3.h:306:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from file_sp3.c:36:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from file_tiff.c:39:0: 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:317:28: warning: cast increases required alignment of target type [-Wcast-align] const TIFFHeader *header=(const TIFFHeader *)buffer; ^ 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:342:28: warning: cast increases required alignment of target type [-Wcast-align] const TIFFHeader *header=(const TIFFHeader *)buffer; ^ 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:613:29: warning: cast increases required alignment of target type [-Wcast-align] const TIFFDirEntry *entry=(const TIFFDirEntry *)&buffer[2]; ^ file_tiff.c:683:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(new_offset==-1) ^~ file_tiff.c:702:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(new_offset==-1) ^~ file_tiff.c:746:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(new_offset==-1) ^~ file_tiff.c:788:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(tmp==-1) ^~ file_tiff.c:796:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(tmp==-1) ^~ file_tiff.c:805:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(new_offset != -1 && max_offset < new_offset) ^~ file_tiff.c: In function ‘header_check_tiff_be’: file_tiff.c:927:29: warning: cast increases required alignment of target type [-Wcast-align] const TIFFDirEntry *entry=(const TIFFDirEntry *)&buffer[2]; ^ file_tiff.c:993:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(new_offset==-1) ^~ file_tiff.c:1012:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(new_offset==-1) ^~ file_tiff.c:1056:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(new_offset==-1) ^~ file_tiff.c:1111:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(max_offset!=-1 && max_offset < new_offset) ^~ file_tiff.c: In function ‘file_check_tiff’: file_tiff.c:1131:30: warning: cast increases required alignment of target type [-Wcast-align] const TIFFHeader *header=(const TIFFHeader *)buffer; ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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:85:38: warning: cast increases required alignment of target type [-Wcast-align] const struct ttf_offset_table *ttf=(const struct ttf_offset_table *)buffer; ^ 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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:522:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(date_asc!=NULL && date_asc-buffer2<=buffer_size-14) ^~ 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:0: 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:937:8: note: called from here if(td_memmem(haystack, ll, "ruby", 4) != NULL) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from file_txt.c:41:0: 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:970:10: note: called from here if(td_memmem(buffer, buffer_size_test, "8BIM", 4)!=NULL || ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from file_txt.c:41:0: 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:971:4: note: called from here td_memmem(buffer, buffer_size_test, "adobe", 5)!=NULL || ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from file_txt.c:41:0: 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:0: 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:0: 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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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:84:27: warning: cast increases required alignment of target type [-Wcast-align] const VdiHeader *header=(const VdiHeader *)buffer; ^ 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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:79:26: warning: cast increases required alignment of target type [-Wcast-align] const VMDK3Header *hdr=(const VMDK3Header *)buffer; ^ 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: file_tiff.h:66:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from file_wdp.c:33:0: 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:50:28: warning: cast increases required alignment of target type [-Wcast-align] const TIFFHeader *header=(const TIFFHeader *)buffer; ^ file_wdp.c:55:53: warning: cast increases required alignment of target type [-Wcast-align] file_recovery_new->time=get_date_from_tiff_header((const TIFFHeader *)buffer, buffer_size); ^ 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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:65:26: warning: cast increases required alignment of target type [-Wcast-align] const uint32_t *size=(const uint32_t *)(&buffer[0x5c]); ^ 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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:69:27: warning: cast increases required alignment of target type [-Wcast-align] const WavpackHeader *wv=(const WavpackHeader*)buffer; ^ 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) ^~~~~~~~~~~~~ file_wv.c: In function ‘data_check_wv’: file_wv.c:90:29: warning: cast increases required alignment of target type [-Wcast-align] const WavpackHeader *wv=(const WavpackHeader*)&buffer[i]; ^ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from file_xfs.c:32:0: 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:121:34: warning: cast increases required alignment of target type [-Wcast-align] const xfs_dinode_core_t *inode=(const xfs_dinode_core_t *)buffer; ^ 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-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:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from partgptro.c:30:0: 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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -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,-Bsymbolic-functions -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 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -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:0: common.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] } __attribute__ ((gcc_struct, __packed__)); ^ In file included from filegen.h:28:0, from fidentify.c:49: fidentify.c: In function ‘file_identify’: list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ fidentify.c:101:36: note: in expansion of macro ‘td_list_entry’ const file_check_list_t *pos=td_list_entry(tmpl, file_check_list_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ fidentify.c:101:36: note: in expansion of macro ‘td_list_entry’ const file_check_list_t *pos=td_list_entry(tmpl, file_check_list_t, list); ^~~~~~~~~~~~~ list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ fidentify.c:104:33: note: in expansion of macro ‘td_list_entry’ const file_check_t *file_check=td_list_entry(tmp, file_check_t, list); ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member))) ^ fidentify.c:104:33: note: in expansion of macro ‘td_list_entry’ const file_check_t *file_check=td_list_entry(tmp, file_check_t, list); ^~~~~~~~~~~~~ gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -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,-Bsymbolic-functions -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 '/<>/src' make[3]: Entering directory '/<>' make[3]: Leaving directory '/<>' make[2]: Leaving directory '/<>' make[1]: Leaving directory '/<>' dh_auto_test -a dh_auto_test: Compatibility levels before 9 are deprecated (level 8 in use) make -j1 check VERBOSE=1 make[1]: Entering directory '/<>' Making check in icons make[2]: Entering directory '/<>/icons' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/<>/icons' Making check in man make[2]: Entering directory '/<>/man' Making check in zh_CN make[3]: Entering directory '/<>/man/zh_CN' make[3]: Nothing to be done for 'check'. make[3]: Leaving directory '/<>/man/zh_CN' make[3]: Entering directory '/<>/man' make[3]: Nothing to be done for 'check-am'. make[3]: Leaving directory '/<>/man' make[2]: Leaving directory '/<>/man' Making check in src make[2]: Entering directory '/<>/src' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/<>/src' make[2]: Entering directory '/<>' make[2]: Leaving directory '/<>' make[1]: Leaving directory '/<>' fakeroot debian/rules binary-arch dh binary-arch --with autoreconf dh: Compatibility levels before 9 are deprecated (level 8 in use) dh_testroot -a dh_prep -a debian/rules override_dh_auto_install make[1]: Entering directory '/<>' dh_auto_install dh_auto_install: Compatibility levels before 9 are deprecated (level 8 in use) make -j1 install DESTDIR=/<>/debian/tmp AM_UPDATE_INFO_DIR=no make[2]: Entering directory '/<>' Making install in icons make[3]: Entering directory '/<>/icons' make[4]: Entering directory '/<>/icons' make[4]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/<>/debian/tmp/usr/share/icons/hicolor' /bin/mkdir -p '/<>/debian/tmp/usr/share/icons/hicolor/48x48/apps' /usr/bin/install -c -m 644 48x48/apps/qphotorec.png '/<>/debian/tmp/usr/share/icons/hicolor/48x48/apps' /bin/mkdir -p '/<>/debian/tmp/usr/share/icons/hicolor/scalable/apps' /usr/bin/install -c -m 644 scalable/apps/qphotorec.svg '/<>/debian/tmp/usr/share/icons/hicolor/scalable/apps' make install-data-hook make[5]: Entering directory '/<>/icons' make[5]: Nothing to be done for 'install-data-hook'. make[5]: Leaving directory '/<>/icons' make[4]: Leaving directory '/<>/icons' make[3]: Leaving directory '/<>/icons' Making install in man make[3]: Entering directory '/<>/man' Making install in zh_CN make[4]: Entering directory '/<>/man/zh_CN' make[5]: Entering directory '/<>/man/zh_CN' make[5]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/<>/debian/tmp/usr/share/man/zh_CN/man8' /usr/bin/install -c -m 644 testdisk.8 photorec.8 qphotorec.8 fidentify.8 '/<>/debian/tmp/usr/share/man/zh_CN/man8' make[5]: Leaving directory '/<>/man/zh_CN' make[4]: Leaving directory '/<>/man/zh_CN' make[4]: Entering directory '/<>/man' make[5]: Entering directory '/<>/man' make[5]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/<>/debian/tmp/usr/share/man/man8' /usr/bin/install -c -m 644 testdisk.8 photorec.8 qphotorec.8 fidentify.8 '/<>/debian/tmp/usr/share/man/man8' make[5]: Leaving directory '/<>/man' make[4]: Leaving directory '/<>/man' make[3]: Leaving directory '/<>/man' Making install in src make[3]: Entering directory '/<>/src' make[4]: Entering directory '/<>/src' /bin/mkdir -p '/<>/debian/tmp/usr/bin' /usr/bin/install -c testdisk photorec fidentify '/<>/debian/tmp/usr/bin' make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/<>/src' make[3]: Leaving directory '/<>/src' make[3]: Entering directory '/<>' make[4]: Entering directory '/<>' make[4]: Nothing to be done for 'install-exec-am'. make install-data-hook make[5]: Entering directory '/<>' /bin/bash /<>/config/install-sh -d /<>/debian/tmp/usr/share/doc/testdisk /usr/bin/install -c -m 644 ./AUTHORS ./ChangeLog ./NEWS ./README ./THANKS ./documentation.html /<>/debian/tmp/usr/share/doc/testdisk make[5]: Leaving directory '/<>' make[4]: Leaving directory '/<>' make[3]: Leaving directory '/<>' make[2]: Leaving directory '/<>' rm -f /<>/debian/tmp/usr/share/doc/testdisk/ChangeLog rm -f /<>/debian/tmp/usr/share/doc/testdisk/COPYING rm -f /<>/debian/tmp/usr/share/doc/testdisk/INSTALL make[1]: Leaving directory '/<>' dh_install -a dh_install: Compatibility levels before 9 are deprecated (level 8 in use) dh_installdocs -a dh_installdocs: Compatibility levels before 9 are deprecated (level 8 in use) dh_installchangelogs -a dh_installman -a dh_installman: Compatibility levels before 9 are deprecated (level 8 in use) dh_perl -a dh_link -a dh_strip_nondeterminism -a dh_compress -a 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 -a dh_missing -a dh_missing: Compatibility levels before 9 are deprecated (level 8 in use) debian/rules override_dh_strip make[1]: Entering directory '/<>' dh_strip --dbg-package=testdisk-dbg dh_strip: Compatibility levels before 9 are deprecated (level 8 in use) make[1]: Leaving directory '/<>' dh_makeshlibs -a dh_shlibdeps -a dh_shlibdeps: Compatibility levels before 9 are deprecated (level 8 in use) dh_shlibdeps: Compatibility levels before 9 are deprecated (level 8 in use) dh_installdeb -a dh_installdeb: Compatibility levels before 9 are deprecated (level 8 in use) dh_gencontrol -a dpkg-gencontrol: warning: Depends field of package testdisk-dbg: unknown substitution variable ${shlibs:Depends} dh_md5sums -a dh_builddeb -a INFO: pkgstriptranslations version 138.18.04.0 INFO: pkgstriptranslations version 138.18.04.0 pkgstriptranslations: processing testdisk (in debian/testdisk); do_strip: , oemstrip: pkgstriptranslations: processing testdisk-dbg (in debian/testdisk-dbg); do_strip: , oemstrip: pkgmaintainermangler: Not overriding Maintainer for domain lists.ubuntu.com pkgstripfiles: processing control file: debian/testdisk/DEBIAN/control, package testdisk, directory debian/testdisk pkgstripfiles: Truncating usr/share/doc/testdisk/changelog.Debian.gz to topmost ten records pkgstripfiles: Running PNG optimization (using 4 cpus) for package testdisk ... pkgstripfiles: No PNG files. dpkg-deb: building package 'testdisk' in '../testdisk_7.0-3build2_armhf.deb'. pkgmaintainermangler: Not overriding Maintainer for domain lists.ubuntu.com pkgstripfiles: processing control file: debian/testdisk-dbg/DEBIAN/control, package testdisk-dbg, directory debian/testdisk-dbg Searching for duplicated docs in dependency testdisk... symlinking changelog.Debian.gz in testdisk-dbg to file in testdisk pkgstripfiles: Running PNG optimization (using 4 cpus) for package testdisk-dbg ... pkgstripfiles: No PNG files. dpkg-deb: building package 'testdisk-dbg' in '../testdisk-dbg_7.0-3build2_armhf.deb'. dpkg-genbuildinfo --build=any dpkg-genchanges --build=any -mLaunchpad Build Daemon >../testdisk_7.0-3build2_armhf.changes dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build testdisk-7.0 dpkg-buildpackage: info: binary-only upload (no source included) -------------------------------------------------------------------------------- Build finished at 20190220-1050 Finished -------- I: Built successfully +------------------------------------------------------------------------------+ | Post Build Chroot | +------------------------------------------------------------------------------+ +------------------------------------------------------------------------------+ | Changes | +------------------------------------------------------------------------------+ testdisk_7.0-3build2_armhf.changes: ----------------------------------- Format: 1.8 Date: Sat, 02 Dec 2017 21:53:40 -0500 Source: testdisk Binary: testdisk testdisk-dbg Architecture: armhf Version: 7.0-3build2 Distribution: bionic Urgency: medium Maintainer: Launchpad Build Daemon Changed-By: Jeremy Bicha Description: testdisk - Partition scanner and disk recovery tool, and PhotoRec file recov testdisk-dbg - Partition scanner and disk recovery tool, and PhotoRec file recov Changes: testdisk (7.0-3build2) bionic; urgency=medium . * No-change rebuild against latest ntfs-3g Checksums-Sha1: f1fe3eb78bdd8321784e7f16677a7fd063026873 834100 testdisk-dbg_7.0-3build2_armhf.deb acbbafc834f4039afa8e4e63e572ecf2dc42b41e 6338 testdisk_7.0-3build2_armhf.buildinfo c161e9f4057b21565584fa7a8f858082cda2eaab 305592 testdisk_7.0-3build2_armhf.deb Checksums-Sha256: a451276147134d27021ef4a66ecefc473118dbb886b2578f231f620a3aab23f2 834100 testdisk-dbg_7.0-3build2_armhf.deb c92ba17e8e1e019234d259d1d40d6b1633700be24eee6cc46a605ab33c36094b 6338 testdisk_7.0-3build2_armhf.buildinfo 7377e17b50f93aa11a25a265b1caa501440d07b806a051f6cf2c72716fefc1f9 305592 testdisk_7.0-3build2_armhf.deb Files: 91b7c6f100126a23c04f6b44c1978560 834100 debug extra testdisk-dbg_7.0-3build2_armhf.deb c45c161ea66473317545a0cf5c731b82 6338 admin optional testdisk_7.0-3build2_armhf.buildinfo 8108ce05b3e6d791ee9d9c9ae64b35ca 305592 admin optional testdisk_7.0-3build2_armhf.deb Original-Maintainer: Jean-Michel Kelbert +------------------------------------------------------------------------------+ | Package contents | +------------------------------------------------------------------------------+ testdisk-dbg_7.0-3build2_armhf.deb ---------------------------------- new debian package, version 2.0. size 834100 bytes: control archive=904 bytes. 860 bytes, 20 lines control 267 bytes, 4 lines md5sums Package: testdisk-dbg Source: testdisk Version: 7.0-3build2 Architecture: armhf Maintainer: Ubuntu Developers Installed-Size: 5323 Depends: testdisk (= 7.0-3build2) Suggests: libc6-dbg, e2fslibs-dbg, libcomerr2-dbg, libjpeg-dbg, libncursesw5-dbg, libssl0.9.8-dbg, zlib1g-dbg Section: debug Priority: extra Description: Partition scanner and disk recovery tool, and PhotoRec file recovery tool TestDisk checks the partition and boot sectors of your disks. It is very useful in forensics, recovering lost partitions. . PhotoRec is file data recovery software designed to recover lost pictures from digital camera memory or even Hard Disks. It has been extended to search also for non audio/video headers. . This package includes the debugging symbols. Original-Maintainer: Jean-Michel Kelbert drwxr-xr-x root/root 0 2017-12-03 02:53 ./ drwxr-xr-x root/root 0 2017-12-03 02:53 ./usr/ drwxr-xr-x root/root 0 2017-12-03 02:53 ./usr/lib/ drwxr-xr-x root/root 0 2017-12-03 02:53 ./usr/lib/debug/ drwxr-xr-x root/root 0 2017-12-03 02:53 ./usr/lib/debug/usr/ drwxr-xr-x root/root 0 2017-12-03 02:53 ./usr/lib/debug/usr/bin/ -rw-r--r-- root/root 1467632 2017-12-03 02:53 ./usr/lib/debug/usr/bin/fidentify -rw-r--r-- root/root 2589780 2017-12-03 02:53 ./usr/lib/debug/usr/bin/photorec -rw-r--r-- root/root 1376788 2017-12-03 02:53 ./usr/lib/debug/usr/bin/testdisk drwxr-xr-x root/root 0 2017-12-03 02:53 ./usr/share/ drwxr-xr-x root/root 0 2017-12-03 02:53 ./usr/share/doc/ drwxr-xr-x root/root 0 2017-12-03 02:53 ./usr/share/doc/testdisk-dbg/ lrwxrwxrwx root/root 0 2017-12-03 02:53 ./usr/share/doc/testdisk-dbg/changelog.Debian.gz -> ../testdisk/changelog.Debian.gz -rw-r--r-- root/root 1121 2012-01-16 21:05 ./usr/share/doc/testdisk-dbg/copyright testdisk_7.0-3build2_armhf.deb ------------------------------ new debian package, version 2.0. size 305592 bytes: control archive=1756 bytes. 2296 bytes, 64 lines control 629 bytes, 10 lines md5sums Package: testdisk Version: 7.0-3build2 Architecture: armhf Maintainer: Ubuntu Developers Installed-Size: 874 Depends: libc6 (>= 2.27), libext2fs2 (>= 1.41.0), libjpeg8 (>= 8c), libncursesw5 (>= 6), libntfs-3g88, libtinfo5 (>= 6), libuuid1 (>= 2.16), zlib1g (>= 1:1.1.4), ntfs-3g Section: admin Priority: optional Description: Partition scanner and disk recovery tool, and PhotoRec file recovery tool TestDisk checks the partition and boot sectors of your disks. It is very useful in forensics, recovering lost partitions. It works with : * DOS/Windows FAT12, FAT16 and FAT32 * NTFS ( Windows NT/2K/XP ) * Linux Ext2 and Ext3 * BeFS ( BeOS ) * BSD disklabel ( FreeBSD/OpenBSD/NetBSD ) * CramFS (Compressed File System) * HFS and HFS+, Hierarchical File System * JFS, IBM's Journaled File System * Linux Raid * Linux Swap (versions 1 and 2) * LVM and LVM2, Linux Logical Volume Manager * Netware NSS * ReiserFS 3.5 and 3.6 * Sun Solaris i386 disklabel * UFS and UFS2 (Sun/BSD/...) * XFS, SGI's Journaled File System . PhotoRec is file data recovery software designed to recover lost pictures from digital camera memory or even Hard Disks. It has been extended to search also for non audio/video headers. It searches for following files and is able to undelete them: * Sun/NeXT audio data (.au) * RIFF audio/video (.avi/.wav) * BMP bitmap (.bmp) * bzip2 compressed data (.bz2) * Source code written in C (.c) * Canon Raw picture (.crw) * Canon catalog (.ctg) * FAT subdirectory * Microsoft Office Document (.doc) * Nikon dsc (.dsc) * HTML page (.html) * JPEG picture (.jpg) * MOV video (.mov) * MP3 audio (MPEG ADTS, layer III, v1) (.mp3) * Moving Picture Experts Group video (.mpg) * Minolta Raw picture (.mrw) * Olympus Raw Format picture (.orf) * Portable Document Format (.pdf) * Perl script (.pl) * Portable Network Graphics (.png) * Raw Fujifilm picture (.raf) * Contax picture (.raw) * Rollei picture (.rdc) * Rich Text Format (.rtf) * Shell script (.sh) * Tar archive (.tar ) * Tag Image File Format (.tiff) * Microsoft ASF (.wma) * Sigma/Foveon X3 raw picture (.x3f) * zip archive (.zip) Original-Maintainer: Jean-Michel Kelbert drwxr-xr-x root/root 0 2017-12-03 02:53 ./ drwxr-xr-x root/root 0 2017-12-03 02:53 ./usr/ drwxr-xr-x root/root 0 2017-12-03 02:53 ./usr/bin/ -rwxr-xr-x root/root 199500 2017-12-03 02:53 ./usr/bin/fidentify -rwxr-xr-x root/root 393092 2017-12-03 02:53 ./usr/bin/photorec -rwxr-xr-x root/root 273944 2017-12-03 02:53 ./usr/bin/testdisk drwxr-xr-x root/root 0 2017-12-03 02:53 ./usr/share/ drwxr-xr-x root/root 0 2017-12-03 02:53 ./usr/share/doc/ drwxr-xr-x root/root 0 2017-12-03 02:53 ./usr/share/doc/testdisk/ -rw-r--r-- root/root 7952 2015-04-18 09:55 ./usr/share/doc/testdisk/NEWS.gz -rw-r--r-- root/root 2085 2012-06-27 06:46 ./usr/share/doc/testdisk/README -rw-r--r-- root/root 1051 2017-12-03 02:53 ./usr/share/doc/testdisk/changelog.Debian.gz -rw-r--r-- root/root 1121 2012-01-16 21:05 ./usr/share/doc/testdisk/copyright drwxr-xr-x root/root 0 2017-12-03 02:53 ./usr/share/man/ drwxr-xr-x root/root 0 2017-12-03 02:53 ./usr/share/man/man8/ -rw-r--r-- root/root 526 2017-12-03 02:53 ./usr/share/man/man8/fidentify.8.gz -rw-r--r-- root/root 678 2017-12-03 02:53 ./usr/share/man/man8/photorec.8.gz -rw-r--r-- root/root 891 2017-12-03 02:53 ./usr/share/man/man8/testdisk.8.gz +------------------------------------------------------------------------------+ | Post Build | +------------------------------------------------------------------------------+ +------------------------------------------------------------------------------+ | Cleanup | +------------------------------------------------------------------------------+ Purging /<> Not removing build depends: as requested +------------------------------------------------------------------------------+ | Summary | +------------------------------------------------------------------------------+ Build Architecture: armhf Build-Space: 36536 Build-Time: 200 Distribution: bionic Host Architecture: armhf Install-Time: 22 Job: testdisk_7.0-3build2.dsc Machine Architecture: arm64 Package: testdisk Package-Time: 224 Source-Version: 7.0-3build2 Space: 36536 Status: successful Version: 7.0-3build2 -------------------------------------------------------------------------------- Finished at 20190220-1050 Build needed 00:03:44, 36536k disc space RUN: /usr/share/launchpad-buildd/slavebin/in-target scan-for-processes --backend=chroot --series=bionic --arch=armhf PACKAGEBUILD-16090457 Scanning for processes to kill in build PACKAGEBUILD-16090457