sbuild (Debian sbuild) 0.73.0 (23 Dec 2016) on gcc131.bak.milne.osuosl.org +==============================================================================+ | testdisk 7.1-5 (armhf) Sat, 24 Aug 2019 10:40:01 +0000 | +==============================================================================+ Package: testdisk Version: 7.1-5 Source Version: 7.1-5 Distribution: unstable Machine Architecture: amd64 Host Architecture: armhf Build Architecture: amd64 Build Profiles: cross nocheck Build Type: any I: NOTICE: Log filtering will replace 'var/run/schroot/mount/unstable-amd64-sbuild-c03df0f5-336a-4ae3-9786-097081023c66' with '<>' +------------------------------------------------------------------------------+ | Update chroot | +------------------------------------------------------------------------------+ Get:1 http://debian.oregonstate.edu/debian unstable InRelease [139 kB] Get:2 http://debian.oregonstate.edu/debian unstable/main Sources.diff/Index [27.9 kB] Get:3 http://debian.oregonstate.edu/debian unstable/main amd64 Packages.diff/Index [27.9 kB] Get:4 http://debian.oregonstate.edu/debian unstable/main Sources 2019-08-24-0822.02.pdiff [3150 B] Get:5 http://debian.oregonstate.edu/debian unstable/main amd64 Packages 2019-08-24-0822.02.pdiff [93.7 kB] Get:4 http://debian.oregonstate.edu/debian unstable/main Sources 2019-08-24-0822.02.pdiff [3150 B] Get:5 http://debian.oregonstate.edu/debian unstable/main amd64 Packages 2019-08-24-0822.02.pdiff [93.7 kB] Get:6 http://debian.oregonstate.edu/debian unstable/main armhf Packages [8075 kB] Fetched 8366 kB in 2s (4338 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... The following packages will be upgraded: gzip 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 129 kB of archives. After this operation, 1024 B of additional disk space will be used. Get:1 http://debian.oregonstate.edu/debian unstable/main amd64 gzip amd64 1.9-3+b1 [129 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 129 kB in 0s (0 B/s) (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 13047 files and directories currently installed.) Preparing to unpack .../gzip_1.9-3+b1_amd64.deb ... Unpacking gzip (1.9-3+b1) over (1.9-3) ... Setting up gzip (1.9-3+b1) ... +------------------------------------------------------------------------------+ | Fetch source files | +------------------------------------------------------------------------------+ Check APT --------- Checking available source versions... Download source files with APT ------------------------------ Reading package lists... Need to get 749 kB of source archives. Get:1 http://debian.oregonstate.edu/debian unstable/main testdisk 7.1-5 (dsc) [1936 B] Get:2 http://debian.oregonstate.edu/debian unstable/main testdisk 7.1-5 (tar) [742 kB] Get:3 http://debian.oregonstate.edu/debian unstable/main testdisk 7.1-5 (diff) [4788 B] Fetched 749 kB in 0s (34.3 MB/s) Download complete and in download only mode I: NOTICE: Log filtering will replace 'build/testdisk-9G1tg3/testdisk-7.1' with '<>' I: NOTICE: Log filtering will replace 'build/testdisk-9G1tg3' with '<>' +------------------------------------------------------------------------------+ | Install crossbuild-essential | +------------------------------------------------------------------------------+ Setup apt archive ----------------- Merged Build-Depends: build-essential:amd64, fakeroot:amd64, crossbuild-essential-armhf:amd64 Filtered Build-Depends: build-essential:amd64, fakeroot:amd64, crossbuild-essential-armhf:amd64 dpkg-deb: building package 'sbuild-build-depends-core-dummy' in '/<>/resolver-wpt59Q/apt_archive/sbuild-build-depends-core-dummy.deb'. dpkg-scanpackages: warning: Packages in archive but missing from override file: dpkg-scanpackages: warning: sbuild-build-depends-core-dummy dpkg-scanpackages: info: Wrote 1 entries to output Packages file. Ign:1 copy:/<>/resolver-wpt59Q/apt_archive ./ InRelease Get:2 copy:/<>/resolver-wpt59Q/apt_archive ./ Release [957 B] Ign:3 copy:/<>/resolver-wpt59Q/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-wpt59Q/apt_archive ./ Sources [363 B] Get:5 copy:/<>/resolver-wpt59Q/apt_archive ./ Packages [452 B] Fetched 1772 B in 0s (87.3 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 additional packages will be installed: binutils-arm-linux-gnueabihf cpp-9-arm-linux-gnueabihf cpp-arm-linux-gnueabihf cross-config crossbuild-essential-armhf dpkg-cross file g++-9-arm-linux-gnueabihf g++-arm-linux-gnueabihf gcc-9-arm-linux-gnueabihf gcc-9-arm-linux-gnueabihf-base gcc-9-cross-base gcc-arm-linux-gnueabihf libasan5-armhf-cross libatomic1-armhf-cross libc6-armhf-cross libc6-dev-armhf-cross libconfig-auto-perl libconfig-inifiles-perl libdebian-dpkgcross-perl libfile-homedir-perl libfile-which-perl libgcc-9-dev-armhf-cross libgcc1-armhf-cross libgomp1-armhf-cross libicu63 libio-string-perl liblocale-gettext-perl libmagic-mgc libmagic1 libstdc++-9-dev-armhf-cross libstdc++6-armhf-cross libubsan1-armhf-cross libxml-libxml-perl libxml-namespacesupport-perl libxml-sax-base-perl libxml-sax-perl libxml-simple-perl libxml2 libyaml-perl linux-libc-dev-armhf-cross sensible-utils ucf Suggested packages: binutils-doc gcc-9-locales cpp-doc binutils-multiarch gcc-9-doc libstdc++6-9-dbg-armhf-cross libgcc1-dbg-armhf-cross libgomp1-dbg-armhf-cross libitm1-dbg-armhf-cross libatomic1-dbg-armhf-cross libasan5-dbg-armhf-cross liblsan0-dbg-armhf-cross libtsan0-dbg-armhf-cross libubsan1-dbg-armhf-cross libquadmath0-dbg-armhf-cross manpages-dev autoconf automake libtool flex bison gdb-arm-linux-gnueabihf gcc-doc libyaml-shell-perl Recommended packages: libwww-perl libxml-sax-expat-perl libyaml-libyaml-perl | libyaml-syck-perl The following NEW packages will be installed: binutils-arm-linux-gnueabihf cpp-9-arm-linux-gnueabihf cpp-arm-linux-gnueabihf cross-config crossbuild-essential-armhf dpkg-cross file g++-9-arm-linux-gnueabihf g++-arm-linux-gnueabihf gcc-9-arm-linux-gnueabihf gcc-9-arm-linux-gnueabihf-base gcc-9-cross-base gcc-arm-linux-gnueabihf libasan5-armhf-cross libatomic1-armhf-cross libc6-armhf-cross libc6-dev-armhf-cross libconfig-auto-perl libconfig-inifiles-perl libdebian-dpkgcross-perl libfile-homedir-perl libfile-which-perl libgcc-9-dev-armhf-cross libgcc1-armhf-cross libgomp1-armhf-cross libicu63 libio-string-perl liblocale-gettext-perl libmagic-mgc libmagic1 libstdc++-9-dev-armhf-cross libstdc++6-armhf-cross libubsan1-armhf-cross libxml-libxml-perl libxml-namespacesupport-perl libxml-sax-base-perl libxml-sax-perl libxml-simple-perl libxml2 libyaml-perl linux-libc-dev-armhf-cross sbuild-build-depends-core-dummy:armhf sensible-utils ucf 0 upgraded, 44 newly installed, 0 to remove and 0 not upgraded. Need to get 42.8 MB of archives. After this operation, 157 MB of additional disk space will be used. Get:1 copy:/<>/resolver-wpt59Q/apt_archive ./ sbuild-build-depends-core-dummy 0.invalid.0 [872 B] Get:2 http://debian.oregonstate.edu/debian unstable/main amd64 liblocale-gettext-perl amd64 1.07-3+b4 [18.9 kB] Get:3 http://debian.oregonstate.edu/debian unstable/main amd64 sensible-utils all 0.0.12 [15.8 kB] Get:4 http://debian.oregonstate.edu/debian unstable/main amd64 libmagic-mgc amd64 1:5.37-5 [253 kB] Get:5 http://debian.oregonstate.edu/debian unstable/main amd64 libmagic1 amd64 1:5.37-5 [119 kB] Get:6 http://debian.oregonstate.edu/debian unstable/main amd64 file amd64 1:5.37-5 [67.1 kB] Get:7 http://debian.oregonstate.edu/debian unstable/main amd64 ucf all 3.0038+nmu1 [69.0 kB] Get:8 http://debian.oregonstate.edu/debian unstable/main amd64 binutils-arm-linux-gnueabihf amd64 2.32.51.20190821-2 [2716 kB] Get:9 http://debian.oregonstate.edu/debian unstable/main amd64 gcc-9-arm-linux-gnueabihf-base amd64 9.2.1-4cross1 [192 kB] Get:10 http://debian.oregonstate.edu/debian unstable/main amd64 cpp-9-arm-linux-gnueabihf amd64 9.2.1-4cross1 [6810 kB] Get:11 http://debian.oregonstate.edu/debian unstable/main amd64 cpp-arm-linux-gnueabihf amd64 4:9.2.1-3 [16.6 kB] Get:12 http://debian.oregonstate.edu/debian unstable/main amd64 cross-config all 2.6.15-3 [39.9 kB] Get:13 http://debian.oregonstate.edu/debian unstable/main amd64 gcc-9-cross-base all 9.2.1-4cross1 [188 kB] Get:14 http://debian.oregonstate.edu/debian unstable/main amd64 libc6-armhf-cross all 2.28-10cross6 [1172 kB] Get:15 http://debian.oregonstate.edu/debian unstable/main amd64 libgcc1-armhf-cross all 1:9.2.1-4cross1 [37.3 kB] Get:16 http://debian.oregonstate.edu/debian unstable/main amd64 libgomp1-armhf-cross all 9.2.1-4cross1 [73.3 kB] Get:17 http://debian.oregonstate.edu/debian unstable/main amd64 libatomic1-armhf-cross all 9.2.1-4cross1 [6700 B] Get:18 http://debian.oregonstate.edu/debian unstable/main amd64 libasan5-armhf-cross all 9.2.1-4cross1 [363 kB] Get:19 http://debian.oregonstate.edu/debian unstable/main amd64 libstdc++6-armhf-cross all 9.2.1-4cross1 [392 kB] Get:20 http://debian.oregonstate.edu/debian unstable/main amd64 libubsan1-armhf-cross all 9.2.1-4cross1 [112 kB] Get:21 http://debian.oregonstate.edu/debian unstable/main amd64 libgcc-9-dev-armhf-cross all 9.2.1-4cross1 [664 kB] Get:22 http://debian.oregonstate.edu/debian unstable/main amd64 gcc-9-arm-linux-gnueabihf amd64 9.2.1-4cross1 [7142 kB] Get:23 http://debian.oregonstate.edu/debian unstable/main amd64 gcc-arm-linux-gnueabihf amd64 4:9.2.1-3 [1460 B] Get:24 http://debian.oregonstate.edu/debian unstable/main amd64 linux-libc-dev-armhf-cross all 5.2.9-2cross6 [1312 kB] Get:25 http://debian.oregonstate.edu/debian unstable/main amd64 libc6-dev-armhf-cross all 2.28-10cross6 [2150 kB] Get:26 http://debian.oregonstate.edu/debian unstable/main amd64 libstdc++-9-dev-armhf-cross all 9.2.1-4cross1 [1717 kB] Get:27 http://debian.oregonstate.edu/debian unstable/main amd64 g++-9-arm-linux-gnueabihf amd64 9.2.1-4cross1 [7384 kB] Get:28 http://debian.oregonstate.edu/debian unstable/main amd64 g++-arm-linux-gnueabihf amd64 4:9.2.1-3 [1180 B] Get:29 http://debian.oregonstate.edu/debian unstable/main amd64 libconfig-inifiles-perl all 3.000001-1 [51.9 kB] Get:30 http://debian.oregonstate.edu/debian unstable/main amd64 libio-string-perl all 1.08-3 [12.3 kB] Get:31 http://debian.oregonstate.edu/debian unstable/main amd64 libicu63 amd64 63.2-2 [8301 kB] Get:32 http://debian.oregonstate.edu/debian unstable/main amd64 libxml2 amd64 2.9.4+dfsg1-7+b3 [687 kB] Get:33 http://debian.oregonstate.edu/debian unstable/main amd64 libxml-namespacesupport-perl all 1.12-1 [14.8 kB] Get:34 http://debian.oregonstate.edu/debian unstable/main amd64 libxml-sax-base-perl all 1.09-1 [20.4 kB] Get:35 http://debian.oregonstate.edu/debian unstable/main amd64 libxml-sax-perl all 1.02+dfsg-1 [59.0 kB] Get:36 http://debian.oregonstate.edu/debian unstable/main amd64 libxml-libxml-perl amd64 2.0134+dfsg-1 [344 kB] Get:37 http://debian.oregonstate.edu/debian unstable/main amd64 libxml-simple-perl all 2.25-1 [72.0 kB] Get:38 http://debian.oregonstate.edu/debian unstable/main amd64 libyaml-perl all 1.29-1 [67.4 kB] Get:39 http://debian.oregonstate.edu/debian unstable/main amd64 libconfig-auto-perl all 0.44-1 [19.5 kB] Get:40 http://debian.oregonstate.edu/debian unstable/main amd64 libfile-which-perl all 1.23-1 [16.6 kB] Get:41 http://debian.oregonstate.edu/debian unstable/main amd64 libfile-homedir-perl all 1.004-1 [42.7 kB] Get:42 http://debian.oregonstate.edu/debian unstable/main amd64 libdebian-dpkgcross-perl all 2.6.15-3 [38.7 kB] Get:43 http://debian.oregonstate.edu/debian unstable/main amd64 dpkg-cross all 2.6.15-3 [49.3 kB] Get:44 http://debian.oregonstate.edu/debian unstable/main amd64 crossbuild-essential-armhf all 12.6 [6572 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 42.8 MB in 1s (61.9 MB/s) Selecting previously unselected package liblocale-gettext-perl. (Reading database ... 13048 files and directories currently installed.) Preparing to unpack .../00-liblocale-gettext-perl_1.07-3+b4_amd64.deb ... Unpacking liblocale-gettext-perl (1.07-3+b4) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../01-sensible-utils_0.0.12_all.deb ... Unpacking sensible-utils (0.0.12) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../02-libmagic-mgc_1%3a5.37-5_amd64.deb ... Unpacking libmagic-mgc (1:5.37-5) ... Selecting previously unselected package libmagic1:amd64. Preparing to unpack .../03-libmagic1_1%3a5.37-5_amd64.deb ... Unpacking libmagic1:amd64 (1:5.37-5) ... Selecting previously unselected package file. Preparing to unpack .../04-file_1%3a5.37-5_amd64.deb ... Unpacking file (1:5.37-5) ... Selecting previously unselected package ucf. Preparing to unpack .../05-ucf_3.0038+nmu1_all.deb ... Moving old data out of the way Unpacking ucf (3.0038+nmu1) ... Selecting previously unselected package binutils-arm-linux-gnueabihf. Preparing to unpack .../06-binutils-arm-linux-gnueabihf_2.32.51.20190821-2_amd64.deb ... Unpacking binutils-arm-linux-gnueabihf (2.32.51.20190821-2) ... Selecting previously unselected package gcc-9-arm-linux-gnueabihf-base:amd64. Preparing to unpack .../07-gcc-9-arm-linux-gnueabihf-base_9.2.1-4cross1_amd64.deb ... Unpacking gcc-9-arm-linux-gnueabihf-base:amd64 (9.2.1-4cross1) ... Selecting previously unselected package cpp-9-arm-linux-gnueabihf. Preparing to unpack .../08-cpp-9-arm-linux-gnueabihf_9.2.1-4cross1_amd64.deb ... Unpacking cpp-9-arm-linux-gnueabihf (9.2.1-4cross1) ... Selecting previously unselected package cpp-arm-linux-gnueabihf. Preparing to unpack .../09-cpp-arm-linux-gnueabihf_4%3a9.2.1-3_amd64.deb ... Unpacking cpp-arm-linux-gnueabihf (4:9.2.1-3) ... Selecting previously unselected package cross-config. Preparing to unpack .../10-cross-config_2.6.15-3_all.deb ... Unpacking cross-config (2.6.15-3) ... Selecting previously unselected package gcc-9-cross-base. Preparing to unpack .../11-gcc-9-cross-base_9.2.1-4cross1_all.deb ... Unpacking gcc-9-cross-base (9.2.1-4cross1) ... Selecting previously unselected package libc6-armhf-cross. Preparing to unpack .../12-libc6-armhf-cross_2.28-10cross6_all.deb ... Unpacking libc6-armhf-cross (2.28-10cross6) ... Selecting previously unselected package libgcc1-armhf-cross. Preparing to unpack .../13-libgcc1-armhf-cross_1%3a9.2.1-4cross1_all.deb ... Unpacking libgcc1-armhf-cross (1:9.2.1-4cross1) ... Selecting previously unselected package libgomp1-armhf-cross. Preparing to unpack .../14-libgomp1-armhf-cross_9.2.1-4cross1_all.deb ... Unpacking libgomp1-armhf-cross (9.2.1-4cross1) ... Selecting previously unselected package libatomic1-armhf-cross. Preparing to unpack .../15-libatomic1-armhf-cross_9.2.1-4cross1_all.deb ... Unpacking libatomic1-armhf-cross (9.2.1-4cross1) ... Selecting previously unselected package libasan5-armhf-cross. Preparing to unpack .../16-libasan5-armhf-cross_9.2.1-4cross1_all.deb ... Unpacking libasan5-armhf-cross (9.2.1-4cross1) ... Selecting previously unselected package libstdc++6-armhf-cross. Preparing to unpack .../17-libstdc++6-armhf-cross_9.2.1-4cross1_all.deb ... Unpacking libstdc++6-armhf-cross (9.2.1-4cross1) ... Selecting previously unselected package libubsan1-armhf-cross. Preparing to unpack .../18-libubsan1-armhf-cross_9.2.1-4cross1_all.deb ... Unpacking libubsan1-armhf-cross (9.2.1-4cross1) ... Selecting previously unselected package libgcc-9-dev-armhf-cross. Preparing to unpack .../19-libgcc-9-dev-armhf-cross_9.2.1-4cross1_all.deb ... Unpacking libgcc-9-dev-armhf-cross (9.2.1-4cross1) ... Selecting previously unselected package gcc-9-arm-linux-gnueabihf. Preparing to unpack .../20-gcc-9-arm-linux-gnueabihf_9.2.1-4cross1_amd64.deb ... Unpacking gcc-9-arm-linux-gnueabihf (9.2.1-4cross1) ... Selecting previously unselected package gcc-arm-linux-gnueabihf. Preparing to unpack .../21-gcc-arm-linux-gnueabihf_4%3a9.2.1-3_amd64.deb ... Unpacking gcc-arm-linux-gnueabihf (4:9.2.1-3) ... Selecting previously unselected package linux-libc-dev-armhf-cross. Preparing to unpack .../22-linux-libc-dev-armhf-cross_5.2.9-2cross6_all.deb ... Unpacking linux-libc-dev-armhf-cross (5.2.9-2cross6) ... Selecting previously unselected package libc6-dev-armhf-cross. Preparing to unpack .../23-libc6-dev-armhf-cross_2.28-10cross6_all.deb ... Unpacking libc6-dev-armhf-cross (2.28-10cross6) ... Selecting previously unselected package libstdc++-9-dev-armhf-cross. Preparing to unpack .../24-libstdc++-9-dev-armhf-cross_9.2.1-4cross1_all.deb ... Unpacking libstdc++-9-dev-armhf-cross (9.2.1-4cross1) ... Selecting previously unselected package g++-9-arm-linux-gnueabihf. Preparing to unpack .../25-g++-9-arm-linux-gnueabihf_9.2.1-4cross1_amd64.deb ... Unpacking g++-9-arm-linux-gnueabihf (9.2.1-4cross1) ... Selecting previously unselected package g++-arm-linux-gnueabihf. Preparing to unpack .../26-g++-arm-linux-gnueabihf_4%3a9.2.1-3_amd64.deb ... Unpacking g++-arm-linux-gnueabihf (4:9.2.1-3) ... Selecting previously unselected package libconfig-inifiles-perl. Preparing to unpack .../27-libconfig-inifiles-perl_3.000001-1_all.deb ... Unpacking libconfig-inifiles-perl (3.000001-1) ... Selecting previously unselected package libio-string-perl. Preparing to unpack .../28-libio-string-perl_1.08-3_all.deb ... Unpacking libio-string-perl (1.08-3) ... Selecting previously unselected package libicu63:amd64. Preparing to unpack .../29-libicu63_63.2-2_amd64.deb ... Unpacking libicu63:amd64 (63.2-2) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../30-libxml2_2.9.4+dfsg1-7+b3_amd64.deb ... Unpacking libxml2:amd64 (2.9.4+dfsg1-7+b3) ... Selecting previously unselected package libxml-namespacesupport-perl. Preparing to unpack .../31-libxml-namespacesupport-perl_1.12-1_all.deb ... Unpacking libxml-namespacesupport-perl (1.12-1) ... Selecting previously unselected package libxml-sax-base-perl. Preparing to unpack .../32-libxml-sax-base-perl_1.09-1_all.deb ... Unpacking libxml-sax-base-perl (1.09-1) ... Selecting previously unselected package libxml-sax-perl. Preparing to unpack .../33-libxml-sax-perl_1.02+dfsg-1_all.deb ... Unpacking libxml-sax-perl (1.02+dfsg-1) ... Selecting previously unselected package libxml-libxml-perl. Preparing to unpack .../34-libxml-libxml-perl_2.0134+dfsg-1_amd64.deb ... Unpacking libxml-libxml-perl (2.0134+dfsg-1) ... Selecting previously unselected package libxml-simple-perl. Preparing to unpack .../35-libxml-simple-perl_2.25-1_all.deb ... Unpacking libxml-simple-perl (2.25-1) ... Selecting previously unselected package libyaml-perl. Preparing to unpack .../36-libyaml-perl_1.29-1_all.deb ... Unpacking libyaml-perl (1.29-1) ... Selecting previously unselected package libconfig-auto-perl. Preparing to unpack .../37-libconfig-auto-perl_0.44-1_all.deb ... Unpacking libconfig-auto-perl (0.44-1) ... Selecting previously unselected package libfile-which-perl. Preparing to unpack .../38-libfile-which-perl_1.23-1_all.deb ... Unpacking libfile-which-perl (1.23-1) ... Selecting previously unselected package libfile-homedir-perl. Preparing to unpack .../39-libfile-homedir-perl_1.004-1_all.deb ... Unpacking libfile-homedir-perl (1.004-1) ... Selecting previously unselected package libdebian-dpkgcross-perl. Preparing to unpack .../40-libdebian-dpkgcross-perl_2.6.15-3_all.deb ... Unpacking libdebian-dpkgcross-perl (2.6.15-3) ... Selecting previously unselected package dpkg-cross. Preparing to unpack .../41-dpkg-cross_2.6.15-3_all.deb ... Unpacking dpkg-cross (2.6.15-3) ... Selecting previously unselected package crossbuild-essential-armhf. Preparing to unpack .../42-crossbuild-essential-armhf_12.6_all.deb ... Unpacking crossbuild-essential-armhf (12.6) ... Selecting previously unselected package sbuild-build-depends-core-dummy:armhf. Preparing to unpack .../43-sbuild-build-depends-core-dummy_0.invalid.0_armhf.deb ... Unpacking sbuild-build-depends-core-dummy:armhf (0.invalid.0) ... Setting up libconfig-inifiles-perl (3.000001-1) ... Setting up libfile-which-perl (1.23-1) ... Setting up libc6-armhf-cross (2.28-10cross6) ... Setting up libmagic-mgc (1:5.37-5) ... Setting up libmagic1:amd64 (1:5.37-5) ... Setting up libxml-namespacesupport-perl (1.12-1) ... Setting up file (1:5.37-5) ... Setting up libyaml-perl (1.29-1) ... Setting up libicu63:amd64 (63.2-2) ... Setting up gcc-9-arm-linux-gnueabihf-base:amd64 (9.2.1-4cross1) ... Setting up libxml-sax-base-perl (1.09-1) ... Setting up libio-string-perl (1.08-3) ... Setting up cross-config (2.6.15-3) ... Setting up linux-libc-dev-armhf-cross (5.2.9-2cross6) ... Setting up gcc-9-cross-base (9.2.1-4cross1) ... Setting up sensible-utils (0.0.12) ... Setting up libfile-homedir-perl (1.004-1) ... Setting up binutils-arm-linux-gnueabihf (2.32.51.20190821-2) ... Setting up libxml2:amd64 (2.9.4+dfsg1-7+b3) ... Setting up liblocale-gettext-perl (1.07-3+b4) ... Setting up libgomp1-armhf-cross (9.2.1-4cross1) ... Setting up cpp-9-arm-linux-gnueabihf (9.2.1-4cross1) ... Setting up libc6-dev-armhf-cross (2.28-10cross6) ... Setting up libatomic1-armhf-cross (9.2.1-4cross1) ... Setting up libgcc1-armhf-cross (1:9.2.1-4cross1) ... Setting up ucf (3.0038+nmu1) ... Setting up cpp-arm-linux-gnueabihf (4:9.2.1-3) ... Setting up libxml-sax-perl (1.02+dfsg-1) ... update-perl-sax-parsers: Registering Perl SAX parser XML::SAX::PurePerl with priority 10... update-perl-sax-parsers: Updating overall Perl SAX parser modules info file... Creating config file /etc/perl/XML/SAX/ParserDetails.ini with new version Setting up libasan5-armhf-cross (9.2.1-4cross1) ... Setting up libstdc++6-armhf-cross (9.2.1-4cross1) ... Setting up libubsan1-armhf-cross (9.2.1-4cross1) ... Setting up libxml-libxml-perl (2.0134+dfsg-1) ... update-perl-sax-parsers: Registering Perl SAX parser XML::LibXML::SAX::Parser with priority 50... update-perl-sax-parsers: Registering Perl SAX parser XML::LibXML::SAX with priority 50... update-perl-sax-parsers: Updating overall Perl SAX parser modules info file... Replacing config file /etc/perl/XML/SAX/ParserDetails.ini with new version Setting up libgcc-9-dev-armhf-cross (9.2.1-4cross1) ... Setting up libxml-simple-perl (2.25-1) ... Setting up gcc-9-arm-linux-gnueabihf (9.2.1-4cross1) ... Setting up libstdc++-9-dev-armhf-cross (9.2.1-4cross1) ... Setting up gcc-arm-linux-gnueabihf (4:9.2.1-3) ... Setting up libconfig-auto-perl (0.44-1) ... Setting up g++-9-arm-linux-gnueabihf (9.2.1-4cross1) ... Setting up libdebian-dpkgcross-perl (2.6.15-3) ... Setting up g++-arm-linux-gnueabihf (4:9.2.1-3) ... Setting up dpkg-cross (2.6.15-3) ... Setting up crossbuild-essential-armhf (12.6) ... Setting up sbuild-build-depends-core-dummy:armhf (0.invalid.0) ... Processing triggers for libc-bin (2.28-10) ... +------------------------------------------------------------------------------+ | Check architectures | +------------------------------------------------------------------------------+ Arch check ok (armhf included in any) Setup apt archive ----------------- dpkg-deb: building package 'sbuild-build-depends-essential-dummy' in '/<>/resolver-wpt59Q/apt_archive/sbuild-build-depends-essential-dummy.deb'. dpkg-scanpackages: warning: Packages in archive but missing from override file: dpkg-scanpackages: warning: sbuild-build-depends-core-dummy sbuild-build-depends-essential-dummy dpkg-scanpackages: info: Wrote 2 entries to output Packages file. Ign:1 copy:/<>/resolver-wpt59Q/apt_archive ./ InRelease Get:2 copy:/<>/resolver-wpt59Q/apt_archive ./ Release [963 B] Ign:3 copy:/<>/resolver-wpt59Q/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-wpt59Q/apt_archive ./ Sources [485 B] Get:5 copy:/<>/resolver-wpt59Q/apt_archive ./ Packages [569 B] Fetched 2017 B in 0s (106 kB/s) Reading package lists... Reading package lists... Install essential 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-essential-dummy:armhf 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 840 B of archives. After this operation, 0 B of additional disk space will be used. Get:1 copy:/<>/resolver-wpt59Q/apt_archive ./ sbuild-build-depends-essential-dummy 0.invalid.0 [840 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 840 B in 0s (0 B/s) Selecting previously unselected package sbuild-build-depends-essential-dummy:armhf. (Reading database ... 16156 files and directories currently installed.) Preparing to unpack .../sbuild-build-depends-essential-dummy_0.invalid.0_armhf.deb ... Unpacking sbuild-build-depends-essential-dummy:armhf (0.invalid.0) ... Setting up sbuild-build-depends-essential-dummy:armhf (0.invalid.0) ... +------------------------------------------------------------------------------+ | Install package build dependencies | +------------------------------------------------------------------------------+ Setup apt archive ----------------- Merged Build-Depends: libc-dev, libstdc++-dev, 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: libc-dev, libstdc++-dev, 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-wpt59Q/apt_archive/sbuild-build-depends-testdisk-dummy.deb'. dpkg-scanpackages: warning: Packages in archive but missing from override file: dpkg-scanpackages: warning: sbuild-build-depends-core-dummy sbuild-build-depends-essential-dummy sbuild-build-depends-testdisk-dummy dpkg-scanpackages: info: Wrote 3 entries to output Packages file. Ign:1 copy:/<>/resolver-wpt59Q/apt_archive ./ InRelease Get:2 copy:/<>/resolver-wpt59Q/apt_archive ./ Release [963 B] Ign:3 copy:/<>/resolver-wpt59Q/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-wpt59Q/apt_archive ./ Sources [720 B] Get:5 copy:/<>/resolver-wpt59Q/apt_archive ./ Packages [780 B] Fetched 2463 B in 0s (123 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:armhf debhelper dh-autoreconf dh-strip-nondeterminism dwz fuse:armhf gcc-9-base:armhf gettext gettext-base groff-base intltool-debian libarchive-zip-perl libasan5:armhf libatomic1:armhf libbsd0 libc6:armhf libc6-dev:armhf libcom-err2:armhf libcroco3 libelf1 libext2fs-dev:armhf libext2fs2:armhf libffi6:armhf libfile-stripnondeterminism-perl libfuse2:armhf libgcc-9-dev:armhf libgcc1:armhf libgcrypt20:armhf libglib2.0-0 libgmp10:armhf libgnutls30:armhf libgomp1:armhf libgpg-error0:armhf libhogweed4:armhf libidn2-0:armhf libjpeg62-turbo:armhf libjpeg62-turbo-dev:armhf libncurses-dev:armhf libncurses5-dev:armhf libncurses6 libncurses6:armhf libncursesw6:armhf libnettle6:armhf libntfs-3g883:armhf libp11-kit0:armhf libpipeline1 libsigsegv2 libstdc++-9-dev:armhf libstdc++6:armhf libsub-override-perl libtasn1-6:armhf libtinfo6:armhf libtool libubsan1:armhf libuchardet0 libunistring2:armhf libuuid1:armhf linux-libc-dev:armhf m4 man-db ntfs-3g:armhf ntfs-3g-dev:armhf pkg-config po-debconf uuid-dev:armhf zlib1g:armhf zlib1g-dev:armhf Suggested packages: autoconf-archive gnu-standards autoconf-doc wamerican | wordlist whois vacation doc-base:armhf dh-make gettext-doc libasprintf-dev libgettextpo-dev groff glibc-doc:armhf libc-l10n:armhf locales:armhf manpages-dev:armhf rng-tools:armhf gnutls-bin:armhf ncurses-doc:armhf libstdc++-9-doc:armhf 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 libgpg-error-l10n:armhf libgpm2 libgpm2:armhf libltdl-dev uuid-runtime:armhf libmail-sendmail-perl The following NEW packages will be installed: autoconf automake autopoint autotools-dev bsdmainutils comerr-dev:armhf debhelper dh-autoreconf dh-strip-nondeterminism dwz fuse:armhf gcc-9-base:armhf gettext gettext-base groff-base intltool-debian libarchive-zip-perl libasan5:armhf libatomic1:armhf libbsd0 libc6:armhf libc6-dev:armhf libcom-err2:armhf libcroco3 libelf1 libext2fs-dev:armhf libext2fs2:armhf libffi6:armhf libfile-stripnondeterminism-perl libfuse2:armhf libgcc-9-dev:armhf libgcc1:armhf libgcrypt20:armhf libglib2.0-0 libgmp10:armhf libgnutls30:armhf libgomp1:armhf libgpg-error0:armhf libhogweed4:armhf libidn2-0:armhf libjpeg62-turbo:armhf libjpeg62-turbo-dev:armhf libncurses-dev:armhf libncurses5-dev:armhf libncurses6 libncurses6:armhf libncursesw6:armhf libnettle6:armhf libntfs-3g883:armhf libp11-kit0:armhf libpipeline1 libsigsegv2 libstdc++-9-dev:armhf libstdc++6:armhf libsub-override-perl libtasn1-6:armhf libtinfo6:armhf libtool libubsan1:armhf libuchardet0 libunistring2:armhf libuuid1:armhf linux-libc-dev:armhf m4 man-db ntfs-3g:armhf ntfs-3g-dev:armhf pkg-config po-debconf sbuild-build-depends-testdisk-dummy:armhf uuid-dev:armhf zlib1g:armhf zlib1g-dev:armhf 0 upgraded, 73 newly installed, 0 to remove and 0 not upgraded. Need to get 25.4 MB of archives. After this operation, 96.8 MB of additional disk space will be used. Get:1 copy:/<>/resolver-wpt59Q/apt_archive ./ sbuild-build-depends-testdisk-dummy 0.invalid.0 [940 B] Get:2 http://debian.oregonstate.edu/debian unstable/main amd64 libbsd0 amd64 0.10.0-1 [107 kB] Get:3 http://debian.oregonstate.edu/debian unstable/main amd64 bsdmainutils amd64 11.1.2+b1 [191 kB] Get:4 http://debian.oregonstate.edu/debian unstable/main amd64 libuchardet0 amd64 0.0.6-3 [64.9 kB] Get:5 http://debian.oregonstate.edu/debian unstable/main amd64 groff-base amd64 1.22.4-3 [916 kB] Get:6 http://debian.oregonstate.edu/debian unstable/main amd64 libpipeline1 amd64 1.5.1-2 [31.2 kB] Get:7 http://debian.oregonstate.edu/debian unstable/main amd64 man-db amd64 2.8.6.1-2 [1294 kB] Get:8 http://debian.oregonstate.edu/debian unstable/main armhf gcc-9-base armhf 9.2.1-4 [192 kB] Get:9 http://debian.oregonstate.edu/debian unstable/main armhf libgcc1 armhf 1:9.2.1-4 [37.4 kB] Get:10 http://debian.oregonstate.edu/debian unstable/main armhf libc6 armhf 2.28-10 [2390 kB] Get:11 http://debian.oregonstate.edu/debian unstable/main armhf libfuse2 armhf 2.9.9-1 [117 kB] Get:12 http://debian.oregonstate.edu/debian unstable/main armhf fuse armhf 2.9.9-1 [70.3 kB] Get:13 http://debian.oregonstate.edu/debian unstable/main armhf libgpg-error0 armhf 1.36-7 [63.1 kB] Get:14 http://debian.oregonstate.edu/debian unstable/main armhf libgcrypt20 armhf 1.8.4-5 [501 kB] Get:15 http://debian.oregonstate.edu/debian unstable/main armhf libgmp10 armhf 2:6.1.2+dfsg-4 [205 kB] Get:16 http://debian.oregonstate.edu/debian unstable/main armhf libnettle6 armhf 3.4.1-1+b1 [228 kB] Get:17 http://debian.oregonstate.edu/debian unstable/main armhf libhogweed4 armhf 3.4.1-1+b1 [130 kB] Get:18 http://debian.oregonstate.edu/debian unstable/main armhf libunistring2 armhf 0.9.10-2 [371 kB] Get:19 http://debian.oregonstate.edu/debian unstable/main armhf libidn2-0 armhf 2.2.0-1 [80.3 kB] Get:20 http://debian.oregonstate.edu/debian unstable/main armhf libffi6 armhf 3.2.1-9 [18.9 kB] Get:21 http://debian.oregonstate.edu/debian unstable/main armhf libp11-kit0 armhf 0.23.16.1-2 [294 kB] Get:22 http://debian.oregonstate.edu/debian unstable/main armhf libtasn1-6 armhf 4.14-2 [48.7 kB] Get:23 http://debian.oregonstate.edu/debian unstable/main armhf libgnutls30 armhf 3.6.9-4 [1097 kB] Get:24 http://debian.oregonstate.edu/debian unstable/main armhf libntfs-3g883 armhf 1:2017.3.23AR.3-3 [160 kB] Get:25 http://debian.oregonstate.edu/debian unstable/main armhf ntfs-3g armhf 1:2017.3.23AR.3-3 [401 kB] Get:26 http://debian.oregonstate.edu/debian unstable/main amd64 gettext-base amd64 0.19.8.1-9 [123 kB] Get:27 http://debian.oregonstate.edu/debian unstable/main amd64 libsigsegv2 amd64 2.12-2 [32.8 kB] Get:28 http://debian.oregonstate.edu/debian unstable/main amd64 m4 amd64 1.4.18-2 [203 kB] Get:29 http://debian.oregonstate.edu/debian unstable/main amd64 autoconf all 2.69-11 [341 kB] Get:30 http://debian.oregonstate.edu/debian unstable/main amd64 autotools-dev all 20180224.1 [77.0 kB] Get:31 http://debian.oregonstate.edu/debian unstable/main amd64 automake all 1:1.16.1-4 [771 kB] Get:32 http://debian.oregonstate.edu/debian unstable/main amd64 autopoint all 0.19.8.1-9 [434 kB] Get:33 http://debian.oregonstate.edu/debian unstable/main armhf linux-libc-dev armhf 5.2.9-2 [1216 kB] Get:34 http://debian.oregonstate.edu/debian unstable/main armhf libc6-dev armhf 2.28-10 [2149 kB] Get:35 http://debian.oregonstate.edu/debian unstable/main armhf libcom-err2 armhf 1.45.3-4 [69.6 kB] Get:36 http://debian.oregonstate.edu/debian unstable/main armhf comerr-dev armhf 2.1-1.45.3-4 [104 kB] Get:37 http://debian.oregonstate.edu/debian unstable/main amd64 libtool all 2.4.6-10 [547 kB] Get:38 http://debian.oregonstate.edu/debian unstable/main amd64 dh-autoreconf all 19 [16.9 kB] Get:39 http://debian.oregonstate.edu/debian unstable/main amd64 libarchive-zip-perl all 1.64-1 [96.8 kB] Get:40 http://debian.oregonstate.edu/debian unstable/main amd64 libsub-override-perl all 0.09-2 [10.2 kB] Get:41 http://debian.oregonstate.edu/debian unstable/main amd64 libfile-stripnondeterminism-perl all 1.5.0-1 [22.8 kB] Get:42 http://debian.oregonstate.edu/debian unstable/main amd64 dh-strip-nondeterminism all 1.5.0-1 [14.1 kB] Get:43 http://debian.oregonstate.edu/debian unstable/main amd64 libelf1 amd64 0.176-1.1 [161 kB] Get:44 http://debian.oregonstate.edu/debian unstable/main amd64 dwz amd64 0.13-1 [81.8 kB] Get:45 http://debian.oregonstate.edu/debian unstable/main amd64 libglib2.0-0 amd64 2.60.6-2 [1295 kB] Get:46 http://debian.oregonstate.edu/debian unstable/main amd64 libcroco3 amd64 0.6.13-1 [146 kB] Get:47 http://debian.oregonstate.edu/debian unstable/main amd64 libncurses6 amd64 6.1+20190803-1 [102 kB] Get:48 http://debian.oregonstate.edu/debian unstable/main amd64 gettext amd64 0.19.8.1-9 [1303 kB] Get:49 http://debian.oregonstate.edu/debian unstable/main amd64 intltool-debian all 0.35.0+20060710.5 [26.8 kB] Get:50 http://debian.oregonstate.edu/debian unstable/main amd64 po-debconf all 1.0.21 [248 kB] Get:51 http://debian.oregonstate.edu/debian unstable/main amd64 debhelper all 12.5.3 [1036 kB] Get:52 http://debian.oregonstate.edu/debian unstable/main armhf libasan5 armhf 9.2.1-4 [370 kB] Get:53 http://debian.oregonstate.edu/debian unstable/main armhf libatomic1 armhf 9.2.1-4 [6868 B] Get:54 http://debian.oregonstate.edu/debian unstable/main armhf libext2fs2 armhf 1.45.3-4 [230 kB] Get:55 http://debian.oregonstate.edu/debian unstable/main armhf libext2fs-dev armhf 1.45.3-4 [316 kB] Get:56 http://debian.oregonstate.edu/debian unstable/main armhf libgomp1 armhf 9.2.1-4 [75.3 kB] Get:57 http://debian.oregonstate.edu/debian unstable/main armhf libstdc++6 armhf 9.2.1-4 [431 kB] Get:58 http://debian.oregonstate.edu/debian unstable/main armhf libubsan1 armhf 9.2.1-4 [113 kB] Get:59 http://debian.oregonstate.edu/debian unstable/main armhf libgcc-9-dev armhf 9.2.1-4 [662 kB] Get:60 http://debian.oregonstate.edu/debian unstable/main armhf libjpeg62-turbo armhf 1:1.5.2-2+b1 [112 kB] Get:61 http://debian.oregonstate.edu/debian unstable/main armhf libjpeg62-turbo-dev armhf 1:1.5.2-2+b1 [182 kB] Get:62 http://debian.oregonstate.edu/debian unstable/main armhf libtinfo6 armhf 6.1+20190803-1 [318 kB] Get:63 http://debian.oregonstate.edu/debian unstable/main armhf libncurses6 armhf 6.1+20190803-1 [80.2 kB] Get:64 http://debian.oregonstate.edu/debian unstable/main armhf libncursesw6 armhf 6.1+20190803-1 [106 kB] Get:65 http://debian.oregonstate.edu/debian unstable/main armhf libncurses-dev armhf 6.1+20190803-1 [298 kB] Get:66 http://debian.oregonstate.edu/debian unstable/main armhf libncurses5-dev armhf 6.1+20190803-1 [940 B] Get:67 http://debian.oregonstate.edu/debian unstable/main armhf libstdc++-9-dev armhf 9.2.1-4 [1717 kB] Get:68 http://debian.oregonstate.edu/debian unstable/main armhf libuuid1 armhf 2.34-0.1 [77.6 kB] Get:69 http://debian.oregonstate.edu/debian unstable/main armhf ntfs-3g-dev armhf 1:2017.3.23AR.3-3 [233 kB] Get:70 http://debian.oregonstate.edu/debian unstable/main amd64 pkg-config amd64 0.29-6 [63.5 kB] Get:71 http://debian.oregonstate.edu/debian unstable/main armhf uuid-dev armhf 2.34-0.1 [92.7 kB] Get:72 http://debian.oregonstate.edu/debian unstable/main armhf zlib1g armhf 1:1.2.11.dfsg-1+b1 [85.1 kB] Get:73 http://debian.oregonstate.edu/debian unstable/main armhf zlib1g-dev armhf 1:1.2.11.dfsg-1+b1 [204 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 25.4 MB in 0s (57.7 MB/s) Selecting previously unselected package libbsd0:amd64. (Reading database ... 16156 files and directories currently installed.) Preparing to unpack .../00-libbsd0_0.10.0-1_amd64.deb ... Unpacking libbsd0:amd64 (0.10.0-1) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../01-bsdmainutils_11.1.2+b1_amd64.deb ... Unpacking bsdmainutils (11.1.2+b1) ... Selecting previously unselected package libuchardet0:amd64. Preparing to unpack .../02-libuchardet0_0.0.6-3_amd64.deb ... Unpacking libuchardet0:amd64 (0.0.6-3) ... Selecting previously unselected package groff-base. Preparing to unpack .../03-groff-base_1.22.4-3_amd64.deb ... Unpacking groff-base (1.22.4-3) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../04-libpipeline1_1.5.1-2_amd64.deb ... Unpacking libpipeline1:amd64 (1.5.1-2) ... Selecting previously unselected package man-db. Preparing to unpack .../05-man-db_2.8.6.1-2_amd64.deb ... Unpacking man-db (2.8.6.1-2) ... Selecting previously unselected package gcc-9-base:armhf. Preparing to unpack .../06-gcc-9-base_9.2.1-4_armhf.deb ... Unpacking gcc-9-base:armhf (9.2.1-4) ... Selecting previously unselected package libgcc1:armhf. Preparing to unpack .../07-libgcc1_1%3a9.2.1-4_armhf.deb ... Unpacking libgcc1:armhf (1:9.2.1-4) ... Selecting previously unselected package libc6:armhf. Preparing to unpack .../08-libc6_2.28-10_armhf.deb ... Unpacking libc6:armhf (2.28-10) ... Selecting previously unselected package libfuse2:armhf. Preparing to unpack .../09-libfuse2_2.9.9-1_armhf.deb ... Unpacking libfuse2:armhf (2.9.9-1) ... Selecting previously unselected package fuse:armhf. Preparing to unpack .../10-fuse_2.9.9-1_armhf.deb ... Unpacking fuse:armhf (2.9.9-1) ... Selecting previously unselected package libgpg-error0:armhf. Preparing to unpack .../11-libgpg-error0_1.36-7_armhf.deb ... Unpacking libgpg-error0:armhf (1.36-7) ... Selecting previously unselected package libgcrypt20:armhf. Preparing to unpack .../12-libgcrypt20_1.8.4-5_armhf.deb ... Unpacking libgcrypt20:armhf (1.8.4-5) ... Selecting previously unselected package libgmp10:armhf. Preparing to unpack .../13-libgmp10_2%3a6.1.2+dfsg-4_armhf.deb ... Unpacking libgmp10:armhf (2:6.1.2+dfsg-4) ... Selecting previously unselected package libnettle6:armhf. Preparing to unpack .../14-libnettle6_3.4.1-1+b1_armhf.deb ... Unpacking libnettle6:armhf (3.4.1-1+b1) ... Selecting previously unselected package libhogweed4:armhf. Preparing to unpack .../15-libhogweed4_3.4.1-1+b1_armhf.deb ... Unpacking libhogweed4:armhf (3.4.1-1+b1) ... Selecting previously unselected package libunistring2:armhf. Preparing to unpack .../16-libunistring2_0.9.10-2_armhf.deb ... Unpacking libunistring2:armhf (0.9.10-2) ... Selecting previously unselected package libidn2-0:armhf. Preparing to unpack .../17-libidn2-0_2.2.0-1_armhf.deb ... Unpacking libidn2-0:armhf (2.2.0-1) ... Selecting previously unselected package libffi6:armhf. Preparing to unpack .../18-libffi6_3.2.1-9_armhf.deb ... Unpacking libffi6:armhf (3.2.1-9) ... Selecting previously unselected package libp11-kit0:armhf. Preparing to unpack .../19-libp11-kit0_0.23.16.1-2_armhf.deb ... Unpacking libp11-kit0:armhf (0.23.16.1-2) ... Selecting previously unselected package libtasn1-6:armhf. Preparing to unpack .../20-libtasn1-6_4.14-2_armhf.deb ... Unpacking libtasn1-6:armhf (4.14-2) ... Selecting previously unselected package libgnutls30:armhf. Preparing to unpack .../21-libgnutls30_3.6.9-4_armhf.deb ... Unpacking libgnutls30:armhf (3.6.9-4) ... Selecting previously unselected package libntfs-3g883:armhf. Preparing to unpack .../22-libntfs-3g883_1%3a2017.3.23AR.3-3_armhf.deb ... Unpacking libntfs-3g883:armhf (1:2017.3.23AR.3-3) ... Setting up gcc-9-base:armhf (9.2.1-4) ... Setting up libgcc1:armhf (1:9.2.1-4) ... Setting up libc6:armhf (2.28-10) ... Setting up libfuse2:armhf (2.9.9-1) ... Setting up fuse:armhf (2.9.9-1) ... Selecting previously unselected package ntfs-3g:armhf. (Reading database ... 17154 files and directories currently installed.) Preparing to unpack .../00-ntfs-3g_1%3a2017.3.23AR.3-3_armhf.deb ... Unpacking ntfs-3g:armhf (1:2017.3.23AR.3-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../01-gettext-base_0.19.8.1-9_amd64.deb ... Unpacking gettext-base (0.19.8.1-9) ... Selecting previously unselected package libsigsegv2:amd64. Preparing to unpack .../02-libsigsegv2_2.12-2_amd64.deb ... Unpacking libsigsegv2:amd64 (2.12-2) ... Selecting previously unselected package m4. Preparing to unpack .../03-m4_1.4.18-2_amd64.deb ... Unpacking m4 (1.4.18-2) ... Selecting previously unselected package autoconf. Preparing to unpack .../04-autoconf_2.69-11_all.deb ... Unpacking autoconf (2.69-11) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../05-autotools-dev_20180224.1_all.deb ... Unpacking autotools-dev (20180224.1) ... Selecting previously unselected package automake. Preparing to unpack .../06-automake_1%3a1.16.1-4_all.deb ... Unpacking automake (1:1.16.1-4) ... Selecting previously unselected package autopoint. Preparing to unpack .../07-autopoint_0.19.8.1-9_all.deb ... Unpacking autopoint (0.19.8.1-9) ... Selecting previously unselected package linux-libc-dev:armhf. Preparing to unpack .../08-linux-libc-dev_5.2.9-2_armhf.deb ... Unpacking linux-libc-dev:armhf (5.2.9-2) ... Selecting previously unselected package libc6-dev:armhf. Preparing to unpack .../09-libc6-dev_2.28-10_armhf.deb ... Unpacking libc6-dev:armhf (2.28-10) ... Selecting previously unselected package libcom-err2:armhf. Preparing to unpack .../10-libcom-err2_1.45.3-4_armhf.deb ... Unpacking libcom-err2:armhf (1.45.3-4) ... Selecting previously unselected package comerr-dev:armhf. Preparing to unpack .../11-comerr-dev_2.1-1.45.3-4_armhf.deb ... Unpacking comerr-dev:armhf (2.1-1.45.3-4) ... Selecting previously unselected package libtool. Preparing to unpack .../12-libtool_2.4.6-10_all.deb ... Unpacking libtool (2.4.6-10) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../13-dh-autoreconf_19_all.deb ... Unpacking dh-autoreconf (19) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../14-libarchive-zip-perl_1.64-1_all.deb ... Unpacking libarchive-zip-perl (1.64-1) ... Selecting previously unselected package libsub-override-perl. Preparing to unpack .../15-libsub-override-perl_0.09-2_all.deb ... Unpacking libsub-override-perl (0.09-2) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../16-libfile-stripnondeterminism-perl_1.5.0-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.5.0-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../17-dh-strip-nondeterminism_1.5.0-1_all.deb ... Unpacking dh-strip-nondeterminism (1.5.0-1) ... Selecting previously unselected package libelf1:amd64. Preparing to unpack .../18-libelf1_0.176-1.1_amd64.deb ... Unpacking libelf1:amd64 (0.176-1.1) ... Selecting previously unselected package dwz. Preparing to unpack .../19-dwz_0.13-1_amd64.deb ... Unpacking dwz (0.13-1) ... Selecting previously unselected package libglib2.0-0:amd64. Preparing to unpack .../20-libglib2.0-0_2.60.6-2_amd64.deb ... Unpacking libglib2.0-0:amd64 (2.60.6-2) ... Selecting previously unselected package libcroco3:amd64. Preparing to unpack .../21-libcroco3_0.6.13-1_amd64.deb ... Unpacking libcroco3:amd64 (0.6.13-1) ... Selecting previously unselected package libncurses6:amd64. Preparing to unpack .../22-libncurses6_6.1+20190803-1_amd64.deb ... Unpacking libncurses6:amd64 (6.1+20190803-1) ... Selecting previously unselected package gettext. Preparing to unpack .../23-gettext_0.19.8.1-9_amd64.deb ... Unpacking gettext (0.19.8.1-9) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../24-intltool-debian_0.35.0+20060710.5_all.deb ... Unpacking intltool-debian (0.35.0+20060710.5) ... Selecting previously unselected package po-debconf. Preparing to unpack .../25-po-debconf_1.0.21_all.deb ... Unpacking po-debconf (1.0.21) ... Selecting previously unselected package debhelper. Preparing to unpack .../26-debhelper_12.5.3_all.deb ... Unpacking debhelper (12.5.3) ... Selecting previously unselected package libasan5:armhf. Preparing to unpack .../27-libasan5_9.2.1-4_armhf.deb ... Unpacking libasan5:armhf (9.2.1-4) ... Selecting previously unselected package libatomic1:armhf. Preparing to unpack .../28-libatomic1_9.2.1-4_armhf.deb ... Unpacking libatomic1:armhf (9.2.1-4) ... Selecting previously unselected package libext2fs2:armhf. Preparing to unpack .../29-libext2fs2_1.45.3-4_armhf.deb ... Unpacking libext2fs2:armhf (1.45.3-4) ... Selecting previously unselected package libext2fs-dev:armhf. Preparing to unpack .../30-libext2fs-dev_1.45.3-4_armhf.deb ... Unpacking libext2fs-dev:armhf (1.45.3-4) ... Selecting previously unselected package libgomp1:armhf. Preparing to unpack .../31-libgomp1_9.2.1-4_armhf.deb ... Unpacking libgomp1:armhf (9.2.1-4) ... Selecting previously unselected package libstdc++6:armhf. Preparing to unpack .../32-libstdc++6_9.2.1-4_armhf.deb ... Unpacking libstdc++6:armhf (9.2.1-4) ... Selecting previously unselected package libubsan1:armhf. Preparing to unpack .../33-libubsan1_9.2.1-4_armhf.deb ... Unpacking libubsan1:armhf (9.2.1-4) ... Selecting previously unselected package libgcc-9-dev:armhf. Preparing to unpack .../34-libgcc-9-dev_9.2.1-4_armhf.deb ... Unpacking libgcc-9-dev:armhf (9.2.1-4) ... Selecting previously unselected package libjpeg62-turbo:armhf. Preparing to unpack .../35-libjpeg62-turbo_1%3a1.5.2-2+b1_armhf.deb ... Unpacking libjpeg62-turbo:armhf (1:1.5.2-2+b1) ... Selecting previously unselected package libjpeg62-turbo-dev:armhf. Preparing to unpack .../36-libjpeg62-turbo-dev_1%3a1.5.2-2+b1_armhf.deb ... Unpacking libjpeg62-turbo-dev:armhf (1:1.5.2-2+b1) ... Selecting previously unselected package libtinfo6:armhf. Preparing to unpack .../37-libtinfo6_6.1+20190803-1_armhf.deb ... Unpacking libtinfo6:armhf (6.1+20190803-1) ... Selecting previously unselected package libncurses6:armhf. Preparing to unpack .../38-libncurses6_6.1+20190803-1_armhf.deb ... Unpacking libncurses6:armhf (6.1+20190803-1) ... Selecting previously unselected package libncursesw6:armhf. Preparing to unpack .../39-libncursesw6_6.1+20190803-1_armhf.deb ... Unpacking libncursesw6:armhf (6.1+20190803-1) ... Selecting previously unselected package libncurses-dev:armhf. Preparing to unpack .../40-libncurses-dev_6.1+20190803-1_armhf.deb ... Unpacking libncurses-dev:armhf (6.1+20190803-1) ... Selecting previously unselected package libncurses5-dev:armhf. Preparing to unpack .../41-libncurses5-dev_6.1+20190803-1_armhf.deb ... Unpacking libncurses5-dev:armhf (6.1+20190803-1) ... Selecting previously unselected package libstdc++-9-dev:armhf. Preparing to unpack .../42-libstdc++-9-dev_9.2.1-4_armhf.deb ... Unpacking libstdc++-9-dev:armhf (9.2.1-4) ... Selecting previously unselected package libuuid1:armhf. Preparing to unpack .../43-libuuid1_2.34-0.1_armhf.deb ... Unpacking libuuid1:armhf (2.34-0.1) ... Selecting previously unselected package ntfs-3g-dev:armhf. Preparing to unpack .../44-ntfs-3g-dev_1%3a2017.3.23AR.3-3_armhf.deb ... Unpacking ntfs-3g-dev:armhf (1:2017.3.23AR.3-3) ... Selecting previously unselected package pkg-config. Preparing to unpack .../45-pkg-config_0.29-6_amd64.deb ... Unpacking pkg-config (0.29-6) ... Selecting previously unselected package uuid-dev:armhf. Preparing to unpack .../46-uuid-dev_2.34-0.1_armhf.deb ... Unpacking uuid-dev:armhf (2.34-0.1) ... Selecting previously unselected package zlib1g:armhf. Preparing to unpack .../47-zlib1g_1%3a1.2.11.dfsg-1+b1_armhf.deb ... Unpacking zlib1g:armhf (1:1.2.11.dfsg-1+b1) ... Selecting previously unselected package zlib1g-dev:armhf. Preparing to unpack .../48-zlib1g-dev_1%3a1.2.11.dfsg-1+b1_armhf.deb ... Unpacking zlib1g-dev:armhf (1:1.2.11.dfsg-1+b1) ... Selecting previously unselected package sbuild-build-depends-testdisk-dummy:armhf. Preparing to unpack .../49-sbuild-build-depends-testdisk-dummy_0.invalid.0_armhf.deb ... Unpacking sbuild-build-depends-testdisk-dummy:armhf (0.invalid.0) ... Setting up libpipeline1:amd64 (1.5.1-2) ... Setting up libgpg-error0:armhf (1.36-7) ... Setting up libarchive-zip-perl (1.64-1) ... Setting up libglib2.0-0:amd64 (2.60.6-2) ... No schema files found: doing nothing. Setting up libunistring2:armhf (0.9.10-2) ... Setting up linux-libc-dev:armhf (5.2.9-2) ... Setting up gettext-base (0.19.8.1-9) ... Setting up libgcrypt20:armhf (1.8.4-5) ... Setting up libntfs-3g883:armhf (1:2017.3.23AR.3-3) ... Setting up zlib1g:armhf (1:1.2.11.dfsg-1+b1) ... Setting up libffi6:armhf (3.2.1-9) ... Setting up libidn2-0:armhf (2.2.0-1) ... Setting up libcom-err2:armhf (1.45.3-4) ... Setting up libgomp1:armhf (9.2.1-4) ... Setting up libasan5:armhf (9.2.1-4) ... Setting up autotools-dev (20180224.1) ... Setting up libext2fs2:armhf (1.45.3-4) ... Setting up libjpeg62-turbo:armhf (1:1.5.2-2+b1) ... Setting up libgmp10:armhf (2:6.1.2+dfsg-4) ... Setting up libncurses6:amd64 (6.1+20190803-1) ... Setting up libsigsegv2:amd64 (2.12-2) ... Setting up libp11-kit0:armhf (0.23.16.1-2) ... Setting up libatomic1:armhf (9.2.1-4) ... Setting up libuuid1:armhf (2.34-0.1) ... Setting up autopoint (0.19.8.1-9) ... Setting up libcroco3:amd64 (0.6.13-1) ... Setting up pkg-config (0.29-6) ... Setting up libnettle6:armhf (3.4.1-1+b1) ... Setting up libuchardet0:amd64 (0.0.6-3) ... Setting up libtasn1-6:armhf (4.14-2) ... Setting up libsub-override-perl (0.09-2) ... Setting up libc6-dev:armhf (2.28-10) ... Setting up libbsd0:amd64 (0.10.0-1) ... Setting up libelf1:amd64 (0.176-1.1) ... Setting up libstdc++6:armhf (9.2.1-4) ... Setting up libtinfo6:armhf (6.1+20190803-1) ... Setting up libfile-stripnondeterminism-perl (1.5.0-1) ... Setting up gettext (0.19.8.1-9) ... Setting up libtool (2.4.6-10) ... Setting up libhogweed4:armhf (3.4.1-1+b1) ... Setting up m4 (1.4.18-2) ... Setting up intltool-debian (0.35.0+20060710.5) ... Setting up libgnutls30:armhf (3.6.9-4) ... Setting up libjpeg62-turbo-dev:armhf (1:1.5.2-2+b1) ... Setting up uuid-dev:armhf (2.34-0.1) ... Setting up libncurses6:armhf (6.1+20190803-1) ... Setting up bsdmainutils (11.1.2+b1) ... update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode Setting up comerr-dev:armhf (2.1-1.45.3-4) ... Setting up libncursesw6:armhf (6.1+20190803-1) ... Setting up autoconf (2.69-11) ... Setting up libubsan1:armhf (9.2.1-4) ... Setting up zlib1g-dev:armhf (1:1.2.11.dfsg-1+b1) ... Setting up dwz (0.13-1) ... Setting up groff-base (1.22.4-3) ... Setting up libext2fs-dev:armhf (1.45.3-4) ... Setting up automake (1:1.16.1-4) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up libncurses-dev:armhf (6.1+20190803-1) ... Setting up po-debconf (1.0.21) ... Setting up man-db (2.8.6.1-2) ... Not building database; man-db/auto-update is not 'true'. Setting up ntfs-3g:armhf (1:2017.3.23AR.3-3) ... Setting up ntfs-3g-dev:armhf (1:2017.3.23AR.3-3) ... Setting up libgcc-9-dev:armhf (9.2.1-4) ... Setting up libncurses5-dev:armhf (6.1+20190803-1) ... Setting up libstdc++-9-dev:armhf (9.2.1-4) ... Setting up debhelper (12.5.3) ... Setting up dh-autoreconf (19) ... Setting up dh-strip-nondeterminism (1.5.0-1) ... Setting up sbuild-build-depends-testdisk-dummy:armhf (0.invalid.0) ... Processing triggers for libc-bin (2.28-10) ... +------------------------------------------------------------------------------+ | Build environment | +------------------------------------------------------------------------------+ Kernel: Linux 4.9.0-8-amd64 amd64 (x86_64) Toolchain package versions: binutils_2.32.51.20190821-2 dpkg-dev_1.19.7 g++-8_8.3.0-21 g++-9_9.2.1-4 gcc-8_8.3.0-21 gcc-9_9.2.1-4 libc6-dev_2.28-10 libstdc++-8-dev_8.3.0-21 libstdc++-9-dev_9.2.1-4 libstdc++-9-dev-armhf-cross_9.2.1-4cross1 libstdc++6_9.2.1-4 libstdc++6-armhf-cross_9.2.1-4cross1 linux-libc-dev_5.2.9-2 Package versions: adduser_3.118 apt_1.8.3 autoconf_2.69-11 automake_1:1.16.1-4 autopoint_0.19.8.1-9 autotools-dev_20180224.1 base-files_11 base-passwd_3.5.46 bash_5.0-4 binutils_2.32.51.20190821-2 binutils-arm-linux-gnueabihf_2.32.51.20190821-2 binutils-common_2.32.51.20190821-2 binutils-x86-64-linux-gnu_2.32.51.20190821-2 bsdmainutils_11.1.2+b1 bsdutils_1:2.34-0.1 build-essential_12.6 bzip2_1.0.6-9.2 comerr-dev_2.1-1.45.3-4 coreutils_8.30-3+b1 cpp_4:9.2.1-3 cpp-8_8.3.0-21 cpp-9_9.2.1-4 cpp-9-arm-linux-gnueabihf_9.2.1-4cross1 cpp-arm-linux-gnueabihf_4:9.2.1-3 cross-config_2.6.15-3 crossbuild-essential-armhf_12.6 dash_0.5.10.2-6 debconf_1.5.73 debhelper_12.5.3 debian-archive-keyring_2019.1 debianutils_4.8.6.3 dh-autoreconf_19 dh-strip-nondeterminism_1.5.0-1 diffutils_1:3.7-3 dpkg_1.19.7 dpkg-cross_2.6.15-3 dpkg-dev_1.19.7 dwz_0.13-1 e2fsprogs_1.45.3-4 fakeroot_1.23-1 fdisk_2.34-0.1 file_1:5.37-5 findutils_4.6.0+git+20190510-2 fuse_2.9.9-1 g++_4:9.2.1-3 g++-8_8.3.0-21 g++-9_9.2.1-4 g++-9-arm-linux-gnueabihf_9.2.1-4cross1 g++-arm-linux-gnueabihf_4:9.2.1-3 gcc_4:9.2.1-3 gcc-8_8.3.0-21 gcc-8-base_8.3.0-21 gcc-9_9.2.1-4 gcc-9-arm-linux-gnueabihf_9.2.1-4cross1 gcc-9-arm-linux-gnueabihf-base_9.2.1-4cross1 gcc-9-base_9.2.1-4 gcc-9-cross-base_9.2.1-4cross1 gcc-arm-linux-gnueabihf_4:9.2.1-3 gettext_0.19.8.1-9 gettext-base_0.19.8.1-9 gpgv_2.2.17-3 grep_3.3-1 groff-base_1.22.4-3 gzip_1.9-3+b1 hostname_3.21 init-system-helpers_1.57 intltool-debian_0.35.0+20060710.5 libacl1_2.2.53-4 libapt-pkg5.0_1.8.3 libarchive-zip-perl_1.64-1 libasan5_9.2.1-4 libasan5-armhf-cross_9.2.1-4cross1 libatomic1_9.2.1-4 libatomic1-armhf-cross_9.2.1-4cross1 libattr1_1:2.4.48-4 libaudit-common_1:2.8.5-2 libaudit1_1:2.8.5-2 libbinutils_2.32.51.20190821-2 libblkid1_2.34-0.1 libbsd0_0.10.0-1 libbz2-1.0_1.0.6-9.2 libc-bin_2.28-10 libc-dev-bin_2.28-10 libc6_2.28-10 libc6-armhf-cross_2.28-10cross6 libc6-dev_2.28-10 libc6-dev-armhf-cross_2.28-10cross6 libcap-ng0_0.7.9-2+b1 libcc1-0_9.2.1-4 libcom-err2_1.45.3-4 libconfig-auto-perl_0.44-1 libconfig-inifiles-perl_3.000001-1 libcroco3_0.6.13-1 libdb5.3_5.3.28+dfsg1-0.6 libdebconfclient0_0.249 libdebian-dpkgcross-perl_2.6.15-3 libdpkg-perl_1.19.7 libelf1_0.176-1.1 libext2fs-dev_1.45.3-4 libext2fs2_1.45.3-4 libfakeroot_1.23-1 libfdisk1_2.34-0.1 libffi6_3.2.1-9 libfile-homedir-perl_1.004-1 libfile-stripnondeterminism-perl_1.5.0-1 libfile-which-perl_1.23-1 libfuse2_2.9.9-1 libgcc-8-dev_8.3.0-21 libgcc-9-dev_9.2.1-4 libgcc-9-dev-armhf-cross_9.2.1-4cross1 libgcc1_1:9.2.1-4 libgcc1-armhf-cross_1:9.2.1-4cross1 libgcrypt20_1.8.4-5 libgdbm-compat4_1.18.1-5 libgdbm6_1.18.1-5 libglib2.0-0_2.60.6-2 libgmp10_2:6.1.2+dfsg-4 libgnutls30_3.6.9-4 libgomp1_9.2.1-4 libgomp1-armhf-cross_9.2.1-4cross1 libgpg-error0_1.36-7 libhogweed4_3.4.1-1+b1 libicu63_63.2-2 libidn2-0_2.2.0-1 libio-string-perl_1.08-3 libisl19_0.20-2 libitm1_9.2.1-4 libjpeg62-turbo_1:1.5.2-2+b1 libjpeg62-turbo-dev_1:1.5.2-2+b1 liblocale-gettext-perl_1.07-3+b4 liblsan0_9.2.1-4 liblz4-1_1.8.3-1 liblzma5_5.2.4-1 libmagic-mgc_1:5.37-5 libmagic1_1:5.37-5 libmount1_2.34-0.1 libmpc3_1.1.0-1 libmpfr6_4.0.2-1 libmpx2_8.3.0-21 libncurses-dev_6.1+20190803-1 libncurses5-dev_6.1+20190803-1 libncurses6_6.1+20190803-1 libncursesw6_6.1+20190803-1 libnettle6_3.4.1-1+b1 libntfs-3g883_1:2017.3.23AR.3-3 libp11-kit0_0.23.16.1-2 libpam-modules_1.3.1-5 libpam-modules-bin_1.3.1-5 libpam-runtime_1.3.1-5 libpam0g_1.3.1-5 libpcre2-8-0_10.32-5+b1 libpcre3_2:8.39-12+b1 libperl5.28_5.28.1-6 libpipeline1_1.5.1-2 libquadmath0_9.2.1-4 libseccomp2_2.4.1-2 libselinux1_2.9-2+b2 libsemanage-common_2.9-3 libsemanage1_2.9-3 libsepol1_2.9-2+b2 libsigsegv2_2.12-2 libsmartcols1_2.34-0.1 libss2_1.45.3-4 libstdc++-8-dev_8.3.0-21 libstdc++-9-dev_9.2.1-4 libstdc++-9-dev-armhf-cross_9.2.1-4cross1 libstdc++6_9.2.1-4 libstdc++6-armhf-cross_9.2.1-4cross1 libsub-override-perl_0.09-2 libsystemd0_242-4 libtasn1-6_4.14-2 libtinfo6_6.1+20190803-1 libtool_2.4.6-10 libtsan0_9.2.1-4 libubsan1_9.2.1-4 libubsan1-armhf-cross_9.2.1-4cross1 libuchardet0_0.0.6-3 libudev1_242-4 libunistring2_0.9.10-2 libuuid1_2.34-0.1 libxml-libxml-perl_2.0134+dfsg-1 libxml-namespacesupport-perl_1.12-1 libxml-sax-base-perl_1.09-1 libxml-sax-perl_1.02+dfsg-1 libxml-simple-perl_2.25-1 libxml2_2.9.4+dfsg1-7+b3 libyaml-perl_1.29-1 libzstd1_1.4.3+dfsg-1 linux-libc-dev_5.2.9-2 linux-libc-dev-armhf-cross_5.2.9-2cross6 login_1:4.7-2 logsave_1.45.3-4 lsb-base_11.1.0 m4_1.4.18-2 make_4.2.1-1.2 man-db_2.8.6.1-2 mawk_1.3.3-17+b3 mount_2.34-0.1 ncurses-base_6.1+20190803-1 ncurses-bin_6.1+20190803-1 ntfs-3g_1:2017.3.23AR.3-3 ntfs-3g-dev_1:2017.3.23AR.3-3 passwd_1:4.7-2 patch_2.7.6-6 perl_5.28.1-6 perl-base_5.28.1-6 perl-modules-5.28_5.28.1-6 pkg-config_0.29-6 po-debconf_1.0.21 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-essential-dummy_0.invalid.0 sbuild-build-depends-testdisk-dummy_0.invalid.0 sed_4.7-1 sensible-utils_0.0.12 sysvinit-utils_2.95-6 tar_1.30+dfsg-6+b1 tzdata_2019b-2 ucf_3.0038+nmu1 util-linux_2.34-0.1 uuid-dev_2.34-0.1 xz-utils_5.2.4-1 zlib1g_1:1.2.11.dfsg-1+b1 zlib1g-dev_1:1.2.11.dfsg-1+b1 +------------------------------------------------------------------------------+ | Build | +------------------------------------------------------------------------------+ Unpack source ------------- gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/sbuild-nonexistent/.gnupg/trustedkeys.kbx': General error gpgv: Signature made Wed Aug 21 20:35:33 2019 UTC gpgv: using RSA key E11D1959BD866A8C37C7DE0D437FE24F9543CB69 gpgv: issuer "kelbert@debian.org" gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./testdisk_7.1-5.dsc dpkg-source: info: extracting testdisk in /<> dpkg-source: info: unpacking testdisk_7.1.orig.tar.bz2 dpkg-source: info: unpacking testdisk_7.1-5.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying testdisk_sys_uuid_v2.patch Check disk space ---------------- Sufficient free space for build User Environment ---------------- APT_CONFIG=/var/lib/sbuild/apt.conf CONFIG_SITE=/etc/dpkg-cross/cross-config.armhf DEB_BUILD_OPTIONS=nocheck HOME=/sbuild-nonexistent LANG=en_US.UTF-8 LC_ALL=POSIX LOGNAME=helmut PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games SCHROOT_ALIAS_NAME=unstable-amd64-sbuild SCHROOT_CHROOT_NAME=unstable-amd64-sbuild SCHROOT_COMMAND=env SCHROOT_GID=1003 SCHROOT_GROUP=helmut SCHROOT_SESSION_ID=unstable-amd64-sbuild-c03df0f5-336a-4ae3-9786-097081023c66 SCHROOT_UID=1003 SCHROOT_USER=helmut SHELL=/bin/sh USER=helmut dpkg-buildpackage ----------------- dpkg-buildpackage: info: source package testdisk dpkg-buildpackage: info: source version 7.1-5 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Jean-Michel Kelbert dpkg-architecture: warning: specified GNU system type arm-linux-gnueabihf does not match CC system type x86_64-linux-gnu, try setting a correct CC environment variable dpkg-source --before-build . dpkg-buildpackage: info: host architecture armhf fakeroot debian/rules clean dh clean --with autoreconf debian/rules override_dh_auto_clean make[1]: Entering directory '/<>' dh_auto_clean rm -f src/*.d make[1]: Leaving directory '/<>' dh_clean debian/rules build-arch dh build-arch --with autoreconf dh_update_autotools_config -a dh_autoreconf -a src/Makefile.am:413: warning: >' dh_auto_configure -- --enable-sudo --with-sudo-bin=/usr/bin/sudo --with-ncurses-includes=/usr/include/ncursesw --without-ewf ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=\${prefix}/lib/arm-linux-gnueabihf --libexecdir=\${prefix}/lib/arm-linux-gnueabihf --disable-maintainer-mode --disable-dependency-tracking --host=arm-linux-gnueabihf --enable-sudo --with-sudo-bin=/usr/bin/sudo --with-ncurses-includes=/usr/include/ncursesw --without-ewf configure: WARNING: unrecognized options: --disable-maintainer-mode configure: loading site script /etc/dpkg-cross/cross-config.armhf checking build system type... x86_64-pc-linux-gnu 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 arm-linux-gnueabihf-strip... arm-linux-gnueabihf-strip 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 arm-linux-gnueabihf-gcc... arm-linux-gnueabihf-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... yes checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether arm-linux-gnueabihf-gcc accepts -g... yes checking for arm-linux-gnueabihf-gcc option to accept ISO C89... none needed checking whether arm-linux-gnueabihf-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of arm-linux-gnueabihf-gcc... none checking for arm-linux-gnueabihf-g++... arm-linux-gnueabihf-g++ checking whether we are using the GNU C++ compiler... yes checking whether arm-linux-gnueabihf-g++ accepts -g... yes checking dependency style of arm-linux-gnueabihf-g++... none checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for arm-linux-gnueabihf-pkg-config... /usr/bin/arm-linux-gnueabihf-pkg-config checking pkg-config is at least version 0.9.0... yes checking for arm-linux-gnueabihf-windres... no checking for windres... no configure: WARNING: Could not find a windres tool in your PATH. checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 64 checking how to run the C preprocessor... arm-linux-gnueabihf-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 w32api/winioctl.h... no checking for ext2fs/ext2_fs.h... yes checking for ext2fs/ext2fs.h... yes checking for off64_t... yes checking libewf.h usability... 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... (cached) 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 arm-linux-gnueabihf-gcc needs -traditional... no checking for initscr in -lncursesw... yes checking for keypad in -ltinfow... no checking for keypad in -ltinfo... yes checking for assume_default_colors... yes checking for com_err in -lcom_err... yes checking for ext2fs_open in -lext2fs... yes checking for ext2fs_get_generic_bitmap_start... yes checking for jpeg_std_error in -ljpeg... yes checking for ntfs_device_mount in -lntfs-3g... yes checking for libreiserfs_get_version in -lreiserfs... no configure: WARNING: No reiserfs library detected checking sys/uuid.h usability... no checking sys/uuid.h presence... no checking for sys/uuid.h... no checking uuid/uuid.h usability... yes checking uuid/uuid.h presence... yes checking for uuid/uuid.h... yes checking uuid.h usability... no checking uuid.h presence... no checking for uuid.h... no checking for uuidgen... no checking for library containing uuid_generate... -luuid checking for uuid_create... no checking for uuid_generate... yes checking for compress2 in -lz... yes checking whether gcc understands -Wdeclaration-after-statement... yes checking whether gcc understands -Wall... yes checking whether gcc understands -Wextra... yes checking whether gcc understands -MD... yes checking whether gcc understands -Wpointer-arith... yes checking whether gcc understands -Wmissing-declarations... yes checking whether gcc understands -Wmissing-prototypes... yes checking whether gcc understands -Wstrict-prototypes... yes checking whether gcc understands -Wshadow... yes checking whether gcc understands -Wwrite-strings... yes checking whether gcc understands -W... yes checking whether gcc understands -Wcast-align... yes checking whether gcc understands -Waggregate-return... yes checking whether gcc understands -Wbad-function-cast... yes checking whether gcc understands -Wcast-qual... yes checking whether gcc understands -Wundef... yes checking whether gcc understands -Wredundant-decls... yes checking whether gcc understands -Wsign-compare... yes checking whether gcc understands -Wnested-externs... yes checking whether gcc understands -Winline... yes checking whether gcc understands -Wdisabled-optimization... yes checking whether gcc understands -Wfloat-equal... yes checking whether gcc understands -Wmissing-format-attribute... yes checking whether gcc understands -Wmultichar... yes checking whether gcc understands -Wc++-compat... yes checking whether gcc understands -Wformat=2... yes checking whether gcc understands -Wunreachable-code... yes checking whether gcc understands -Wvla... yes checking whether g++ understands -Wall... yes checking whether g++ understands -MD... yes checking whether g++ understands -Wpointer-arith... yes checking whether g++ understands -Wmissing-declarations... yes checking whether g++ understands -Wshadow... yes checking whether g++ understands -Wwrite-strings... yes checking whether g++ understands -W... yes checking whether g++ understands -Wcast-align... yes checking whether g++ understands -Wcast-qual... yes checking whether g++ understands -Wundef... yes checking whether g++ understands -Wredundant-decls... yes checking whether g++ understands -Wsign-compare... yes checking whether g++ understands -Wdisabled-optimization... yes checking whether g++ understands -Wmissing-format-attribute... yes checking whether g++ understands -Wmultichar... yes checking whether g++ understands -Wformat=2... yes checking whether g++ understands -fvisibility=hidden... yes checking whether g++ understands -fvisibility-inlines-hidden... yes checking whether g++ understands -fPIC... yes checking whether g++ understands -Wvla... yes checking for pread... yes checking for atexit... yes checking for atoll... yes checking for chdir... yes checking for chmod... yes checking for delscreen... no checking for dirname... yes checking for dup2... yes checking for execv... yes checking for fdatasync... yes checking for fseeko... yes checking for fsync... yes checking for ftello... yes checking for ftruncate... yes checking for getcwd... yes checking for geteuid... yes checking for getpwuid... yes checking for libewf_handle_read_buffer_at_offset... no checking for libewf_handle_write_buffer_at_offset... no checking for localtime_r... yes checking for lstat... yes checking for memalign... yes checking for memchr... yes checking for memset... yes checking for mkdir... yes checking for posix_fadvise... yes checking for posix_memalign... yes checking for pwrite... yes checking for readlink... yes checking for setenv... yes checking for setlocale... yes checking for sigaction... yes checking for signal... yes checking for sleep... yes checking for snprintf... yes checking for strcasecmp... yes checking for strcasestr... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strncasecmp... yes checking for strptime... yes checking for strrchr... yes checking for strstr... yes checking for strtol... yes checking for strtoul... yes checking for strtoull... yes checking for touchwin... no checking for uname... yes checking for utime... yes checking for vsnprintf... yes checking for wctomb... yes checking for reiserfs_fs_open_fast... no checking for ntfs_libntfs_version... no checking for ntfs_volume_startup... yes checking for QT5GUI... no checking for QT5WIDGETS... no checking whether Qt5 is using --std=c++14... Package Qt5Core was not found in the pkg-config search path. Perhaps you should add the directory containing `Qt5Core.pc' to the PKG_CONFIG_PATH environment variable No package 'Qt5Core' found no checking whether Qt5 is using --std=c++11... Package Qt5Core was not found in the pkg-config search path. Perhaps you should add the directory containing `Qt5Core.pc' to the PKG_CONFIG_PATH environment variable No package 'Qt5Core' found no checking for arm-linux-gnueabihf-moc-qt5... no checking for arm-linux-gnueabihf-moc... no checking for moc-qt5... no checking for moc... no configure: WARNING: Could not find a moc-qt5 or moc tool in your PATH. checking for arm-linux-gnueabihf-rcc-qt5... no checking for arm-linux-gnueabihf-rcc... no checking for rcc-qt5... no checking for rcc... no configure: WARNING: Could not find a rcc-qt5 or rcc tool in your PATH. checking for arm-linux-gnueabihf-lrelease-qt5... no checking for arm-linux-gnueabihf-lrelease... no checking for lrelease-qt5... no checking for lrelease... no configure: WARNING: Could not find a lrelease-qt5 or lrelease tool in your PATH. checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... 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 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' arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o autoset.o autoset.c In file included from autoset.c:27: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o common.o common.c In file included from common.c:49: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o crc.o crc.c In file included from crc.c:29: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ewf.o ewf.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o fnctdsk.o fnctdsk.c In file included from fnctdsk.c:35: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o hdaccess.o hdaccess.c In file included from hdaccess.c:44: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ hdaccess.c:141:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 141 | } __attribute__ ((gcc_struct, __packed__)); | ^ hdaccess.c:932:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 932 | } __attribute__((gcc_struct,__packed__)) scsi_inquiry_data_t; | ^ hdaccess.c: In function 'disk_get_model': hdaccess.c:991:76: warning: unused parameter 'verbose' [-Wunused-parameter] 991 | static void disk_get_model(const int hd_h, disk_t *dev, const unsigned int verbose) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ hdaccess.c: In function 'compute_device_size': hdaccess.c:1083:54: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1083 | while(pread(hd_h, buffer, sector_size, max_offset) == sector_size) | ^~ hdaccess.c:1093:53: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1093 | if(pread(hd_h, buffer, sector_size, cur_offset) == sector_size) | ^~ hdaccess.c:1103:51: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1103 | if(pread(hd_h, buffer, sector_size, min_offset) == sector_size) | ^~ hdaccess.c: In function 'file_pread_aux': hdaccess.c:1260:9: warning: comparison of integer expressions of different signedness: 'long int' and 'unsigned int' [-Wsign-compare] 1260 | if(ret!=count) | ^~ hdaccess.c: In function 'file_pwrite_aux': hdaccess.c:1332:9: warning: comparison of integer expressions of different signedness: 'long int' and 'unsigned int' [-Wsign-compare] 1332 | if(ret!=count) | ^~ hdaccess.c: In function 'file_nopwrite': hdaccess.c:1346:56: warning: unused parameter 'buf' [-Wunused-parameter] 1346 | static int file_nopwrite(disk_t *disk_car, const void *buf, const unsigned int count, const uint64_t offset) | ~~~~~~~~~~~~^~~ hdaccess.c: In function 'file_test_availability': hdaccess.c:1583:41: warning: cast increases required alignment of target type [-Wcast-align] 1583 | if(memcmp(buffer,"DOSEMU",6)==0 && *(unsigned long*)(buffer+11)>0) | ^ hdaccess.c:1586:33: warning: cast increases required alignment of target type [-Wcast-align] 1586 | disk_car->geom.cylinders=*(unsigned long*)(buffer+15); | ^ hdaccess.c:1587:42: warning: cast increases required alignment of target type [-Wcast-align] 1587 | disk_car->geom.heads_per_cylinder=*(unsigned long*)(buffer+7); | ^ hdaccess.c:1588:40: warning: cast increases required alignment of target type [-Wcast-align] 1588 | disk_car->geom.sectors_per_head=*(unsigned long*)(buffer+11); | ^ hdaccess.c:1590:25: warning: cast increases required alignment of target type [-Wcast-align] 1590 | disk_car->offset=*(unsigned long*)(buffer+19); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o hdcache.o hdcache.c In file included from hdcache.c:33: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o hdwin32.o hdwin32.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o hidden.o hidden.c In file included from hidden.c:28: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o hpa_dco.o hpa_dco.c In file included from hpa_dco.c:43: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __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] 143 | 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] 198 | 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] 269 | const uint16_t *id_val=(const uint16_t *) & id_args[4]; | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o intrf.o intrf.c In file included from intrf.c:58: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o iso.o iso.c In file included from iso.c:33: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from iso.c:34: iso9660.h:62:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 62 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o list_sort.o list_sort.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o log.o log.c In file included from log.c:47: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o log_part.o log_part.c In file included from log_part.c:28: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o misc.o misc.c In file included from misc.c:48: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o msdos.o msdos.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o parti386.o parti386.c In file included from parti386.c:38: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from parti386.c:47: exfat.h:50:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 50 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:70:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 70 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:84:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 84 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:93:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 93 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from parti386.c:48: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:102:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 102 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from parti386.c:49: hfs.h:34:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 34 | } __attribute__ ((gcc_struct, __packed__)); | ^ hfs.h:77:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 77 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from parti386.c:54: ntfs.h:57:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 57 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs.h:147:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 147 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; | ^ ntfs.h:191:3: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 191 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs.h:196:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 196 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs.h:201:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 201 | } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; | ^ ntfs.h:241:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 241 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; | ^ In file included from parti386.c:55: sun.h:75:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 75 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from parti386.c:59: partgpt.h:47:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 47 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from parti386.c:60: partxbox.h:32:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 32 | } __attribute__ ((gcc_struct, __packed__)); | ^ parti386.c: In function 'init_part_order_i386': parti386.c:329:56: warning: unused parameter 'disk_car' [-Wunused-parameter] 329 | static list_part_t *init_part_order_i386(const disk_t *disk_car, list_part_t *list_part) | ~~~~~~~~~~~~~~^~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o partgpt.o partgpt.c In file included from partgpt.c:45: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partgpt.c:51: partgpt.h:47:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 47 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partgpt.c:53: exfat.h:50:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 50 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:70:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 70 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:84:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 84 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:93:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 93 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partgpt.c:54: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:102:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 102 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partgpt.c:55: hfs.h:34:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 34 | } __attribute__ ((gcc_struct, __packed__)); | ^ hfs.h:77:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 77 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partgpt.c:58: ntfs.h:57:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 57 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs.h:147:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 147 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; | ^ ntfs.h:191:3: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 191 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs.h:196:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 196 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs.h:201:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 201 | } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; | ^ ntfs.h:241:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 241 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; | ^ In file included from partgpt.c:59: refs.h:33:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 33 | } __attribute__ ((gcc_struct, __packed__)); | ^ partgpt.c: In function 'read_part_gpt_aux': partgpt.c:283:15: warning: cast increases required alignment of target type [-Wcast-align] 283 | gpt_entry=(const struct gpt_ent*)((const char*)gpt_entries + (unsigned long)i*le32(gpt->hdr_entsz)); | ^ partgpt.c:296:42: warning: cast increases required alignment of target type [-Wcast-align] 296 | 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:326:55: warning: unused parameter 'disk_car' [-Wunused-parameter] 326 | static list_part_t *init_part_order_gpt(const disk_t *disk_car, list_part_t *list_part) | ~~~~~~~~~~~~~~^~~~~~~~ partgpt.c: In function 'set_next_status_gpt': partgpt.c:399:47: warning: unused parameter 'disk_car' [-Wunused-parameter] 399 | static void set_next_status_gpt(const disk_t *disk_car, partition_t *partition) | ~~~~~~~~~~~~~~^~~~~~~~ partgpt.c: In function 'init_structure_gpt': partgpt.c:422:89: warning: unused parameter 'verbose' [-Wunused-parameter] 422 | static void init_structure_gpt(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~^~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o parthumax.o parthumax.c In file included from parthumax.c:38: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ parthumax.c:69:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 69 | } __attribute__ ((gcc_struct, __packed__)); | ^ parthumax.c:75:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 75 | } __attribute__ ((gcc_struct, __packed__)); | ^ parthumax.c: In function 'read_part_humax': parthumax.c:121:7: warning: cast increases required alignment of target type [-Wcast-align] 121 | p32=(uint32_t*)buffer; | ^ parthumax.c:109:65: warning: unused parameter 'verbose' [-Wunused-parameter] 109 | static list_part_t *read_part_humax(disk_t *disk_car, const int verbose, const int saveheader) | ~~~~~~~~~~^~~~~~~ parthumax.c:109:84: warning: unused parameter 'saveheader' [-Wunused-parameter] 109 | static list_part_t *read_part_humax(disk_t *disk_car, const int verbose, const int saveheader) | ~~~~~~~~~~^~~~~~~~~~ parthumax.c: In function 'write_part_humax': parthumax.c:159:37: warning: unused parameter 'disk_car' [-Wunused-parameter] 159 | static int write_part_humax(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~^~~~~~~~ parthumax.c:159:66: warning: unused parameter 'list_part' [-Wunused-parameter] 159 | static int write_part_humax(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ parthumax.c:159:101: warning: unused parameter 'verbose' [-Wunused-parameter] 159 | static int write_part_humax(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~^~~~~~~ parthumax.c: In function 'init_part_order_humax': parthumax.c:167:57: warning: unused parameter 'disk_car' [-Wunused-parameter] 167 | static list_part_t *init_part_order_humax(const disk_t *disk_car, list_part_t *list_part) | ~~~~~~~~~~~~~~^~~~~~~~ parthumax.c: In function 'set_next_status_humax': parthumax.c:235:49: warning: unused parameter 'disk_car' [-Wunused-parameter] 235 | static void set_next_status_humax(const disk_t *disk_car, partition_t *partition) | ~~~~~~~~~~~~~~^~~~~~~~ parthumax.c: In function 'init_structure_humax': parthumax.c:271:91: warning: unused parameter 'verbose' [-Wunused-parameter] 271 | static void init_structure_humax(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~^~~~~~~ parthumax.c: In function 'get_partition_typename_humax': parthumax.c:305:68: warning: unused parameter 'partition' [-Wunused-parameter] 305 | static const char *get_partition_typename_humax(const partition_t *partition) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o partmac.o partmac.c In file included from partmac.c:38: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partmac.c:46: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:102:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 102 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partmac.c:47: hfs.h:34:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 34 | } __attribute__ ((gcc_struct, __packed__)); | ^ hfs.h:77:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 77 | } __attribute__ ((gcc_struct, __packed__)); | ^ partmac.c: In function 'read_part_mac': partmac.c:120:26: warning: cast increases required alignment of target type [-Wcast-align] 120 | mac_Block0 *maclabel=(mac_Block0*)&buffer; | ^ partmac.c:130:20: warning: cast increases required alignment of target type [-Wcast-align] 130 | mac_DPME *dpme=(mac_DPME *)buffer; | ^ partmac.c: In function 'write_part_mac': partmac.c:200:35: warning: unused parameter 'disk_car' [-Wunused-parameter] 200 | static int write_part_mac(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~^~~~~~~~ partmac.c:200:64: warning: unused parameter 'list_part' [-Wunused-parameter] 200 | static int write_part_mac(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ partmac.c:200:99: warning: unused parameter 'verbose' [-Wunused-parameter] 200 | static int write_part_mac(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~^~~~~~~ partmac.c: In function 'init_part_order_mac': partmac.c:208:55: warning: unused parameter 'disk_car' [-Wunused-parameter] 208 | static list_part_t *init_part_order_mac(const disk_t *disk_car, list_part_t *list_part) | ~~~~~~~~~~~~~~^~~~~~~~ partmac.c: In function 'set_next_status_mac': partmac.c:272:47: warning: unused parameter 'disk_car' [-Wunused-parameter] 272 | static void set_next_status_mac(const disk_t *disk_car, partition_t *partition) | ~~~~~~~~~~~~~~^~~~~~~~ partmac.c: In function 'init_structure_mac': partmac.c:305:89: warning: unused parameter 'verbose' [-Wunused-parameter] 305 | static void init_structure_mac(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~^~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o partsun.o partsun.c In file included from partsun.c:38: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partsun.c:44: sun.h:75:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 75 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partsun.c:49: ufs.h:290:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 290 | } __attribute__ ((gcc_struct, __packed__)); | ^ ufs.h:297:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 297 | } __attribute__ ((gcc_struct, __packed__)); | ^ ufs.h:306:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 306 | } __attribute__ ((gcc_struct, __packed__)); | ^ ufs.h:315:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 315 | } __attribute__ ((gcc_struct, __packed__)); | ^ ufs.h:339:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 339 | } __attribute__ ((gcc_struct, __packed__)); | ^ ufs.h:458:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 458 | } __attribute__ ((gcc_struct, __packed__)); | ^ partsun.c: In function 'get_geometry_from_sunmbr': partsun.c:115:33: warning: cast increases required alignment of target type [-Wcast-align] 115 | const sun_disklabel *sunlabel=(const sun_disklabel*)buffer; | ^ partsun.c: In function 'read_part_sun': partsun.c:141:12: warning: cast increases required alignment of target type [-Wcast-align] 141 | sunlabel=(sun_disklabel*)buffer; | ^ partsun.c: In function 'write_part_sun': partsun.c:178:35: warning: unused parameter 'disk_car' [-Wunused-parameter] 178 | static int write_part_sun(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~^~~~~~~~ partsun.c:178:64: warning: unused parameter 'list_part' [-Wunused-parameter] 178 | static int write_part_sun(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ partsun.c:178:99: warning: unused parameter 'verbose' [-Wunused-parameter] 178 | static int write_part_sun(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~^~~~~~~ partsun.c: In function 'set_next_status_sun': partsun.c:269:47: warning: unused parameter 'disk_car' [-Wunused-parameter] 269 | static void set_next_status_sun(const disk_t *disk_car, partition_t *partition) | ~~~~~~~~~~~~~~^~~~~~~~ partsun.c: In function 'init_structure_sun': partsun.c:301:89: warning: unused parameter 'verbose' [-Wunused-parameter] 301 | static void init_structure_sun(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~^~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o partnone.o partnone.c In file included from partnone.c:37: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partnone.c:44: btrfs.h:97:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 97 | } __attribute__ ((gcc_struct, __packed__)); | ^ btrfs.h:139:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 139 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partnone.c:46: exfat.h:50:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 50 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:70:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 70 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:84:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 84 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:93:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 93 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partnone.c:48: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:102:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 102 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partnone.c:50: fatx.h:33:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 33 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partnone.c:51: f2fs_fs.h:61:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 61 | } __attribute__ ((gcc_struct, __packed__)); | ^ f2fs_fs.h:105:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 105 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partnone.c:53: iso9660.h:62:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 62 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partnone.c:56: hfs.h:34:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 34 | } __attribute__ ((gcc_struct, __packed__)); | ^ hfs.h:77:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 77 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partnone.c:65: ntfs.h:57:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 57 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs.h:147:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 147 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; | ^ ntfs.h:191:3: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 191 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs.h:196:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 196 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs.h:201:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 201 | } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; | ^ ntfs.h:241:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 241 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; | ^ In file included from partnone.c:66: refs.h:33:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 33 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partnone.c:67: rfs.h:73:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 73 | } __attribute__ ((gcc_struct, __packed__)); | ^ rfs.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partnone.c:68: sun.h:75:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 75 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partnone.c:69: sysv.h:119:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 119 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partnone.c:71: ufs.h:290:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 290 | } __attribute__ ((gcc_struct, __packed__)); | ^ ufs.h:297:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 297 | } __attribute__ ((gcc_struct, __packed__)); | ^ ufs.h:306:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 306 | } __attribute__ ((gcc_struct, __packed__)); | ^ ufs.h:315:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 315 | } __attribute__ ((gcc_struct, __packed__)); | ^ ufs.h:339:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 339 | } __attribute__ ((gcc_struct, __packed__)); | ^ ufs.h:458:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 458 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partnone.c:72: xfs.h:108:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 108 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partnone.c:73: vmfs.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ vmfs.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partnone.c:74: wbfs.h:39:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 39 | } __attribute__ ((gcc_struct, __packed__)); | ^ partnone.c: In function 'get_geometry_from_nonembr': partnone.c:176:77: warning: unused parameter 'verbose' [-Wunused-parameter] 176 | static int get_geometry_from_nonembr(const unsigned char *buffer, const int verbose, CHSgeometry_t *geometry) | ~~~~~~~~~~^~~~~~~ partnone.c: In function 'read_part_none': partnone.c:279:36: warning: cast increases required alignment of target type [-Wcast-align] 279 | const struct ext2_super_block *sb=(const struct ext2_super_block*)buffer_disk; | ^ partnone.c: In function 'init_part_order_none': partnone.c:306:56: warning: unused parameter 'disk_car' [-Wunused-parameter] 306 | static list_part_t *init_part_order_none(const disk_t *disk_car, list_part_t *list_part) | ~~~~~~~~~~~~~~^~~~~~~~ partnone.c: In function 'set_next_status_none': partnone.c:312:48: warning: unused parameter 'disk_car' [-Wunused-parameter] 312 | static void set_next_status_none(const disk_t *disk_car, partition_t *partition) | ~~~~~~~~~~~~~~^~~~~~~~ partnone.c:312:71: warning: unused parameter 'partition' [-Wunused-parameter] 312 | static void set_next_status_none(const disk_t *disk_car, partition_t *partition) | ~~~~~~~~~~~~~^~~~~~~~~ partnone.c: In function 'test_structure_none': partnone.c:316:45: warning: unused parameter 'list_part' [-Wunused-parameter] 316 | static int test_structure_none(list_part_t *list_part) | ~~~~~~~~~~~~~^~~~~~~~~ partnone.c: In function 'is_part_known_none': partnone.c:327:50: warning: unused parameter 'partition' [-Wunused-parameter] 327 | static int is_part_known_none(const partition_t *partition) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ partnone.c: In function 'init_structure_none': partnone.c:332:47: warning: unused parameter 'disk_car' [-Wunused-parameter] 332 | static void init_structure_none(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~~~~~^~~~~~~~ partnone.c:332:90: warning: unused parameter 'verbose' [-Wunused-parameter] 332 | static void init_structure_none(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~^~~~~~~ partnone.c: In function 'check_part_none': partnone.c:341:97: warning: unused parameter 'saveheader' [-Wunused-parameter] 341 | static int check_part_none(disk_t *disk_car,const int verbose,partition_t *partition, const int saveheader) | ~~~~~~~~~~^~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o partxbox.o partxbox.c In file included from partxbox.c:38: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partxbox.c:43: partxbox.h:32:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 32 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partxbox.c:45: fatx.h:33:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 33 | } __attribute__ ((gcc_struct, __packed__)); | ^ partxbox.c: In function 'write_part_xbox': partxbox.c:135:36: warning: unused parameter 'disk_car' [-Wunused-parameter] 135 | static int write_part_xbox(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~^~~~~~~~ partxbox.c:135:65: warning: unused parameter 'list_part' [-Wunused-parameter] 135 | static int write_part_xbox(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ partxbox.c:135:100: warning: unused parameter 'verbose' [-Wunused-parameter] 135 | static int write_part_xbox(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~^~~~~~~ partxbox.c: In function 'init_part_order_xbox': partxbox.c:143:56: warning: unused parameter 'disk_car' [-Wunused-parameter] 143 | static list_part_t *init_part_order_xbox(const disk_t *disk_car, list_part_t *list_part) | ~~~~~~~~~~~~~~^~~~~~~~ partxbox.c: In function 'set_next_status_xbox': partxbox.c:207:48: warning: unused parameter 'disk_car' [-Wunused-parameter] 207 | static void set_next_status_xbox(const disk_t *disk_car, partition_t *partition) | ~~~~~~~~~~~~~~^~~~~~~~ partxbox.c: In function 'init_structure_xbox': partxbox.c:240:90: warning: unused parameter 'verbose' [-Wunused-parameter] 240 | static void init_structure_xbox(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~^~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o io_redir.o io_redir.c In file included from io_redir.c:35: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ntfs_io.o ntfs_io.c In file included from ntfs_io.c:56: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs_io.c: In function 'ntfs_device_testdisk_io_stat': ntfs_io.c:148:61: warning: unused parameter 'dev' [-Wunused-parameter] 148 | static int ntfs_device_testdisk_io_stat(struct ntfs_device *dev, struct stat *buf) | ~~~~~~~~~~~~~~~~~~~~^~~ ntfs_io.c:148:79: warning: unused parameter 'buf' [-Wunused-parameter] 148 | static int ntfs_device_testdisk_io_stat(struct ntfs_device *dev, struct stat *buf) | ~~~~~~~~~~~~~^~~ ntfs_io.c: In function 'ntfs_device_testdisk_io_ioctl': ntfs_io.c:157:62: warning: unused parameter 'dev' [-Wunused-parameter] 157 | static int ntfs_device_testdisk_io_ioctl(struct ntfs_device *dev, int request, | ~~~~~~~~~~~~~~~~~~~~^~~ ntfs_io.c:157:71: warning: unused parameter 'request' [-Wunused-parameter] 157 | static int ntfs_device_testdisk_io_ioctl(struct ntfs_device *dev, int request, | ~~~~^~~~~~~ ntfs_io.c:158:9: warning: unused parameter 'argp' [-Wunused-parameter] 158 | void *argp) | ~~~~~~^~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ntfs_utl.o ntfs_utl.c In file included from ntfs_utl.c:61: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o partauto.o partauto.c In file included from partauto.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o sudo.o sudo.c In file included from sudo.c:39: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o unicode.o unicode.c In file included from unicode.c:28: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o win32.o win32.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o analyse.o analyse.c In file included from analyse.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from analyse.c:35: btrfs.h:97:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 97 | } __attribute__ ((gcc_struct, __packed__)); | ^ btrfs.h:139:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 139 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from analyse.c:37: exfat.h:50:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 50 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:70:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 70 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:84:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 84 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:93:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 93 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from analyse.c:39: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:102:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 102 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from analyse.c:40: fatx.h:33:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 33 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from analyse.c:41: f2fs_fs.h:61:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 61 | } __attribute__ ((gcc_struct, __packed__)); | ^ f2fs_fs.h:105:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 105 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from analyse.c:44: hfs.h:34:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 34 | } __attribute__ ((gcc_struct, __packed__)); | ^ hfs.h:77:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 77 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from analyse.c:53: ntfs.h:57:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 57 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs.h:147:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 147 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; | ^ ntfs.h:191:3: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 191 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs.h:196:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 196 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs.h:201:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 201 | } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; | ^ ntfs.h:241:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 241 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; | ^ In file included from analyse.c:54: refs.h:33:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 33 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from analyse.c:55: rfs.h:73:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 73 | } __attribute__ ((gcc_struct, __packed__)); | ^ rfs.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from analyse.c:56: sun.h:75:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 75 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from analyse.c:58: sysv.h:119:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 119 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from analyse.c:59: ufs.h:290:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 290 | } __attribute__ ((gcc_struct, __packed__)); | ^ ufs.h:297:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 297 | } __attribute__ ((gcc_struct, __packed__)); | ^ ufs.h:306:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 306 | } __attribute__ ((gcc_struct, __packed__)); | ^ ufs.h:315:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 315 | } __attribute__ ((gcc_struct, __packed__)); | ^ ufs.h:339:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 339 | } __attribute__ ((gcc_struct, __packed__)); | ^ ufs.h:458:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 458 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from analyse.c:60: vmfs.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ vmfs.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from analyse.c:61: wbfs.h:39:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 39 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from analyse.c:62: xfs.h:108:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 108 | } __attribute__ ((gcc_struct, __packed__)); | ^ analyse.c: In function 'search_HFS_backup': analyse.c:87:30: warning: cast increases required alignment of target type [-Wcast-align] 87 | const struct hfsp_vh *vh=(const struct hfsp_vh *)buffer; | ^ analyse.c: In function 'search_type_0': analyse.c:139:23: warning: cast increases required alignment of target type [-Wcast-align] 139 | const pv_disk_t *pv=(const pv_disk_t *)buffer; | ^ analyse.c:140:37: warning: cast increases required alignment of target type [-Wcast-align] 140 | const struct cramfs_super *cramfs=(const struct cramfs_super *)buffer; | ^ analyse.c:142:44: warning: cast increases required alignment of target type [-Wcast-align] 142 | const struct disk_netware *netware_block=(const struct disk_netware *)buffer; | ^ analyse.c:145:32: warning: cast increases required alignment of target type [-Wcast-align] 145 | const struct luks_phdr *luks=(const struct luks_phdr *)buffer; | ^ analyse.c:146:38: warning: cast increases required alignment of target type [-Wcast-align] 146 | const struct mdp_superblock_1 *sb1=(const struct mdp_superblock_1 *)buffer; | ^ analyse.c:150:40: warning: cast increases required alignment of target type [-Wcast-align] 150 | const union swap_header *swap_header=(const union swap_header *)buffer; | ^ analyse.c:204:24: warning: cast increases required alignment of target type [-Wcast-align] 204 | recover_MD(disk, (const struct mdp_superblock_s*)buffer, partition, verbose, dump_ind)==0) | ^ analyse.c: In function 'search_type_1': analyse.c:225:38: warning: cast increases required alignment of target type [-Wcast-align] 225 | const struct disklabel *bsd_header=(const struct disklabel *)(buffer+0x200); | ^ analyse.c:226:45: warning: cast increases required alignment of target type [-Wcast-align] 226 | const struct disk_super_block *beos_block=(const struct disk_super_block*)(buffer+0x200); | ^ analyse.c:227:37: warning: cast increases required alignment of target type [-Wcast-align] 227 | const struct cramfs_super *cramfs=(const struct cramfs_super *)(buffer+0x200); | ^ analyse.c: In function 'search_type_2': analyse.c:265:28: warning: cast increases required alignment of target type [-Wcast-align] 265 | const struct hfsp_vh *vh=(const struct hfsp_vh *)(buffer+0x400); | ^ analyse.c:266:37: warning: cast increases required alignment of target type [-Wcast-align] 266 | const struct ext2_super_block *sb=(const struct ext2_super_block*)(buffer+0x400); | ^ analyse.c: In function 'search_type_8': analyse.c:302:40: warning: cast increases required alignment of target type [-Wcast-align] 302 | const struct mdp_superblock_1 *sb1=(const struct mdp_superblock_1 *)buffer; | ^ analyse.c:304:26: warning: cast increases required alignment of target type [-Wcast-align] 304 | recover_MD(disk, (const struct mdp_superblock_s*)buffer, partition, verbose, dump_ind)==0) | ^ analyse.c: In function 'search_type_16': analyse.c:325:40: warning: cast increases required alignment of target type [-Wcast-align] 325 | const struct vdev_boot_header *zfs=(const struct vdev_boot_header*)buffer; | ^ analyse.c: In function 'search_type_64': analyse.c:349:38: warning: cast increases required alignment of target type [-Wcast-align] 349 | const struct jfs_superblock* jfs=(const struct jfs_superblock*)(buffer+0x200); | ^ analyse.c: In function 'search_type_128': analyse.c:373:32: warning: cast increases required alignment of target type [-Wcast-align] 373 | const struct gfs2_sb *gfs2=(const struct gfs2_sb *)buffer_1024; | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o bfs.o bfs.c In file included from bfs.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ bfs.c: In function 'check_BeFS': bfs.c:49:25: warning: cast increases required alignment of target type [-Wcast-align] 49 | 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] 54 | set_BeFS_info((struct disk_super_block*)buffer, partition); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o bsd.o bsd.c In file included from bsd.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ bsd.c: In function 'check_BSD': bsd.c:47:24: warning: cast increases required alignment of target type [-Wcast-align] 47 | 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] 52 | set_part_name(partition,((const struct disklabel*)buffer)->d_packname,16); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o btrfs.o btrfs.c In file included from btrfs.c:34: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from btrfs.c:35: btrfs.h:97:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 97 | } __attribute__ ((gcc_struct, __packed__)); | ^ btrfs.h:139:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 139 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o cramfs.o cramfs.c In file included from cramfs.c:35: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ cramfs.c: In function 'check_cramfs': cramfs.c:48:30: warning: cast increases required alignment of target type [-Wcast-align] 48 | 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] 50 | set_cramfs_info((struct cramfs_super*)buffer, partition); | ^ cramfs.c:57:30: warning: cast increases required alignment of target type [-Wcast-align] 57 | 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] 59 | set_cramfs_info((struct cramfs_super*)buffer, partition); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o exfat.o exfat.c In file included from exfat.c:34: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from exfat.c:35: exfat.h:50:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 50 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:70:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 70 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:84:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 84 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:93:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 93 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ext2.o ext2.c In file included from ext2.c:35: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ ext2.c: In function 'check_EXT2': ext2.c:52:16: warning: cast increases required alignment of target type [-Wcast-align] 52 | if(test_EXT2((struct ext2_super_block*)buffer, partition)!=0) | ^ ext2.c:57:17: warning: cast increases required alignment of target type [-Wcast-align] 57 | set_EXT2_info((struct ext2_super_block*)buffer, partition, verbose); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ext2_common.o ext2_common.c In file included from ext2_common.c:34: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o fat.o fat.c In file included from fat.c:39: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from fat.c:40: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:102:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 102 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from fat.c:39: fat.c: In function 'get_next_cluster_fat12': fat.c:245:26: warning: cast increases required alignment of target type [-Wcast-align] 245 | next_cluster=le16((*((uint16_t*)&buffer[offset_o])))>>4; | ^ common.h:457:19: note: in definition of macro 'le16' 457 | #define le16(x) (x) /* x as little endian */ | ^ fat.c:247:25: warning: cast increases required alignment of target type [-Wcast-align] 247 | next_cluster=le16(*((uint16_t*)&buffer[offset_o]))&0x0FFF; | ^ common.h:457:19: note: in definition of macro 'le16' 457 | #define le16(x) (x) /* x as little endian */ | ^ fat.c: In function 'get_next_cluster_fat16': fat.c:258:23: warning: cast increases required alignment of target type [-Wcast-align] 258 | const uint16_t *p16=(const uint16_t*)buffer; | ^ fat.c: In function 'get_next_cluster_fat32': fat.c:279:23: warning: cast increases required alignment of target type [-Wcast-align] 279 | const uint32_t *p32=(const uint32_t*)buffer; | ^ fat.c: In function 'set_next_cluster': fat.c:354:12: warning: cast increases required alignment of target type [-Wcast-align] 354 | (*((uint16_t*)&buffer[offset_o]))=le16((next_cluster<<4) | (le16(*((uint16_t*)&buffer[offset_o]))&0xF)); | ^ In file included from fat.c:39: fat.c:354:76: warning: cast increases required alignment of target type [-Wcast-align] 354 | (*((uint16_t*)&buffer[offset_o]))=le16((next_cluster<<4) | (le16(*((uint16_t*)&buffer[offset_o]))&0xF)); | ^ common.h:457:19: note: in definition of macro 'le16' 457 | #define le16(x) (x) /* x as little endian */ | ^ fat.c:354:69: note: in expansion of macro 'le16' 354 | (*((uint16_t*)&buffer[offset_o]))=le16((next_cluster<<4) | (le16(*((uint16_t*)&buffer[offset_o]))&0xF)); | ^~~~ fat.c:356:12: warning: cast increases required alignment of target type [-Wcast-align] 356 | (*((uint16_t*)&buffer[offset_o]))=le16((next_cluster) | (le16(*((uint16_t*)&buffer[offset_o]))&0xF000)); | ^ In file included from fat.c:39: fat.c:356:74: warning: cast increases required alignment of target type [-Wcast-align] 356 | (*((uint16_t*)&buffer[offset_o]))=le16((next_cluster) | (le16(*((uint16_t*)&buffer[offset_o]))&0xF000)); | ^ common.h:457:19: note: in definition of macro 'le16' 457 | #define le16(x) (x) /* x as little endian */ | ^ fat.c:356:67: note: in expansion of macro 'le16' 356 | (*((uint16_t*)&buffer[offset_o]))=le16((next_cluster) | (le16(*((uint16_t*)&buffer[offset_o]))&0xF000)); | ^~~~ fat.c:360:23: warning: cast increases required alignment of target type [-Wcast-align] 360 | uint16_t *p16=(uint16_t*)buffer; | ^ fat.c:366:23: warning: cast increases required alignment of target type [-Wcast-align] 366 | uint32_t *p32=(uint32_t*)buffer; | ^ fat.c: In function 'fat32_get_prev_cluster': fat.c:394:7: warning: cast increases required alignment of target type [-Wcast-align] 394 | p32=(const uint32_t*)buffer; | ^ In file included from dir.h:30, from fat.c:47: fat.c: In function 'fat_has_EFI_entry': list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ fat.c:779:37: note: in expansion of macro 'td_list_entry_const' 779 | const file_info_t *current_file=td_list_entry_const(file_walker, const file_info_t, list); | ^~~~~~~~~~~~~~~~~~~ fat.c: In function 'fat32_free_info': fat.c:1080:7: warning: cast increases required alignment of target type [-Wcast-align] 1080 | p32=(const uint32_t*)buffer; | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o fat_common.o fat_common.c In file included from fat_common.c:30: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from fat_common.c:31: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:102:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 102 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o fatx.o fatx.c In file included from fatx.c:30: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from fatx.c:31: fatx.h:33:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 33 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o f2fs.o f2fs.c In file included from f2fs.c:34: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from f2fs.c:35: f2fs_fs.h:61:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 61 | } __attribute__ ((gcc_struct, __packed__)); | ^ f2fs_fs.h:105:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 105 | } __attribute__ ((gcc_struct, __packed__)); | ^ f2fs.c: In function 'recover_f2fs': f2fs.c:90:32: warning: unused parameter 'disk' [-Wunused-parameter] 90 | int recover_f2fs(const disk_t *disk, const struct f2fs_super_block *hdr, partition_t *partition) | ~~~~~~~~~~~~~~^~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o jfs.o jfs.c In file included from jfs.c:33: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ jfs.c: In function 'check_JFS': jfs.c:51:25: warning: cast increases required alignment of target type [-Wcast-align] 51 | 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] 56 | set_JFS_info((struct jfs_superblock*)buffer, partition); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o gfs2.o gfs2.c In file included from gfs2.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ gfs2.c: In function 'check_gfs2': gfs2.c:71:22: warning: cast increases required alignment of target type [-Wcast-align] 71 | if(test_gfs2(disk, (const struct gfs2_sb *)buffer, partition,0)!=0) | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o hfs.o hfs.c In file included from hfs.c:33: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from hfs.c:34: hfs.h:34:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 34 | } __attribute__ ((gcc_struct, __packed__)); | ^ hfs.h:77:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 77 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o hfsp.o hfsp.c In file included from hfsp.c:34: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ hfsp.c: In function 'check_HFSP': hfsp.c:64:25: warning: cast increases required alignment of target type [-Wcast-align] 64 | if(test_HFSP(disk_car,(struct hfsp_vh *)buffer,partition,verbose,0)!=0) | ^ hfsp.c:69:28: warning: cast increases required alignment of target type [-Wcast-align] 69 | set_HFSP_info(partition, (const struct hfsp_vh *)buffer); | ^ hfsp.c:72:26: warning: cast increases required alignment of target type [-Wcast-align] 72 | test_HFSP(disk_car,(struct hfsp_vh *)buffer,partition,verbose,0)==0) | ^ hfsp.c: In function 'recover_HFSP': hfsp.c:103:21: warning: cast increases required alignment of target type [-Wcast-align] 103 | test_HFSP(disk_car,(struct hfsp_vh *)buffer,partition,verbose,0)==0) | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o hpfs.o hpfs.c In file included from hpfs.c:35: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from hpfs.c:36: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:102:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 102 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o luks.o luks.c In file included from luks.c:33: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ luks.c: In function 'check_LUKS': luks.c:50:26: warning: cast increases required alignment of target type [-Wcast-align] 50 | 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] 55 | set_LUKS_info((struct luks_phdr*)buffer, partition); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o lvm.o lvm.c In file included from lvm.c:34: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ lvm.c: In function 'check_LVM': lvm.c:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | if(test_LVM(disk_car,(pv_disk_t *)buffer,partition,verbose,0)!=0) | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o md.o md.c In file included from md.c:34: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ md.c: In function 'check_MD': md.c:49:40: warning: cast increases required alignment of target type [-Wcast-align] 49 | 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] 53 | 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] 56 | set_MD_info((struct mdp_superblock_s*)buffer, partition, verbose); | ^ md.c:63:30: warning: cast increases required alignment of target type [-Wcast-align] 63 | 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] 66 | 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] 74 | 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] 78 | 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] 81 | set_MD_info((struct mdp_superblock_s*)buffer, partition, verbose); | ^ md.c:88:30: warning: cast increases required alignment of target type [-Wcast-align] 88 | 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] 91 | 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] 98 | 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] 108 | 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] 111 | set_MD_info((struct mdp_superblock_s*)buffer, partition, verbose); | ^ md.c:117:25: warning: cast increases required alignment of target type [-Wcast-align] 117 | 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] 120 | 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] 136 | 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] 140 | 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] 143 | set_MD_info((struct mdp_superblock_s*)buffer, partition, verbose); | ^ md.c:150:32: warning: cast increases required alignment of target type [-Wcast-align] 150 | 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] 153 | 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] 171 | 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] 184 | 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] 186 | 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] 215 | 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] 235 | const struct mdp_superblock_1 *sb1=(const struct mdp_superblock_1 *)sb; | ^ md.c: In function 'set_MD_info': md.c:275:40: warning: cast increases required alignment of target type [-Wcast-align] 275 | const struct mdp_superblock_1 *sb1=(const struct mdp_superblock_1 *)sb; | ^ md.c: In function 'set_MD_info_be': md.c:339:40: warning: cast increases required alignment of target type [-Wcast-align] 339 | const struct mdp_superblock_1 *sb1=(const struct mdp_superblock_1 *)sb; | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o netware.o netware.c In file included from netware.c:33: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ netware.c: In function 'check_netware': netware.c:53:19: warning: cast increases required alignment of target type [-Wcast-align] 53 | if(test_netware((const struct disk_netware *)buffer)!=0) | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ntfs.o ntfs.c In file included from ntfs.c:40: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from ntfs.c:42: ntfs.h:57:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 57 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs.h:147:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 147 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; | ^ ntfs.h:191:3: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 191 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs.h:196:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 196 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs.h:201:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 201 | } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; | ^ ntfs.h:241:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 241 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; | ^ ntfs.c: In function 'ntfs_getattributeheaders': ntfs.c:195:10: warning: cast increases required alignment of target type [-Wcast-align] 195 | return (const ntfs_attribheader *)location; | ^ ntfs.c: In function 'ntfs_searchattribute': ntfs.c:204:25: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'const unsigned int'} and 'int' [-Wsign-compare] 204 | le32(attrib->type)!= -1) | ^~ ntfs.c:217:12: warning: cast increases required alignment of target type [-Wcast-align] 217 | attrib=(const ntfs_attribheader*)((const char*)attrib + attr_len); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o refs.o refs.c In file included from refs.c:34: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from refs.c:35: refs.h:33:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 33 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o rfs.o rfs.c In file included from rfs.c:35: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from rfs.c:36: rfs.h:73:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 73 | } __attribute__ ((gcc_struct, __packed__)); | ^ rfs.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o savehdr.o savehdr.c In file included from savehdr.c:41: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o sun.o sun.c In file included from sun.c:35: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from sun.c:36: sun.h:75:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 75 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o swap.o swap.c In file included from swap.c:34: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __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] 50 | if(test_Linux_SWAP((union swap_header*)buffer)!=0) | ^ swap.c:55:23: warning: cast increases required alignment of target type [-Wcast-align] 55 | set_Linux_SWAP_info((union swap_header*)buffer,partition); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o sysv.o sysv.c In file included from sysv.c:35: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from sysv.c:36: sysv.h:119:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 119 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ufs.o ufs.c In file included from ufs.c:35: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from ufs.c:36: ufs.h:290:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 290 | } __attribute__ ((gcc_struct, __packed__)); | ^ ufs.h:297:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 297 | } __attribute__ ((gcc_struct, __packed__)); | ^ ufs.h:306:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 306 | } __attribute__ ((gcc_struct, __packed__)); | ^ ufs.h:315:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 315 | } __attribute__ ((gcc_struct, __packed__)); | ^ ufs.h:339:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 339 | } __attribute__ ((gcc_struct, __packed__)); | ^ ufs.h:458:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 458 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o vmfs.o vmfs.c In file included from vmfs.c:33: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from vmfs.c:36: vmfs.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ vmfs.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o wbfs.o wbfs.c In file included from wbfs.c:33: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from wbfs.c:36: wbfs.h:39:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 39 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o xfs.o xfs.c In file included from xfs.c:35: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from xfs.c:36: xfs.h:108:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 108 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o zfs.o zfs.c In file included from zfs.c:33: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ zfs.c: In function 'check_ZFS': zfs.c:50:21: warning: cast increases required alignment of target type [-Wcast-align] 50 | 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] 55 | set_ZFS_info((struct vdev_boot_header*)buffer, partition); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o addpart.o addpart.c In file included from addpart.c:29: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from addpart.c:31: partgpt.h:47:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 47 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from addpart.c:35: partxbox.h:32:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 32 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o addpartn.o addpartn.c In file included from addpartn.c:30: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from addpartn.c:32: partgpt.h:47:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 47 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from addpartn.c:35: partxbox.h:32:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 32 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o adv.o adv.c In file included from adv.c:39: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from adv.c:47: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:102:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 102 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from adv.c:48: ntfs.h:57:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 57 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs.h:147:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 147 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; | ^ ntfs.h:191:3: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 191 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs.h:196:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 196 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs.h:201:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 201 | } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; | ^ ntfs.h:241:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 241 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o askloc.o askloc.c In file included from askloc.c:53: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ askloc.c: In function 'ask_location': askloc.c:314:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 314 | line_directory=aff_txt(2, window, msg, src_dir); | ^~~~~~~~~~~~~~ In file included from askloc.c:56: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ askloc.c:349:25: note: in expansion of macro 'td_list_entry' 349 | 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] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ askloc.c:519:13: note: in expansion of macro 'td_list_entry' 519 | file_info=td_list_entry(current_file, file_info_t, list); | ^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o chgarch.o chgarch.c In file included from chgarch.c:34: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o chgarchn.o chgarchn.c In file included from chgarchn.c:35: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o chgtype.o chgtype.c In file included from chgtype.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o chgtypen.o chgtypen.c In file included from chgtypen.c:35: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from chgtypen.c:45: partgpt.h:47:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 47 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o dimage.o dimage.c In file included from dimage.c:45: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o dirn.o dirn.c In file included from dirn.c:38: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from dir.h:30, from dirn.c:41: dirn.c: In function 'dir_aff_ncurses': list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ dirn.c:133:34: note: in expansion of macro 'td_list_entry_const' 133 | const file_info_t *current_file=td_list_entry_const(file_walker, const file_info_t, list); | ^~~~~~~~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ dirn.c:318:22: note: in expansion of macro 'td_list_entry' 318 | selected_file=td_list_entry(pos, file_info_t, list); | ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ dirn.c:334:20: note: in expansion of macro 'td_list_entry' 334 | 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] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ dirn.c:362:25: note: in expansion of macro 'td_list_entry' 362 | 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] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ dirn.c:399:25: note: in expansion of macro 'td_list_entry' 399 | 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] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ dirn.c:489:12: note: in expansion of macro 'td_list_entry' 489 | tmp=td_list_entry(pos, file_info_t, list); | ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ dirn.c:494:7: note: in expansion of macro 'td_list_entry' 494 | tmp=td_list_entry(pos, file_info_t, list); | ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ dirn.c:511:12: note: in expansion of macro 'td_list_entry' 511 | tmp=td_list_entry(pos, file_info_t, list); | ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ dirn.c:517:7: note: in expansion of macro 'td_list_entry' 517 | tmp=td_list_entry(pos, file_info_t, list); | ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ dirn.c:534:12: note: in expansion of macro 'td_list_entry' 534 | tmp=td_list_entry(pos, file_info_t, list); | ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ dirn.c:540:7: note: in expansion of macro 'td_list_entry' 540 | tmp=td_list_entry(pos, file_info_t, list); | ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ dirn.c:558:22: note: in expansion of macro 'td_list_entry' 558 | file_info_t *tmp=td_list_entry(tmpw, file_info_t, list); | ^~~~~~~~~~~~~ dirn.c: In function 'copy_dir': list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ dirn.c:661:18: note: in expansion of macro 'td_list_entry' 661 | current_file=td_list_entry(file_walker, file_info_t, list); | ^~~~~~~~~~~~~ dirn.c: In function 'copy_selection': list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ dirn.c:719:22: note: in expansion of macro 'td_list_entry' 719 | file_info_t *tmp=td_list_entry(tmpw, file_info_t, list); | ^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o dirpart.o dirpart.c In file included from dirpart.c:34: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from dirpart.c:35: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:102:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 102 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from dirpart.c:48: ntfs.h:57:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 57 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs.h:147:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 147 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; | ^ ntfs.h:191:3: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 191 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs.h:196:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 196 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs.h:201:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 201 | } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; | ^ ntfs.h:241:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 241 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o diskacc.o diskacc.c In file included from diskacc.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o diskcapa.o diskcapa.c In file included from diskcapa.c:28: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o edit.o edit.c In file included from edit.c:35: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ext2_sb.o ext2_sb.c In file included from ext2_sb.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ext2_sbn.o ext2_sbn.c In file included from ext2_sbn.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __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] 88 | struct ext2_super_block *sb=(struct ext2_super_block *)buffer; | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o fat1x.o fat1x.c In file included from fat1x.c:34: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from fat1x.c:39: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:102:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 102 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o fat32.o fat32.c In file included from fat32.c:35: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from fat32.c:40: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:102:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 102 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o fat_adv.o fat_adv.c In file included from fat_adv.c:42: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from fat_adv.c:43: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:102:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 102 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from dir.h:30, from fat_adv.c:49: fat_adv.c: In function 'ask_root_directory': list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ fat_adv.c:207:39: note: in expansion of macro 'td_list_entry_const' 207 | const file_info_t *current_file=td_list_entry_const(file_walker, const file_info_t, list); | ^~~~~~~~~~~~~~~~~~~ fat_adv.c: In function 'is_root_cluster_candidat': list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ list.h:343:2: note: in expansion of macro 'td_list_entry' 343 | td_list_entry((ptr)->next, type, member) | ^~~~~~~~~~~~~ fat_adv.c:303:28: note: in expansion of macro 'td_list_first_entry' 303 | const file_info_t *file1=td_list_first_entry(&dir_list->list, const file_info_t, list); | ^~~~~~~~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ list.h:364:2: note: in expansion of macro 'td_list_entry' 364 | td_list_entry((pos)->member.next, typeof(*(pos)), member) | ^~~~~~~~~~~~~ fat_adv.c:304:28: note: in expansion of macro 'td_list_next_entry' 304 | const file_info_t *file2=td_list_next_entry(file1, list); | ^~~~~~~~~~~~~~~~~~ fat_adv.c: In function 'fat32_find_root_cluster': list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ list.h:343:2: note: in expansion of macro 'td_list_entry' 343 | td_list_entry((ptr)->next, type, member) | ^~~~~~~~~~~~~ fat_adv.c:373:39: note: in expansion of macro 'td_list_first_entry' 373 | const file_info_t *first_entry=td_list_first_entry(&dir_list.list, const file_info_t, list); | ^~~~~~~~~~~~~~~~~~~ fat_adv.c: In function 'file2entry': fat_adv.c:626:44: warning: taking address of packed member of 'struct msdos_dir_entry' may result in an unaligned pointer value [-Waddress-of-packed-member] 626 | fat_date_unix2dos(current_file->td_mtime,&de->time,&de->date); | ^~~~~~~~~ fat_adv.c:626:54: warning: taking address of packed member of 'struct msdos_dir_entry' may result in an unaligned pointer value [-Waddress-of-packed-member] 626 | fat_date_unix2dos(current_file->td_mtime,&de->time,&de->date); | ^~~~~~~~~ In file included from dir.h:30, from fat_adv.c:49: fat_adv.c: In function 'fat32_create_rootdir': list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ fat_adv.c:650:37: note: in expansion of macro 'td_list_entry_const' 650 | const file_info_t *current_file=td_list_entry_const(file_walker, const file_info_t, list); | ^~~~~~~~~~~~~~~~~~~ fat_adv.c: In function 'analyse_dir_entries2': list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ fat_adv.c:840:37: note: in expansion of macro 'td_list_entry_const' 840 | const file_info_t *current_file=td_list_entry_const(file_walker, const file_info_t, list); | ^~~~~~~~~~~~~~~~~~~ fat_adv.c: In function 'fat_find_fat_start': fat_adv.c:1420:25: warning: cast increases required alignment of target type [-Wcast-align] 1420 | const uint16_t *p16=(const uint16_t*)buffer; | ^ fat_adv.c:1480:25: warning: cast increases required alignment of target type [-Wcast-align] 1480 | const uint32_t *p32=(const uint32_t*)buffer; | ^ fat_adv.c: In function 'repair_FAT_table': fat_adv.c:2596:27: warning: cast increases required alignment of target type [-Wcast-align] 2596 | uint32_t *p32=(uint32_t*)buffer_fat[fat_nbr]; | ^ fat_adv.c:2610:27: warning: cast increases required alignment of target type [-Wcast-align] 2610 | uint16_t *p16=(uint16_t*)buffer_fat[fat_nbr]; | ^ In file included from fat_adv.c:42: fat_adv.c:2621:36: warning: cast increases required alignment of target type [-Wcast-align] 2621 | next_cluster=le16((*((uint16_t*)&buffer_fat[fat_nbr][offset_o])))>>4; | ^ common.h:457:19: note: in definition of macro 'le16' 457 | #define le16(x) (x) /* x as little endian */ | ^ fat_adv.c:2623:35: warning: cast increases required alignment of target type [-Wcast-align] 2623 | next_cluster=le16(*((uint16_t*)&buffer_fat[fat_nbr][offset_o]))&0x0FFF; | ^ common.h:457:19: note: in definition of macro 'le16' 457 | #define le16(x) (x) /* x as little endian */ | ^ fat_adv.c:2627:19: warning: cast increases required alignment of target type [-Wcast-align] 2627 | *((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: fat_adv.c:2627:91: warning: cast increases required alignment of target type [-Wcast-align] 2627 | *((uint16_t*)&buffer_fat[fat_nbr][offset_o])=le16((FAT12_EOC<<4)|(le16((*((uint16_t*)&buffer_fat[fat_nbr][offset_o])))&0x0F)); | ^ common.h:457:19: note: in definition of macro 'le16' 457 | #define le16(x) (x) /* x as little endian */ | ^ fat_adv.c:2627:83: note: in expansion of macro 'le16' 2627 | *((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:2629:19: warning: cast increases required alignment of target type [-Wcast-align] 2629 | *((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: fat_adv.c:2629:91: warning: cast increases required alignment of target type [-Wcast-align] 2629 | *((uint16_t*)&buffer_fat[fat_nbr][offset_o])=le16(FAT12_EOC |(le16((*((uint16_t*)&buffer_fat[fat_nbr][offset_o])))&0xF000)); | ^ common.h:457:19: note: in definition of macro 'le16' 457 | #define le16(x) (x) /* x as little endian */ | ^ fat_adv.c:2629:83: note: in expansion of macro 'le16' 2629 | *((uint16_t*)&buffer_fat[fat_nbr][offset_o])=le16(FAT12_EOC |(le16((*((uint16_t*)&buffer_fat[fat_nbr][offset_o])))&0xF000)); | ^~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o fat_cluster.o fat_cluster.c In file included from fat_cluster.c:35: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from fat_cluster.c:40: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:102:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 102 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o fatn.o fatn.c In file included from fatn.c:30: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from fatn.c:33: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:102:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 102 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o geometry.o geometry.c In file included from geometry.c:34: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o geometryn.o geometryn.c In file included from geometryn.c:35: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ geometryn.c: In function 'change_geometry_ncurses': geometryn.c:114:40: warning: comparison of integer expressions of different signedness: 'long int' and 'unsigned int' [-Wsign-compare] 114 | if (tmp_val > 0 && tmp_val <= MAX_HEADS) { | ^~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o godmode.o godmode.c In file included from godmode.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from godmode.c:42: ntfs.h:57:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 57 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs.h:147:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 147 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; | ^ ntfs.h:191:3: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 191 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs.h:196:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 196 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs.h:201:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 201 | } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; | ^ ntfs.h:241:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 241 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; | ^ In file included from godmode.c:50: partgpt.h:47:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 47 | } __attribute__ ((gcc_struct, __packed__)); | ^ godmode.c: In function 'search_part': godmode.c:682:39: warning: cast increases required alignment of target type [-Wcast-align] 682 | if(recover_MD(disk_car, (const struct mdp_superblock_s*)buffer_disk, partition, verbose, dump_ind)==0) | ^ godmode.c:684:52: warning: cast increases required alignment of target type [-Wcast-align] 684 | const struct mdp_superblock_1 *sb1=(const struct mdp_superblock_1 *)buffer_disk; | ^ godmode.c:774:39: warning: cast increases required alignment of target type [-Wcast-align] 774 | const struct ext2_super_block *sb=(const struct ext2_super_block*)buffer_disk; | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o hiddenn.o hiddenn.c In file included from hiddenn.c:29: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o intrface.o intrface.c In file included from intrface.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o intrfn.o intrfn.c In file included from intrfn.c:59: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o nodisk.o nodisk.c In file included from nodisk.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ntfs_adv.o ntfs_adv.c In file included from ntfs_adv.c:35: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from ntfs_adv.c:39: ntfs.h:57:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 57 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs.h:147:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 147 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; | ^ ntfs.h:191:3: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 191 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs.h:196:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 196 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs.h:201:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 201 | } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; | ^ ntfs.h:241:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 241 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; | ^ ntfs_adv.c: In function 'create_ntfs_boot_sector': ntfs_adv.c:271:40: warning: operand of ?: changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] 271 | mft_record_size / cluster_size : -(testdisk_ffs(mft_record_size) - 1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntfs_adv.c:273:41: warning: operand of ?: changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] 273 | index_block_size / cluster_size : -(testdisk_ffs(index_block_size) - 1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntfs_adv.c: In function 'read_mft_info': ntfs_adv.c:328:10: warning: cast increases required alignment of target type [-Wcast-align] 328 | attr80=(const ntfs_attribnonresident *)ntfs_findattribute(record, 0x80, buffer+sizeof(buffer)); | ^ ntfs_adv.c:340:10: warning: cast increases required alignment of target type [-Wcast-align] 340 | attr80=(const ntfs_attribnonresident *)ntfs_findattribute(record, 0x80, buffer+sizeof(buffer)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ntfs_fix.o ntfs_fix.c In file included from ntfs_fix.c:38: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from ntfs_fix.c:40: ntfs.h:57:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 57 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs.h:147:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 147 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; | ^ ntfs.h:191:3: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 191 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs.h:196:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 196 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs.h:201:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 201 | } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; | ^ ntfs.h:241:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 241 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ntfs_udl.o ntfs_udl.c In file included from ntfs_udl.c:45: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from ntfs_udl.c:69: ntfs_udl.c: In function 'free_file': list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ ntfs_udl.c:184:26: note: in expansion of macro 'td_list_entry' 184 | struct filename *f = td_list_entry(item, struct filename, list); | ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ ntfs_udl.c:191:22: note: in expansion of macro 'td_list_entry' 191 | struct data *d = td_list_entry(item, struct data, list); | ^~~~~~~~~~~~~ ntfs_udl.c: In function 'get_parent_name': ntfs_udl.c:305:33: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 305 | if (ntfs_ucstombs(filename_attr->file_name, | ~~~~~~~~~~~~~^~~~~~~~~~~ ntfs_udl.c: In function 'get_filenames': ntfs_udl.c:394:22: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 394 | name->uname = attr->file_name; | ^~~~ ntfs_udl.c: In function 'get_data': ntfs_udl.c:475:22: warning: cast increases required alignment of target type [-Wcast-align] 475 | data->uname = (ntfschar *) ((char *) rec + le16_to_cpu(rec->name_offset)); | ^ In file included from ntfs_udl.c:69: ntfs_udl.c: In function 'calc_percentage': list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ ntfs_udl.c:631:13: note: in expansion of macro 'td_list_entry' 631 | data = td_list_entry(pos, struct data, list); | ^~~~~~~~~~~~~ ntfs_udl.c: In function 'undelete_file': list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ ntfs_udl.c:893:22: note: in expansion of macro 'td_list_entry' 893 | struct data *d = td_list_entry(item, struct data, list); | ^~~~~~~~~~~~~ ntfs_udl.c: In function 'scan_disk': list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ ntfs_udl.c:1168:29: note: in expansion of macro 'td_list_entry_const' 1168 | const struct data *d = td_list_entry_const(item, const struct data, list); | ^~~~~~~~~~~~~~~~~~~ ntfs_udl.c: In function 'ntfs_next_non_deleted': list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ ntfs_udl.c:1199:15: note: in expansion of macro 'td_list_entry_const' 1199 | file_info=td_list_entry_const(walker, const file_info_t, list); | ^~~~~~~~~~~~~~~~~~~ ntfs_udl.c: In function 'ntfs_prev_non_deleted': list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ ntfs_udl.c:1213:15: note: in expansion of macro 'td_list_entry_const' 1213 | file_info=td_list_entry_const(walker, const file_info_t, list); | ^~~~~~~~~~~~~~~~~~~ ntfs_udl.c: In function 'ntfs_undelete_menu_ncurses': list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ ntfs_udl.c:1250:12: note: in expansion of macro 'td_list_entry' 1250 | 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] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ ntfs_udl.c:1400:16: note: in expansion of macro 'td_list_entry' 1400 | 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] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ ntfs_udl.c:1404:18: note: in expansion of macro 'td_list_entry' 1404 | 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] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ ntfs_udl.c:1419:13: note: in expansion of macro 'td_list_entry' 1419 | 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] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ ntfs_udl.c:1433:16: note: in expansion of macro 'td_list_entry' 1433 | 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] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ ntfs_udl.c:1447:13: note: in expansion of macro 'td_list_entry' 1447 | 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] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ ntfs_udl.c:1460:16: note: in expansion of macro 'td_list_entry' 1460 | 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] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ ntfs_udl.c:1473:16: note: in expansion of macro 'td_list_entry' 1473 | 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] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ ntfs_udl.c:1545:18: note: in expansion of macro 'td_list_entry' 1545 | file_info=td_list_entry(file_walker, file_info_t, list); | ^~~~~~~~~~~~~ ntfs_udl.c: In function 'ntfs_undelete_cli': list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ ntfs_udl.c:1603:34: note: in expansion of macro 'td_list_entry_const' 1603 | const file_info_t *file_info=td_list_entry_const(file_walker, const file_info_t, list); | ^~~~~~~~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o parti386n.o parti386n.c In file included from parti386n.c:34: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o partgptn.o partgptn.c In file included from partgptn.c:44: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o partmacn.o partmacn.c In file included from partmacn.c:34: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o partsunn.o partsunn.c In file included from partsunn.c:34: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o partxboxn.o partxboxn.c In file included from partxboxn.c:34: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o tanalyse.o tanalyse.c In file included from tanalyse.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o tbanner.o tbanner.c In file included from tbanner.c:29: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o tdelete.o tdelete.c In file included from tdelete.c:28: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o tdiskop.o tdiskop.c In file included from tdiskop.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o tdisksel.o tdisksel.c In file included from tdisksel.c:34: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o testdisk.o testdisk.c In file included from testdisk.c:44: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o texfat.o texfat.c In file included from texfat.c:35: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from texfat.c:39: exfat.h:50:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 50 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:70:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 70 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:84:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 84 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:93:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 93 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o thfs.o thfs.c In file included from thfs.c:35: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from thfs.c:39: hfs.h:34:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 34 | } __attribute__ ((gcc_struct, __packed__)); | ^ hfs.h:77:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 77 | } __attribute__ ((gcc_struct, __packed__)); | ^ thfs.c: In function 'HFS_HFSP_boot_sector_rescan': thfs.c:117:30: warning: cast increases required alignment of target type [-Wcast-align] 117 | else if(test_HFSP(disk_car,(const struct hfsp_vh*)buffer_bs,partition,verbose,0)==0) | ^ thfs.c:135:30: warning: cast increases required alignment of target type [-Wcast-align] 135 | else if(test_HFSP(disk_car,(const struct hfsp_vh*)buffer_backup_bs,partition,verbose,0)==0) | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o tload.o tload.c In file included from tload.c:40: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from savehdr.h:26, from tload.c:46: tload.c: In function 'interface_load_ncurses': list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ tload.c:102:9: note: in expansion of macro 'td_list_entry' 102 | backup=td_list_entry(backup_walker, backup_disk_t, list); | ^~~~~~~~~~~~~ tload.c: In function 'interface_load': list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ tload.c:204:12: note: in expansion of macro 'td_list_entry' 204 | backup=td_list_entry(backup_walker, backup_disk_t, list); | ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ tload.c:215:12: note: in expansion of macro 'td_list_entry' 215 | backup=td_list_entry(backup_current, backup_disk_t, list); | ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ tload.c:228:14: note: in expansion of macro 'td_list_entry' 228 | backup=td_list_entry(backup_walker, backup_disk_t, list); | ^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o tlog.o tlog.c In file included from tlog.c:28: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o tmbrcode.o tmbrcode.c In file included from tmbrcode.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o tntfs.o tntfs.c In file included from tntfs.c:34: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from tntfs.c:39: ntfs.h:57:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 57 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs.h:147:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 147 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; | ^ ntfs.h:191:3: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 191 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs.h:196:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 196 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs.h:201:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 201 | } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; | ^ ntfs.h:241:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 241 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o toptions.o toptions.c In file included from toptions.c:30: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o tpartwr.o tpartwr.c In file included from tpartwr.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o dir.o dir.c In file included from dir.c:47: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from dir.h:30, from dir.c:48: dir.c: In function 'dir_aff_log': list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ dir.c:196:37: note: in expansion of macro 'td_list_entry_const' 196 | const file_info_t *current_file=td_list_entry_const(file_walker, const file_info_t, list); | ^~~~~~~~~~~~~~~~~~~ dir.c: In function 'log_list_file': list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ dir.c:236:37: note: in expansion of macro 'td_list_entry_const' 236 | const file_info_t *current_file=td_list_entry_const(tmp, const file_info_t, list); | ^~~~~~~~~~~~~~~~~~~ dir.c: In function 'delete_list_file': list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ dir.c:259:9: note: in expansion of macro 'td_list_entry' 259 | tmp=td_list_entry(file_walker, file_info_t, list); | ^~~~~~~~~~~~~ dir.c: In function 'dir_whole_partition_log_aux': list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ dir.c:300:37: note: in expansion of macro 'td_list_entry_const' 300 | const file_info_t *current_file=td_list_entry_const(file_walker, const file_info_t, list); | ^~~~~~~~~~~~~~~~~~~ dir.c: In function 'dir_whole_partition_copy_aux': list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ dir.c:339:37: note: in expansion of macro 'td_list_entry_const' 339 | const file_info_t *current_file=td_list_entry_const(file_walker, const file_info_t, list); | ^~~~~~~~~~~~~~~~~~~ dir.c: In function 'filesort': list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ dir.c:390:29: note: in expansion of macro 'td_list_entry_const' 390 | 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] 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ dir.c:391:29: note: in expansion of macro 'td_list_entry_const' 391 | const file_info_t *file_b=td_list_entry_const(b, const file_info_t, list); | ^~~~~~~~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o exfat_dir.o exfat_dir.c In file included from exfat_dir.c:45: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from exfat_dir.c:46: exfat.h:50:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 50 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:70:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 70 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:84:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 84 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:93:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 93 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from exfat_dir.c:53: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:102:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 102 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat_dir.c: In function 'exfat_ucstoutf8': exfat_dir.c:93:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 93 | if (iconv(cd, (char **)&inp, &inb_left, &outp, &outb_left) == (size_t)(-1)) | ^ exfat_dir.c: In function 'exfat_get_next_cluster': exfat_dir.c:114:23: warning: cast increases required alignment of target type [-Wcast-align] 114 | const uint32_t *p32=(const uint32_t*)buffer; | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ext2_dir.o ext2_dir.c In file included from ext2_dir.c:42: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ ext2_dir.c: In function 'alloc_io_channel': ext2_dir.c:108:44: warning: unused parameter 'disk_car' [-Wunused-parameter] 108 | static io_channel alloc_io_channel(disk_t *disk_car,my_data_t *my_data) | ~~~~~~~~^~~~~~~~ ext2_dir.c: In function 'my_open': ext2_dir.c:135:38: warning: unused parameter 'dev' [-Wunused-parameter] 135 | static errcode_t my_open(const char *dev, int flags, io_channel *channel) | ~~~~~~~~~~~~^~~ ext2_dir.c:135:47: warning: unused parameter 'flags' [-Wunused-parameter] 135 | static errcode_t my_open(const char *dev, int flags, io_channel *channel) | ~~~~^~~~~ ext2_dir.c: In function 'my_write_blk64': ext2_dir.c:194:30: warning: cast increases required alignment of target type [-Wcast-align] 194 | 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] 209 | static errcode_t my_flush(io_channel channel) | ~~~~~~~~~~~^~~~~~~ ext2_dir.c: In function 'list_dir_proc2': ext2_dir.c:214:38: warning: unused parameter 'dir' [-Wunused-parameter] 214 | static int list_dir_proc2(ext2_ino_t dir, | ~~~~~~~~~~~^~~ ext2_dir.c:217:9: warning: unused parameter 'offset' [-Wunused-parameter] 217 | int offset, | ~~~~^~~~~~ ext2_dir.c:218:9: warning: unused parameter 'blocksize' [-Wunused-parameter] 218 | int blocksize, | ~~~~^~~~~~~~~ ext2_dir.c:219:11: warning: unused parameter 'buf' [-Wunused-parameter] 219 | char *buf, | ~~~~~~^~~ ext2_dir.c: In function 'ext2_dir': ext2_dir.c:267:29: warning: unused parameter 'disk_car' [-Wunused-parameter] 267 | static int ext2_dir(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const unsigned long int cluster, file_info_t *dir_list) | ~~~~~~~~^~~~~~~~ ext2_dir.c:267:58: warning: unused parameter 'partition' [-Wunused-parameter] 267 | static int ext2_dir(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const unsigned long int cluster, file_info_t *dir_list) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ext2_dir.c: In function 'ext2_copy': ext2_dir.c:288:30: warning: unused parameter 'disk_car' [-Wunused-parameter] 288 | static int ext2_copy(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const file_info_t *file) | ~~~~~~~~^~~~~~~~ ext2_dir.c:288:59: warning: unused parameter 'partition' [-Wunused-parameter] 288 | static int ext2_copy(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const file_info_t *file) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o fat_dir.o fat_dir.c In file included from fat_dir.c:42: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from fat_dir.c:43: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:102:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 102 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat_dir.c: In function 'dir_fat_aux': fat_dir.c:102:10: warning: cast increases required alignment of target type [-Wcast-align] 102 | ds = (const struct msdos_dir_slot *) de; | ^ fat_dir.c:102:24: warning: converting a packed 'const struct msdos_dir_entry' pointer (alignment 1) to a 'const struct msdos_dir_slot' pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 102 | ds = (const struct msdos_dir_slot *) de; | ^~~~~~~~~~~~~~ fat_dir.c:109:12: warning: cast increases required alignment of target type [-Wcast-align] 109 | ds = (const struct msdos_dir_slot *) de; | ^ fat_dir.c:109:26: warning: converting a packed 'const struct msdos_dir_entry' pointer (alignment 1) to a 'const struct msdos_dir_slot' pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 109 | ds = (const struct msdos_dir_slot *) de; | ^~~~~~~~~~~~~~ fat_dir.c:126:12: warning: cast increases required alignment of target type [-Wcast-align] 126 | ds = (const struct msdos_dir_slot *) de_initial; | ^ fat_dir.c:126:26: warning: converting a packed 'const struct msdos_dir_entry' pointer (alignment 1) to a 'const struct msdos_dir_slot' pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 126 | ds = (const struct msdos_dir_slot *) de_initial; | ^~~~~~~~~~~~~~ fat_dir.c:160:10: warning: cast increases required alignment of target type [-Wcast-align] 160 | ds = (const struct msdos_dir_slot *) de; | ^ fat_dir.c:160:24: warning: converting a packed 'const struct msdos_dir_entry' pointer (alignment 1) to a 'const struct msdos_dir_slot' pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 160 | ds = (const struct msdos_dir_slot *) de; | ^~~~~~~~~~~~~~ fat_dir.c:191:7: warning: cast increases required alignment of target type [-Wcast-align] 191 | ds = (const struct msdos_dir_slot *) de; | ^ fat_dir.c:191:21: warning: converting a packed 'const struct msdos_dir_entry' pointer (alignment 1) to a 'const struct msdos_dir_slot' pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 191 | ds = (const struct msdos_dir_slot *) de; | ^~~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ntfs_dir.o ntfs_dir.c In file included from ntfs_dir.c:71: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from ntfs_dir.c:73: ntfs.h:57:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 57 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs.h:147:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 147 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; | ^ ntfs.h:191:3: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 191 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs.h:196:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 196 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs.h:201:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 201 | } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; | ^ ntfs.h:241:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 241 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; | ^ ntfs_dir.c: In function 'ntfs_ucstoutf8': ntfs_dir.c:151:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 151 | if (iconv(cd, (char**)&inp, &inb_left, &outp, &outb_left) == (size_t)(-1)) | ^ ntfs_dir.c: In function 'ntfs_td_list_entry': ntfs_dir.c:265:20: warning: cast increases required alignment of target type [-Wcast-align] 265 | if (ntfs_ucstombs((ntfschar *) ((char *) rec + le16_to_cpu(rec->name_offset)), | ^ ntfs_dir.c:167:54: warning: unused parameter 'pos' [-Wunused-parameter] 167 | const int name_len, const int name_type, const s64 pos, | ~~~~~~~~~~^~~ ntfs_dir.c: In function 'ntfs_dir': ntfs_dir.c:299:29: warning: unused parameter 'disk_car' [-Wunused-parameter] 299 | static int ntfs_dir(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const unsigned long int cluster, file_info_t *dir_list) | ~~~~~~~~^~~~~~~~ ntfs_dir.c:299:58: warning: unused parameter 'partition' [-Wunused-parameter] 299 | static int ntfs_dir(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const unsigned long int cluster, file_info_t *dir_list) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ntfs_dir.c: In function 'ntfs_copy': ntfs_dir.c:334:30: warning: unused parameter 'disk_car' [-Wunused-parameter] 334 | static int ntfs_copy(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const file_info_t *file) | ~~~~~~~~^~~~~~~~ ntfs_dir.c:334:59: warning: unused parameter 'partition' [-Wunused-parameter] 334 | static int ntfs_copy(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const file_info_t *file) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o partgptw.o partgptw.c In file included from partgptw.c:43: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partgptw.c:45: partgpt.h:47:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 47 | } __attribute__ ((gcc_struct, __packed__)); | ^ partgptw.c: In function 'partition_generate_gpt_entry': partgptw.c:108:13: warning: cast increases required alignment of target type [-Wcast-align] 108 | str2UCSle((uint16_t *)&gpt_entry->ent_name, partition->partname, sizeof(gpt_entry->ent_name)/2); | ^ partgptw.c: In function 'write_part_gpt': partgptw.c:243:87: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 243 | if(disk_car->pread(disk_car, gpt_org, disk_car->sector_size, disk_car->sector_size) == disk_car->sector_size) | ^~ partgptw.c:218:92: warning: unused parameter 'verbose' [-Wunused-parameter] 218 | int write_part_gpt(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~^~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o rfs_dir.o rfs_dir.c In file included from rfs_dir.c:44: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from rfs_dir.c:46: rfs.h:73:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 73 | } __attribute__ ((gcc_struct, __packed__)); | ^ rfs.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ rfs_dir.c: In function 'dir_partition_reiser_init': rfs_dir.c:548:51: warning: unused parameter 'disk_car' [-Wunused-parameter] 548 | dir_partition_t dir_partition_reiser_init(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const int verbose) | ~~~~~~~~^~~~~~~~ rfs_dir.c:548:80: warning: unused parameter 'partition' [-Wunused-parameter] 548 | dir_partition_t dir_partition_reiser_init(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const int verbose) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ rfs_dir.c:548:103: warning: unused parameter 'dir_data' [-Wunused-parameter] 548 | dir_partition_t dir_partition_reiser_init(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const int verbose) | ~~~~~~~~~~~~^~~~~~~~ rfs_dir.c:548:123: warning: unused parameter 'verbose' [-Wunused-parameter] 548 | dir_partition_t dir_partition_reiser_init(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const int verbose) | ~~~~~~~~~~^~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o setdate.o setdate.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o next.o next.c In file included from next.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -Wl,-z,relro -o testdisk autoset.o common.o crc.o ewf.o fnctdsk.o hdaccess.o hdcache.o hdwin32.o hidden.o hpa_dco.o intrf.o iso.o list_sort.o log.o log_part.o misc.o msdos.o parti386.o partgpt.o parthumax.o partmac.o partsun.o partnone.o partxbox.o io_redir.o ntfs_io.o ntfs_utl.o partauto.o sudo.o unicode.o win32.o analyse.o bfs.o bsd.o btrfs.o cramfs.o exfat.o ext2.o ext2_common.o fat.o fat_common.o fatx.o f2fs.o jfs.o gfs2.o hfs.o hfsp.o hpfs.o luks.o lvm.o md.o netware.o ntfs.o refs.o rfs.o savehdr.o sun.o swap.o sysv.o ufs.o vmfs.o wbfs.o xfs.o zfs.o addpart.o addpartn.o adv.o askloc.o chgarch.o chgarchn.o chgtype.o chgtypen.o dimage.o dirn.o dirpart.o diskacc.o diskcapa.o edit.o ext2_sb.o ext2_sbn.o fat1x.o fat32.o fat_adv.o fat_cluster.o fatn.o geometry.o geometryn.o godmode.o hiddenn.o intrface.o intrfn.o nodisk.o ntfs_adv.o ntfs_fix.o ntfs_udl.o parti386n.o partgptn.o partmacn.o partsunn.o partxboxn.o tanalyse.o tbanner.o tdelete.o tdiskop.o tdisksel.o testdisk.o texfat.o thfs.o tload.o tlog.o tmbrcode.o tntfs.o toptions.o tpartwr.o dir.o exfat_dir.o ext2_dir.o fat_dir.o ntfs_dir.o partgptw.o rfs_dir.o setdate.o next.o -lncursesw -ltinfo -lz -luuid -lntfs-3g -lext2fs -lcom_err arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o phmain.o phmain.c In file included from phmain.c:59: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o photorec.o photorec.c In file included from photorec.c:45: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from dir.h:30, from photorec.c:47: photorec.c: In function 'file_block_log': list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ photorec.c:74:33: note: in expansion of macro 'td_list_entry_const' 74 | const alloc_list_t *element=td_list_entry_const(tmp, const alloc_list_t, list); | ^~~~~~~~~~~~~~~~~~~ photorec.c: In function 'update_search_space_aux': list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ photorec.c:102:26: note: in expansion of macro 'td_list_entry' 102 | 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] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ list.h:364:2: note: in expansion of macro 'td_list_entry' 364 | td_list_entry((pos)->member.next, typeof(*(pos)), member) | ^~~~~~~~~~~~~ photorec.c:130:35: note: in expansion of macro 'td_list_next_entry' 130 | *new_current_search_space=td_list_next_entry(current_search_space, list); | ^~~~~~~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ list.h:364:2: note: in expansion of macro 'td_list_entry' 364 | td_list_entry((pos)->member.next, typeof(*(pos)), member) | ^~~~~~~~~~~~~ photorec.c:149:30: note: in expansion of macro 'td_list_next_entry' 149 | *new_current_search_space=td_list_next_entry(current_search_space, list); | ^~~~~~~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ list.h:364:2: note: in expansion of macro 'td_list_entry' 364 | td_list_entry((pos)->member.next, typeof(*(pos)), member) | ^~~~~~~~~~~~~ photorec.c:159:28: note: in expansion of macro 'td_list_next_entry' 159 | *new_current_search_space=td_list_next_entry(current_search_space, list); | ^~~~~~~~~~~~~~~~~~ photorec.c: In function 'free_list_search_space': list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ photorec.c:226:26: note: in expansion of macro 'td_list_entry' 226 | current_search_space=td_list_entry(search_walker, alloc_data_t, list); | ^~~~~~~~~~~~~ photorec.c: In function 'get_prev_file_header': list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ list.h:372:2: note: in expansion of macro 'td_list_entry' 372 | td_list_entry((pos)->member.prev, typeof(*(pos)), member) | ^~~~~~~~~~~~~ photorec.c:287:16: note: in expansion of macro 'td_list_prev_entry' 287 | file_space=td_list_prev_entry(file_space, list); | ^~~~~~~~~~~~~~~~~~ photorec.c: In function 'forget': list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ photorec.c:316:11: note: in expansion of macro 'td_list_entry' 316 | tmp=td_list_entry(search_walker, alloc_data_t, list); | ^~~~~~~~~~~~~ photorec.c: In function 'update_stats': list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ photorec.c:355:26: note: in expansion of macro 'td_list_entry' 355 | current_search_space=td_list_entry(search_walker, alloc_data_t, list); | ^~~~~~~~~~~~~ photorec.c: In function 'find_blocksize': list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ list.h:343:2: note: in expansion of macro 'td_list_entry' 343 | td_list_entry((ptr)->next, type, member) | ^~~~~~~~~~~~~ photorec.c:428:12: note: in expansion of macro 'td_list_first_entry' 428 | *offset=(td_list_first_entry(&list_search_space->list, alloc_data_t, list))->start % blocksize; | ^~~~~~~~~~~~~~~~~~~ list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ photorec.c:434:31: note: in expansion of macro 'td_list_entry_const' 434 | const alloc_data_t *tmp=td_list_entry_const(search_walker, const alloc_data_t, list); | ^~~~~~~~~~~~~~~~~~~ photorec.c: In function 'update_blocksize': list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ photorec.c:458:26: note: in expansion of macro 'td_list_entry' 458 | 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] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ photorec.c:464:40: note: in expansion of macro 'td_list_entry' 464 | 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] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ photorec.c:468:39: note: in expansion of macro 'td_list_entry' 468 | 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] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ photorec.c:492:40: note: in expansion of macro 'td_list_entry' 492 | 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:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ photorec.c:512:21: note: in expansion of macro 'td_list_entry' 512 | allocated_space=td_list_entry(tmp, alloc_list_t, list); | ^~~~~~~~~~~~~ photorec.c: In function 'info_list_search_space': list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ photorec.c:666:9: note: in expansion of macro 'td_list_entry' 666 | tmp=td_list_entry(search_walker, alloc_data_t, list); | ^~~~~~~~~~~~~ photorec.c: In function 'free_search_space': list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ photorec.c:697:26: note: in expansion of macro 'td_list_entry' 697 | current_search_space=td_list_entry(search_walker, alloc_data_t, list); | ^~~~~~~~~~~~~ photorec.c: In function 'set_search_start_aux': list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ photorec.c:729:26: note: in expansion of macro 'td_list_entry' 729 | 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] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ photorec.c:738:29: note: in expansion of macro 'td_list_entry' 738 | *new_current_search_space=td_list_entry(search_walker, alloc_data_t, list); | ^~~~~~~~~~~~~ photorec.c: In function 'set_search_start': photorec.c:744:20: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 744 | if(params->offset!=-1) | ^~ In file included from dir.h:30, from photorec.c:47: photorec.c: In function 'file_block_remove_from_sp_aux': list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ list.h:364:2: note: in expansion of macro 'td_list_entry' 364 | td_list_entry((pos)->member.next, typeof(*(pos)), member) | ^~~~~~~~~~~~~ photorec.c:873:31: note: in expansion of macro 'td_list_next_entry' 873 | *new_current_search_space=td_list_next_entry(tmp, list); | ^~~~~~~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ list.h:364:2: note: in expansion of macro 'td_list_entry' 364 | td_list_entry((pos)->member.next, typeof(*(pos)), member) | ^~~~~~~~~~~~~ photorec.c:882:31: note: in expansion of macro 'td_list_next_entry' 882 | *new_current_search_space=td_list_next_entry(tmp, list); | ^~~~~~~~~~~~~~~~~~ photorec.c: In function 'file_block_remove_from_sp': list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ photorec.c:908:9: note: in expansion of macro 'td_list_entry' 908 | tmp=td_list_entry(search_walker, alloc_data_t, list); | ^~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ photorec.c:918:9: note: in expansion of macro 'td_list_entry' 918 | tmp=td_list_entry(search_walker, alloc_data_t, list); | ^~~~~~~~~~~~~ photorec.c: In function 'file_block_add_to_file': list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ list.h:355:2: note: in expansion of macro 'td_list_entry' 355 | td_list_entry((ptr)->prev, type, member) | ^~~~~~~~~~~~~ photorec.c:932:24: note: in expansion of macro 'td_list_last_entry' 932 | alloc_list_t *prev=td_list_last_entry(&list->list, alloc_list_t, list); | ^~~~~~~~~~~~~~~~~~ photorec.c: In function 'file_block_truncate_aux': list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ photorec.c:962:9: note: in expansion of macro 'td_list_entry' 962 | tmp=td_list_entry(search_walker, alloc_data_t, list); | ^~~~~~~~~~~~~ photorec.c: In function 'file_block_truncate_zero_aux': list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ photorec.c:1008:9: note: in expansion of macro 'td_list_entry' 1008 | tmp=td_list_entry(search_walker, alloc_data_t, list); | ^~~~~~~~~~~~~ photorec.c: In function 'file_block_truncate_zero': list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ photorec.c:1049:27: note: in expansion of macro 'td_list_entry' 1049 | alloc_list_t *element=td_list_entry(tmp, alloc_list_t, list); | ^~~~~~~~~~~~~ photorec.c: In function 'file_block_truncate': list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ photorec.c:1070:27: note: in expansion of macro 'td_list_entry' 1070 | alloc_list_t *element=td_list_entry(tmp, alloc_list_t, list); | ^~~~~~~~~~~~~ photorec.c: In function 'file_offset_end': list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ photorec.c:1097:31: note: in expansion of macro 'td_list_entry_const' 1097 | 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:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ photorec.c:1107:27: note: in expansion of macro 'td_list_entry' 1107 | alloc_data_t *element=td_list_entry(tmp, alloc_data_t, list); | ^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o phcfg.o phcfg.c In file included from phcfg.c:41: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o exfatp.o exfatp.c In file included from exfatp.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from exfatp.c:35: exfat.h:50:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 50 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:70:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 70 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:84:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 84 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:93:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 93 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from exfatp.c:37: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:102:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 102 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ext2grp.o ext2grp.c In file included from ext2grp.c:30: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __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] 60 | const struct ext2_super_block *sb=(const struct ext2_super_block *)buffer; | ^ In file included from ext2grp.c:31: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ ext2grp.c:65:28: note: in expansion of macro 'td_list_entry' 65 | 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] 97 | const struct ext2_super_block *sb=(const struct ext2_super_block *)buffer; | ^ In file included from ext2grp.c:31: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ ext2grp.c:103:28: note: in expansion of macro 'td_list_entry' 103 | current_search_space=td_list_entry(search_walker, alloc_data_t, list); | ^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ext2p.o ext2p.c In file included from ext2p.c:33: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o fatp.o fatp.c In file included from fatp.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from fatp.c:35: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:102:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 102 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from fatp.c:31: fatp.c: In function 'fat12_remove_used_space': fatp.c:69:28: warning: cast increases required alignment of target type [-Wcast-align] 69 | next_cluster=le16((*((uint16_t*)&buffer[offset_o])))>>4; | ^ common.h:457:19: note: in definition of macro 'le16' 457 | #define le16(x) (x) /* x as little endian */ | ^ fatp.c:71:27: warning: cast increases required alignment of target type [-Wcast-align] 71 | next_cluster=le16(*((uint16_t*)&buffer[offset_o]))&0x0FFF; | ^ common.h:457:19: note: in definition of macro 'le16' 457 | #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] 101 | 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] 145 | p32=(uint32_t*)buffer; | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_found.o file_found.c In file included from file_found.c:35: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ntfsp.o ntfsp.c In file included from ntfsp.c:37: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from ntfsp.c:51: ntfs.h:57:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 57 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs.h:147:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 147 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; | ^ ntfs.h:191:3: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 191 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs.h:196:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 196 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs.h:201:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 201 | } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; | ^ ntfs.h:241:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 241 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o pdisksel.o pdisksel.c In file included from pdisksel.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from pdisksel.c:33: pdisksel.c: In function 'photorec_disk_selection_cli': list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ pdisksel.c:56:28: note: in expansion of macro 'td_list_entry' 56 | current_search_space=td_list_entry(search_walker, alloc_data_t, list); | ^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o phcli.o phcli.c In file included from phcli.c:35: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from filegen.h:28, from phcli.c:36: phcli.c: In function 'spacerange_cmp': list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ phcli.c:48:31: note: in expansion of macro 'td_list_entry_const' 48 | 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] 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ phcli.c:49:31: note: in expansion of macro 'td_list_entry_const' 49 | const alloc_data_t *space_b=td_list_entry_const(b, const alloc_data_t, list); | ^~~~~~~~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o poptions.o poptions.c In file included from poptions.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o sessionp.o sessionp.c In file included from sessionp.c:46: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ sessionp.c: In function 'session_save': sessionp.c:291:60: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 291 | if(params->status!=STATUS_FIND_OFFSET && params->offset!=-1) | ^~ In file included from filegen.h:28, from sessionp.c:48: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ sessionp.c:298:26: note: in expansion of macro 'td_list_entry' 298 | current_free_space=td_list_entry(free_walker, alloc_data_t, list); | ^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o dfxml.o dfxml.c In file included from dfxml.c:53: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from dir.h:30, from dfxml.c:54: dfxml.c: In function 'xml_log_file_recovered': list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ dfxml.c:334:33: note: in expansion of macro 'td_list_entry_const' 334 | const alloc_list_t *element=td_list_entry_const(tmp, const alloc_list_t, list); | ^~~~~~~~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o fat_unformat.o fat_unformat.c In file included from fat_unformat.c:40: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from fat_unformat.c:44: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:102:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 102 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from dir.h:30, from fat_unformat.c:43: pnext.h: In function 'get_next_header': list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ pnext.h:37:27: note: in expansion of macro 'td_list_entry' 37 | *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:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ pnext.h:78:27: note: in expansion of macro 'td_list_entry' 78 | *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:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ list.h:343:2: note: in expansion of macro 'td_list_entry' 343 | td_list_entry((ptr)->next, type, member) | ^~~~~~~~~~~~~ fat_unformat.c:71:24: note: in expansion of macro 'td_list_first_entry' 71 | current_search_space=td_list_first_entry(&list_search_space->list, alloc_data_t, list); | ^~~~~~~~~~~~~~~~~~~ fat_unformat.c: In function 'fat_unformat_aux': list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ list.h:355:2: note: in expansion of macro 'td_list_entry' 355 | td_list_entry((ptr)->prev, type, member) | ^~~~~~~~~~~~~ fat_unformat.c:241:24: note: in expansion of macro 'td_list_last_entry' 241 | current_search_space=td_list_last_entry(&list_search_space->list, alloc_data_t, list); | ^~~~~~~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ list.h:343:2: note: in expansion of macro 'td_list_entry' 343 | td_list_entry((ptr)->next, type, member) | ^~~~~~~~~~~~~ fat_unformat.c:247:24: note: in expansion of macro 'td_list_first_entry' 247 | current_search_space=td_list_first_entry(&list_search_space->list, alloc_data_t, list); | ^~~~~~~~~~~~~~~~~~~ list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ fat_unformat.c:274:36: note: in expansion of macro 'td_list_entry_const' 274 | const file_info_t *current_file=td_list_entry_const(file_walker, const file_info_t, list); | ^~~~~~~~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o pbanner.o pbanner.c In file included from pbanner.c:29: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o pblocksize.o pblocksize.c In file included from pblocksize.c:29: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o pdiskseln.o pdiskseln.c In file included from pdiskseln.c:38: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o pfree_whole.o pfree_whole.c In file included from pfree_whole.c:29: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o phbf.o phbf.c In file included from phbf.c:44: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from dir.h:30, from phbf.c:57: pnext.h: In function 'get_next_header': list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ pnext.h:37:27: note: in expansion of macro 'td_list_entry' 37 | *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:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ pnext.h:78:27: note: in expansion of macro 'td_list_entry' 78 | *current_search_space=td_list_entry((*current_search_space)->list.prev, alloc_data_t, list); | ^~~~~~~~~~~~~ phbf.c: In function 'next_file': list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ phbf.c:100:9: note: in expansion of macro 'td_list_entry_const' 100 | tmp=td_list_entry_const(tmp_walker, const alloc_data_t, list); | ^~~~~~~~~~~~~~~~~~~ phbf.c: In function 'get_offset_next_file': list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ phbf.c:115:9: note: in expansion of macro 'td_list_entry_const' 115 | tmp=td_list_entry_const(tmp_walker, const alloc_data_t, list); | ^~~~~~~~~~~~~~~~~~~ phbf.c: In function 'photorec_bf': list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ phbf.c:152:28: note: in expansion of macro 'td_list_entry' 152 | current_search_space=td_list_entry(search_walker, alloc_data_t, list); | ^~~~~~~~~~~~~ list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ phbf.c:177:35: note: in expansion of macro 'td_list_entry_const' 177 | 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] 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ phbf.c:180:39: note: in expansion of macro 'td_list_entry_const' 180 | 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:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ list.h:355:2: note: in expansion of macro 'td_list_entry' 355 | td_list_entry((ptr)->prev, type, member) | ^~~~~~~~~~~~~ phbf.c:593:35: note: in expansion of macro 'td_list_last_entry' 593 | const alloc_list_t *element=td_list_last_entry(&file_recovery->location.list, alloc_list_t, list); | ^~~~~~~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ list.h:343:2: note: in expansion of macro 'td_list_entry' 343 | td_list_entry((ptr)->next, type, member) | ^~~~~~~~~~~~~ phbf.c:597:31: note: in expansion of macro 'td_list_first_entry' 597 | extractblock_search_space=td_list_first_entry(&list_search_space->list, alloc_data_t, list); | ^~~~~~~~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ list.h:364:2: note: in expansion of macro 'td_list_entry' 364 | td_list_entry((pos)->member.next, typeof(*(pos)), member) | ^~~~~~~~~~~~~ phbf.c:602:33: note: in expansion of macro 'td_list_next_entry' 602 | extractblock_search_space=td_list_next_entry(extractblock_search_space, list); | ^~~~~~~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o phbs.o phbs.c In file included from phbs.c:41: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from phbs.c:46: pnext.h: In function 'get_next_header': list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ pnext.h:37:27: note: in expansion of macro 'td_list_entry' 37 | *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:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ pnext.h:78:27: note: in expansion of macro 'td_list_entry' 78 | *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:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ list.h:343:2: note: in expansion of macro 'td_list_entry' 343 | td_list_entry((ptr)->next, type, member) | ^~~~~~~~~~~~~ phbs.c:91:24: note: in expansion of macro 'td_list_first_entry' 91 | current_search_space=td_list_first_entry(&list_search_space->list, alloc_data_t, list); | ^~~~~~~~~~~~~~~~~~~ list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ phbs.c:114:33: note: in expansion of macro 'td_list_entry_const' 114 | 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] 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ phbs.c:117:37: note: in expansion of macro 'td_list_entry_const' 117 | const file_check_t *file_check=td_list_entry_const(tmp, const file_check_t, list); | ^~~~~~~~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o phnc.o phnc.c In file included from phnc.c:36: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o phrecn.o phrecn.c In file included from phrecn.c:45: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from phrecn.c:59: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:102:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 102 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from dir.h:30, from phrecn.c:58: pnext.h: In function 'get_next_header': list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ pnext.h:37:27: note: in expansion of macro 'td_list_entry' 37 | *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:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ pnext.h:78:27: note: in expansion of macro 'td_list_entry' 78 | *current_search_space=td_list_entry((*current_search_space)->list.prev, alloc_data_t, list); | ^~~~~~~~~~~~~ phrecn.c: In function 'gen_image': list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ phrecn.c:213:26: note: in expansion of macro 'td_list_entry' 213 | current_search_space=td_list_entry(search_walker, alloc_data_t, list); | ^~~~~~~~~~~~~ phrecn.c: In function 'photorec': list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ list.h:343:2: note: in expansion of macro 'td_list_entry' 343 | td_list_entry((ptr)->next, type, member) | ^~~~~~~~~~~~~ phrecn.c:327:22: note: in expansion of macro 'td_list_first_entry' 327 | start_offset=(td_list_first_entry(&list_search_space->list, alloc_data_t, list))->start % params->blocksize; | ^~~~~~~~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ phrecn.c:438:28: note: in expansion of macro 'td_list_entry' 438 | current_search_space=td_list_entry(search_walker, alloc_data_t, list); | ^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ppartseln.o ppartseln.c In file included from ppartseln.c:37: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o psearchn.o psearchn.c In file included from psearchn.c:51: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from psearchn.c:55: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:102:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 102 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from dir.h:30, from psearchn.c:54: pnext.h: In function 'get_next_header': list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ pnext.h:37:27: note: in expansion of macro 'td_list_entry' 37 | *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:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ pnext.h:78:27: note: in expansion of macro 'td_list_entry' 78 | *current_search_space=td_list_entry((*current_search_space)->list.prev, alloc_data_t, list); | ^~~~~~~~~~~~~ In file included from psearchn.c:65: psearch.h: In function 'ind_block': psearch.h:37:23: warning: cast increases required alignment of target type [-Wcast-align] 37 | const uint32_t *p32=(const uint32_t *)buffer; | ^ In file included from dir.h:30, from psearchn.c:54: photorec_check_header.h: In function 'photorec_check_header': list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ photorec_check_header.h:150:34: note: in expansion of macro 'td_list_entry_const' 150 | 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] 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ photorec_check_header.h:153:38: note: in expansion of macro 'td_list_entry_const' 153 | 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:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ list.h:343:2: note: in expansion of macro 'td_list_entry' 343 | td_list_entry((ptr)->next, type, member) | ^~~~~~~~~~~~~ psearchn.c:102:24: note: in expansion of macro 'td_list_first_entry' 102 | current_search_space=td_list_first_entry(&list_search_space->list, alloc_data_t, list); | ^~~~~~~~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o filegen.o filegen.c In file included from filegen.c:39: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from filegen.h:28, from filegen.c:40: filegen.c: In function 'file_check_cmp': list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ filegen.c:56:28: note: in expansion of macro 'td_list_entry_const' 56 | 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] 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ filegen.c:57:28: note: in expansion of macro 'td_list_entry_const' 57 | 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:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ filegen.c:104:28: note: in expansion of macro 'td_list_entry' 104 | file_check_list_t *pos=td_list_entry(tmp, file_check_list_t, list); | ^~~~~~~~~~~~~ filegen.c: In function 'index_header_check': list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ filegen.c:134:19: note: in expansion of macro 'td_list_entry' 134 | current_check=td_list_entry(tmp, file_check_t, list); | ^~~~~~~~~~~~~ filegen.c: In function 'free_header_check': list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ filegen.c:149:28: note: in expansion of macro 'td_list_entry' 149 | 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] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ filegen.c:161:16: note: in expansion of macro 'td_list_entry' 161 | 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] 282 | data_check_t data_check_size(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from filegen.h:28, from filegen.c:40: filegen.c: In function 'get_prev_location_smart': list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ list.h:372:2: note: in expansion of macro 'td_list_entry' 372 | td_list_entry((pos)->member.prev, typeof(*(pos)), member) | ^~~~~~~~~~~~~ filegen.c:669:16: note: in expansion of macro 'td_list_prev_entry' 669 | file_space=td_list_prev_entry(file_space, list); | ^~~~~~~~~~~~~~~~~~ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] 232 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ list.h:372:2: note: in expansion of macro 'td_list_entry' 372 | td_list_entry((pos)->member.prev, typeof(*(pos)), member) | ^~~~~~~~~~~~~ filegen.c:689:16: note: in expansion of macro 'td_list_prev_entry' 689 | file_space=td_list_prev_entry(file_space, list); | ^~~~~~~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_list.o file_list.c arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_1cd.o file_1cd.c In file included from file_1cd.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_1cd.c:50:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 50 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_1cd.c: In function 'header_check_1cd': file_1cd.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_1cd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_1cd.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_1cd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_1cd.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_1cd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_3dm.o file_3dm.c file_3dm.c: In function 'header_check_3dm': file_3dm.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_3dm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_3dm.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_3dm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_7z.o file_7z.c In file included from file_7z.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_7z.c:53:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 53 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_7z.c: In function 'header_check_7z': file_7z.c:55:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 55 | static int header_check_7z(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_7z.c:55:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 55 | static int header_check_7z(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_7z.c:55:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 55 | static int header_check_7z(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_DB.o file_DB.c file_DB.c: In function 'header_check_DB': file_DB.c:43:49: warning: unused parameter 'buffer' [-Wunused-parameter] 43 | static int header_check_DB(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_DB.c:43:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 43 | static int header_check_DB(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_DB.c:43:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 43 | static int header_check_DB(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_DB.c:43:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 43 | static int header_check_DB(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_a.o file_a.c file_a.c:53:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 53 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_a.c: In function 'header_check_a': file_a.c:55:75: warning: unused parameter 'buffer_size' [-Wunused-parameter] 55 | static int header_check_a(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_a.c:55:107: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 55 | static int header_check_a(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_a.c:55:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 55 | static int header_check_a(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ab.o file_ab.c In file included from file_ab.c:28: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ab.c:47:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 47 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ab.c: In function 'header_check_addressbook': file_ab.c:71:85: warning: unused parameter 'buffer_size' [-Wunused-parameter] 71 | static int header_check_addressbook(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ab.c:71:117: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 71 | static int header_check_addressbook(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ab.c:71:158: warning: unused parameter 'file_recovery' [-Wunused-parameter] 71 | static int header_check_addressbook(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_abr.o file_abr.c In file included from file_abr.c:33: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_abr.c:41:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 41 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_abr.c: In function 'header_check_abr': file_abr.c:66:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 66 | static int header_check_abr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_abr.c:66:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 66 | static int header_check_abr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_acb.o file_acb.c file_acb.c: In function 'header_check_acb': file_acb.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_acb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_acb.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_acb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_acb.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_acb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_acb.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_acb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ace.o file_ace.c In file included from file_ace.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ace.c:59:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 59 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ace.c: In function 'header_check_ace': file_ace.c:173:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 173 | static int header_check_ace(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ace.c:173:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 173 | static int header_check_ace(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ace.c:173:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 173 | static int header_check_ace(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ado.o file_ado.c file_ado.c: In function 'header_check_ado': file_ado.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_ado(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ado.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_ado(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ado.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_ado(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_afdesign.o file_afdesign.c In file included from file_afdesign.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_afdesign.c: In function 'header_check_afdesign': file_afdesign.c:65:37: warning: cast increases required alignment of target type [-Wcast-align] 65 | const struct afdesign_header *hdr=(const struct afdesign_header*)buffer; | ^ file_afdesign.c:63:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 63 | static int header_check_afdesign(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_afdesign.c:63:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 63 | static int header_check_afdesign(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_afdesign.c:63:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 63 | static int header_check_afdesign(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ahn.o file_ahn.c file_ahn.c: In function 'header_check_ahn': file_ahn.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_ahn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ahn.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_ahn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ahn.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_ahn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_aif.o file_aif.c In file included from file_aif.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_aif.c:50:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 50 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_aif.c: In function 'header_check_aif': file_aif.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_aif(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_aif.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_aif(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_aif.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_aif(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_all.o file_all.c file_all.c: In function 'header_check_all': file_all.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | static int header_check_all(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_all.c:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | static int header_check_all(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_all.c:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | static int header_check_all(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_all.c:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | static int header_check_all(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_als.o file_als.c file_als.c: In function 'header_check_als': file_als.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 54 | static int header_check_als(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_als.c:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 54 | static int header_check_als(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_als.c:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 54 | static int header_check_als(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_amd.o file_amd.c In file included from file_amd.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_amd.c: In function 'header_check_amd': file_amd.c:47:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 47 | static int header_check_amd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_amd.c:47:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 47 | static int header_check_amd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_amd.c:47:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 47 | static int header_check_amd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_amd.c: In function 'header_check_amt': file_amd.c:58:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 58 | static int header_check_amt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_amd.c:58:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 58 | static int header_check_amt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_amd.c:58:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 58 | static int header_check_amt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_amr.o file_amr.c file_amr.c: In function 'header_check_amr': file_amr.c:74:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 74 | static int header_check_amr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_amr.c:74:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 74 | static int header_check_amr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_amr.c:74:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 74 | static int header_check_amr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_apa.o file_apa.c In file included from file_apa.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_apa.c: In function 'header_check_apa': file_apa.c:55:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 55 | static int header_check_apa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_apa.c:55:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 55 | static int header_check_apa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_apa.c:55:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 55 | static int header_check_apa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ape.o file_ape.c In file included from file_ape.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ape.c:85:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 85 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ape.c: In function 'header_check_ape': file_ape.c:104:36: warning: cast increases required alignment of target type [-Wcast-align] 104 | const struct APE_HEADER_OLD *ape=(const struct APE_HEADER_OLD*)buffer; | ^ file_ape.c:109:35: warning: cast increases required alignment of target type [-Wcast-align] 109 | const struct APE_HEADER *apeh=(const struct APE_HEADER*)&buffer[le32(descr->nDescriptorBytes)]; | ^ file_ape.c:102:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 102 | static int header_check_ape(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ape.c:102:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 102 | static int header_check_ape(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_apple.o file_apple.c file_apple.c: In function 'header_check_apple': file_apple.c:43:52: warning: unused parameter 'buffer' [-Wunused-parameter] 43 | static int header_check_apple(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_apple.c:43:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 43 | static int header_check_apple(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_apple.c:43:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 43 | static int header_check_apple(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_apple.c:43:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 43 | static int header_check_apple(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ari.o file_ari.c In file included from file_ari.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ari.c:55:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 55 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ari.c: In function 'header_check_ari': file_ari.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_ari(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ari.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_ari(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ari.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_ari(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_arj.o file_arj.c In file included from file_arj.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_arj.c:117:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 117 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_arj.c: In function 'header_check_arj': file_arj.c:153:32: warning: comparison of integer expressions of different signedness: 'time_t' {aka 'long int'} and 'uint32_t' {aka 'const unsigned int'} [-Wsign-compare] 153 | if(file_recovery_new->time < le32(arj->mtime)) | ^ file_arj.c:125:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 125 | static int header_check_arj(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_arj.c:125:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 125 | static int header_check_arj(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_arj.c:125:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 125 | static int header_check_arj(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_asf.o file_asf.c In file included from file_asf.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_asf.c:53:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 53 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_asf.c:61:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 61 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_asf.c:67:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 67 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_asf.c: In function 'header_check_asf': file_asf.c:69:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 69 | static int header_check_asf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_asf.c:69:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 69 | static int header_check_asf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_asl.o file_asl.c file_asl.c: In function 'header_check_asl': file_asl.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_asl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_asl.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_asl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_asl.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_asl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_asl.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_asl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_asm.o file_asm.c file_asm.c: In function 'header_check_asm': file_asm.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_asm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_asm.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_asm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_asm.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_asm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_atd.o file_atd.c file_atd.c: In function 'header_check_atd': file_atd.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_atd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_atd.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_atd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_atd.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_atd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_atd.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_atd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_au.o file_au.c In file included from file_au.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_au.c:54:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 54 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_au.c: In function 'header_check_au': file_au.c:56:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | static int header_check_au(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_au.c:56:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | static int header_check_au(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_au.c:56:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | static int header_check_au(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_axp.o file_axp.c file_axp.c: In function 'header_check_axp': file_axp.c:68:50: warning: unused parameter 'buffer' [-Wunused-parameter] 68 | static int header_check_axp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_axp.c:68:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 68 | static int header_check_axp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_axp.c:68:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 68 | static int header_check_axp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_axp.c:68:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 68 | static int header_check_axp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_axx.o file_axx.c In file included from file_axx.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_axx.c:50:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 50 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_axx.c: In function 'header_check_axx': file_axx.c:85:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 85 | static int header_check_axx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_axx.c:85:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 85 | static int header_check_axx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_axx.c:85:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 85 | static int header_check_axx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_bac.o file_bac.c In file included from file_bac.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_bac.c:55:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 55 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_bac.c: In function 'header_check_bac': file_bac.c:92:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 92 | static int header_check_bac(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_bac.c:92:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 92 | static int header_check_bac(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_bac.c:92:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 92 | static int header_check_bac(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_bdm.o file_bdm.c file_bdm.c: In function 'header_check_bdm': file_bdm.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_bdm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_bdm.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_bdm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_bdm.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_bdm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_bdm.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_bdm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_berkeley.o file_berkeley.c file_berkeley.c: In function 'header_check_berkeley_le': file_berkeley.c:44:58: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_berkeley_le(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_berkeley.c:44:85: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_berkeley_le(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_berkeley.c:44:117: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_berkeley_le(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_berkeley.c:44:158: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_berkeley_le(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_bim.o file_bim.c file_bim.c: In function 'header_check_bim': file_bim.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_bim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_bim.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_bim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_bim.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_bim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_bim.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_bim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_bin.o file_bin.c In file included from file_bin.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_bin.c:52:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 52 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_bin.c: In function 'header_check_bin': file_bin.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 54 | static int header_check_bin(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_bin.c:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 54 | static int header_check_bin(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_bin.c:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 54 | static int header_check_bin(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_binvox.o file_binvox.c file_binvox.c: In function 'header_check_binvox': file_binvox.c:44:53: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_binvox(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_binvox.c:44:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_binvox(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_binvox.c:44:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_binvox(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_binvox.c:44:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_binvox(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_bkf.o file_bkf.c In file included from file_bkf.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_bkf.c:63:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 63 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_bkf.c: In function 'header_check_bkf': file_bkf.c:71:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 71 | static int header_check_bkf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_bkf.c:71:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 71 | static int header_check_bkf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_bkf.c:71:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 71 | static int header_check_bkf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_bld.o file_bld.c file_bld.c: In function 'header_check_blend': file_bld.c:140:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 140 | static int header_check_blend(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_bld.c:140:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 140 | static int header_check_blend(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_bld.c:140:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 140 | static int header_check_blend(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_bmp.o file_bmp.c In file included from file_bmp.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_bmp.c:59:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 59 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_bmp.c: In function 'header_check_bmp': file_bmp.c:61:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 61 | static int header_check_bmp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_bmp.c:61:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 61 | static int header_check_bmp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_bmp.c:61:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 61 | static int header_check_bmp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_bpg.o file_bpg.c file_bpg.c: In function 'header_check_bpg': file_bpg.c:69:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 69 | static int header_check_bpg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_bpg.c:69:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 69 | static int header_check_bpg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_bvr.o file_bvr.c file_bvr.c: In function 'data_check_bvr': file_bvr.c:50:26: warning: cast increases required alignment of target type [-Wcast-align] 50 | const uint32_t *valp=(const uint32_t *)&buffer[i+12]; | ^ file_bvr.c: In function 'header_check_bvr': file_bvr.c:60:50: warning: unused parameter 'buffer' [-Wunused-parameter] 60 | static int header_check_bvr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_bvr.c:60:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 60 | static int header_check_bvr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_bvr.c:60:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 60 | static int header_check_bvr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_bz2.o file_bz2.c file_bz2.c: In function 'header_check_bz2': file_bz2.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_bz2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_bz2.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_bz2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_bz2.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_bz2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_c4d.o file_c4d.c file_c4d.c: In function 'header_check_c4d': file_c4d.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_c4d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_c4d.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_c4d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_c4d.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_c4d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_c4d.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_c4d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_cab.o file_cab.c In file included from file_cab.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_cab.c:58:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 58 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_cab.c: In function 'header_check_cab': file_cab.c:60:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 60 | static int header_check_cab(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_cab.c:60:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 60 | static int header_check_cab(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_cab.c:60:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 60 | static int header_check_cab(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_caf.o file_caf.c In file included from file_caf.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_caf.c:55:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 55 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_caf.c: In function 'header_check_caf': file_caf.c:97:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 97 | static int header_check_caf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_caf.c:97:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 97 | static int header_check_caf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_caf.c:97:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 97 | static int header_check_caf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_cam.o file_cam.c file_cam.c: In function 'header_check_cam': file_cam.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_cam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_cam.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_cam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_cam.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_cam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_cam.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_cam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_catdrawing.o file_catdrawing.c file_catdrawing.c: In function 'header_check_catdrawing': file_catdrawing.c:44:57: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_catdrawing(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_catdrawing.c:44:84: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_catdrawing(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_catdrawing.c:44:116: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_catdrawing(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_catdrawing.c:44:157: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_catdrawing(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_cdt.o file_cdt.c file_cdt.c: In function 'header_check_cdt': file_cdt.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_cdt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_cdt.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_cdt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_cdt.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_cdt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_che.o file_che.c In file included from file_che.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_che.c:52:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 52 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_che.c: In function 'header_check_che': file_che.c:87:50: warning: unused parameter 'buffer' [-Wunused-parameter] 87 | static int header_check_che(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_che.c:87:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 87 | static int header_check_che(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_che.c:87:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 87 | static int header_check_che(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_che.c:87:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 87 | static int header_check_che(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_chm.o file_chm.c file_chm.c: In function 'header_check_chm': file_chm.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_chm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_chm.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_chm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_chm.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_chm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_class.o file_class.c In file included from file_class.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_class.c: In function 'header_check_class': file_class.c:63:35: warning: cast increases required alignment of target type [-Wcast-align] 63 | const struct class_header *cafe=(const struct class_header *)buffer; | ^ file_class.c:61:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 61 | static int header_check_class(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_class.c:61:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 61 | static int header_check_class(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_class.c:61:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 61 | static int header_check_class(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_cm.o file_cm.c file_cm.c: In function 'header_check_cm': file_cm.c:45:49: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | static int header_check_cm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_cm.c:45:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | static int header_check_cm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_cm.c:45:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | static int header_check_cm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_cm.c:45:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | static int header_check_cm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_compress.o file_compress.c file_compress.c: In function 'header_check_compress': file_compress.c:44:55: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_compress(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_compress.c:44:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_compress(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_compress.c:44:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_compress(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_compress.c:44:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_compress(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_cow.o file_cow.c In file included from file_cow.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_cow.c:59:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 59 | } __attribute__ ((gcc_struct, __packed__)) QCowHeader_t; | ^ file_cow.c: In function 'header_check_qcow1': file_cow.c:77:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 77 | static int header_check_qcow1(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_cow.c:77:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 77 | static int header_check_qcow1(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_cow.c:77:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 77 | static int header_check_qcow1(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_cow.c: In function 'header_check_qcow2': file_cow.c:92:31: warning: cast increases required alignment of target type [-Wcast-align] 92 | const QCowHeader2_t *header=(const QCowHeader2_t*)buffer; | ^ file_cow.c:90:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 90 | static int header_check_qcow2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_cow.c:90:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 90 | static int header_check_qcow2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_cow.c:90:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 90 | static int header_check_qcow2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_cpi.o file_cpi.c file_cpi.c: In function 'header_check_cpi': file_cpi.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_cpi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_cpi.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_cpi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_cpi.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_cpi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_cpi.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_cpi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_crw.o file_crw.c file_crw.c: In function 'header_check_crw': file_crw.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | static int header_check_crw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_crw.c:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | static int header_check_crw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_crw.c:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | static int header_check_crw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_csh.o file_csh.c file_csh.c: In function 'header_check_csh': file_csh.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_csh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_csh.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_csh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_csh.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_csh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_csh.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_csh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ctg.o file_ctg.c file_ctg.c: In function 'header_check_ctg': file_ctg.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_ctg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_ctg.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_ctg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ctg.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_ctg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ctg.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_ctg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_cwk.o file_cwk.c In file included from file_cwk.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_cwk.c:65:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 65 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_cwk.c: In function 'header_check_cwk': file_cwk.c:73:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 73 | static int header_check_cwk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_cwk.c:73:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 73 | static int header_check_cwk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_cwk.c:73:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 73 | static int header_check_cwk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_d2s.o file_d2s.c In file included from file_d2s.c:30: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_d2s.c:50:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 50 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_d2s.c: In function 'header_check_d2s': file_d2s.c:64:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 64 | static int header_check_d2s(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_d2s.c:64:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 64 | static int header_check_d2s(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_d2s.c:64:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 64 | static int header_check_d2s(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dad.o file_dad.c In file included from file_dad.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_dad.c:52:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 52 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_dad.c: In function 'header_check_dad': file_dad.c:73:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 73 | static int header_check_dad(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dad.c:73:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 73 | static int header_check_dad(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dar.o file_dar.c file_dar.c: In function 'header_check_dar': file_dar.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_dar(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dar.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_dar(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dar.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_dar(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dat.o file_dat.c file_dat.c: In function 'header_check_dat': file_dat.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_dat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_dat.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_dat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dat.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_dat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dat.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_dat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_dat.c: In function 'header_check_datIE': file_dat.c:52:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_datIE(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dat.c:52:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_datIE(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dat.c:52:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_datIE(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_dat.c: In function 'header_check_dat_history4': file_dat.c:66:86: warning: unused parameter 'buffer_size' [-Wunused-parameter] 66 | static int header_check_dat_history4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dat.c:66:118: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 66 | static int header_check_dat_history4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dat.c:66:159: warning: unused parameter 'file_recovery' [-Wunused-parameter] 66 | static int header_check_dat_history4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_dat.c: In function 'header_check_dat_history10': file_dat.c:76:87: warning: unused parameter 'buffer_size' [-Wunused-parameter] 76 | static int header_check_dat_history10(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dat.c:76:119: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 76 | static int header_check_dat_history10(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dat.c:76:160: warning: unused parameter 'file_recovery' [-Wunused-parameter] 76 | static int header_check_dat_history10(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dbf.o file_dbf.c file_dbf.c: In function 'header_check_dbf': file_dbf.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_dbf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dbf.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_dbf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dbf.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_dbf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dbn.o file_dbn.c file_dbn.c: In function 'header_check_dbn': file_dbn.c:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | static int header_check_dbn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dbn.c:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | static int header_check_dbn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dbn.c:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | static int header_check_dbn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dcm.o file_dcm.c file_dcm.c: In function 'header_check_dcm': file_dcm.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_dcm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_dcm.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_dcm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dcm.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_dcm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dcm.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_dcm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ddf.o file_ddf.c In file included from file_ddf.c:35: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ddf.c:80:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 80 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ddf.c: In function 'header_check_ddf3': file_ddf.c:94:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 94 | static int header_check_ddf3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ddf.c:94:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 94 | static int header_check_ddf3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ddf.c:94:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 94 | static int header_check_ddf3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_ddf.c: In function 'header_check_ddf4': file_ddf.c:104:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 104 | static int header_check_ddf4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ddf.c:104:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 104 | static int header_check_ddf4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ddf.c:104:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 104 | static int header_check_ddf4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_ddf.c: In function 'header_check_ddf5': file_ddf.c:114:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 114 | static int header_check_ddf5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ddf.c:114:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 114 | static int header_check_ddf5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ddf.c:114:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 114 | static int header_check_ddf5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dex.o file_dex.c In file included from file_dex.c:33: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_dex.c:72:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 72 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_dex.c: In function 'header_check_dex': file_dex.c:74:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 74 | static int header_check_dex(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dex.c:74:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 74 | static int header_check_dex(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dex.c:74:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 74 | static int header_check_dex(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dim.o file_dim.c file_dim.c: In function 'header_check_dim': file_dim.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_dim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_dim.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_dim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dim.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_dim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dim.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_dim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dir.o file_dir.c In file included from file_dir.c:35: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from file_dir.c:36: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:102:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 102 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_dir.c: In function 'data_check_fatdir': file_dir.c:71:60: warning: unused parameter 'buffer' [-Wunused-parameter] 71 | static data_check_t data_check_fatdir(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_dir.c: In function 'header_check_dir': file_dir.c:78:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 78 | static int header_check_dir(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dir.c:78:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 78 | static int header_check_dir(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dir.c:78:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 78 | static int header_check_dir(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_djv.o file_djv.c In file included from file_djv.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_djv.c:50:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 50 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_djv.c: In function 'header_check_djv': file_djv.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_djv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_djv.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_djv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_djv.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_djv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dmp.o file_dmp.c file_dmp.c: In function 'header_check_dmp': file_dmp.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_dmp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dmp.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_dmp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dmp.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_dmp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_doc.o file_doc.c In file included from file_doc.c:35: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from file_doc.c:37: ole.h:57:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 57 | } __attribute__ ((gcc_struct, __packed__)); | ^ ole.h:78:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 78 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_doc.c: In function 'ole_get_file_extension': file_doc.c:211:9: warning: cast increases required alignment of target type [-Wcast-align] 211 | fat=(const uint32_t *)(header+1); | ^ file_doc.c:216:26: warning: cast increases required alignment of target type [-Wcast-align] 216 | const uint32_t *fati=(const uint32_t *)(header+1); | ^ file_doc.c:218:9: warning: cast increases required alignment of target type [-Wcast-align] 218 | fat=(const uint32_t *)&buffer[fat_offset]; | ^ file_doc.c: In function 'header_check_doc': file_doc.c:389:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 389 | static int header_check_doc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_doc.c:389:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 389 | static int header_check_doc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_doc.c: In function 'get32u': file_doc.c:616:23: warning: cast increases required alignment of target type [-Wcast-align] 616 | const uint32_t *val=(const uint32_t *)((const unsigned char *)buffer+offset); | ^ file_doc.c: In function 'get64u': file_doc.c:622:23: warning: cast increases required alignment of target type [-Wcast-align] 622 | const uint64_t *val=(const uint64_t *)((const unsigned char *)buffer+offset); | ^ In file included from file_doc.c:39: 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] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ file_doc.c:447:11: note: called from here 447 | else if(td_memmem(buffer,buffer_size,"StarCalc",8)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from file_doc.c:39: memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ file_doc.c:451:11: note: called from here 451 | else if(td_memmem(buffer,buffer_size,"StarImpress",11)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from file_doc.c:39: memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ file_doc.c:455:11: note: called from here 455 | else if(td_memmem(buffer,buffer_size,"Worksheet",9)!=NULL || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from file_doc.c:39: memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ file_doc.c:456:7: note: called from here 456 | td_memmem(buffer,buffer_size,"Book",4)!=NULL || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from file_doc.c:39: memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ file_doc.c:457:7: note: called from here 457 | td_memmem(buffer,buffer_size,"Workbook",8)!=NULL || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from file_doc.c:39: memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ file_doc.c:458:7: note: called from here 458 | td_memmem(buffer,buffer_size,"Calc",4)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from file_doc.c:39: memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ file_doc.c:462:11: note: called from here 462 | else if(td_memmem(buffer,buffer_size,"Power",5)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from file_doc.c:39: memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ file_doc.c:466:11: note: called from here 466 | else if(td_memmem(buffer,buffer_size,"AccessObjSiteData",17)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from file_doc.c:39: memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ file_doc.c:470:11: note: called from here 470 | else if(td_memmem(buffer,buffer_size,"Visio",5)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from file_doc.c:39: memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ file_doc.c:474:11: note: called from here 474 | else if(td_memmem(buffer,buffer_size,"SfxDocument",11)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from file_doc.c:39: memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ file_doc.c:478:11: note: called from here 478 | else if(td_memmem(buffer,buffer_size,"CPicPage",8)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from file_doc.c:39: memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ file_doc.c:482:11: note: called from here 482 | else if(td_memmem(buffer,buffer_size,"Microsoft Publisher",19)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from file_doc.c:39: memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ file_doc.c:486:11: note: called from here 486 | else if(td_memmem(buffer, buffer_size, "Microsoft Works Database", 24)!=NULL | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from file_doc.c:39: memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ file_doc.c:487:10: note: called from here 487 | || td_memmem( buffer, buffer_size, "MSWorksDBDoc", 12)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from file_doc.c:39: memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ file_doc.c:491:11: note: called from here 491 | else if(td_memmem(buffer,buffer_size,"MetaStock",9)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dpx.o file_dpx.c In file included from file_dpx.c:35: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_dpx.c:66:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 66 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_dpx.c: In function 'header_check_dpx': file_dpx.c:68:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 68 | static int header_check_dpx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dpx.c:68:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 68 | static int header_check_dpx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dpx.c:68:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 68 | static int header_check_dpx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_drw.o file_drw.c file_drw.c: In function 'header_check_drw': file_drw.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | static int header_check_drw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_drw.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | static int header_check_drw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_drw.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | static int header_check_drw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ds2.o file_ds2.c file_ds2.c: In function 'header_check_ds2': file_ds2.c:58:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 58 | static int header_check_ds2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ds2.c:58:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 58 | static int header_check_ds2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ds2.c:58:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 58 | static int header_check_ds2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ds_store.o file_ds_store.c In file included from file_ds_store.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ds_store.c: In function 'header_check_ds_store': file_ds_store.c:57:37: warning: cast increases required alignment of target type [-Wcast-align] 57 | const struct ds_store_header *hdr=(const struct ds_store_header *)buffer; | ^ file_ds_store.c:55:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 55 | static int header_check_ds_store(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ds_store.c:55:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 55 | static int header_check_ds_store(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ds_store.c:55:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 55 | static int header_check_ds_store(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dsc.o file_dsc.c file_dsc.c: In function 'header_check_dsc': file_dsc.c:43:50: warning: unused parameter 'buffer' [-Wunused-parameter] 43 | static int header_check_dsc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_dsc.c:43:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 43 | static int header_check_dsc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dsc.c:43:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 43 | static int header_check_dsc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dss.o file_dss.c file_dss.c: In function 'header_check_dss': file_dss.c:61:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 61 | static int header_check_dss(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dss.c:61:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 61 | static int header_check_dss(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dss.c:61:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 61 | static int header_check_dss(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dst.o file_dst.c file_dst.c: In function 'header_check_dst': file_dst.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_dst(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dst.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_dst(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dst.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_dst(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dta.o file_dta.c file_dta.c: In function 'header_check_dta': file_dta.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | static int header_check_dta(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_dta.c:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | static int header_check_dta(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dta.c:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | static int header_check_dta(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dta.c:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | static int header_check_dta(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dump.o file_dump.c In file included from file_dump.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_dump.c: In function 'header_check_dump': file_dump.c:128:34: warning: cast increases required alignment of target type [-Wcast-align] 128 | const struct dump_struct *dump=(const struct dump_struct*)buffer; | ^ file_dump.c:126:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 126 | static int header_check_dump(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dump.c:126:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 126 | static int header_check_dump(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dump.c:126:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 126 | static int header_check_dump(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dv.o file_dv.c file_dv.c: In function 'header_check_dv': file_dv.c:131:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 131 | static int header_check_dv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dv.c:131:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 131 | static int header_check_dv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dvi.o file_dvi.c file_dvi.c: In function 'header_check_dvi': file_dvi.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_dvi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dvi.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_dvi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dvi.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_dvi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dvr.o file_dvr.c file_dvr.c: In function 'header_check_dvr': file_dvr.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_dvr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dvr.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_dvr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dwg.o file_dwg.c file_dwg.c: In function 'header_check_dwg': file_dwg.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_dwg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_dwg.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_dwg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dwg.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_dwg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dwg.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_dwg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dxf.o file_dxf.c In file included from file_dxf.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_dxf.c: In function 'header_check_dxf': file_dxf.c:47:50: warning: unused parameter 'buffer' [-Wunused-parameter] 47 | static int header_check_dxf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_dxf.c:47:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 47 | static int header_check_dxf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dxf.c:47:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 47 | static int header_check_dxf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dxf.c:47:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 47 | static int header_check_dxf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_e01.o file_e01.c In file included from file_e01.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_e01.c:66:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 66 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_e01.c: In function 'header_check_e01': file_e01.c:86:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 86 | static int header_check_e01(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_e01.c:86:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 86 | static int header_check_e01(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_e01.c:86:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 86 | static int header_check_e01(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_edb.o file_edb.c In file included from file_edb.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_edb.c: In function 'header_check_edb': file_edb.c:46:50: warning: unused parameter 'buffer' [-Wunused-parameter] 46 | static int header_check_edb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_edb.c:46:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 46 | static int header_check_edb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_edb.c:46:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | static int header_check_edb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ecryptfs.o file_ecryptfs.c In file included from file_ecryptfs.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ecryptfs.c:56:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 56 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ecryptfs.c: In function 'header_check_ecryptfs': file_ecryptfs.c:71:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 71 | static int header_check_ecryptfs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ecryptfs.c:71:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 71 | static int header_check_ecryptfs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ecryptfs.c:71:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 71 | static int header_check_ecryptfs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_elf.o file_elf.c In file included from file_elf.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_elf.c: In function 'header_check_elf': file_elf.c:122:27: warning: cast increases required alignment of target type [-Wcast-align] 122 | const Elf32_Ehdr *hdr32=(const Elf32_Ehdr *)buffer; | ^ file_elf.c:139:29: warning: cast increases required alignment of target type [-Wcast-align] 139 | const Elf64_Ehdr *hdr64=(const Elf64_Ehdr *)buffer; | ^ file_elf.c:120:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 120 | static int header_check_elf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_elf.c:120:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 120 | static int header_check_elf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_elf.c:120:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 120 | static int header_check_elf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_emf.o file_emf.c In file included from file_emf.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_emf.c:80:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 80 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_emf.c: In function 'header_check_emf': file_emf.c:204:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 204 | static int header_check_emf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_emf.c:204:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 204 | static int header_check_emf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_emf.c:204:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 204 | static int header_check_emf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ess.o file_ess.c file_ess.c: In function 'header_check_ess': file_ess.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_ess(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_ess.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_ess(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ess.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_ess(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ess.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_ess(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_evt.o file_evt.c In file included from file_evt.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_evt.c:51:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 51 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_evt.c: In function 'header_check_evt': file_evt.c:84:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 84 | static int header_check_evt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_evt.c:84:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 84 | static int header_check_evt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_evt.c:84:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 84 | static int header_check_evt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_evtx.o file_evtx.c In file included from file_evtx.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_evtx.c:48:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 48 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_evtx.c: In function 'header_check_evtx': file_evtx.c:61:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 61 | static int header_check_evtx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_evtx.c:61:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 61 | static int header_check_evtx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_evtx.c:61:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 61 | static int header_check_evtx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_exe.o file_exe.c In file included from file_exe.c:34: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from file_exe.c:36: pe.h:50:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 50 | } __attribute__ ((gcc_struct, __packed__)); | ^ pe.h:55:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 55 | } __attribute__ ((gcc_struct, __packed__)); | ^ pe.h:66:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 66 | } __attribute__ ((gcc_struct, __packed__)); | ^ pe.h:71:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 71 | } __attribute__ ((gcc_struct, __packed__)); | ^ pe.h:105:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 105 | } __attribute__ ((gcc_struct, __packed__)); | ^ pe.h:138:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 138 | } __attribute__ ((gcc_struct, __packed__)); | ^ pe.h:157:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 157 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_exe.c: In function 'header_check_exe': file_exe.c:59:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 59 | static int header_check_exe(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_exe.c:59:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 59 | static int header_check_exe(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_exe.c: At top level: file_exe.c:214:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 214 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_exe.c:221:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 221 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_exs.o file_exs.c file_exs.c: In function 'header_check_exs': file_exs.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | static int header_check_exs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_exs.c:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | static int header_check_exs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_exs.c:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | static int header_check_exs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ext.o file_ext.c In file included from file_ext.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ext.c: In function 'file_rename_ext': file_ext.c:52:37: warning: cast increases required alignment of target type [-Wcast-align] 52 | const struct ext2_super_block *sb=(const struct ext2_super_block *)&buffer; | ^ file_ext.c: In function 'header_check_ext2_sb': file_ext.c:68:37: warning: cast increases required alignment of target type [-Wcast-align] 68 | const struct ext2_super_block *sb=(const struct ext2_super_block *)buffer; | ^ file_ext.c:66:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] 66 | static int header_check_ext2_sb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ext.c:66:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 66 | static int header_check_ext2_sb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ext.c:66:154: warning: unused parameter 'file_recovery' [-Wunused-parameter] 66 | static int header_check_ext2_sb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_ext.c: In function 'data_check_extdir': file_ext.c:80:60: warning: unused parameter 'buffer' [-Wunused-parameter] 80 | static data_check_t data_check_extdir(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_ext.c: In function 'file_rename_extdir': file_ext.c:93:25: warning: cast increases required alignment of target type [-Wcast-align] 93 | const uint32_t *inode=(const uint32_t *)&buffer[0]; | ^ file_ext.c: In function 'header_check_ext2_dir': file_ext.c:104:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 104 | static int header_check_ext2_dir(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ext.c:104:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 104 | static int header_check_ext2_dir(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ext.c:104:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 104 | static int header_check_ext2_dir(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ext2.o file_ext2.c In file included from file_ext2.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ext2.c: In function 'header_check_ext2_fs': file_ext2.c:57:37: warning: cast increases required alignment of target type [-Wcast-align] 57 | const struct ext2_super_block *sb=(const struct ext2_super_block *)&buffer[0x400]; | ^ file_ext2.c:55:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] 55 | static int header_check_ext2_fs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ext2.c:55:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 55 | static int header_check_ext2_fs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fat.o file_fat.c In file included from file_fat.c:34: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from file_fat.c:38: fat.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.h:102:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 102 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_fat.c: In function 'header_check_fat': file_fat.c:60:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 60 | static int header_check_fat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fat.c:60:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 60 | static int header_check_fat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fat.c:60:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 60 | static int header_check_fat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fbf.o file_fbf.c file_fbf.c: In function 'header_check_fbf': file_fbf.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | static int header_check_fbf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_fbf.c:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | static int header_check_fbf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fbf.c:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | static int header_check_fbf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fbf.c:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | static int header_check_fbf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fbk.o file_fbk.c file_fbk.c: In function 'header_check_fbk': file_fbk.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_fbk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_fbk.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_fbk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fbk.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_fbk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fbk.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_fbk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fcp.o file_fcp.c file_fcp.c: In function 'header_check_fcp': file_fcp.c:49:50: warning: unused parameter 'buffer' [-Wunused-parameter] 49 | static int header_check_fcp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_fcp.c:49:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 49 | static int header_check_fcp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fcp.c:49:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 49 | static int header_check_fcp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fcp.c:49:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 49 | static int header_check_fcp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fcs.o file_fcs.c file_fcs.c:63:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 63 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_fcs.c: In function 'header_check_fcs': file_fcs.c:95:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 95 | static int header_check_fcs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fcs.c:95:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 95 | static int header_check_fcs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fdb.o file_fdb.c file_fdb.c: In function 'header_check_fdb': file_fdb.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_fdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_fdb.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_fdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fdb.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_fdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fds.o file_fds.c In file included from file_fds.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_fds.c:50:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 50 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_fds.c: In function 'header_check_fds': file_fds.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_fds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fds.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_fds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fds.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_fds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fh10.o file_fh10.c file_fh10.c: In function 'header_check_fh10': file_fh10.c:46:51: warning: unused parameter 'buffer' [-Wunused-parameter] 46 | static int header_check_fh10(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_fh10.c:46:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 46 | static int header_check_fh10(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fh10.c:46:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | static int header_check_fh10(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fh10.c:46:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 46 | static int header_check_fh10(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fh5.o file_fh5.c In file included from file_fh5.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_fh5.c:39:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 39 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_fh5.c: In function 'header_check_fh5': file_fh5.c:61:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 61 | static int header_check_fh5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fh5.c:61:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 61 | static int header_check_fh5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fh5.c:61:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 61 | static int header_check_fh5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_filevault.o file_filevault.c file_filevault.c: In function 'header_check_filevault': file_filevault.c:45:56: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | static int header_check_filevault(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_filevault.c:45:83: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | static int header_check_filevault(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_filevault.c:45:115: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | static int header_check_filevault(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_filevault.c:45:156: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | static int header_check_filevault(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fits.o file_fits.c file_fits.c: In function 'header_check_fits': file_fits.c:143:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 143 | static int header_check_fits(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fits.c:143:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 143 | static int header_check_fits(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fit.o file_fit.c In file included from file_fit.c:33: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_fit.c:53:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 53 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_fit.c: In function 'header_check_fit': file_fit.c:55:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 55 | static int header_check_fit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fit.c:55:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 55 | static int header_check_fit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fit.c:55:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 55 | static int header_check_fit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_flac.o file_flac.c In file included from file_flac.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_flac.c: In function 'header_check_flac': file_flac.c:83:23: warning: cast increases required alignment of target type [-Wcast-align] 83 | const uint32_t *p32=(const uint32_t *)&buffer[4]; | ^ file_flac.c:81:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 81 | static int header_check_flac(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_flac.c:81:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 81 | static int header_check_flac(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_flac.c:81:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 81 | static int header_check_flac(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_flp.o file_flp.c In file included from file_flp.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_flp.c:55:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 55 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_flp.c: In function 'header_check_flp': file_flp.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_flp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_flp.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_flp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_flp.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_flp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_flv.o file_flv.c In file included from file_flv.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_flv.c:52:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 52 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_flv.c:62:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 62 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_flv.c: In function 'header_check_flv': file_flv.c:94:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 94 | static int header_check_flv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_flv.c:94:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 94 | static int header_check_flv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_flv.c:94:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 94 | static int header_check_flv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fm.o file_fm.c In file included from file_fm.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_fm.c:49:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 49 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_fm.c: In function 'header_check_fm': file_fm.c:51:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 51 | static int header_check_fm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fm.c:51:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 51 | static int header_check_fm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fm.c:51:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 51 | static int header_check_fm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fob.o file_fob.c file_fob.c: In function 'header_check_fob': file_fob.c:57:32: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 57 | if(pos2!=NULL && pos2-buffer > tmp) | ^ file_fob.c:46:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | static int header_check_fob(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fob.c:46:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 46 | static int header_check_fob(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fos.o file_fos.c file_fos.c: In function 'header_check_fos': file_fos.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_fos(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_fos.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_fos(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fos.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_fos(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fos.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_fos(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fp5.o file_fp5.c file_fp5.c: In function 'header_check_fp5': file_fp5.c:43:50: warning: unused parameter 'buffer' [-Wunused-parameter] 43 | static int header_check_fp5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_fp5.c:43:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 43 | static int header_check_fp5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fp5.c:43:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 43 | static int header_check_fp5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fp5.c:43:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 43 | static int header_check_fp5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fp7.o file_fp7.c file_fp7.c: In function 'header_check_fp7': file_fp7.c:49:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 49 | static int header_check_fp7(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fp7.c:49:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 49 | static int header_check_fp7(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_freeway.o file_freeway.c file_freeway.c: In function 'header_check_freeway': file_freeway.c:44:54: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_freeway(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_freeway.c:44:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_freeway(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_freeway.c:44:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_freeway(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_freeway.c:44:154: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_freeway(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_frm.o file_frm.c file_frm.c: In function 'header_check_frm': file_frm.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | static int header_check_frm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_frm.c:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | static int header_check_frm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_frm.c:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | static int header_check_frm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fs.o file_fs.c In file included from file_fs.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_fs.c:57:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 57 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_fs.c: In function 'header_check_fs': file_fs.c:82:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 82 | static int header_check_fs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fs.c:82:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 82 | static int header_check_fs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fs.c:82:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 82 | static int header_check_fs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fwd.o file_fwd.c file_fwd.c: In function 'header_check_fwd': file_fwd.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_fwd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_fwd.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_fwd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fwd.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_fwd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fwd.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_fwd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gam.o file_gam.c file_gam.c: In function 'header_check_gam': file_gam.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_gam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_gam.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_gam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_gam.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_gam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_gam.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_gam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gct.o file_gct.c file_gct.c: In function 'header_check_gct': file_gct.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_gct(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_gct.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_gct(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_gct.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_gct(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_gct.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_gct(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gho.o file_gho.c file_gho.c: In function 'header_check_db': file_gho.c:44:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_db(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_gho.c:44:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_db(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_gho.c:44:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_db(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gi.o file_gi.c In file included from file_gi.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_gi.c:49:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 49 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_gi.c: In function 'header_check_gi': file_gi.c:51:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 51 | static int header_check_gi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_gi.c:51:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 51 | static int header_check_gi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_gi.c:51:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 51 | static int header_check_gi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gif.o file_gif.c file_gif.c: In function 'header_check_gif': file_gif.c:49:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 49 | static int header_check_gif(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_gif.c:49:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 49 | static int header_check_gif(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gm6.o file_gm6.c file_gm6.c: In function 'header_check_gm81': file_gm6.c:45:51: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | static int header_check_gm81(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_gm6.c:45:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | static int header_check_gm81(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_gm6.c:45:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | static int header_check_gm81(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_gm6.c:45:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | static int header_check_gm81(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_gm6.c: In function 'header_check_gmk': file_gm6.c:53:50: warning: unused parameter 'buffer' [-Wunused-parameter] 53 | static int header_check_gmk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_gm6.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | static int header_check_gmk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_gm6.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | static int header_check_gmk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_gm6.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | static int header_check_gmk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_gm6.c: In function 'header_check_gm6': file_gm6.c:61:50: warning: unused parameter 'buffer' [-Wunused-parameter] 61 | static int header_check_gm6(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_gm6.c:61:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 61 | static int header_check_gm6(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_gm6.c:61:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 61 | static int header_check_gm6(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_gm6.c:61:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 61 | static int header_check_gm6(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_gm6.c: In function 'header_check_gmd': file_gm6.c:69:50: warning: unused parameter 'buffer' [-Wunused-parameter] 69 | static int header_check_gmd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_gm6.c:69:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 69 | static int header_check_gmd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_gm6.c:69:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 69 | static int header_check_gmd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_gm6.c:69:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 69 | static int header_check_gmd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gp2.o file_gp2.c file_gp2.c: In function 'header_check_gp2': file_gp2.c:52:50: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_gp2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_gp2.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_gp2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_gp2.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_gp2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_gp2.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_gp2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gp5.o file_gp5.c file_gp5.c: In function 'header_check_gp5': file_gp5.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | static int header_check_gp5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_gp5.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | static int header_check_gp5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_gp5.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | static int header_check_gp5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gpg.o file_gpg.c In file included from file_gpg.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_gpg.c: In function 'file_check_gpg': file_gpg.c:293:22: warning: cast increases required alignment of target type [-Wcast-align] 293 | const uint16_t *mpi=(const uint16_t *)&buffer[i+1+8+1]; | ^ file_gpg.c:318:10: warning: cast increases required alignment of target type [-Wcast-align] 318 | mpi=(const uint16_t *)&tmp[0]; | ^ file_gpg.c: In function 'header_check_gpg': file_gpg.c:460:22: warning: cast increases required alignment of target type [-Wcast-align] 460 | const uint16_t *mpi=(const uint16_t *)&buffer[i+1+8+1]; | ^ file_gpg.c:482:10: warning: cast increases required alignment of target type [-Wcast-align] 482 | mpi=(const uint16_t *)&buffer[i+1+8+1+2+len]; | ^ file_gpg.c:411:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 411 | static int header_check_gpg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_gpg.c:411:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 411 | static int header_check_gpg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gpx.o file_gpx.c file_gpx.c: In function 'header_check_gpx': file_gpx.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_gpx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_gpx.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_gpx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_gpx.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_gpx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gsm.o file_gsm.c In file included from file_gsm.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_gsm.c:51:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 51 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_gsm.c: In function 'header_check_gsm': file_gsm.c:67:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 67 | static int header_check_gsm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_gsm.c:67:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 67 | static int header_check_gsm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gz.o file_gz.c In file included from file_gz.c:35: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_gz.c:59:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 59 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_gz.c: In function 'file_check_bgzf': file_gz.c:77:46: warning: unused parameter 'file_recovery' [-Wunused-parameter] 77 | static void file_check_bgzf(file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_gz.c: In function 'header_check_bgzf': file_gz.c:81:115: warning: unused parameter 'buffer_size' [-Wunused-parameter] 81 | static int header_check_bgzf(const unsigned char *buffer, const unsigned char *buffer_uncompr, const unsigned int buffer_size, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_gz.c: In function 'header_check_gz': file_gz.c:186:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 186 | d_stream.next_in = (Bytef*)buffer_compr; | ^ file_gz.c:111:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 111 | static int header_check_gz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_hdf.o file_hdf.c In file included from file_hdf.c:35: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_hdf.c:55:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 55 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_hdf.c:63:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 63 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_hdf.c: In function 'header_check_hdf': file_hdf.c:116:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 116 | static int header_check_hdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_hdf.c:116:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 116 | static int header_check_hdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_hdf.c:116:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 116 | static int header_check_hdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_hdr.o file_hdr.c In file included from file_hdr.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_hdr.c:56:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 56 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_hdr.c: In function 'header_check_hdr': file_hdr.c:58:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 58 | static int header_check_hdr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_hdr.c:58:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 58 | static int header_check_hdr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_hdr.c:58:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 58 | static int header_check_hdr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_hds.o file_hds.c In file included from file_hds.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_hds.c:54:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 54 | } __attribute__((gcc_struct,__packed__)); | ^ file_hds.c: In function 'header_check_hds': file_hds.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | static int header_check_hds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_hds.c:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | static int header_check_hds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_hds.c:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | static int header_check_hds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_hfsp.o file_hfsp.c In file included from file_hfsp.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_hfsp.c: In function 'header_check_hfsp': file_hfsp.c:48:28: warning: cast increases required alignment of target type [-Wcast-align] 48 | const struct hfsp_vh *vh=(const struct hfsp_vh *)buffer; | ^ file_hfsp.c:46:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 46 | static int header_check_hfsp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_hfsp.c:46:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | static int header_check_hfsp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_hfsp.c:46:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 46 | static int header_check_hfsp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_hm.o file_hm.c file_hm.c: In function 'header_check_hm': file_hm.c:44:49: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_hm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_hm.c:44:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_hm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_hm.c:44:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_hm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_hm.c:44:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_hm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_hr9.o file_hr9.c file_hr9.c: In function 'header_check_hr9': file_hr9.c:49:50: warning: unused parameter 'buffer' [-Wunused-parameter] 49 | static int header_check_hr9(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_hr9.c:49:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 49 | static int header_check_hr9(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_hr9.c:49:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 49 | static int header_check_hr9(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_hr9.c:49:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 49 | static int header_check_hr9(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_http.o file_http.c file_http.c: In function 'header_check_http': file_http.c:44:51: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_http(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_http.c:44:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_http(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_http.c:44:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_http(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_http.c:44:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_http(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ibd.o file_ibd.c In file included from file_ibd.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ibd.c:66:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 66 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ibd.c: In function 'header_check_ibd': file_ibd.c:71:29: warning: cast increases required alignment of target type [-Wcast-align] 71 | const uint32_t *flags_ptr=(const uint32_t *)&buffer[FSP_HEADER_OFFSET + FSP_SPACE_FLAGS]; | ^ file_ibd.c:52:10: warning: left shift of negative value [-Wshift-negative-value] 52 | ((~(~0 << (DICT_TF_BITS - DICT_TF_FORMAT_SHIFT))) << DICT_TF_FORMAT_SHIFT) | ^~ file_ibd.c:81:42: note: in expansion of macro 'DICT_TF_FORMAT_MASK' 81 | const unsigned int format = (flags & DICT_TF_FORMAT_MASK) >> DICT_TF_FORMAT_SHIFT; | ^~~~~~~~~~~~~~~~~~~ file_ibd.c:68:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 68 | static int header_check_ibd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ibd.c:68:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 68 | static int header_check_ibd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_icc.o file_icc.c file_icc.c: In function 'header_check_icc': file_icc.c:43:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 43 | static int header_check_icc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_icc.c:43:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 43 | static int header_check_icc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_icc.c:43:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 43 | static int header_check_icc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_icns.o file_icns.c In file included from file_icns.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_icns.c: In function 'header_check_icns': file_icns.c:101:33: warning: cast increases required alignment of target type [-Wcast-align] 101 | const struct icns_header *hdr=(const struct icns_header *)buffer; | ^ file_icns.c:102:32: warning: cast increases required alignment of target type [-Wcast-align] 102 | const struct icon_data *icon=(const struct icon_data *)&buffer[8]; | ^ file_icns.c:99:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 99 | static int header_check_icns(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_icns.c:99:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 99 | static int header_check_icns(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_icns.c:99:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 99 | static int header_check_icns(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ico.o file_ico.c In file included from file_ico.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ico.c:80:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 80 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ico.c:92:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 92 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ico.c: In function 'header_check_ico': file_ico.c:94:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 94 | static int header_check_ico(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ico.c:94:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 94 | static int header_check_ico(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ico.c:94:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 94 | static int header_check_ico(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ifo.o file_ifo.c In file included from file_ifo.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ifo.c:50:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 50 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ifo.c: In function 'header_check_ifo': file_ifo.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_ifo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ifo.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_ifo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ifo.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_ifo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_idx.o file_idx.c file_idx.c: In function 'header_check_idx': file_idx.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_idx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_idx.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_idx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_imb.o file_imb.c file_imb.c: In function 'header_check_imb': file_imb.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_imb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_imb.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_imb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_imb.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_imb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_imb.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_imb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_indd.o file_indd.c In file included from file_indd.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_indd.c:66:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 66 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_indd.c:74:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 74 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_indd.c: In function 'header_check_indd': file_indd.c:114:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 114 | static int header_check_indd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_indd.c:114:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 114 | static int header_check_indd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_info.o file_info.c file_info.c: In function 'header_check_info': file_info.c:44:51: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_info(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_info.c:44:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_info(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_info.c:44:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_info(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_info.c:44:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_info(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_iso.o file_iso.c In file included from file_iso.c:32: iso9660.h:62:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 62 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_iso.c: In function 'header_check_db': file_iso.c:46:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | static int header_check_db(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_iso.c:46:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 46 | static int header_check_db(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_it.o file_it.c file_it.c:69:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 69 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_it.c: In function 'header_check_it': file_it.c:71:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 71 | static int header_check_it(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_it.c:71:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 71 | static int header_check_it(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_it.c:71:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 71 | static int header_check_it(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_itu.o file_itu.c file_itu.c: In function 'header_check_itunes': file_itu.c:45:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | static int header_check_itunes(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_itu.c:45:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | static int header_check_itunes(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_itu.c:45:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | static int header_check_itunes(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_jks.o file_jks.c In file included from file_jks.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_jks.c:51:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 51 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_jks.c: In function 'header_check_jks': file_jks.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | static int header_check_jks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_jks.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | static int header_check_jks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_jks.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | static int header_check_jks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_jpg.o file_jpg.c In file included from file_jpg.c:47: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from file_jpg.c:50: file_tiff.h:67:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 67 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_jpg.c:112:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 112 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_jpg.c:121:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 121 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_jpg.c: In function 'check_mpo_be': file_jpg.c:126:25: warning: cast increases required alignment of target type [-Wcast-align] 126 | const uint32_t *tmp32=(const uint32_t *)(&mpo[4]); | ^ file_jpg.c:139:9: warning: cast increases required alignment of target type [-Wcast-align] 139 | tmp16=(const uint16_t*)(&mpo[offset]); | ^ file_jpg.c:159:24: warning: cast increases required alignment of target type [-Wcast-align] 159 | const uint32_t *tmp=(const uint32_t *)&field->value[0]; | ^ file_jpg.c:168:24: warning: cast increases required alignment of target type [-Wcast-align] 168 | const uint32_t *tmp=(const uint32_t *)&field->value[0]; | ^ file_jpg.c: In function 'check_mpo_le': file_jpg.c:201:25: warning: cast increases required alignment of target type [-Wcast-align] 201 | const uint32_t *tmp32=(const uint32_t *)(&mpo[4]); | ^ file_jpg.c:214:9: warning: cast increases required alignment of target type [-Wcast-align] 214 | tmp16=(const uint16_t*)(&mpo[offset]); | ^ file_jpg.c:234:24: warning: cast increases required alignment of target type [-Wcast-align] 234 | const uint32_t *tmp=(const uint32_t *)&field->value[0]; | ^ file_jpg.c:243:24: warning: cast increases required alignment of target type [-Wcast-align] 243 | const uint32_t *tmp=(const uint32_t *)&field->value[0]; | ^ file_jpg.c: In function 'header_check_jpg': file_jpg.c:496:39: warning: cast increases required alignment of target type [-Wcast-align] 496 | jpg_time=get_date_from_tiff_header((const TIFFHeader*)&buffer[i+0x0A], tiff_size); | ^ file_jpg.c:375:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 375 | static int header_check_jpg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_jpg.c: In function 'my_output_message': file_jpg.c:547:45: warning: unused parameter 'cinfo' [-Wunused-parameter] 547 | static void my_output_message (j_common_ptr cinfo) | ~~~~~~~~~~~~~^~~~~ file_jpg.c: In function 'my_error_exit': file_jpg.c:560:32: warning: cast increases required alignment of target type [-Wcast-align] 560 | struct my_error_mgr *myerr = (struct my_error_mgr *) cinfo->err; | ^ file_jpg.c: In function 'my_emit_message': file_jpg.c:568:32: warning: cast increases required alignment of target type [-Wcast-align] 568 | struct my_error_mgr *myerr = (struct my_error_mgr *) cinfo->err; | ^ file_jpg.c: In function 'jpg_term_source': file_jpg.c:738:47: warning: unused parameter 'cinfo' [-Wunused-parameter] 738 | static void jpg_term_source (j_decompress_ptr cinfo) | ~~~~~~~~~~~~~~~~~^~~~~ file_jpg.c: In function 'jpg_find_error': file_jpg.c:1058:118: warning: unused parameter 'checkpoint_offset' [-Wunused-parameter] 1058 | static uint64_t jpg_find_error(struct jpeg_session_struct *jpeg_session, const unsigned int *offsets, const uint64_t checkpoint_offset) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ file_jpg.c: At top level: file_jpg.c:1373:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 1373 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_jpg.c: In function 'jpg_check_structure': file_jpg.c:1496:27: warning: cast increases required alignment of target type [-Wcast-align] 1496 | const TIFFHeader *tiff=(const TIFFHeader*)&buffer[i+0x0A]; | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_jsonlz4.o file_jsonlz4.c In file included from file_jsonlz4.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_jsonlz4.c: In function 'header_check_jsonlz4': file_jsonlz4.c:47:37: warning: cast increases required alignment of target type [-Wcast-align] 47 | const uint32_t *uncompressed_size=(const uint32_t *)&buffer[8]; | ^ file_jsonlz4.c:45:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | static int header_check_jsonlz4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_jsonlz4.c:45:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | static int header_check_jsonlz4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_jsonlz4.c:45:154: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | static int header_check_jsonlz4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_kdb.o file_kdb.c file_kdb.c: In function 'header_check_kdb': file_kdb.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_kdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_kdb.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_kdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_kdb.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_kdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_kdb.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_kdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_kdbx.o file_kdbx.c file_kdbx.c: In function 'header_check_kdbx': file_kdbx.c:44:51: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_kdbx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_kdbx.c:44:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_kdbx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_kdbx.c:44:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_kdbx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_kdbx.c:44:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_kdbx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_key.o file_key.c file_key.c: In function 'header_check_key': file_key.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_key(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_key.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_key(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_key.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_key(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_key.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_key(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ldf.o file_ldf.c file_ldf.c: In function 'header_check_ldf': file_ldf.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | static int header_check_ldf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ldf.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | static int header_check_ldf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ldf.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | static int header_check_ldf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_lit.o file_lit.c file_lit.c: In function 'header_check_lit': file_lit.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_lit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_lit.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_lit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_lit.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_lit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_lit.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_lit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_lnk.o file_lnk.c In file included from file_lnk.c:33: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_lnk.c:66:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 66 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_lnk.c: In function 'header_check_lnk': file_lnk.c:222:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 222 | static int header_check_lnk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_lnk.c:222:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 222 | static int header_check_lnk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_logic.o file_logic.c file_logic.c: In function 'header_check_logic': file_logic.c:44:52: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_logic(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_logic.c:44:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_logic(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_logic.c:44:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_logic(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_logic.c:44:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_logic(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_lso.o file_lso.c file_lso.c: In function 'header_check_lso': file_lso.c:50:50: warning: unused parameter 'buffer' [-Wunused-parameter] 50 | static int header_check_lso(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_lso.c:50:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 50 | static int header_check_lso(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_lso.c:50:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 50 | static int header_check_lso(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_lso.c:50:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 50 | static int header_check_lso(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_luks.o file_luks.c In file included from file_luks.c:33: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_luks.c: In function 'header_check_luks': file_luks.c:53:31: warning: cast increases required alignment of target type [-Wcast-align] 53 | const struct luks_phdr *hdr=(const struct luks_phdr *)buffer; | ^ file_luks.c:51:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 51 | static int header_check_luks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_luks.c:51:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 51 | static int header_check_luks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_luks.c:51:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 51 | static int header_check_luks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_lxo.o file_lxo.c In file included from file_lxo.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_lxo.c:50:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 50 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_lxo.c: In function 'header_check_lxo': file_lxo.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_lxo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_lxo.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_lxo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_lxo.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_lxo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_lzh.o file_lzh.c file_lzh.c:58:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 58 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_lzh.c:72:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 72 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_lzh.c:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_lzh.c: In function 'header_check_lzh': file_lzh.c:107:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 107 | static int header_check_lzh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_lzh.c:107:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 107 | static int header_check_lzh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_lzh.c:107:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 107 | static int header_check_lzh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_lzo.o file_lzo.c file_lzo.c: In function 'header_check_lzo': file_lzo.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_lzo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_lzo.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_lzo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_lzo.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_lzo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_lzo.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_lzo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_m2ts.o file_m2ts.c file_m2ts.c: In function 'header_check_m2ts': file_m2ts.c:112:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 112 | static int header_check_m2ts(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_m2ts.c: In function 'header_check_m2t': file_m2ts.c:169:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 169 | static int header_check_m2t(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mat.o file_mat.c file_mat.c: In function 'header_check_mat': file_mat.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_mat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mat.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_mat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mat.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_mat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_max.o file_max.c In file included from file_max.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_max.c: In function 'header_check_max': file_max.c:46:50: warning: unused parameter 'buffer' [-Wunused-parameter] 46 | static int header_check_max(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_max.c:46:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 46 | static int header_check_max(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_max.c:46:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | static int header_check_max(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_max.c:46:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 46 | static int header_check_max(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mb.o file_mb.c In file included from file_mb.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_mb.c:50:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 50 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_mb.c: In function 'header_check_mb': file_mb.c:52:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_mb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mb.c:52:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_mb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mb.c:52:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_mb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_mb.c: In function 'header_check_mp': file_mb.c:66:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 66 | static int header_check_mp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mb.c:66:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 66 | static int header_check_mp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mb.c:66:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 66 | static int header_check_mp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mcd.o file_mcd.c file_mcd.c: In function 'header_check_mcd': file_mcd.c:43:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 43 | static int header_check_mcd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mcd.c:43:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 43 | static int header_check_mcd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mcd.c:43:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 43 | static int header_check_mcd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mdb.o file_mdb.c file_mdb.c: In function 'header_check_accdb': file_mdb.c:54:52: warning: unused parameter 'buffer' [-Wunused-parameter] 54 | static int header_check_accdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_mdb.c:54:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 54 | static int header_check_accdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mdb.c:54:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 54 | static int header_check_accdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mdb.c:54:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 54 | static int header_check_accdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_mdb.c: In function 'header_check_mdb': file_mdb.c:61:50: warning: unused parameter 'buffer' [-Wunused-parameter] 61 | static int header_check_mdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_mdb.c:61:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 61 | static int header_check_mdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mdb.c:61:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 61 | static int header_check_mdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mdb.c:61:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 61 | static int header_check_mdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mdf.o file_mdf.c file_mdf.c: In function 'header_check_mdf': file_mdf.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | static int header_check_mdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mdf.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | static int header_check_mdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mdf.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | static int header_check_mdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mfa.o file_mfa.c file_mfa.c: In function 'header_check_mfa': file_mfa.c:49:50: warning: unused parameter 'buffer' [-Wunused-parameter] 49 | static int header_check_mfa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_mfa.c:49:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 49 | static int header_check_mfa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mfa.c:49:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 49 | static int header_check_mfa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mfa.c:49:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 49 | static int header_check_mfa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mfg.o file_mfg.c file_mfg.c: In function 'header_check_mfg': file_mfg.c:52:50: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_mfg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_mfg.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_mfg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mfg.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_mfg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mfg.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_mfg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mft.o file_mft.c In file included from file_mft.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from file_mft.c:33: ntfs.h:57:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 57 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs.h:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs.h:147:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 147 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; | ^ ntfs.h:191:3: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 191 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs.h:196:2: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 196 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs.h:201:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 201 | } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; | ^ ntfs.h:241:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 241 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; | ^ file_mft.c: In function 'header_check_mft': file_mft.c:64:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 64 | static int header_check_mft(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mft.c:64:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 64 | static int header_check_mft(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mft.c:64:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 64 | static int header_check_mft(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mid.o file_mid.c In file included from file_mid.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_mid.c:55:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 55 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_mid.c: In function 'header_check_mid': file_mid.c:104:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 104 | static int header_check_mid(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mid.c:104:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 104 | static int header_check_mid(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mid.c:104:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 104 | static int header_check_mid(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mig.o file_mig.c In file included from file_mig.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_mig.c:57:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 57 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_mig.c: In function 'header_check_mig': file_mig.c:97:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 97 | static int header_check_mig(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mig.c:97:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 97 | static int header_check_mig(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mig.c:97:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 97 | static int header_check_mig(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mk5.o file_mk5.c file_mk5.c: In function 'header_check_mk5': file_mk5.c:43:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 43 | static int header_check_mk5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mk5.c:43:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 43 | static int header_check_mk5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mk5.c:43:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 43 | static int header_check_mk5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mkv.o file_mkv.c In file included from file_mkv.c:36: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_mkv.c: In function 'header_check_mkv': file_mkv.c:119:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 119 | static int header_check_mkv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mkv.c:119:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 119 | static int header_check_mkv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mlv.o file_mlv.c In file included from file_mlv.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_mlv.c:61:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 61 | } __attribute__ ((gcc_struct, __packed__)) mlv_file_hdr_t; | ^ file_mlv.c:67:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 67 | } __attribute__ ((gcc_struct, __packed__)) mlv_hdr_t; | ^ file_mlv.c: In function 'header_check_mlv': file_mlv.c:132:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 132 | static int header_check_mlv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mlv.c:132:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 132 | static int header_check_mlv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mlv.c:132:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 132 | static int header_check_mlv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mobi.o file_mobi.c file_mobi.c: In function 'header_check_mobi': file_mobi.c:59:51: warning: unused parameter 'buffer' [-Wunused-parameter] 59 | static int header_check_mobi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_mobi.c:59:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 59 | static int header_check_mobi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mobi.c:59:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 59 | static int header_check_mobi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mobi.c:59:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 59 | static int header_check_mobi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mov.o file_mov.c In file included from file_mov.c:33: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_mov.c:89:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 89 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_mov.c:96:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 96 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_mov.c: In function 'header_check_mov_aux': file_mov.c:127:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 127 | static int header_check_mov_aux(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mp3.o file_mp3.c In file included from file_mp3.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_mp3.c: In function 'header_check_id3': file_mp3.c:115:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 115 | static int header_check_id3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mp3.c:115:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 115 | static int header_check_id3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mp3.c:115:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 115 | static int header_check_id3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_mp3.c: In function 'header_check_mp3': file_mp3.c:145:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 145 | static int header_check_mp3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mpg.o file_mpg.c file_mpg.c: In function 'header_check_mpg_Pack': file_mpg.c:164:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 164 | static int header_check_mpg_Pack(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mpg.c: In function 'header_check_mpg_System': file_mpg.c:227:116: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 227 | static int header_check_mpg_System(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mpg.c: In function 'header_check_mpg_Sequence': file_mpg.c:268:118: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 268 | static int header_check_mpg_Sequence(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mpg.c: In function 'header_check_mpg4_ElemVideo': file_mpg.c:302:120: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 302 | static int header_check_mpg4_ElemVideo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mpl.o file_mpl.c file_mpl.c: In function 'header_check_mpl': file_mpl.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_mpl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_mpl.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_mpl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mpl.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_mpl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mpl.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_mpl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mrw.o file_mrw.c In file included from file_mrw.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_mrw.c:50:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 50 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_mrw.c:68:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 68 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_mrw.c: In function 'header_check_mrw': file_mrw.c:71:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 71 | static int header_check_mrw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mrw.c:71:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 71 | static int header_check_mrw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mrw.c:71:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 71 | static int header_check_mrw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_msa.o file_msa.c In file included from file_msa.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_msa.c:49:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 49 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_msa.c: In function 'header_check_msa': file_msa.c:51:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 51 | static int header_check_msa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_msa.c:51:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 51 | static int header_check_msa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_msa.c:51:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 51 | static int header_check_msa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mus.o file_mus.c file_mus.c: In function 'header_check_mus': file_mus.c:50:50: warning: unused parameter 'buffer' [-Wunused-parameter] 50 | static int header_check_mus(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_mus.c:50:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 50 | static int header_check_mus(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mus.c:50:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 50 | static int header_check_mus(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mus.c:50:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 50 | static int header_check_mus(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mxf.o file_mxf.c In file included from file_mxf.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_mxf.c:66:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 66 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_mxf.c: In function 'data_check_mxf': file_mxf.c:94:24: warning: cast increases required alignment of target type [-Wcast-align] 94 | const uint32_t *p32=(const uint32_t*)&buffer[i+0x11]; | ^ file_mxf.c: In function 'header_check_mxf': file_mxf.c:106:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 106 | static int header_check_mxf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mxf.c:106:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 106 | static int header_check_mxf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mxf.c:106:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 106 | static int header_check_mxf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_myo.o file_myo.c file_myo.c: In function 'header_check_myo': file_myo.c:46:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 46 | static int header_check_myo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_myo.c:46:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | static int header_check_myo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mysql.o file_mysql.c file_mysql.c: In function 'header_check_mysql': file_mysql.c:55:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 55 | static int header_check_mysql(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mysql.c:55:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 55 | static int header_check_mysql(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mysql.c:55:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 55 | static int header_check_mysql(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_nd2.o file_nd2.c file_nd2.c: In function 'header_check_nd2': file_nd2.c:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | static int header_check_nd2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_nd2.c:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | static int header_check_nd2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_nd2.c:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | static int header_check_nd2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_nds.o file_nds.c file_nds.c: In function 'header_check_nds': file_nds.c:59:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 59 | static int header_check_nds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_nds.c:59:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 59 | static int header_check_nds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_nds.c:59:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 59 | static int header_check_nds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_nes.o file_nes.c In file included from file_nes.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_nes.c:50:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 50 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_nes.c: In function 'header_check_nes': file_nes.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_nes(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_nes.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_nes(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_nes.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_nes(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_njx.o file_njx.c file_njx.c: In function 'header_check_njx': file_njx.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 54 | static int header_check_njx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_njx.c:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 54 | static int header_check_njx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_njx.c:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 54 | static int header_check_njx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_nk2.o file_nk2.c In file included from file_nk2.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_nk2.c: In function 'header_check_nk2': file_nk2.c:180:50: warning: unused parameter 'buffer' [-Wunused-parameter] 180 | static int header_check_nk2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_nk2.c:180:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 180 | static int header_check_nk2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_nk2.c:180:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 180 | static int header_check_nk2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_nk2.c:180:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 180 | static int header_check_nk2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_nsf.o file_nsf.c file_nsf.c: In function 'header_check_nsf': file_nsf.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_nsf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_nsf.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_nsf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_nsf.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_nsf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_oci.o file_oci.c In file included from file_oci.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_oci.c:49:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 49 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_oci.c: In function 'header_check_oci': file_oci.c:86:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 86 | static int header_check_oci(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_oci.c:86:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 86 | static int header_check_oci(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ogg.o file_ogg.c file_ogg.c: In function 'header_check_ogg': file_ogg.c:49:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 49 | static int header_check_ogg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ogg.c:49:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 49 | static int header_check_ogg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_one.o file_one.c file_one.c: In function 'header_check_one': file_one.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_one(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_one.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_one(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_one.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_one(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_orf.o file_orf.c In file included from file_orf.c:32: file_tiff.h:67:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 67 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_orf.c: In function 'header_check_orf_IIRS': file_orf.c:45:55: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | static int header_check_orf_IIRS(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_orf.c:45:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | static int header_check_orf_IIRS(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_orf.c:45:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | static int header_check_orf_IIRS(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_orf.c:45:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | static int header_check_orf_IIRS(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_orf.c: In function 'header_check_orf_IIRO': file_orf.c:56:53: warning: cast increases required alignment of target type [-Wcast-align] 56 | file_recovery_new->time=get_date_from_tiff_header((const TIFFHeader *)buffer, buffer_size); | ^ file_orf.c:52:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_orf_IIRO(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_orf.c:52:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_orf_IIRO(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_paf.o file_paf.c file_paf.c: In function 'header_check_paf': file_paf.c:47:50: warning: unused parameter 'buffer' [-Wunused-parameter] 47 | static int header_check_paf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_paf.c:47:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 47 | static int header_check_paf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_paf.c:47:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 47 | static int header_check_paf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_paf.c:47:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 47 | static int header_check_paf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pap.o file_pap.c file_pap.c: In function 'header_check_pap': file_pap.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | static int header_check_pap(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_pap.c:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | static int header_check_pap(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pap.c:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | static int header_check_pap(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pap.c:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | static int header_check_pap(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_par2.o file_par2.c In file included from file_par2.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from file_par2.c:32: file_par2.c: In function 'data_check_par2': file_par2.c:56:34: warning: cast increases required alignment of target type [-Wcast-align] 56 | const uint64_t length=le64((*(const uint64_t *)(&buffer[i+8]))); | ^ common.h:466:19: note: in definition of macro 'le64' 466 | #define le64(x) (x) | ^ file_par2.c: In function 'file_rename_par2': file_par2.c:77:29: warning: cast increases required alignment of target type [-Wcast-align] 77 | const uint64_t *lengthp=(const uint64_t *)&buffer[8]; | ^ In file included from file_par2.c:32: file_par2.c: In function 'header_check_par2': file_par2.c:110:32: warning: cast increases required alignment of target type [-Wcast-align] 110 | const uint64_t length=le64((*(const uint64_t *)(&buffer[8]))); | ^ common.h:466:19: note: in definition of macro 'le64' 466 | #define le64(x) (x) | ^ file_par2.c:108:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 108 | static int header_check_par2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_par2.c:108:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 108 | static int header_check_par2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pcap.o file_pcap.c file_pcap.c: In function 'header_check_pcap': file_pcap.c:44:51: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_pcap(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_pcap.c:44:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_pcap(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pcap.c:44:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_pcap(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pcap.c:44:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_pcap(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pcb.o file_pcb.c file_pcb.c: In function 'header_check_pcb': file_pcb.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_pcb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_pcb.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_pcb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pcb.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_pcb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pcb.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_pcb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pct.o file_pct.c In file included from file_pct.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_pct.c:80:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 80 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_pct.c: In function 'header_check_pct': file_pct.c:82:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 82 | static int header_check_pct(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pct.c:82:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 82 | static int header_check_pct(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pcx.o file_pcx.c In file included from file_pcx.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_pcx.c:78:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 78 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_pcx.c: In function 'header_check_pcx': file_pcx.c:85:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 85 | static int header_check_pcx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pcx.c:85:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 85 | static int header_check_pcx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pcx.c:85:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 85 | static int header_check_pcx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pdb.o file_pdb.c file_pdb.c: In function 'header_check_pdb': file_pdb.c:71:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 71 | static int header_check_pdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pdb.c:71:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 71 | static int header_check_pdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pdb.c:71:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 71 | static int header_check_pdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pdf.o file_pdf.c In file included from file_pdf.c:40: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_pdf.c: In function 'header_check_pdf': file_pdf.c:272:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 272 | static int header_check_pdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pdf.c:272:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 272 | static int header_check_pdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pds.o file_pds.c file_pds.c: In function 'header_check_pds': file_pds.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_pds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_pds.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_pds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pds.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_pds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pds.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_pds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pf.o file_pf.c In file included from file_pf.c:33: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_pf.c:55:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 55 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_pf.c: In function 'header_check_pf': file_pf.c:72:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 72 | static int header_check_pf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pf.c:72:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 72 | static int header_check_pf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pf.c:72:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 72 | static int header_check_pf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pfx.o file_pfx.c file_pfx.c: In function 'header_check_pfx': file_pfx.c:66:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 66 | static int header_check_pfx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pfx.c:66:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 66 | static int header_check_pfx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pfx.c:66:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 66 | static int header_check_pfx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pgdump.o file_pgdump.c In file included from file_pgdump.c:33: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_pgdump.c:83:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 83 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_pgdump.c: In function 'header_check_pgdump': file_pgdump.c:96:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 96 | static int header_check_pgdump(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pgdump.c:96:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 96 | static int header_check_pgdump(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pgdump.c:96:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 96 | static int header_check_pgdump(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_plist.o file_plist.c file_plist.c: In function 'header_check_plist': file_plist.c:47:52: warning: unused parameter 'buffer' [-Wunused-parameter] 47 | static int header_check_plist(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_plist.c:47:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 47 | static int header_check_plist(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_plist.c:47:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 47 | static int header_check_plist(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_plr.o file_plr.c file_plr.c: In function 'header_check_plr': file_plr.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_plr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_plr.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_plr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_plr.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_plr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_plr.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_plr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_plt.o file_plt.c file_plt.c: In function 'header_check_plt': file_plt.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_plt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_plt.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_plt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_plt.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_plt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_plt.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_plt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_png.o file_png.c In file included from file_png.c:38: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_png.c:62:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 62 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_png.c:73:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 73 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_png.c: In function 'header_check_jng': file_png.c:75:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 75 | static int header_check_jng(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_png.c:75:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 75 | static int header_check_jng(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_png.c:75:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 75 | static int header_check_jng(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_png.c: In function 'header_check_mng': file_png.c:93:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 93 | static int header_check_mng(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_png.c:93:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 93 | static int header_check_mng(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_png.c:93:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 93 | static int header_check_mng(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_png.c: In function 'header_check_png': file_png.c:172:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 172 | static int header_check_png(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_png.c:172:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 172 | static int header_check_png(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pnm.o file_pnm.c file_pnm.c: In function 'header_check_pbm': file_pnm.c:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | static int header_check_pbm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pnm.c:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | static int header_check_pbm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pnm.c:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | static int header_check_pbm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_pnm.c: In function 'header_check_pgm': file_pnm.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 54 | static int header_check_pgm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pnm.c:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 54 | static int header_check_pgm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pnm.c:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 54 | static int header_check_pgm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_pnm.c: In function 'header_check_ppm': file_pnm.c:63:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 63 | static int header_check_ppm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pnm.c:63:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 63 | static int header_check_ppm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pnm.c:63:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 63 | static int header_check_ppm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_prc.o file_prc.c In file included from file_prc.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_prc.c:59:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 59 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_prc.c: In function 'header_check_prc': file_prc.c:61:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 61 | static int header_check_prc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_prc.c:61:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 61 | static int header_check_prc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_prc.c:61:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 61 | static int header_check_prc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_prd.o file_prd.c file_prd.c: In function 'header_check_prd': file_prd.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_prd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_prd.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_prd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_prd.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_prd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_prt.o file_prt.c file_prt.c: In function 'header_check_prt': file_prt.c:52:50: warning: unused parameter 'buffer' [-Wunused-parameter] 52 | static int header_check_prt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_prt.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_prt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_prt.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_prt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_prt.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_prt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ps.o file_ps.c In file included from file_ps.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ps.c: In function 'header_check_ps': file_ps.c:55:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 55 | static int header_check_ps(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ps.c:55:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 55 | static int header_check_ps(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ps.c:55:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 55 | static int header_check_ps(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_psb.o file_psb.c In file included from file_psb.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_psb.c:63:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 63 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_psb.c: In function 'header_check_psb': file_psb.c:65:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 65 | static int header_check_psb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_psb.c:65:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 65 | static int header_check_psb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_psb.c:65:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 65 | static int header_check_psb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_psb.c: In function 'get_be64': file_psb.c:94:23: warning: cast increases required alignment of target type [-Wcast-align] 94 | const uint64_t *val=(const uint64_t *)((const unsigned char *)buffer+offset); | ^ file_psb.c: In function 'psb_skip_image_data': file_psb.c:98:62: warning: unused parameter 'buffer' [-Wunused-parameter] 98 | static data_check_t psb_skip_image_data(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_psb.c:98:89: warning: unused parameter 'buffer_size' [-Wunused-parameter] 98 | static data_check_t psb_skip_image_data(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_psd.o file_psd.c In file included from file_psd.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_psd.c:63:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 63 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_psd.c: In function 'header_check_psd': file_psd.c:65:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 65 | static int header_check_psd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_psd.c:65:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 65 | static int header_check_psd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_psd.c:65:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 65 | static int header_check_psd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_psd.c: In function 'get_be32': file_psd.c:94:23: warning: cast increases required alignment of target type [-Wcast-align] 94 | const uint32_t *val=(const uint32_t *)((const unsigned char *)buffer+offset); | ^ file_psd.c: In function 'psd_skip_image_data': file_psd.c:98:62: warning: unused parameter 'buffer' [-Wunused-parameter] 98 | static data_check_t psd_skip_image_data(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_psd.c:98:89: warning: unused parameter 'buffer_size' [-Wunused-parameter] 98 | static data_check_t psd_skip_image_data(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_psf.o file_psf.c file_psf.c: In function 'header_check_psf': file_psf.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_psf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_psf.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_psf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_psp.o file_psp.c In file included from file_psp.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_psp.c:55:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 55 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_psp.c: In function 'header_check_psp': file_psp.c:73:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 73 | static int header_check_psp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_psp.c:73:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 73 | static int header_check_psp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_psp.c:73:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 73 | static int header_check_psp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pst.o file_pst.c file_pst.c: In function 'header_check_dbx': file_pst.c:51:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 51 | static int header_check_dbx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pst.c:51:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 51 | static int header_check_dbx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pst.c:51:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 51 | static int header_check_dbx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_pst.c: In function 'header_check_wab': file_pst.c:92:50: warning: unused parameter 'buffer' [-Wunused-parameter] 92 | static int header_check_wab(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_pst.c:92:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 92 | static int header_check_wab(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pst.c:92:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 92 | static int header_check_wab(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pst.c:92:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 92 | static int header_check_wab(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_pst.c: In function 'header_check_pst': file_pst.c:99:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 99 | static int header_check_pst(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pst.c:99:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 99 | static int header_check_pst(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pst.c:99:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 99 | static int header_check_pst(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ptb.o file_ptb.c file_ptb.c: In function 'header_check_ptb': file_ptb.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_ptb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ptb.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_ptb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ptb.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_ptb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ptf.o file_ptf.c file_ptf.c: In function 'header_check_ptf': file_ptf.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_ptf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ptf.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_ptf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ptf.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_ptf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pyc.o file_pyc.c In file included from file_pyc.c:34: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_pyc.c: In function 'header_check_pyc': file_pyc.c:56:32: warning: cast increases required alignment of target type [-Wcast-align] 56 | const struct pyc_header *pyc=(const struct pyc_header *)buffer; | ^ file_pyc.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 54 | static int header_check_pyc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pyc.c:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 54 | static int header_check_pyc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pyc.c:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 54 | static int header_check_pyc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pzf.o file_pzf.c file_pzf.c: In function 'header_check_pzf': file_pzf.c:54:50: warning: unused parameter 'buffer' [-Wunused-parameter] 54 | static int header_check_pzf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_pzf.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 54 | static int header_check_pzf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pzf.c:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 54 | static int header_check_pzf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pzf.c:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 54 | static int header_check_pzf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pzh.o file_pzh.c file_pzh.c: In function 'header_check_pzh': file_pzh.c:69:50: warning: unused parameter 'buffer' [-Wunused-parameter] 69 | static int header_check_pzh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_pzh.c:69:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 69 | static int header_check_pzh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pzh.c:69:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 69 | static int header_check_pzh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pzh.c:69:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 69 | static int header_check_pzh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_qbb.o file_qbb.c In file included from file_qbb.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_qbb.c:55:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 55 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_qbb.c:68:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 68 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_qbb.c: In function 'header_check_qbb': file_qbb.c:97:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 97 | static int header_check_qbb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_qbb.c:97:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 97 | static int header_check_qbb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_qbb.c: In function 'header_check_qbw': file_qbb.c:136:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 136 | static int header_check_qbw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_qbb.c:136:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 136 | static int header_check_qbw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_qbb.c:136:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 136 | static int header_check_qbw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_qbb.c: In function 'header_check_qbw2': file_qbb.c:151:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 151 | static int header_check_qbw2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_qbb.c:151:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 151 | static int header_check_qbw2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_qbb.c:151:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 151 | static int header_check_qbw2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_qdf.o file_qdf.c file_qdf.c: In function 'header_check_qdf': file_qdf.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | static int header_check_qdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_qdf.c:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | static int header_check_qdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_qdf.c:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | static int header_check_qdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_qkt.o file_qkt.c file_qkt.c: In function 'header_check_qkt': file_qkt.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_qkt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_qkt.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_qkt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_qkt.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_qkt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_qkt.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_qkt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_qxd.o file_qxd.c file_qxd.c: In function 'header_check_qxd': file_qxd.c:46:50: warning: unused parameter 'buffer' [-Wunused-parameter] 46 | static int header_check_qxd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_qxd.c:46:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 46 | static int header_check_qxd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_qxd.c:46:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | static int header_check_qxd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_qxd.c:46:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 46 | static int header_check_qxd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_qxd.c: In function 'header_check_qxp': file_qxd.c:54:50: warning: unused parameter 'buffer' [-Wunused-parameter] 54 | static int header_check_qxp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_qxd.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 54 | static int header_check_qxp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_qxd.c:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 54 | static int header_check_qxp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_qxd.c:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 54 | static int header_check_qxp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_r3d.o file_r3d.c In file included from file_r3d.c:33: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_r3d.c:56:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 56 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_r3d.c: In function 'header_check_r3d': file_r3d.c:97:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 97 | static int header_check_r3d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_r3d.c:97:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 97 | static int header_check_r3d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_r3d.c:97:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 97 | static int header_check_r3d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_r3d.c: In function 'header_check_r3d_v2': file_r3d.c:116:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 116 | static int header_check_r3d_v2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_r3d.c:116:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 116 | static int header_check_r3d_v2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_r3d.c:116:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 116 | static int header_check_r3d_v2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ra.o file_ra.c In file included from file_ra.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ra.c:53:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 53 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ra.c:81:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 81 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ra.c: In function 'header_check_ra': file_ra.c:83:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 83 | static int header_check_ra(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ra.c:83:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 83 | static int header_check_ra(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ra.c:83:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 83 | static int header_check_ra(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_raf.o file_raf.c In file included from file_raf.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_raf.c:60:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 60 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_raf.c: In function 'header_check_raf': file_raf.c:62:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 62 | static int header_check_raf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_raf.c:62:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 62 | static int header_check_raf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_raf.c:62:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 62 | static int header_check_raf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_rar.o file_rar.c file_rar.c: In function 'header_check_rar15fmt': file_rar.c:53:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | static int header_check_rar15fmt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_rar.c:53:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | static int header_check_rar15fmt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_rar.c:53:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | static int header_check_rar15fmt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_rar.c: In function 'header_check_rar50fmt': file_rar.c:69:82: warning: unused parameter 'buffer_size' [-Wunused-parameter] 69 | static int header_check_rar50fmt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_rar.c:69:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 69 | static int header_check_rar50fmt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_rar.c:69:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 69 | static int header_check_rar50fmt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_raw.o file_raw.c file_raw.c: In function 'header_check_raw': file_raw.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_raw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_raw.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_raw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_raw.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_raw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_raw.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_raw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_rdc.o file_rdc.c file_rdc.c: In function 'header_check_rdc': file_rdc.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_rdc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_rdc.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_rdc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_rdc.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_rdc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_rdc.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_rdc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_reg.o file_reg.c In file included from file_reg.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_reg.c:56:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 56 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_reg.c:70:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 70 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_reg.c: In function 'header_check_reg_9x': file_reg.c:72:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 72 | static int header_check_reg_9x(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_reg.c:72:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 72 | static int header_check_reg_9x(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_reg.c: At top level: file_reg.c:104:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 104 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_reg.c: In function 'header_check_reg_nt': file_reg.c:106:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 106 | static int header_check_reg_nt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_reg.c:106:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 106 | static int header_check_reg_nt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_reg.c:106:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 106 | static int header_check_reg_nt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_res.o file_res.c file_res.c: In function 'header_check_res': file_res.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_res(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_res.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_res(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_res.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_res(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_res.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_res(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_rfp.o file_rfp.c file_rfp.c: In function 'header_check_rfp': file_rfp.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_rfp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_rfp.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_rfp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_rfp.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_rfp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_rfp.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_rfp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_riff.o file_riff.c In file included from file_riff.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_riff.c: In function 'data_check_avi': file_riff.c:179:43: warning: cast increases required alignment of target type [-Wcast-align] 179 | const riff_chunk_header *chunk_header=(const riff_chunk_header*)&buffer[i]; | ^ file_riff.c: In function 'data_check_avi_stream': file_riff.c:194:43: warning: cast increases required alignment of target type [-Wcast-align] 194 | const riff_chunk_header *chunk_header=(const riff_chunk_header*)&buffer[i]; | ^ file_riff.c: In function 'header_check_riff': file_riff.c:216:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 216 | static int header_check_riff(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_riff.c:216:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 216 | static int header_check_riff(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_riff.c: In function 'header_check_rifx': file_riff.c:317:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 317 | static int header_check_rifx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_riff.c:317:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 317 | static int header_check_rifx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_riff.c:317:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 317 | static int header_check_rifx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_rlv.o file_rlv.c file_rlv.c: In function 'header_check_rlv': file_rlv.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_rlv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_rlv.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_rlv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_rlv.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_rlv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_rm.o file_rm.c In file included from file_rm.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_rm.c:53:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 53 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_rm.c: In function 'header_check_rm': file_rm.c:55:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 55 | static int header_check_rm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_rm.c:55:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 55 | static int header_check_rm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_rm.c:55:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 55 | static int header_check_rm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_rns.o file_rns.c file_rns.c: In function 'header_check_rns': file_rns.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_rns(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_rns.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_rns(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_rns.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_rns(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_rns.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_rns(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_rpm.o file_rpm.c In file included from file_rpm.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_rpm.c:56:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 56 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_rpm.c: In function 'header_check_rpm': file_rpm.c:73:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 73 | static int header_check_rpm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_rpm.c:73:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 73 | static int header_check_rpm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_rpm.c:73:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 73 | static int header_check_rpm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_rw2.o file_rw2.c In file included from file_rw2.c:32: file_tiff.h:67:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 67 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from file_rw2.c:33: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_rw2.c: In function 'header_check_rw2': file_rw2.c:49:28: warning: cast increases required alignment of target type [-Wcast-align] 49 | const TIFFHeader *header=(const TIFFHeader *)buffer; | ^ file_rw2.c:47:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 47 | static int header_check_rw2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_rw2.c:47:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 47 | static int header_check_rw2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_rx2.o file_rx2.c In file included from file_rx2.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_rx2.c:51:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 51 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_rx2.c: In function 'header_check_rx2': file_rx2.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | static int header_check_rx2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_rx2.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | static int header_check_rx2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_rx2.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | static int header_check_rx2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_save.o file_save.c file_save.c: In function 'header_check_save': file_save.c:44:51: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_save(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_save.c:44:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_save(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_save.c:44:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_save(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_save.c:44:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_save(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ses.o file_ses.c In file included from file_ses.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ses.c: In function 'header_check_ses': file_ses.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | static int header_check_ses(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_ses.c:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | static int header_check_ses(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ses.c:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | static int header_check_ses(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ses.c:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | static int header_check_ses(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_sgcta.o file_sgcta.c file_sgcta.c: In function 'header_check_sgcta': file_sgcta.c:44:52: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_sgcta(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_sgcta.c:44:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_sgcta(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_sgcta.c:44:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_sgcta(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_sgcta.c:44:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_sgcta(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_shn.o file_shn.c file_shn.c: In function 'header_check_shn': file_shn.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_shn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_shn.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_shn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_shn.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_shn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_shn.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_shn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_sib.o file_sib.c file_sib.c: In function 'header_check_sib': file_sib.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_sib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_sib.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_sib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_sib.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_sib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_sib.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_sib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_sig.o file_sig.c In file included from file_sig.c:41: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_sig.c: In function 'header_check_sig': file_sig.c:83:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 83 | static int header_check_sig(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_sig.c:83:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 83 | static int header_check_sig(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_sig.c:83:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 83 | static int header_check_sig(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_sit.o file_sit.c file_sit.c: In function 'header_check_sit': file_sit.c:47:50: warning: unused parameter 'buffer' [-Wunused-parameter] 47 | static int header_check_sit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_sit.c:47:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 47 | static int header_check_sit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_sit.c:47:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 47 | static int header_check_sit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_sit.c:47:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 47 | static int header_check_sit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_skd.o file_skd.c file_skd.c: In function 'header_check_skd': file_skd.c:43:50: warning: unused parameter 'buffer' [-Wunused-parameter] 43 | static int header_check_skd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_skd.c:43:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 43 | static int header_check_skd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_skd.c:43:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 43 | static int header_check_skd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_skd.c:43:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 43 | static int header_check_skd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_skp.o file_skp.c file_skp.c: In function 'header_check_skp': file_skp.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_skp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_skp.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_skp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_skp.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_skp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_skp.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_skp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_snag.o file_snag.c file_snag.c: In function 'header_check_snag': file_snag.c:50:51: warning: unused parameter 'buffer' [-Wunused-parameter] 50 | static int header_check_snag(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_snag.c:50:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 50 | static int header_check_snag(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_snag.c:50:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 50 | static int header_check_snag(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_snag.c:50:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 50 | static int header_check_snag(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_sp3.o file_sp3.c In file included from file_sp3.c:35: file_sp3.h:306:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 306 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from file_sp3.c:36: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_sp3.c: In function 'header_check_sp3': file_sp3.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 54 | static int header_check_sp3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_sp3.c:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 54 | static int header_check_sp3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_sp3.c:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 54 | static int header_check_sp3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_spe.o file_spe.c In file included from file_spe.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_spe.c:238:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 238 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_spe.c: In function 'header_check_spe': file_spe.c:247:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 247 | static int header_check_spe(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_spe.c:247:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 247 | static int header_check_spe(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_spe.c:247:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 247 | static int header_check_spe(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_spf.o file_spf.c In file included from file_spf.c:33: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_spf.c: In function 'header_check_spf': file_spf.c:86:50: warning: unused parameter 'buffer' [-Wunused-parameter] 86 | static int header_check_spf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_spf.c:86:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 86 | static int header_check_spf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_spf.c:86:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 86 | static int header_check_spf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_spf.c:86:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 86 | static int header_check_spf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_spss.o file_spss.c file_spss.c: In function 'header_check_spss': file_spss.c:44:51: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_spss(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_spss.c:44:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_spss(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_spss.c:44:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_spss(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_spss.c:44:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_spss(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_sql.o file_sql.c In file included from file_sql.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_sql.c:72:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 72 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_sql.c: In function 'header_check_sqlite': file_sql.c:74:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 74 | static int header_check_sqlite(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_sql.c:74:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 74 | static int header_check_sqlite(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_sql.c:74:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 74 | static int header_check_sqlite(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_sqm.o file_sqm.c file_sqm.c: In function 'header_check_sqm': file_sqm.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_sqm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_sqm.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_sqm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_sqm.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_sqm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_sqm.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_sqm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_steuer2014.o file_steuer2014.c In file included from file_steuer2014.c:33: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_steuer2014.c:52:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 52 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_steuer2014.c: In function 'header_check_steuer': file_steuer2014.c:54:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 54 | static int header_check_steuer(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_steuer2014.c:54:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 54 | static int header_check_steuer(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_steuer2014.c:54:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 54 | static int header_check_steuer(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_stl.o file_stl.c In file included from file_stl.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_stl.c: In function 'header_check_stl': file_stl.c:48:26: warning: cast increases required alignment of target type [-Wcast-align] 48 | const uint64_t *fs_ptr=(const uint64_t *)&buffer[80]; | ^ file_stl.c:46:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 46 | static int header_check_stl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_stl.c:46:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | static int header_check_stl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_stl.c:46:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 46 | static int header_check_stl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_stu.o file_stu.c file_stu.c: In function 'header_check_stuffit': file_stu.c:45:54: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | static int header_check_stuffit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_stu.c:45:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | static int header_check_stuffit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_stu.c:45:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | static int header_check_stuffit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_stu.c:45:154: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | static int header_check_stuffit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_studio.o file_studio.c In file included from file_studio.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_studio.c:50:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 50 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_studio.c: In function 'header_check_studio': file_studio.c:52:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_studio(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_studio.c:52:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_studio(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_studio.c:52:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_studio(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_swf.o file_swf.c In file included from file_swf.c:35: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_swf.c:53:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 53 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_swf.c:62:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 62 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_swf.c: In function 'header_check_swfc': file_swf.c:114:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 114 | d_stream.next_in = (Bytef*)buffer_compr; | ^ file_swf.c:89:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 89 | static int header_check_swfc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_swf.c:89:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 89 | static int header_check_swfc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_swf.c: In function 'header_check_swf': file_swf.c:159:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 159 | static int header_check_swf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_swf.c:159:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 159 | static int header_check_swf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_swf.c:159:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 159 | static int header_check_swf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_swf.c: In function 'header_check_swfz': file_swf.c:192:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 192 | static int header_check_swfz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_swf.c:192:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 192 | static int header_check_swfz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_swf.c:192:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 192 | static int header_check_swfz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tar.o file_tar.c file_tar.c: In function 'header_check_tar': file_tar.c:67:70: warning: unused parameter 'buffer_size' [-Wunused-parameter] 67 | int header_check_tar(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_tar.c:67:102: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 67 | int header_check_tar(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tax.o file_tax.c file_tax.c: In function 'header_check_tax': file_tax.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter] 45 | static int header_check_tax(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_tax.c:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 45 | static int header_check_tax(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_tax.c:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 45 | static int header_check_tax(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_tax.c:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 45 | static int header_check_tax(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tg.o file_tg.c file_tg.c: In function 'header_check_tg': file_tg.c:44:49: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_tg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_tg.c:44:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_tg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_tg.c:44:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_tg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_tg.c:44:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_tg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tib.o file_tib.c In file included from file_tib.c:35: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_tib.c: In function 'header_check_tib': file_tib.c:103:50: warning: unused parameter 'buffer' [-Wunused-parameter] 103 | static int header_check_tib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_tib.c:103:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 103 | static int header_check_tib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_tib.c:103:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 103 | static int header_check_tib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_tib.c:103:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 103 | static int header_check_tib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_tib.c: In function 'header_check_tib2': file_tib.c:110:51: warning: unused parameter 'buffer' [-Wunused-parameter] 110 | static int header_check_tib2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_tib.c:110:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 110 | static int header_check_tib2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_tib.c:110:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 110 | static int header_check_tib2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_tib.c:110:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 110 | static int header_check_tib2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tiff.o file_tiff.c In file included from file_tiff.c:38: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from file_tiff.c:39: file_tiff.h:67:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 67 | } __attribute__ ((gcc_struct, __packed__)); | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tiff_be.o file_tiff_be.c In file included from file_tiff_be.c:38: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from file_tiff_be.c:39: file_tiff.h:67:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 67 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_tiff_be.c: In function 'find_tag_from_tiff_header_be_aux': file_tiff_be.c:54:16: warning: taking address of packed member of 'struct ifd_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 54 | for(i=0, tmp=&hdr->ifd; | ^~~~~~~~~ file_tiff_be.c: In function 'header_check_tiff_be': file_tiff_be.c:281:29: warning: cast increases required alignment of target type [-Wcast-align] 281 | const TIFFDirEntry *entry=(const TIFFDirEntry *)&buffer[2]; | ^ file_tiff_be.c:358:19: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'const long long unsigned int'} and 'int' [-Wsign-compare] 358 | if(new_offset==-1) | ^~ file_tiff_be.c:367:19: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'const long long unsigned int'} and 'int' [-Wsign-compare] 367 | if(new_offset==-1) | ^~ file_tiff_be.c:411:21: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'const long long unsigned int'} and 'int' [-Wsign-compare] 411 | if(new_offset==-1) | ^~ file_tiff_be.c:454:11: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'const long long unsigned int'} and 'int' [-Wsign-compare] 454 | if(tmp==-1) | ^~ file_tiff_be.c:462:11: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'const long long unsigned int'} and 'int' [-Wsign-compare] 462 | if(tmp==-1) | ^~ file_tiff_be.c:471:19: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'const long long unsigned int'} and 'int' [-Wsign-compare] 471 | if(new_offset != -1 && max_offset < new_offset) | ^~ file_tiff_be.c: In function 'header_check_tiff_be_new': file_tiff_be.c:480:28: warning: cast increases required alignment of target type [-Wcast-align] 480 | const TIFFHeader *header=(const TIFFHeader *)buffer; | ^ file_tiff_be.c:477:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 477 | int header_check_tiff_be_new(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tiff_le.o file_tiff_le.c In file included from file_tiff_le.c:38: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from file_tiff_le.c:39: file_tiff.h:67:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 67 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_tiff_le.c: In function 'find_tag_from_tiff_header_le_aux': file_tiff_le.c:55:16: warning: taking address of packed member of 'struct ifd_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 55 | for(i=0, tmp=&hdr->ifd; | ^~~~~~~~~ file_tiff_le.c: In function 'header_check_tiff_le': file_tiff_le.c:282:29: warning: cast increases required alignment of target type [-Wcast-align] 282 | const TIFFDirEntry *entry=(const TIFFDirEntry *)&buffer[2]; | ^ file_tiff_le.c:359:19: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'const long long unsigned int'} and 'int' [-Wsign-compare] 359 | if(new_offset==-1) | ^~ file_tiff_le.c:375:19: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'const long long unsigned int'} and 'int' [-Wsign-compare] 375 | if(new_offset==-1) | ^~ file_tiff_le.c:419:21: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'const long long unsigned int'} and 'int' [-Wsign-compare] 419 | if(new_offset==-1) | ^~ file_tiff_le.c:462:11: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'const long long unsigned int'} and 'int' [-Wsign-compare] 462 | if(tmp==-1) | ^~ file_tiff_le.c:470:11: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'const long long unsigned int'} and 'int' [-Wsign-compare] 470 | if(tmp==-1) | ^~ file_tiff_le.c:479:19: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'const long long unsigned int'} and 'int' [-Wsign-compare] 479 | if(new_offset != -1 && max_offset < new_offset) | ^~ file_tiff_le.c: In function 'header_check_tiff_le_new': file_tiff_le.c:489:28: warning: cast increases required alignment of target type [-Wcast-align] 489 | const TIFFHeader *header=(const TIFFHeader *)buffer; | ^ file_tiff_le.c:485:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 485 | int header_check_tiff_le_new(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tivo.o file_tivo.c file_tivo.c: In function 'header_check_tivo': file_tivo.c:52:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_tivo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_tivo.c:52:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_tivo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_tivo.c:52:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_tivo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_torrent.o file_torrent.c file_torrent.c: In function 'header_check_torrent': file_torrent.c:44:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_torrent(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_torrent.c:44:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_torrent(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_torrent.c:44:154: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_torrent(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tph.o file_tph.c file_tph.c: In function 'header_check_tph': file_tph.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | static int header_check_tph(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_tph.c:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | static int header_check_tph(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_tph.c:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | static int header_check_tph(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tpl.o file_tpl.c file_tpl.c: In function 'header_check_tpl': file_tpl.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_tpl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_tpl.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_tpl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_tpl.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_tpl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_tpl.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_tpl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ttf.o file_ttf.c In file included from file_ttf.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ttf.c: In function 'header_check_ttf': file_ttf.c:76:38: warning: cast increases required alignment of target type [-Wcast-align] 76 | const struct ttf_offset_table *ttf=(const struct ttf_offset_table *)buffer; | ^ file_ttf.c:74:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 74 | static int header_check_ttf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ttf.c:74:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 74 | static int header_check_ttf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_txt.o file_txt.c In file included from file_txt.c:38: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_txt.c: In function 'header_check_ttd': file_txt.c:531:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 531 | static int header_check_ttd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_txt.c:531:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 531 | static int header_check_ttd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_txt.c:531:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 531 | static int header_check_ttd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_txt.c: In function 'header_check_ers': file_txt.c:548:50: warning: unused parameter 'buffer' [-Wunused-parameter] 548 | static int header_check_ers(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_txt.c:548:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 548 | static int header_check_ers(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_txt.c:548:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 548 | static int header_check_ers(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_txt.c:548:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 548 | static int header_check_ers(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_txt.c: In function 'header_check_ics': file_txt.c:558:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 558 | static int header_check_ics(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_txt.c:558:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 558 | static int header_check_ics(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_txt.c: In function 'header_check_perlm': file_txt.c:587:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 587 | static int header_check_perlm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_txt.c:587:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 587 | static int header_check_perlm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_txt.c: In function 'header_check_dc': file_txt.c:616:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 616 | static int header_check_dc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_txt.c:616:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 616 | static int header_check_dc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_txt.c:616:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 616 | static int header_check_dc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_txt.c: In function 'header_check_html': file_txt.c:702:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 702 | static int header_check_html(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_txt.c:702:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 702 | static int header_check_html(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_txt.c: In function 'header_check_vbm': file_txt.c:729:50: warning: unused parameter 'buffer' [-Wunused-parameter] 729 | static int header_check_vbm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_txt.c:729:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 729 | static int header_check_vbm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_txt.c:729:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 729 | static int header_check_vbm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_txt.c:729:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 729 | static int header_check_vbm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_txt.c: In function 'header_check_xml_utf8': file_txt.c:772:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 772 | static int header_check_xml_utf8(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_txt.c:772:155: warning: unused parameter 'file_recovery' [-Wunused-parameter] 772 | static int header_check_xml_utf8(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_txt.c: In function 'header_check_xml_utf16': file_txt.c:802:56: warning: unused parameter 'buffer' [-Wunused-parameter] 802 | static int header_check_xml_utf16(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_txt.c:802:83: warning: unused parameter 'buffer_size' [-Wunused-parameter] 802 | static int header_check_xml_utf16(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_txt.c:802:115: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 802 | static int header_check_xml_utf16(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_txt.c: In function 'header_check_xml': file_txt.c:813:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 813 | static int header_check_xml(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_txt.c:813:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 813 | static int header_check_xml(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_txt.c: In function 'header_check_rtf': file_txt.c:912:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 912 | static int header_check_rtf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_txt.c:912:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 912 | static int header_check_rtf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_txt.c: In function 'header_check_xmp': file_txt.c:930:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 930 | static int header_check_xmp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_txt.c:930:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 930 | static int header_check_xmp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_txt.c: In function 'header_check_thunderbird': file_txt.c:957:85: warning: unused parameter 'buffer_size' [-Wunused-parameter] 957 | static int header_check_thunderbird(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_txt.c:957:117: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 957 | static int header_check_thunderbird(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_txt.c: In function 'header_check_mbox': file_txt.c:974:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 974 | static int header_check_mbox(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_txt.c:974:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 974 | static int header_check_mbox(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_txt.c: In function 'header_check_fasttxt': file_txt.c:1000:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] 1000 | static int header_check_fasttxt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_txt.c:1000:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 1000 | static int header_check_fasttxt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_txt.c:1000:154: warning: unused parameter 'file_recovery' [-Wunused-parameter] 1000 | static int header_check_fasttxt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_txt.c: In function 'header_check_smil': file_txt.c:1433:51: warning: unused parameter 'buffer' [-Wunused-parameter] 1433 | static int header_check_smil(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_txt.c:1433:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 1433 | static int header_check_smil(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_txt.c:1433:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 1433 | static int header_check_smil(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_txt.c:1433:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 1433 | static int header_check_smil(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_txt.c: In function 'header_check_stl': file_txt.c:1444:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 1444 | static int header_check_stl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_txt.c:1444:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 1444 | static int header_check_stl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_txt.c: In function 'header_check_svg': file_txt.c:1458:50: warning: unused parameter 'buffer' [-Wunused-parameter] 1458 | static int header_check_svg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_txt.c:1458:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 1458 | static int header_check_svg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_txt.c:1458:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 1458 | static int header_check_svg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_txt.c:1458:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 1458 | static int header_check_svg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_txt.c: In function 'header_check_snz': file_txt.c:1467:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 1467 | static int header_check_snz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_txt.c:1467:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 1467 | static int header_check_snz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tz.o file_tz.c In file included from file_tz.c:34: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_tz.c: In function 'header_check_tz': file_tz.c:48:49: warning: unused parameter 'buffer' [-Wunused-parameter] 48 | static int header_check_tz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_tz.c:48:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 48 | static int header_check_tz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_tz.c:48:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 48 | static int header_check_tz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_tz.c:48:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 48 | static int header_check_tz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_v2i.o file_v2i.c file_v2i.c: In function 'header_check_v2i': file_v2i.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_v2i(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_v2i.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_v2i(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_v2i.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_v2i(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_vault.o file_vault.c file_vault.c: In function 'header_check_vault': file_vault.c:67:52: warning: unused parameter 'buffer' [-Wunused-parameter] 67 | static int header_check_vault(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_vault.c:67:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 67 | static int header_check_vault(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_vault.c:67:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 67 | static int header_check_vault(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_vault.c:67:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 67 | static int header_check_vault(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_vdi.o file_vdi.c In file included from file_vdi.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_vdi.c: In function 'header_check_vdi': file_vdi.c:83:27: warning: cast increases required alignment of target type [-Wcast-align] 83 | const VdiHeader *header=(const VdiHeader *)buffer; | ^ file_vdi.c:81:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 81 | static int header_check_vdi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_vdi.c:81:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 81 | static int header_check_vdi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_vdi.c:81:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 81 | static int header_check_vdi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_vdj.o file_vdj.c file_vdj.c: In function 'header_check_vdj': file_vdj.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_vdj(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_vdj.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_vdj(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_vdj.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_vdj(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_vdj.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_vdj(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_veg.o file_veg.c file_veg.c: In function 'header_check_veg': file_veg.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_veg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_veg.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_veg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_veg.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_veg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_vfb.o file_vfb.c file_vfb.c: In function 'header_check_vfb': file_vfb.c:53:50: warning: unused parameter 'buffer' [-Wunused-parameter] 53 | static int header_check_vfb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_vfb.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 53 | static int header_check_vfb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_vfb.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 53 | static int header_check_vfb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_vfb.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 53 | static int header_check_vfb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_vib.o file_vib.c file_vib.c: In function 'header_check_vib': file_vib.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_vib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_vib.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_vib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_vib.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_vib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_vib.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_vib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_vmdk.o file_vmdk.c In file included from file_vmdk.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_vmdk.c:74:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 74 | } __attribute__((gcc_struct,__packed__)) VMDK4Header; | ^ file_vmdk.c: In function 'header_check_vmdk3': file_vmdk.c:78:26: warning: cast increases required alignment of target type [-Wcast-align] 78 | const VMDK3Header *hdr=(const VMDK3Header *)buffer; | ^ file_vmdk.c:76:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 76 | static int header_check_vmdk3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_vmdk.c:76:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 76 | static int header_check_vmdk3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_vmdk.c:76:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 76 | static int header_check_vmdk3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_vmdk.c: In function 'header_check_vmdk4': file_vmdk.c:92:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 92 | static int header_check_vmdk4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_vmdk.c:92:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 92 | static int header_check_vmdk4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_vmdk.c:92:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 92 | static int header_check_vmdk4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_vmg.o file_vmg.c file_vmg.c: In function 'header_check_vmg': file_vmg.c:54:50: warning: unused parameter 'buffer' [-Wunused-parameter] 54 | static int header_check_vmg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_vmg.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 54 | static int header_check_vmg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_vmg.c:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 54 | static int header_check_vmg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_vmg.c:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 54 | static int header_check_vmg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wallet.o file_wallet.c file_wallet.c: In function 'header_check_wallet': file_wallet.c:44:53: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_wallet(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_wallet.c:44:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_wallet(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_wallet.c:44:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_wallet(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_wallet.c:44:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_wallet(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wdp.o file_wdp.c In file included from file_wdp.c:32: file_tiff.h:67:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 67 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from file_wdp.c:33: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_wdp.c: In function 'header_check_wdp': file_wdp.c:49:28: warning: cast increases required alignment of target type [-Wcast-align] 49 | const TIFFHeader *header=(const TIFFHeader *)buffer; | ^ file_wdp.c:54:53: warning: cast increases required alignment of target type [-Wcast-align] 54 | file_recovery_new->time=get_date_from_tiff_header((const TIFFHeader *)buffer, buffer_size); | ^ file_wdp.c:47:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 47 | static int header_check_wdp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_wdp.c:47:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 47 | static int header_check_wdp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wee.o file_wee.c file_wee.c: In function 'header_check_wee': file_wee.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 52 | static int header_check_wee(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_wee.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 52 | static int header_check_wee(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_wee.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 52 | static int header_check_wee(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wim.o file_wim.c In file included from file_wim.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_wim.c:55:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 55 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_wim.c:76:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 76 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_wim.c: In function 'header_check_wim': file_wim.c:78:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 78 | static int header_check_wim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_wim.c:78:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 78 | static int header_check_wim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_wim.c:78:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 78 | static int header_check_wim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_win.o file_win.c In file included from file_win.c:36: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_win.c: In function 'header_check_win': file_win.c:69:50: warning: unused parameter 'buffer' [-Wunused-parameter] 69 | static int header_check_win(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_win.c:69:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 69 | static int header_check_win(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_win.c:69:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 69 | static int header_check_win(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_win.c:69:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 69 | static int header_check_win(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wks.o file_wks.c file_wks.c: In function 'header_check_wk4': file_wks.c:55:50: warning: unused parameter 'buffer' [-Wunused-parameter] 55 | static int header_check_wk4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_wks.c:55:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 55 | static int header_check_wk4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_wks.c:55:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 55 | static int header_check_wk4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_wks.c:55:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 55 | static int header_check_wk4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_wks.c: In function 'header_check_wks': file_wks.c:62:50: warning: unused parameter 'buffer' [-Wunused-parameter] 62 | static int header_check_wks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_wks.c:62:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 62 | static int header_check_wks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_wks.c:62:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 62 | static int header_check_wks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_wks.c:62:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 62 | static int header_check_wks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wld.o file_wld.c In file included from file_wld.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_wld.c: In function 'header_check_wld': file_wld.c:66:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 66 | static int header_check_wld(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_wld.c:66:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 66 | static int header_check_wld(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_wld.c:66:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 66 | static int header_check_wld(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wmf.o file_wmf.c In file included from file_wmf.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_wmf.c:56:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 56 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_wmf.c: In function 'header_check_wmf': file_wmf.c:58:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 58 | static int header_check_wmf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_wmf.c:58:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 58 | static int header_check_wmf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_wmf.c:58:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 58 | static int header_check_wmf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_wmf.c: In function 'header_check_other_wmf': file_wmf.c:73:83: warning: unused parameter 'buffer_size' [-Wunused-parameter] 73 | static int header_check_other_wmf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_wmf.c:73:115: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 73 | static int header_check_other_wmf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_wmf.c:73:156: warning: unused parameter 'file_recovery' [-Wunused-parameter] 73 | static int header_check_other_wmf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wnk.o file_wnk.c file_wnk.c: In function 'header_check_wnk': file_wnk.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_wnk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_wnk.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_wnk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_wnk.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_wnk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_wnk.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_wnk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_woff.o file_woff.c In file included from file_woff.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_woff.c:60:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 60 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_woff.c: In function 'header_check_woff': file_woff.c:62:78: warning: unused parameter 'buffer_size' [-Wunused-parameter] 62 | static int header_check_woff(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_woff.c:62:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 62 | static int header_check_woff(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_woff.c:62:151: warning: unused parameter 'file_recovery' [-Wunused-parameter] 62 | static int header_check_woff(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wpb.o file_wpb.c file_wpb.c: In function 'header_check_wpb': file_wpb.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_wpb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_wpb.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_wpb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_wpb.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_wpb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_wpb.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_wpb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wpd.o file_wpd.c In file included from file_wpd.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_wpd.c:58:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 58 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_wpd.c: In function 'header_check_wpd': file_wpd.c:60:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 60 | static int header_check_wpd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_wpd.c:60:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 60 | static int header_check_wpd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_wpd.c:60:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 60 | static int header_check_wpd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wtv.o file_wtv.c In file included from file_wtv.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_wtv.c: In function 'header_check_wtv': file_wtv.c:49:24: warning: cast increases required alignment of target type [-Wcast-align] 49 | const uint32_t *size=(const uint32_t *)(&buffer[0x5c]); | ^ file_wtv.c:47:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 47 | static int header_check_wtv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_wtv.c:47:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 47 | static int header_check_wtv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wv.o file_wv.c In file included from file_wv.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_wv.c: In function 'header_check_wv': file_wv.c:68:27: warning: cast increases required alignment of target type [-Wcast-align] 68 | const WavpackHeader *wv=(const WavpackHeader*)buffer; | ^ file_wv.c:66:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 66 | static int header_check_wv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_wv.c:66:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 66 | static int header_check_wv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_wv.c:66:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 66 | static int header_check_wv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_wv.c: In function 'data_check_wv': file_wv.c:89:29: warning: cast increases required alignment of target type [-Wcast-align] 89 | const WavpackHeader *wv=(const WavpackHeader*)&buffer[i]; | ^ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_x3f.o file_x3f.c In file included from file_x3f.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_x3f.c:57:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 57 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_x3f.c: In function 'header_check_x3f': file_x3f.c:59:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 59 | static int header_check_x3f(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_x3i.o file_x3i.c file_x3i.c: In function 'header_check_x3i': file_x3i.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_x3i(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_x3i.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_x3i(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_x3i.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_x3i(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_x3i.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_x3i(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_x4a.o file_x4a.c In file included from file_x4a.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_x4a.c:49:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 49 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_x4a.c: In function 'header_check_ysfc100': file_x4a.c:77:81: warning: unused parameter 'buffer_size' [-Wunused-parameter] 77 | static int header_check_ysfc100(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_x4a.c:77:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 77 | static int header_check_ysfc100(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_x4a.c:77:154: warning: unused parameter 'file_recovery' [-Wunused-parameter] 77 | static int header_check_ysfc100(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_xar.o file_xar.c In file included from file_xar.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_xar.c: In function 'header_check_xar': file_xar.c:60:32: warning: cast increases required alignment of target type [-Wcast-align] 60 | const struct xar_header *hdr=(const struct xar_header *)buffer; | ^ file_xar.c:58:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 58 | static int header_check_xar(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_xar.c:58:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 58 | static int header_check_xar(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_xar.c:58:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 58 | static int header_check_xar(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_xcf.o file_xcf.c In file included from file_xcf.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_xcf.c:55:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 55 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_xcf.c: In function 'header_check_xcf': file_xcf.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 57 | static int header_check_xcf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_xcf.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 57 | static int header_check_xcf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_xcf.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 57 | static int header_check_xcf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_xfi.o file_xfi.c file_xfi.c: In function 'header_check_xfi': file_xfi.c:44:50: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_xfi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_xfi.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_xfi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_xfi.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_xfi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_xfi.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_xfi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_xfs.o file_xfs.c In file included from file_xfs.c:31: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from file_xfs.c:32: xfs.h:108:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 108 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_xfs.c: In function 'header_check_xfs_sb': file_xfs.c:47:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 47 | static int header_check_xfs_sb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_xfs.c:47:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 47 | static int header_check_xfs_sb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_xfs.c:47:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 47 | static int header_check_xfs_sb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_xfs.c: In function 'data_check_stopasap': file_xfs.c:63:62: warning: unused parameter 'buffer' [-Wunused-parameter] 63 | static data_check_t data_check_stopasap(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_xfs.c:63:89: warning: unused parameter 'buffer_size' [-Wunused-parameter] 63 | static data_check_t data_check_stopasap(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_xfs.c:63:119: warning: unused parameter 'file_recovery' [-Wunused-parameter] 63 | static data_check_t data_check_stopasap(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_xfs.c: In function 'header_save_xfs': file_xfs.c:68:49: warning: unused parameter 'buffer' [-Wunused-parameter] 68 | static int header_save_xfs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_xfs.c:68:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 68 | static int header_save_xfs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_xfs.c:68:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 68 | static int header_save_xfs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_xfs.c: In function 'header_check_xfs_inode': file_xfs.c:120:34: warning: cast increases required alignment of target type [-Wcast-align] 120 | const xfs_dinode_core_t *inode=(const xfs_dinode_core_t *)buffer; | ^ file_xfs.c:118:83: warning: unused parameter 'buffer_size' [-Wunused-parameter] 118 | static int header_check_xfs_inode(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_xfs.c:118:156: warning: unused parameter 'file_recovery' [-Wunused-parameter] 118 | static int header_check_xfs_inode(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_xm.o file_xm.c In file included from file_xm.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_xm.c: In function 'header_check_xm': file_xm.c:181:49: warning: unused parameter 'buffer' [-Wunused-parameter] 181 | static int header_check_xm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_xm.c:181:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 181 | static int header_check_xm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_xm.c:181:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 181 | static int header_check_xm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_xm.c:181:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 181 | static int header_check_xm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_xml.o file_xml.c file_xml.c: In function 'header_check_xml': file_xml.c:81:50: warning: unused parameter 'buffer' [-Wunused-parameter] 81 | static int header_check_xml(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_xml.c:81:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 81 | static int header_check_xml(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_xml.c:81:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 81 | static int header_check_xml(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_xml.c:81:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 81 | static int header_check_xml(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_xsv.o file_xsv.c file_xsv.c: In function 'header_check_xsv': file_xsv.c:46:50: warning: unused parameter 'buffer' [-Wunused-parameter] 46 | static int header_check_xsv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_xsv.c:46:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 46 | static int header_check_xsv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_xsv.c:46:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | static int header_check_xsv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_xsv.c:46:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 46 | static int header_check_xsv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_xpt.o file_xpt.c In file included from file_xpt.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_xpt.c:54:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 54 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_xpt.c: In function 'header_check_xpt': file_xpt.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 56 | static int header_check_xpt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_xpt.c:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 56 | static int header_check_xpt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_xpt.c:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 56 | static int header_check_xpt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_xv.o file_xv.c In file included from file_xv.c:32: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_xv.c: In function 'header_check_xv': file_xv.c:47:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 47 | static int header_check_xv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_xv.c:47:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 47 | static int header_check_xv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_xv.c:47:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 47 | static int header_check_xv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_xz.o file_xz.c file_xz.c: In function 'header_check_xz': file_xz.c:50:49: warning: unused parameter 'buffer' [-Wunused-parameter] 50 | static int header_check_xz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_xz.c:50:76: warning: unused parameter 'buffer_size' [-Wunused-parameter] 50 | static int header_check_xz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_xz.c:50:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 50 | static int header_check_xz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_xz.c:50:149: warning: unused parameter 'file_recovery' [-Wunused-parameter] 50 | static int header_check_xz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_z2d.o file_z2d.c file_z2d.c: In function 'header_check_z2d': file_z2d.c:46:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 46 | static int header_check_z2d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_z2d.c:46:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 46 | static int header_check_z2d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_z2d.c:46:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 46 | static int header_check_z2d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_zcode.o file_zcode.c file_zcode.c: In function 'header_check_zcode': file_zcode.c:44:52: warning: unused parameter 'buffer' [-Wunused-parameter] 44 | static int header_check_zcode(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_zcode.c:44:79: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_zcode(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_zcode.c:44:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_zcode(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_zcode.c:44:152: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_zcode(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_zip.o file_zip.c In file included from file_zip.c:40: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_zip.c:94:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 94 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_zip.c:104:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 104 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_zip.c: In function 'zip_parse_central_dir': file_zip.c:403:3: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 403 | } __attribute__ ((gcc_struct, __packed__)) dir; | ^ file_zip.c: In function 'zip64_parse_end_central_dir': file_zip.c:462:3: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 462 | } __attribute__ ((gcc_struct, __packed__)) dir; | ^ file_zip.c: In function 'zip_parse_end_central_dir': file_zip.c:505:3: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 505 | } __attribute__ ((gcc_struct, __packed__)) dir; | ^ file_zip.c: In function 'zip_parse_data_desc': file_zip.c:540:3: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 540 | } __attribute__ ((gcc_struct, __packed__)) desc; | ^ file_zip.c: In function 'zip64_parse_end_central_dir_locator': file_zip.c:597:3: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 597 | } __attribute__ ((gcc_struct, __packed__)) loc; | ^ file_zip.c: In function 'header_check_winzip': file_zip.c:882:53: warning: unused parameter 'buffer' [-Wunused-parameter] 882 | static int header_check_winzip(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_zip.c:882:80: warning: unused parameter 'buffer_size' [-Wunused-parameter] 882 | static int header_check_winzip(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_zip.c:882:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 882 | static int header_check_winzip(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_zip.c:882:153: warning: unused parameter 'file_recovery' [-Wunused-parameter] 882 | static int header_check_winzip(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_zpr.o file_zpr.c file_zpr.c: In function 'header_check_zpr': file_zpr.c:44:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] 44 | static int header_check_zpr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_zpr.c:44:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] 44 | static int header_check_zpr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_zpr.c:44:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] 44 | static int header_check_zpr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o partgptro.o partgptro.c In file included from partgptro.c:29: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partgptro.c:30: partgpt.h:47:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 47 | } __attribute__ ((gcc_struct, __packed__)); | ^ partgptro.c: In function 'write_part_gpt': partgptro.c:32:28: warning: unused parameter 'disk_car' [-Wunused-parameter] 32 | int write_part_gpt(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~^~~~~~~~ partgptro.c:32:57: warning: unused parameter 'list_part' [-Wunused-parameter] 32 | int write_part_gpt(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ partgptro.c:32:92: warning: unused parameter 'verbose' [-Wunused-parameter] 32 | int write_part_gpt(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~^~~~~~~ arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o suspend_no.o suspend_no.c suspend_no.c: In function 'suspend_memory': suspend_no.c:14:34: warning: unused parameter 'cinfo' [-Wunused-parameter] 14 | void suspend_memory(j_common_ptr cinfo) { | ~~~~~~~~~~~~~^~~~~ suspend_no.c: In function 'resume_memory': suspend_no.c:17:32: warning: unused parameter 'cinfo' [-Wunused-parameter] 17 | int resume_memory(j_common_ptr cinfo) | ~~~~~~~~~~~~~^~~~~ arm-linux-gnueabihf-gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -Wl,-z,relro -o photorec phmain.o photorec.o phcfg.o addpart.o chgarch.o dir.o exfatp.o ext2grp.o ext2_dir.o ext2p.o fat_dir.o fatp.o file_found.o geometry.o ntfs_dir.o ntfsp.o pdisksel.o phcli.o poptions.o sessionp.o setdate.o dfxml.o addpartn.o askloc.o chgarchn.o chgtype.o chgtypen.o fat_cluster.o fat_unformat.o geometryn.o hiddenn.o intrfn.o nodisk.o parti386n.o partgptn.o partmacn.o partsunn.o partxboxn.o pbanner.o pblocksize.o pdiskseln.o pfree_whole.o phbf.o phbs.o phnc.o phrecn.o ppartseln.o psearchn.o filegen.o file_list.o file_1cd.o file_3dm.o file_7z.o file_DB.o file_a.o file_ab.o file_abr.o file_acb.o file_ace.o file_ado.o file_afdesign.o file_ahn.o file_aif.o file_all.o file_als.o file_amd.o file_amr.o file_apa.o file_ape.o file_apple.o file_ari.o file_arj.o file_asf.o file_asl.o file_asm.o file_atd.o file_au.o file_axp.o file_axx.o file_bac.o file_bdm.o file_berkeley.o file_bim.o file_bin.o file_binvox.o file_bkf.o file_bld.o file_bmp.o file_bpg.o file_bvr.o file_bz2.o file_c4d.o file_cab.o file_caf.o file_cam.o file_catdrawing.o file_cdt.o file_che.o file_chm.o file_class.o file_cm.o file_compress.o file_cow.o file_cpi.o file_crw.o file_csh.o file_ctg.o file_cwk.o file_d2s.o file_dad.o file_dar.o file_dat.o file_dbf.o file_dbn.o file_dcm.o file_ddf.o file_dex.o file_dim.o file_dir.o file_djv.o file_dmp.o file_doc.o file_dpx.o file_drw.o file_ds2.o file_ds_store.o file_dsc.o file_dss.o file_dst.o file_dta.o file_dump.o file_dv.o file_dvi.o file_dvr.o file_dwg.o file_dxf.o file_e01.o file_edb.o file_ecryptfs.o file_elf.o file_emf.o file_ess.o file_evt.o file_evtx.o file_exe.o file_exs.o file_ext.o file_ext2.o file_fat.o file_fbf.o file_fbk.o file_fcp.o file_fcs.o file_fdb.o file_fds.o file_fh10.o file_fh5.o file_filevault.o file_fits.o file_fit.o file_flac.o file_flp.o file_flv.o file_fm.o file_fob.o file_fos.o file_fp5.o file_fp7.o file_freeway.o file_frm.o file_fs.o file_fwd.o file_gam.o file_gct.o file_gho.o file_gi.o file_gif.o file_gm6.o file_gp2.o file_gp5.o file_gpg.o file_gpx.o file_gsm.o file_gz.o file_hdf.o file_hdr.o file_hds.o file_hfsp.o file_hm.o file_hr9.o file_http.o file_ibd.o file_icc.o file_icns.o file_ico.o file_ifo.o file_idx.o file_imb.o file_indd.o file_info.o file_iso.o file_it.o file_itu.o file_jks.o file_jpg.o file_jsonlz4.o file_kdb.o file_kdbx.o file_key.o file_ldf.o file_lit.o file_lnk.o file_logic.o file_lso.o file_luks.o file_lxo.o file_lzh.o file_lzo.o file_m2ts.o file_mat.o file_max.o file_mb.o file_mcd.o file_mdb.o file_mdf.o file_mfa.o file_mfg.o file_mft.o file_mid.o file_mig.o file_mk5.o file_mkv.o file_mlv.o file_mobi.o file_mov.o file_mp3.o file_mpg.o file_mpl.o file_mrw.o file_msa.o file_mus.o file_mxf.o file_myo.o file_mysql.o file_nd2.o file_nds.o file_nes.o file_njx.o file_nk2.o file_nsf.o file_oci.o file_ogg.o file_one.o file_orf.o file_paf.o file_pap.o file_par2.o file_pcap.o file_pcb.o file_pct.o file_pcx.o file_pdb.o file_pdf.o file_pds.o file_pf.o file_pfx.o file_pgdump.o file_plist.o file_plr.o file_plt.o file_png.o file_pnm.o file_prc.o file_prd.o file_prt.o file_ps.o file_psb.o file_psd.o file_psf.o file_psp.o file_pst.o file_ptb.o file_ptf.o file_pyc.o file_pzf.o file_pzh.o file_qbb.o file_qdf.o file_qkt.o file_qxd.o file_r3d.o file_ra.o file_raf.o file_rar.o file_raw.o file_rdc.o file_reg.o file_res.o file_rfp.o file_riff.o file_rlv.o file_rm.o file_rns.o file_rpm.o file_rw2.o file_rx2.o file_save.o file_ses.o file_sgcta.o file_shn.o file_sib.o file_sig.o file_sit.o file_skd.o file_skp.o file_snag.o file_sp3.o file_spe.o file_spf.o file_spss.o file_sql.o file_sqm.o file_steuer2014.o file_stl.o file_stu.o file_studio.o file_swf.o file_tar.o file_tax.o file_tg.o file_tib.o file_tiff.o file_tiff_be.o file_tiff_le.o file_tivo.o file_torrent.o file_tph.o file_tpl.o file_ttf.o file_txt.o file_tz.o file_v2i.o file_vault.o file_vdi.o file_vdj.o file_veg.o file_vfb.o file_vib.o file_vmdk.o file_vmg.o file_wallet.o file_wdp.o file_wee.o file_wim.o file_win.o file_wks.o file_wld.o file_wmf.o file_wnk.o file_woff.o file_wpb.o file_wpd.o file_wtv.o file_wv.o file_x3f.o file_x3i.o file_x4a.o file_xar.o file_xcf.o file_xfi.o file_xfs.o file_xm.o file_xml.o file_xsv.o file_xpt.o file_xv.o file_xz.o file_z2d.o file_zcode.o file_zip.o file_zpr.o autoset.o common.o crc.o ewf.o fnctdsk.o hdaccess.o hdcache.o hdwin32.o hidden.o hpa_dco.o intrf.o iso.o list_sort.o log.o log_part.o misc.o msdos.o parti386.o partgpt.o parthumax.o partmac.o partsun.o partnone.o partxbox.o io_redir.o ntfs_io.o ntfs_utl.o partauto.o sudo.o unicode.o win32.o partgptro.o analyse.o bfs.o bsd.o btrfs.o cramfs.o exfat.o ext2.o ext2_common.o fat.o fat_common.o fatx.o f2fs.o jfs.o gfs2.o hfs.o hfsp.o hpfs.o luks.o lvm.o md.o netware.o ntfs.o refs.o rfs.o savehdr.o sun.o swap.o sysv.o ufs.o vmfs.o wbfs.o xfs.o zfs.o suspend_no.o -lncursesw -ltinfo -ljpeg -lz -luuid -lntfs-3g -lext2fs -lcom_err arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o fidentify.o fidentify.c In file included from fidentify.c:48: common.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from filegen.h:28, from fidentify.c:49: fidentify.c: In function 'file_identify': list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align] 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ fidentify.c:92:31: note: in expansion of macro 'td_list_entry_const' 92 | 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] 235 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ fidentify.c:95:35: note: in expansion of macro 'td_list_entry_const' 95 | const file_check_t *file_check=td_list_entry_const(tmp, const file_check_t, list); | ^~~~~~~~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -Wl,-z,relro -o fidentify fidentify.o common.o misc.o phcfg.o setdate.o filegen.o file_list.o file_1cd.o file_3dm.o file_7z.o file_DB.o file_a.o file_ab.o file_abr.o file_acb.o file_ace.o file_ado.o file_afdesign.o file_ahn.o file_aif.o file_all.o file_als.o file_amd.o file_amr.o file_apa.o file_ape.o file_apple.o file_ari.o file_arj.o file_asf.o file_asl.o file_asm.o file_atd.o file_au.o file_axp.o file_axx.o file_bac.o file_bdm.o file_berkeley.o file_bim.o file_bin.o file_binvox.o file_bkf.o file_bld.o file_bmp.o file_bpg.o file_bvr.o file_bz2.o file_c4d.o file_cab.o file_caf.o file_cam.o file_catdrawing.o file_cdt.o file_che.o file_chm.o file_class.o file_cm.o file_compress.o file_cow.o file_cpi.o file_crw.o file_csh.o file_ctg.o file_cwk.o file_d2s.o file_dad.o file_dar.o file_dat.o file_dbf.o file_dbn.o file_dcm.o file_ddf.o file_dex.o file_dim.o file_dir.o file_djv.o file_dmp.o file_doc.o file_dpx.o file_drw.o file_ds2.o file_ds_store.o file_dsc.o file_dss.o file_dst.o file_dta.o file_dump.o file_dv.o file_dvi.o file_dvr.o file_dwg.o file_dxf.o file_e01.o file_edb.o file_ecryptfs.o file_elf.o file_emf.o file_ess.o file_evt.o file_evtx.o file_exe.o file_exs.o file_ext.o file_ext2.o file_fat.o file_fbf.o file_fbk.o file_fcp.o file_fcs.o file_fdb.o file_fds.o file_fh10.o file_fh5.o file_filevault.o file_fits.o file_fit.o file_flac.o file_flp.o file_flv.o file_fm.o file_fob.o file_fos.o file_fp5.o file_fp7.o file_freeway.o file_frm.o file_fs.o file_fwd.o file_gam.o file_gct.o file_gho.o file_gi.o file_gif.o file_gm6.o file_gp2.o file_gp5.o file_gpg.o file_gpx.o file_gsm.o file_gz.o file_hdf.o file_hdr.o file_hds.o file_hfsp.o file_hm.o file_hr9.o file_http.o file_ibd.o file_icc.o file_icns.o file_ico.o file_ifo.o file_idx.o file_imb.o file_indd.o file_info.o file_iso.o file_it.o file_itu.o file_jks.o file_jpg.o file_jsonlz4.o file_kdb.o file_kdbx.o file_key.o file_ldf.o file_lit.o file_lnk.o file_logic.o file_lso.o file_luks.o file_lxo.o file_lzh.o file_lzo.o file_m2ts.o file_mat.o file_max.o file_mb.o file_mcd.o file_mdb.o file_mdf.o file_mfa.o file_mfg.o file_mft.o file_mid.o file_mig.o file_mk5.o file_mkv.o file_mlv.o file_mobi.o file_mov.o file_mp3.o file_mpg.o file_mpl.o file_mrw.o file_msa.o file_mus.o file_mxf.o file_myo.o file_mysql.o file_nd2.o file_nds.o file_nes.o file_njx.o file_nk2.o file_nsf.o file_oci.o file_ogg.o file_one.o file_orf.o file_paf.o file_pap.o file_par2.o file_pcap.o file_pcb.o file_pct.o file_pcx.o file_pdb.o file_pdf.o file_pds.o file_pf.o file_pfx.o file_pgdump.o file_plist.o file_plr.o file_plt.o file_png.o file_pnm.o file_prc.o file_prd.o file_prt.o file_ps.o file_psb.o file_psd.o file_psf.o file_psp.o file_pst.o file_ptb.o file_ptf.o file_pyc.o file_pzf.o file_pzh.o file_qbb.o file_qdf.o file_qkt.o file_qxd.o file_r3d.o file_ra.o file_raf.o file_rar.o file_raw.o file_rdc.o file_reg.o file_res.o file_rfp.o file_riff.o file_rlv.o file_rm.o file_rns.o file_rpm.o file_rw2.o file_rx2.o file_save.o file_ses.o file_sgcta.o file_shn.o file_sib.o file_sig.o file_sit.o file_skd.o file_skp.o file_snag.o file_sp3.o file_spe.o file_spf.o file_spss.o file_sql.o file_sqm.o file_steuer2014.o file_stl.o file_stu.o file_studio.o file_swf.o file_tar.o file_tax.o file_tg.o file_tib.o file_tiff.o file_tiff_be.o file_tiff_le.o file_tivo.o file_torrent.o file_tph.o file_tpl.o file_ttf.o file_txt.o file_tz.o file_v2i.o file_vault.o file_vdi.o file_vdj.o file_veg.o file_vfb.o file_vib.o file_vmdk.o file_vmg.o file_wallet.o file_wdp.o file_wee.o file_wim.o file_win.o file_wks.o file_wld.o file_wmf.o file_wnk.o file_woff.o file_wpb.o file_wpd.o file_wtv.o file_wv.o file_x3f.o file_x3i.o file_x4a.o file_xar.o file_xcf.o file_xfi.o file_xfs.o file_xm.o file_xml.o file_xsv.o file_xpt.o file_xv.o file_xz.o file_z2d.o file_zcode.o file_zip.o file_zpr.o log.o crc.o ext2_common.o fat_common.o suspend_no.o -ljpeg -lz -luuid -lntfs-3g -lext2fs -lcom_err 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 fakeroot debian/rules binary-arch dh binary-arch --with autoreconf dh_auto_test -a dh_testroot -a dh_prep -a debian/rules override_dh_auto_install make[1]: Entering directory '/<>' dh_auto_install make -j1 install DESTDIR=/<>/debian/tmp AM_UPDATE_INFO_DIR=no make[2]: Entering directory '/<>' Making install in icons make[3]: Entering directory '/<>/icons' make[4]: Entering directory '/<>/icons' make[4]: Nothing to be done for 'install-exec-am'. make install-data-hook make[5]: Entering directory '/<>/icons' make[5]: Nothing to be done for 'install-data-hook'. make[5]: Leaving directory '/<>/icons' make[4]: Leaving directory '/<>/icons' make[3]: Leaving directory '/<>/icons' Making install in man make[3]: Entering directory '/<>/man' Making install in zh_CN make[4]: Entering directory '/<>/man/zh_CN' make[5]: Entering directory '/<>/man/zh_CN' make[5]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/<>/debian/tmp/usr/share/man/zh_CN/man8' /usr/bin/install -c -m 644 testdisk.8 photorec.8 fidentify.8 '/<>/debian/tmp/usr/share/man/zh_CN/man8' make[5]: Leaving directory '/<>/man/zh_CN' make[4]: Leaving directory '/<>/man/zh_CN' make[4]: Entering directory '/<>/man' make[5]: Entering directory '/<>/man' make[5]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/<>/debian/tmp/usr/share/man/man8' /usr/bin/install -c -m 644 testdisk.8 photorec.8 fidentify.8 '/<>/debian/tmp/usr/share/man/man8' make[5]: Leaving directory '/<>/man' make[4]: Leaving directory '/<>/man' make[3]: Leaving directory '/<>/man' Making install in src make[3]: Entering directory '/<>/src' make[4]: Entering directory '/<>/src' /bin/mkdir -p '/<>/debian/tmp/usr/bin' /usr/bin/install -c testdisk photorec fidentify '/<>/debian/tmp/usr/bin' make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/<>/src' make[3]: Leaving directory '/<>/src' make[3]: Entering directory '/<>' make[4]: Entering directory '/<>' make[4]: Nothing to be done for 'install-exec-am'. make install-data-hook make[5]: Entering directory '/<>' /bin/bash /<>/config/install-sh -d /<>/debian/tmp/usr/share/doc/testdisk /usr/bin/install -c -m 644 ./AUTHORS ./ChangeLog ./NEWS ./README.md ./THANKS ./documentation.html /<>/debian/tmp/usr/share/doc/testdisk make[5]: Leaving directory '/<>' make[4]: Leaving directory '/<>' make[3]: Leaving directory '/<>' make[2]: Leaving directory '/<>' rm -f /<>/debian/tmp/usr/share/doc/testdisk/ChangeLog rm -f /<>/debian/tmp/usr/share/doc/testdisk/COPYING rm -f /<>/debian/tmp/usr/share/doc/testdisk/INSTALL make[1]: Leaving directory '/<>' dh_install -a dh_installdocs -a dh_installchangelogs -a dh_installman -a dh_perl -a dh_link -a dh_strip_nondeterminism -a dh_compress -a dh_fixperms -a dh_missing -a debian/rules override_dh_strip make[1]: Entering directory '/<>' dh_strip --dbg-package=testdisk-dbg make[1]: Leaving directory '/<>' dh_makeshlibs -a dh_shlibdeps -a dh_installdeb -a dh_gencontrol -a dpkg-gencontrol: warning: Depends field of package testdisk-dbg: substitution variable ${shlibs:Depends} used, but is not defined dh_md5sums -a dh_builddeb -a dpkg-deb: building package 'testdisk' in '../testdisk_7.1-5_armhf.deb'. dpkg-deb: building package 'testdisk-dbg' in '../testdisk-dbg_7.1-5_armhf.deb'. dpkg-genbuildinfo --build=any dpkg-genchanges --build=any >../testdisk_7.1-5_armhf.changes dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) -------------------------------------------------------------------------------- Build finished at 2019-08-24T10:42:46Z Finished -------- I: Built successfully +------------------------------------------------------------------------------+ | Post Build Chroot | +------------------------------------------------------------------------------+ lintian ------- Setup apt archive ----------------- Merged Build-Depends: lintian:amd64 Filtered Build-Depends: lintian:amd64 dpkg-deb: building package 'sbuild-build-depends-lintian-dummy' in '/<>/resolver-wpt59Q/apt_archive/sbuild-build-depends-lintian-dummy.deb'. dpkg-scanpackages: warning: Packages in archive but missing from override file: dpkg-scanpackages: warning: sbuild-build-depends-core-dummy sbuild-build-depends-essential-dummy sbuild-build-depends-lintian-dummy sbuild-build-depends-testdisk-dummy dpkg-scanpackages: info: Wrote 4 entries to output Packages file. Ign:1 copy:/<>/resolver-wpt59Q/apt_archive ./ InRelease Get:2 copy:/<>/resolver-wpt59Q/apt_archive ./ Release [963 B] Ign:3 copy:/<>/resolver-wpt59Q/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-wpt59Q/apt_archive ./ Sources [838 B] Get:5 copy:/<>/resolver-wpt59Q/apt_archive ./ Packages [894 B] Fetched 2695 B in 0s (134 kB/s) Reading package lists... Reading package lists... Install lintian build dependencies (apt-based resolver) ------------------------------------------------------- Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: diffstat gpg gpgconf libapt-pkg-perl libassuan0 libb-hooks-op-check-perl libcapture-tiny-perl libcgi-pm-perl libclass-accessor-perl libclass-method-modifiers-perl libclone-perl libdevel-callchecker-perl libdevel-globaldestruction-perl libdigest-hmac-perl libdynaloader-functions-perl libemail-valid-perl libexporter-tiny-perl libfile-basedir-perl libfile-find-rule-perl libfuture-perl libhtml-parser-perl libhtml-tagset-perl libimport-into-perl libio-async-loop-epoll-perl libio-async-perl libio-pty-perl libio-socket-ssl-perl libipc-run-perl libipc-system-simple-perl liblinux-epoll-perl liblist-compare-perl liblist-moreutils-perl libmailtools-perl libmodule-runtime-perl libmoo-perl libnet-dns-perl libnet-domain-tld-perl libnet-ip-perl libnet-smtp-ssl-perl libnet-ssleay-perl libnumber-compare-perl libparams-classify-perl libpath-tiny-perl libreadline8 librole-tiny-perl libsqlite3-0 libssl1.1 libstrictures-perl libstruct-dumb-perl libsub-exporter-progressive-perl libsub-name-perl libsub-quote-perl libtext-glob-perl libtext-levenshtein-perl libtimedate-perl libtry-tiny-perl libtype-tiny-perl liburi-perl libyaml-0-2 libyaml-libyaml-perl lintian netbase patchutils perl-openssl-defaults readline-common t1utils Suggested packages: libdata-dump-perl ca-certificates libscalar-number-perl libbareword-filehandles-perl libindirect-perl libmultidimensional-perl libdevel-lexalias-perl libdevel-stacktrace-perl libwww-perl binutils-multiarch libtext-template-perl readline-doc Recommended packages: gnupg libcgi-fast-perl libhttp-message-perl libasync-mergepoint-perl libsereal-perl libtest-fatal-perl libtest-refcount-perl libclass-xsaccessor-perl libdigest-bubblebabble-perl libnet-dns-sec-perl libnet-libidn-perl libauthen-sasl-perl libunicode-utf8-perl libref-util-perl libtype-tiny-xs-perl libperlio-gzip-perl The following NEW packages will be installed: diffstat gpg gpgconf libapt-pkg-perl libassuan0 libb-hooks-op-check-perl libcapture-tiny-perl libcgi-pm-perl libclass-accessor-perl libclass-method-modifiers-perl libclone-perl libdevel-callchecker-perl libdevel-globaldestruction-perl libdigest-hmac-perl libdynaloader-functions-perl libemail-valid-perl libexporter-tiny-perl libfile-basedir-perl libfile-find-rule-perl libfuture-perl libhtml-parser-perl libhtml-tagset-perl libimport-into-perl libio-async-loop-epoll-perl libio-async-perl libio-pty-perl libio-socket-ssl-perl libipc-run-perl libipc-system-simple-perl liblinux-epoll-perl liblist-compare-perl liblist-moreutils-perl libmailtools-perl libmodule-runtime-perl libmoo-perl libnet-dns-perl libnet-domain-tld-perl libnet-ip-perl libnet-smtp-ssl-perl libnet-ssleay-perl libnumber-compare-perl libparams-classify-perl libpath-tiny-perl libreadline8 librole-tiny-perl libsqlite3-0 libssl1.1 libstrictures-perl libstruct-dumb-perl libsub-exporter-progressive-perl libsub-name-perl libsub-quote-perl libtext-glob-perl libtext-levenshtein-perl libtimedate-perl libtry-tiny-perl libtype-tiny-perl liburi-perl libyaml-0-2 libyaml-libyaml-perl lintian netbase patchutils perl-openssl-defaults readline-common sbuild-build-depends-lintian-dummy:armhf t1utils 0 upgraded, 67 newly installed, 0 to remove and 0 not upgraded. Need to get 8519 kB of archives. After this operation, 23.8 MB of additional disk space will be used. Get:1 copy:/<>/resolver-wpt59Q/apt_archive ./ sbuild-build-depends-lintian-dummy 0.invalid.0 [848 B] Get:2 http://debian.oregonstate.edu/debian unstable/main amd64 readline-common all 8.0-3 [72.5 kB] Get:3 http://debian.oregonstate.edu/debian unstable/main amd64 libreadline8 amd64 8.0-3 [160 kB] Get:4 http://debian.oregonstate.edu/debian unstable/main amd64 netbase all 5.6 [19.4 kB] Get:5 http://debian.oregonstate.edu/debian unstable/main amd64 diffstat amd64 1.62-1+b1 [33.6 kB] Get:6 http://debian.oregonstate.edu/debian unstable/main amd64 libassuan0 amd64 2.5.3-7 [50.4 kB] Get:7 http://debian.oregonstate.edu/debian unstable/main amd64 gpgconf amd64 2.2.17-3 [524 kB] Get:8 http://debian.oregonstate.edu/debian unstable/main amd64 libsqlite3-0 amd64 3.29.0-2 [646 kB] Get:9 http://debian.oregonstate.edu/debian unstable/main amd64 gpg amd64 2.2.17-3 [881 kB] Get:10 http://debian.oregonstate.edu/debian unstable/main amd64 libapt-pkg-perl amd64 0.1.36+b1 [71.2 kB] Get:11 http://debian.oregonstate.edu/debian unstable/main amd64 libb-hooks-op-check-perl amd64 0.22-1+b1 [11.4 kB] Get:12 http://debian.oregonstate.edu/debian unstable/main amd64 libcapture-tiny-perl all 0.48-1 [26.0 kB] Get:13 http://debian.oregonstate.edu/debian unstable/main amd64 libhtml-tagset-perl all 3.20-3 [12.7 kB] Get:14 http://debian.oregonstate.edu/debian unstable/main amd64 liburi-perl all 1.76-1 [89.9 kB] Get:15 http://debian.oregonstate.edu/debian unstable/main amd64 libhtml-parser-perl amd64 3.72-3+b3 [105 kB] Get:16 http://debian.oregonstate.edu/debian unstable/main amd64 libcgi-pm-perl all 4.44-1 [223 kB] Get:17 http://debian.oregonstate.edu/debian unstable/main amd64 libsub-name-perl amd64 0.21-1+b3 [13.6 kB] Get:18 http://debian.oregonstate.edu/debian unstable/main amd64 libclass-accessor-perl all 0.51-1 [23.2 kB] Get:19 http://debian.oregonstate.edu/debian unstable/main amd64 libclass-method-modifiers-perl all 2.13-1 [19.2 kB] Get:20 http://debian.oregonstate.edu/debian unstable/main amd64 libclone-perl amd64 0.41-1+b1 [14.6 kB] Get:21 http://debian.oregonstate.edu/debian unstable/main amd64 libdynaloader-functions-perl all 0.003-1 [12.6 kB] Get:22 http://debian.oregonstate.edu/debian unstable/main amd64 libdevel-callchecker-perl amd64 0.008-1 [15.7 kB] Get:23 http://debian.oregonstate.edu/debian unstable/main amd64 libsub-exporter-progressive-perl all 0.001013-1 [7588 B] Get:24 http://debian.oregonstate.edu/debian unstable/main amd64 libdevel-globaldestruction-perl all 0.14-1 [8084 B] Get:25 http://debian.oregonstate.edu/debian unstable/main amd64 libdigest-hmac-perl all 1.03+dfsg-2 [10.6 kB] Get:26 http://debian.oregonstate.edu/debian unstable/main amd64 libssl1.1 amd64 1.1.1c-1 [1535 kB] Get:27 http://debian.oregonstate.edu/debian unstable/main amd64 perl-openssl-defaults amd64 3 [6782 B] Get:28 http://debian.oregonstate.edu/debian unstable/main amd64 libnet-ssleay-perl amd64 1.88-1 [320 kB] Get:29 http://debian.oregonstate.edu/debian unstable/main amd64 libio-socket-ssl-perl all 2.066-1 [210 kB] Get:30 http://debian.oregonstate.edu/debian unstable/main amd64 libnet-smtp-ssl-perl all 1.04-1 [6184 B] Get:31 http://debian.oregonstate.edu/debian unstable/main amd64 libtimedate-perl all 2.3000-2 [42.2 kB] Get:32 http://debian.oregonstate.edu/debian unstable/main amd64 libmailtools-perl all 2.21-1 [95.5 kB] Get:33 http://debian.oregonstate.edu/debian unstable/main amd64 libnet-ip-perl all 1.26-2 [29.0 kB] Get:34 http://debian.oregonstate.edu/debian unstable/main amd64 libnet-dns-perl all 1.20-1 [367 kB] Get:35 http://debian.oregonstate.edu/debian unstable/main amd64 libnet-domain-tld-perl all 1.75-1 [33.3 kB] Get:36 http://debian.oregonstate.edu/debian unstable/main amd64 libemail-valid-perl all 1.202-1 [23.0 kB] Get:37 http://debian.oregonstate.edu/debian unstable/main amd64 libexporter-tiny-perl all 1.002001-1 [36.9 kB] Get:38 http://debian.oregonstate.edu/debian unstable/main amd64 libipc-system-simple-perl all 1.25-4 [26.5 kB] Get:39 http://debian.oregonstate.edu/debian unstable/main amd64 libfile-basedir-perl all 0.08-1 [17.7 kB] Get:40 http://debian.oregonstate.edu/debian unstable/main amd64 libnumber-compare-perl all 0.03-1 [7642 B] Get:41 http://debian.oregonstate.edu/debian unstable/main amd64 libtext-glob-perl all 0.10-1 [8362 B] Get:42 http://debian.oregonstate.edu/debian unstable/main amd64 libfile-find-rule-perl all 0.34-1 [30.6 kB] Get:43 http://debian.oregonstate.edu/debian unstable/main amd64 libfuture-perl all 0.41-1 [79.0 kB] Get:44 http://debian.oregonstate.edu/debian unstable/main amd64 libparams-classify-perl amd64 0.015-1+b1 [25.5 kB] Get:45 http://debian.oregonstate.edu/debian unstable/main amd64 libmodule-runtime-perl all 0.016-1 [19.4 kB] Get:46 http://debian.oregonstate.edu/debian unstable/main amd64 libimport-into-perl all 1.002005-1 [11.6 kB] Get:47 http://debian.oregonstate.edu/debian unstable/main amd64 libstruct-dumb-perl all 0.09-1 [11.1 kB] Get:48 http://debian.oregonstate.edu/debian unstable/main amd64 libio-async-perl all 0.74-1 [268 kB] Get:49 http://debian.oregonstate.edu/debian unstable/main amd64 liblinux-epoll-perl amd64 0.016-1+b1 [17.0 kB] Get:50 http://debian.oregonstate.edu/debian unstable/main amd64 libio-async-loop-epoll-perl all 0.20-1 [11.9 kB] Get:51 http://debian.oregonstate.edu/debian unstable/main amd64 libio-pty-perl amd64 1:1.08-1.1+b5 [33.7 kB] Get:52 http://debian.oregonstate.edu/debian unstable/main amd64 libipc-run-perl all 20180523.0-1 [101 kB] Get:53 http://debian.oregonstate.edu/debian unstable/main amd64 liblist-compare-perl all 0.53-1 [68.9 kB] Get:54 http://debian.oregonstate.edu/debian unstable/main amd64 liblist-moreutils-perl amd64 0.416-1+b4 [64.2 kB] Get:55 http://debian.oregonstate.edu/debian unstable/main amd64 librole-tiny-perl all 2.000006-1 [19.4 kB] Get:56 http://debian.oregonstate.edu/debian unstable/main amd64 libstrictures-perl all 2.000006-1 [18.6 kB] Get:57 http://debian.oregonstate.edu/debian unstable/main amd64 libsub-quote-perl all 2.006003-1 [19.7 kB] Get:58 http://debian.oregonstate.edu/debian unstable/main amd64 libmoo-perl all 2.003004-2 [57.4 kB] Get:59 http://debian.oregonstate.edu/debian unstable/main amd64 libpath-tiny-perl all 0.108-1 [53.3 kB] Get:60 http://debian.oregonstate.edu/debian unstable/main amd64 libtext-levenshtein-perl all 0.13-1 [11.1 kB] Get:61 http://debian.oregonstate.edu/debian unstable/main amd64 libtry-tiny-perl all 0.30-1 [23.3 kB] Get:62 http://debian.oregonstate.edu/debian unstable/main amd64 libtype-tiny-perl all 1.004004-1 [266 kB] Get:63 http://debian.oregonstate.edu/debian unstable/main amd64 libyaml-0-2 amd64 0.2.1-1 [47.2 kB] Get:64 http://debian.oregonstate.edu/debian unstable/main amd64 libyaml-libyaml-perl amd64 0.79+repack-2 [34.0 kB] Get:65 http://debian.oregonstate.edu/debian unstable/main amd64 patchutils amd64 0.3.4-2+b1 [91.4 kB] Get:66 http://debian.oregonstate.edu/debian unstable/main amd64 t1utils amd64 1.41-3 [62.3 kB] Get:67 http://debian.oregonstate.edu/debian unstable/main amd64 lintian all 2.19.0 [1256 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 8519 kB in 0s (27.2 MB/s) Selecting previously unselected package readline-common. (Reading database ... 19321 files and directories currently installed.) Preparing to unpack .../00-readline-common_8.0-3_all.deb ... Unpacking readline-common (8.0-3) ... Selecting previously unselected package libreadline8:amd64. Preparing to unpack .../01-libreadline8_8.0-3_amd64.deb ... Unpacking libreadline8:amd64 (8.0-3) ... Selecting previously unselected package netbase. Preparing to unpack .../02-netbase_5.6_all.deb ... Unpacking netbase (5.6) ... Selecting previously unselected package diffstat. Preparing to unpack .../03-diffstat_1.62-1+b1_amd64.deb ... Unpacking diffstat (1.62-1+b1) ... Selecting previously unselected package libassuan0:amd64. Preparing to unpack .../04-libassuan0_2.5.3-7_amd64.deb ... Unpacking libassuan0:amd64 (2.5.3-7) ... Selecting previously unselected package gpgconf. Preparing to unpack .../05-gpgconf_2.2.17-3_amd64.deb ... Unpacking gpgconf (2.2.17-3) ... Selecting previously unselected package libsqlite3-0:amd64. Preparing to unpack .../06-libsqlite3-0_3.29.0-2_amd64.deb ... Unpacking libsqlite3-0:amd64 (3.29.0-2) ... Selecting previously unselected package gpg. Preparing to unpack .../07-gpg_2.2.17-3_amd64.deb ... Unpacking gpg (2.2.17-3) ... Selecting previously unselected package libapt-pkg-perl. Preparing to unpack .../08-libapt-pkg-perl_0.1.36+b1_amd64.deb ... Unpacking libapt-pkg-perl (0.1.36+b1) ... Selecting previously unselected package libb-hooks-op-check-perl. Preparing to unpack .../09-libb-hooks-op-check-perl_0.22-1+b1_amd64.deb ... Unpacking libb-hooks-op-check-perl (0.22-1+b1) ... Selecting previously unselected package libcapture-tiny-perl. Preparing to unpack .../10-libcapture-tiny-perl_0.48-1_all.deb ... Unpacking libcapture-tiny-perl (0.48-1) ... Selecting previously unselected package libhtml-tagset-perl. Preparing to unpack .../11-libhtml-tagset-perl_3.20-3_all.deb ... Unpacking libhtml-tagset-perl (3.20-3) ... Selecting previously unselected package liburi-perl. Preparing to unpack .../12-liburi-perl_1.76-1_all.deb ... Unpacking liburi-perl (1.76-1) ... Selecting previously unselected package libhtml-parser-perl. Preparing to unpack .../13-libhtml-parser-perl_3.72-3+b3_amd64.deb ... Unpacking libhtml-parser-perl (3.72-3+b3) ... Selecting previously unselected package libcgi-pm-perl. Preparing to unpack .../14-libcgi-pm-perl_4.44-1_all.deb ... Unpacking libcgi-pm-perl (4.44-1) ... Selecting previously unselected package libsub-name-perl. Preparing to unpack .../15-libsub-name-perl_0.21-1+b3_amd64.deb ... Unpacking libsub-name-perl (0.21-1+b3) ... Selecting previously unselected package libclass-accessor-perl. Preparing to unpack .../16-libclass-accessor-perl_0.51-1_all.deb ... Unpacking libclass-accessor-perl (0.51-1) ... Selecting previously unselected package libclass-method-modifiers-perl. Preparing to unpack .../17-libclass-method-modifiers-perl_2.13-1_all.deb ... Unpacking libclass-method-modifiers-perl (2.13-1) ... Selecting previously unselected package libclone-perl. Preparing to unpack .../18-libclone-perl_0.41-1+b1_amd64.deb ... Unpacking libclone-perl (0.41-1+b1) ... Selecting previously unselected package libdynaloader-functions-perl. Preparing to unpack .../19-libdynaloader-functions-perl_0.003-1_all.deb ... Unpacking libdynaloader-functions-perl (0.003-1) ... Selecting previously unselected package libdevel-callchecker-perl. Preparing to unpack .../20-libdevel-callchecker-perl_0.008-1_amd64.deb ... Unpacking libdevel-callchecker-perl (0.008-1) ... Selecting previously unselected package libsub-exporter-progressive-perl. Preparing to unpack .../21-libsub-exporter-progressive-perl_0.001013-1_all.deb ... Unpacking libsub-exporter-progressive-perl (0.001013-1) ... Selecting previously unselected package libdevel-globaldestruction-perl. Preparing to unpack .../22-libdevel-globaldestruction-perl_0.14-1_all.deb ... Unpacking libdevel-globaldestruction-perl (0.14-1) ... Selecting previously unselected package libdigest-hmac-perl. Preparing to unpack .../23-libdigest-hmac-perl_1.03+dfsg-2_all.deb ... Unpacking libdigest-hmac-perl (1.03+dfsg-2) ... Selecting previously unselected package libssl1.1:amd64. Preparing to unpack .../24-libssl1.1_1.1.1c-1_amd64.deb ... Unpacking libssl1.1:amd64 (1.1.1c-1) ... Selecting previously unselected package perl-openssl-defaults:amd64. Preparing to unpack .../25-perl-openssl-defaults_3_amd64.deb ... Unpacking perl-openssl-defaults:amd64 (3) ... Selecting previously unselected package libnet-ssleay-perl. Preparing to unpack .../26-libnet-ssleay-perl_1.88-1_amd64.deb ... Unpacking libnet-ssleay-perl (1.88-1) ... Selecting previously unselected package libio-socket-ssl-perl. Preparing to unpack .../27-libio-socket-ssl-perl_2.066-1_all.deb ... Unpacking libio-socket-ssl-perl (2.066-1) ... Selecting previously unselected package libnet-smtp-ssl-perl. Preparing to unpack .../28-libnet-smtp-ssl-perl_1.04-1_all.deb ... Unpacking libnet-smtp-ssl-perl (1.04-1) ... Selecting previously unselected package libtimedate-perl. Preparing to unpack .../29-libtimedate-perl_2.3000-2_all.deb ... Unpacking libtimedate-perl (2.3000-2) ... Selecting previously unselected package libmailtools-perl. Preparing to unpack .../30-libmailtools-perl_2.21-1_all.deb ... Unpacking libmailtools-perl (2.21-1) ... Selecting previously unselected package libnet-ip-perl. Preparing to unpack .../31-libnet-ip-perl_1.26-2_all.deb ... Unpacking libnet-ip-perl (1.26-2) ... Selecting previously unselected package libnet-dns-perl. Preparing to unpack .../32-libnet-dns-perl_1.20-1_all.deb ... Unpacking libnet-dns-perl (1.20-1) ... Selecting previously unselected package libnet-domain-tld-perl. Preparing to unpack .../33-libnet-domain-tld-perl_1.75-1_all.deb ... Unpacking libnet-domain-tld-perl (1.75-1) ... Selecting previously unselected package libemail-valid-perl. Preparing to unpack .../34-libemail-valid-perl_1.202-1_all.deb ... Unpacking libemail-valid-perl (1.202-1) ... Selecting previously unselected package libexporter-tiny-perl. Preparing to unpack .../35-libexporter-tiny-perl_1.002001-1_all.deb ... Unpacking libexporter-tiny-perl (1.002001-1) ... Selecting previously unselected package libipc-system-simple-perl. Preparing to unpack .../36-libipc-system-simple-perl_1.25-4_all.deb ... Unpacking libipc-system-simple-perl (1.25-4) ... Selecting previously unselected package libfile-basedir-perl. Preparing to unpack .../37-libfile-basedir-perl_0.08-1_all.deb ... Unpacking libfile-basedir-perl (0.08-1) ... Selecting previously unselected package libnumber-compare-perl. Preparing to unpack .../38-libnumber-compare-perl_0.03-1_all.deb ... Unpacking libnumber-compare-perl (0.03-1) ... Selecting previously unselected package libtext-glob-perl. Preparing to unpack .../39-libtext-glob-perl_0.10-1_all.deb ... Unpacking libtext-glob-perl (0.10-1) ... Selecting previously unselected package libfile-find-rule-perl. Preparing to unpack .../40-libfile-find-rule-perl_0.34-1_all.deb ... Unpacking libfile-find-rule-perl (0.34-1) ... Selecting previously unselected package libfuture-perl. Preparing to unpack .../41-libfuture-perl_0.41-1_all.deb ... Unpacking libfuture-perl (0.41-1) ... Selecting previously unselected package libparams-classify-perl. Preparing to unpack .../42-libparams-classify-perl_0.015-1+b1_amd64.deb ... Unpacking libparams-classify-perl (0.015-1+b1) ... Selecting previously unselected package libmodule-runtime-perl. Preparing to unpack .../43-libmodule-runtime-perl_0.016-1_all.deb ... Unpacking libmodule-runtime-perl (0.016-1) ... Selecting previously unselected package libimport-into-perl. Preparing to unpack .../44-libimport-into-perl_1.002005-1_all.deb ... Unpacking libimport-into-perl (1.002005-1) ... Selecting previously unselected package libstruct-dumb-perl. Preparing to unpack .../45-libstruct-dumb-perl_0.09-1_all.deb ... Unpacking libstruct-dumb-perl (0.09-1) ... Selecting previously unselected package libio-async-perl. Preparing to unpack .../46-libio-async-perl_0.74-1_all.deb ... Unpacking libio-async-perl (0.74-1) ... Selecting previously unselected package liblinux-epoll-perl. Preparing to unpack .../47-liblinux-epoll-perl_0.016-1+b1_amd64.deb ... Unpacking liblinux-epoll-perl (0.016-1+b1) ... Selecting previously unselected package libio-async-loop-epoll-perl. Preparing to unpack .../48-libio-async-loop-epoll-perl_0.20-1_all.deb ... Unpacking libio-async-loop-epoll-perl (0.20-1) ... Selecting previously unselected package libio-pty-perl. Preparing to unpack .../49-libio-pty-perl_1%3a1.08-1.1+b5_amd64.deb ... Unpacking libio-pty-perl (1:1.08-1.1+b5) ... Selecting previously unselected package libipc-run-perl. Preparing to unpack .../50-libipc-run-perl_20180523.0-1_all.deb ... Unpacking libipc-run-perl (20180523.0-1) ... Selecting previously unselected package liblist-compare-perl. Preparing to unpack .../51-liblist-compare-perl_0.53-1_all.deb ... Unpacking liblist-compare-perl (0.53-1) ... Selecting previously unselected package liblist-moreutils-perl. Preparing to unpack .../52-liblist-moreutils-perl_0.416-1+b4_amd64.deb ... Unpacking liblist-moreutils-perl (0.416-1+b4) ... Selecting previously unselected package librole-tiny-perl. Preparing to unpack .../53-librole-tiny-perl_2.000006-1_all.deb ... Unpacking librole-tiny-perl (2.000006-1) ... Selecting previously unselected package libstrictures-perl. Preparing to unpack .../54-libstrictures-perl_2.000006-1_all.deb ... Unpacking libstrictures-perl (2.000006-1) ... Selecting previously unselected package libsub-quote-perl. Preparing to unpack .../55-libsub-quote-perl_2.006003-1_all.deb ... Unpacking libsub-quote-perl (2.006003-1) ... Selecting previously unselected package libmoo-perl. Preparing to unpack .../56-libmoo-perl_2.003004-2_all.deb ... Unpacking libmoo-perl (2.003004-2) ... Selecting previously unselected package libpath-tiny-perl. Preparing to unpack .../57-libpath-tiny-perl_0.108-1_all.deb ... Unpacking libpath-tiny-perl (0.108-1) ... Selecting previously unselected package libtext-levenshtein-perl. Preparing to unpack .../58-libtext-levenshtein-perl_0.13-1_all.deb ... Unpacking libtext-levenshtein-perl (0.13-1) ... Selecting previously unselected package libtry-tiny-perl. Preparing to unpack .../59-libtry-tiny-perl_0.30-1_all.deb ... Unpacking libtry-tiny-perl (0.30-1) ... Selecting previously unselected package libtype-tiny-perl. Preparing to unpack .../60-libtype-tiny-perl_1.004004-1_all.deb ... Unpacking libtype-tiny-perl (1.004004-1) ... Selecting previously unselected package libyaml-0-2:amd64. Preparing to unpack .../61-libyaml-0-2_0.2.1-1_amd64.deb ... Unpacking libyaml-0-2:amd64 (0.2.1-1) ... Selecting previously unselected package libyaml-libyaml-perl. Preparing to unpack .../62-libyaml-libyaml-perl_0.79+repack-2_amd64.deb ... Unpacking libyaml-libyaml-perl (0.79+repack-2) ... Selecting previously unselected package patchutils. Preparing to unpack .../63-patchutils_0.3.4-2+b1_amd64.deb ... Unpacking patchutils (0.3.4-2+b1) ... Selecting previously unselected package t1utils. Preparing to unpack .../64-t1utils_1.41-3_amd64.deb ... Unpacking t1utils (1.41-3) ... Selecting previously unselected package lintian. Preparing to unpack .../65-lintian_2.19.0_all.deb ... Unpacking lintian (2.19.0) ... Selecting previously unselected package sbuild-build-depends-lintian-dummy:armhf. Preparing to unpack .../66-sbuild-build-depends-lintian-dummy_0.invalid.0_armhf.deb ... Unpacking sbuild-build-depends-lintian-dummy:armhf (0.invalid.0) ... Setting up libapt-pkg-perl (0.1.36+b1) ... Setting up libstruct-dumb-perl (0.09-1) ... Setting up libdynaloader-functions-perl (0.003-1) ... Setting up libtext-glob-perl (0.10-1) ... Setting up libclass-method-modifiers-perl (2.13-1) ... Setting up liblist-compare-perl (0.53-1) ... Setting up libio-pty-perl (1:1.08-1.1+b5) ... Setting up libclone-perl (0.41-1+b1) ... Setting up libyaml-0-2:amd64 (0.2.1-1) ... Setting up libssl1.1:amd64 (1.1.1c-1) ... Setting up libhtml-tagset-perl (3.20-3) ... Setting up libsqlite3-0:amd64 (3.29.0-2) ... Setting up libfuture-perl (0.41-1) ... Setting up libyaml-libyaml-perl (0.79+repack-2) ... Setting up libtry-tiny-perl (0.30-1) ... Setting up perl-openssl-defaults:amd64 (3) ... Setting up libtext-levenshtein-perl (0.13-1) ... Setting up libassuan0:amd64 (2.5.3-7) ... Setting up libnumber-compare-perl (0.03-1) ... Setting up libio-async-perl (0.74-1) ... Setting up patchutils (0.3.4-2+b1) ... Setting up libfile-find-rule-perl (0.34-1) ... Setting up libdigest-hmac-perl (1.03+dfsg-2) ... Setting up libipc-system-simple-perl (1.25-4) ... Setting up libnet-domain-tld-perl (1.75-1) ... Setting up t1utils (1.41-3) ... Setting up liblinux-epoll-perl (0.016-1+b1) ... Setting up diffstat (1.62-1+b1) ... Setting up libb-hooks-op-check-perl (0.22-1+b1) ... Setting up libipc-run-perl (20180523.0-1) ... Setting up libsub-exporter-progressive-perl (0.001013-1) ... Setting up libcapture-tiny-perl (0.48-1) ... Setting up libtimedate-perl (2.3000-2) ... Setting up libsub-name-perl (0.21-1+b3) ... Setting up libpath-tiny-perl (0.108-1) ... Setting up librole-tiny-perl (2.000006-1) ... Setting up libdevel-globaldestruction-perl (0.14-1) ... Setting up netbase (5.6) ... Setting up libstrictures-perl (2.000006-1) ... Setting up libsub-quote-perl (2.006003-1) ... Setting up libexporter-tiny-perl (1.002001-1) ... Setting up libclass-accessor-perl (0.51-1) ... Setting up libnet-ip-perl (1.26-2) ... Setting up readline-common (8.0-3) ... Setting up liburi-perl (1.76-1) ... Setting up libnet-ssleay-perl (1.88-1) ... Setting up libfile-basedir-perl (0.08-1) ... Setting up liblist-moreutils-perl (0.416-1+b4) ... Setting up libreadline8:amd64 (8.0-3) ... Setting up libtype-tiny-perl (1.004004-1) ... Setting up libnet-dns-perl (1.20-1) ... Setting up libdevel-callchecker-perl (0.008-1) ... Setting up libio-async-loop-epoll-perl (0.20-1) ... Setting up libhtml-parser-perl (3.72-3+b3) ... Setting up gpgconf (2.2.17-3) ... Setting up libio-socket-ssl-perl (2.066-1) ... Setting up gpg (2.2.17-3) ... Setting up libparams-classify-perl (0.015-1+b1) ... Setting up libcgi-pm-perl (4.44-1) ... Setting up libnet-smtp-ssl-perl (1.04-1) ... Setting up libmodule-runtime-perl (0.016-1) ... Setting up libmailtools-perl (2.21-1) ... Setting up libemail-valid-perl (1.202-1) ... Setting up libimport-into-perl (1.002005-1) ... Setting up libmoo-perl (2.003004-2) ... Setting up lintian (2.19.0) ... Setting up sbuild-build-depends-lintian-dummy:armhf (0.invalid.0) ... Processing triggers for man-db (2.8.6.1-2) ... Not building database; man-db/auto-update is not 'true'. Processing triggers for libc-bin (2.28-10) ... I: Lintian run was successful. +------------------------------------------------------------------------------+ | Changes | +------------------------------------------------------------------------------+ testdisk_7.1-5_armhf.changes: ----------------------------- Format: 1.8 Date: Wed, 21 Aug 2019 22:24:34 +0200 Source: testdisk Binary: testdisk testdisk-dbg Built-For-Profiles: cross nocheck Architecture: armhf Version: 7.1-5 Distribution: unstable Urgency: medium Maintainer: Jean-Michel Kelbert Changed-By: Jean-Michel Kelbert 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.1-5) unstable; urgency=medium . * Re-upload with the correct patch to build on kfreebsd-* Checksums-Sha1: ddda4e2d2a511b6802d2d0e4be3709bc60c796db 2094880 testdisk-dbg_7.1-5_armhf.deb 9d08cb18f8f6de54c4f2453f4d6e7b7f36cc1a75 5429 testdisk_7.1-5_armhf.buildinfo e9dd3600b1ff62d9dfe2d986e4f273500331e60f 378444 testdisk_7.1-5_armhf.deb Checksums-Sha256: ce8ec9928a8e93602e2d0ddfbe14b5241d689503b39505bbe4be7a4eeeb52211 2094880 testdisk-dbg_7.1-5_armhf.deb 52a7bb2e97546cdd39601ce654e3600fa93459f4bb95b1a8eaacb43a1d16bce7 5429 testdisk_7.1-5_armhf.buildinfo c04c96ee326af75bf4603a57e5090689d580e03ebbb3eca37d49fedc1b7e0b47 378444 testdisk_7.1-5_armhf.deb Files: ef6a8e7c2de50d84e1fff57b297384ad 2094880 debug optional testdisk-dbg_7.1-5_armhf.deb f545a453d21b74d423afd2930eead89e 5429 admin optional testdisk_7.1-5_armhf.buildinfo 42910ce6288146291b420eae4ea299e9 378444 admin optional testdisk_7.1-5_armhf.deb +------------------------------------------------------------------------------+ | Buildinfo | +------------------------------------------------------------------------------+ Format: 1.0 Source: testdisk Binary: testdisk testdisk-dbg Architecture: armhf Version: 7.1-5 Checksums-Md5: ef6a8e7c2de50d84e1fff57b297384ad 2094880 testdisk-dbg_7.1-5_armhf.deb 42910ce6288146291b420eae4ea299e9 378444 testdisk_7.1-5_armhf.deb Checksums-Sha1: ddda4e2d2a511b6802d2d0e4be3709bc60c796db 2094880 testdisk-dbg_7.1-5_armhf.deb e9dd3600b1ff62d9dfe2d986e4f273500331e60f 378444 testdisk_7.1-5_armhf.deb Checksums-Sha256: ce8ec9928a8e93602e2d0ddfbe14b5241d689503b39505bbe4be7a4eeeb52211 2094880 testdisk-dbg_7.1-5_armhf.deb c04c96ee326af75bf4603a57e5090689d580e03ebbb3eca37d49fedc1b7e0b47 378444 testdisk_7.1-5_armhf.deb Build-Origin: Debian Build-Architecture: amd64 Build-Date: Sat, 24 Aug 2019 10:42:45 +0000 Build-Path: /<> Installed-Build-Depends: adduser (= 3.118), autoconf (= 2.69-11), automake (= 1:1.16.1-4), autopoint (= 0.19.8.1-9), autotools-dev (= 20180224.1), base-files (= 11), base-passwd (= 3.5.46), bash (= 5.0-4), binutils (= 2.32.51.20190821-2), binutils-common (= 2.32.51.20190821-2), binutils-x86-64-linux-gnu (= 2.32.51.20190821-2), bsdmainutils (= 11.1.2+b1), bsdutils (= 1:2.34-0.1), build-essential (= 12.6), bzip2 (= 1.0.6-9.2), comerr-dev (= 2.1-1.45.3-4), coreutils (= 8.30-3+b1), cpp (= 4:9.2.1-3), cpp-8 (= 8.3.0-21), cpp-9 (= 9.2.1-4), dash (= 0.5.10.2-6), debconf (= 1.5.73), debhelper (= 12.5.3), debianutils (= 4.8.6.3), dh-autoreconf (= 19), dh-strip-nondeterminism (= 1.5.0-1), diffutils (= 1:3.7-3), dpkg (= 1.19.7), dpkg-dev (= 1.19.7), dwz (= 0.13-1), fdisk (= 2.34-0.1), file (= 1:5.37-5), findutils (= 4.6.0+git+20190510-2), fuse (= 2.9.9-1), g++ (= 4:9.2.1-3), g++-9 (= 9.2.1-4), gcc (= 4:9.2.1-3), gcc-8 (= 8.3.0-21), gcc-8-base (= 8.3.0-21), gcc-9 (= 9.2.1-4), gcc-9-base (= 9.2.1-4), gettext (= 0.19.8.1-9), gettext-base (= 0.19.8.1-9), grep (= 3.3-1), groff-base (= 1.22.4-3), gzip (= 1.9-3+b1), hostname (= 3.21), init-system-helpers (= 1.57), intltool-debian (= 0.35.0+20060710.5), libacl1 (= 2.2.53-4), libarchive-zip-perl (= 1.64-1), libasan5 (= 9.2.1-4), libatomic1 (= 9.2.1-4), libattr1 (= 1:2.4.48-4), libaudit-common (= 1:2.8.5-2), libaudit1 (= 1:2.8.5-2), libbinutils (= 2.32.51.20190821-2), libblkid1 (= 2.34-0.1), libbsd0 (= 0.10.0-1), libbz2-1.0 (= 1.0.6-9.2), libc-bin (= 2.28-10), libc-dev-bin (= 2.28-10), libc6 (= 2.28-10), libc6-dev (= 2.28-10), libcap-ng0 (= 0.7.9-2+b1), libcc1-0 (= 9.2.1-4), libcom-err2 (= 1.45.3-4), libcroco3 (= 0.6.13-1), libdb5.3 (= 5.3.28+dfsg1-0.6), libdebconfclient0 (= 0.249), libdpkg-perl (= 1.19.7), libelf1 (= 0.176-1.1), libext2fs-dev (= 1.45.3-4), libext2fs2 (= 1.45.3-4), libfdisk1 (= 2.34-0.1), libffi6 (= 3.2.1-9), libfile-stripnondeterminism-perl (= 1.5.0-1), libfuse2 (= 2.9.9-1), libgcc-8-dev (= 8.3.0-21), libgcc-9-dev (= 9.2.1-4), libgcc1 (= 1:9.2.1-4), libgcrypt20 (= 1.8.4-5), libgdbm-compat4 (= 1.18.1-5), libgdbm6 (= 1.18.1-5), libglib2.0-0 (= 2.60.6-2), libgmp10 (= 2:6.1.2+dfsg-4), libgnutls30 (= 3.6.9-4), libgomp1 (= 9.2.1-4), libgpg-error0 (= 1.36-7), libhogweed4 (= 3.4.1-1+b1), libicu63 (= 63.2-2), libidn2-0 (= 2.2.0-1), libisl19 (= 0.20-2), libitm1 (= 9.2.1-4), libjpeg62-turbo (= 1:1.5.2-2+b1), libjpeg62-turbo-dev (= 1:1.5.2-2+b1), liblsan0 (= 9.2.1-4), liblz4-1 (= 1.8.3-1), liblzma5 (= 5.2.4-1), libmagic-mgc (= 1:5.37-5), libmagic1 (= 1:5.37-5), libmount1 (= 2.34-0.1), libmpc3 (= 1.1.0-1), libmpfr6 (= 4.0.2-1), libmpx2 (= 8.3.0-21), libncurses-dev (= 6.1+20190803-1), libncurses5-dev (= 6.1+20190803-1), libncurses6 (= 6.1+20190803-1), libncursesw6 (= 6.1+20190803-1), libnettle6 (= 3.4.1-1+b1), libntfs-3g883 (= 1:2017.3.23AR.3-3), libp11-kit0 (= 0.23.16.1-2), libpam-modules (= 1.3.1-5), libpam-modules-bin (= 1.3.1-5), libpam-runtime (= 1.3.1-5), libpam0g (= 1.3.1-5), libpcre2-8-0 (= 10.32-5+b1), libpcre3 (= 2:8.39-12+b1), libperl5.28 (= 5.28.1-6), libpipeline1 (= 1.5.1-2), libquadmath0 (= 9.2.1-4), libseccomp2 (= 2.4.1-2), libselinux1 (= 2.9-2+b2), libsemanage-common (= 2.9-3), libsemanage1 (= 2.9-3), libsepol1 (= 2.9-2+b2), libsigsegv2 (= 2.12-2), libsmartcols1 (= 2.34-0.1), libstdc++-9-dev (= 9.2.1-4), libstdc++6 (= 9.2.1-4), libsub-override-perl (= 0.09-2), libsystemd0 (= 242-4), libtasn1-6 (= 4.14-2), libtinfo6 (= 6.1+20190803-1), libtool (= 2.4.6-10), libtsan0 (= 9.2.1-4), libubsan1 (= 9.2.1-4), libuchardet0 (= 0.0.6-3), libudev1 (= 242-4), libunistring2 (= 0.9.10-2), libuuid1 (= 2.34-0.1), libxml2 (= 2.9.4+dfsg1-7+b3), linux-libc-dev (= 5.2.9-2), login (= 1:4.7-2), lsb-base (= 11.1.0), m4 (= 1.4.18-2), make (= 4.2.1-1.2), man-db (= 2.8.6.1-2), mawk (= 1.3.3-17+b3), mount (= 2.34-0.1), ncurses-base (= 6.1+20190803-1), ncurses-bin (= 6.1+20190803-1), ntfs-3g (= 1:2017.3.23AR.3-3), ntfs-3g-dev (= 1:2017.3.23AR.3-3), passwd (= 1:4.7-2), patch (= 2.7.6-6), perl (= 5.28.1-6), perl-base (= 5.28.1-6), perl-modules-5.28 (= 5.28.1-6), pkg-config (= 0.29-6), po-debconf (= 1.0.21), sed (= 4.7-1), sensible-utils (= 0.0.12), sysvinit-utils (= 2.95-6), tar (= 1.30+dfsg-6+b1), util-linux (= 2.34-0.1), uuid-dev (= 2.34-0.1), xz-utils (= 5.2.4-1), zlib1g (= 1:1.2.11.dfsg-1+b1), zlib1g-dev (= 1:1.2.11.dfsg-1+b1) Environment: DEB_BUILD_OPTIONS="nocheck parallel=1" DEB_BUILD_PROFILES="cross nocheck" LANG="en_US.UTF-8" LC_ALL="POSIX" SOURCE_DATE_EPOCH="1566419074" +------------------------------------------------------------------------------+ | Package contents | +------------------------------------------------------------------------------+ testdisk-dbg_7.1-5_armhf.deb ---------------------------- new Debian package, version 2.0. size 2094880 bytes: control archive=1008 bytes. 906 bytes, 20 lines control 544 bytes, 6 lines md5sums Package: testdisk-dbg Source: testdisk Version: 7.1-5 Architecture: armhf Maintainer: Jean-Michel Kelbert Installed-Size: 2388 Depends: testdisk (= 7.1-5) Suggests: libc6-dbg, e2fslibs-dbg, libcomerr2-dbg, libjpeg-dbg, libncursesw5-dbg, libssl0.9.8-dbg, zlib1g-dbg Section: debug 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. . 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. Build-Ids: 2bdc1c0bc4d366a4587f6d4fe41c82cb5605f7fe 2df48314ff6c555e688c79208de6364d79020062 a7672289a9d1187dd1138983b56f1550b455dca3 drwxr-xr-x root/root 0 2019-08-21 20:24 ./ drwxr-xr-x root/root 0 2019-08-21 20:24 ./usr/ drwxr-xr-x root/root 0 2019-08-21 20:24 ./usr/lib/ drwxr-xr-x root/root 0 2019-08-21 20:24 ./usr/lib/debug/ drwxr-xr-x root/root 0 2019-08-21 20:24 ./usr/lib/debug/.build-id/ drwxr-xr-x root/root 0 2019-08-21 20:24 ./usr/lib/debug/.build-id/2b/ -rw-r--r-- root/root 683224 2019-08-21 20:24 ./usr/lib/debug/.build-id/2b/dc1c0bc4d366a4587f6d4fe41c82cb5605f7fe.debug drwxr-xr-x root/root 0 2019-08-21 20:24 ./usr/lib/debug/.build-id/2d/ -rw-r--r-- root/root 563860 2019-08-21 20:24 ./usr/lib/debug/.build-id/2d/f48314ff6c555e688c79208de6364d79020062.debug drwxr-xr-x root/root 0 2019-08-21 20:24 ./usr/lib/debug/.build-id/a7/ -rw-r--r-- root/root 1120200 2019-08-21 20:24 ./usr/lib/debug/.build-id/a7/672289a9d1187dd1138983b56f1550b455dca3.debug drwxr-xr-x root/root 0 2019-08-21 20:24 ./usr/share/ drwxr-xr-x root/root 0 2019-08-21 20:24 ./usr/share/doc/ drwxr-xr-x root/root 0 2019-08-21 20:24 ./usr/share/doc/testdisk-dbg/ -rw-r--r-- root/root 2128 2019-08-21 20:24 ./usr/share/doc/testdisk-dbg/changelog.Debian.gz -rw-r--r-- root/root 58963 2019-07-07 14:10 ./usr/share/doc/testdisk-dbg/changelog.gz -rw-r--r-- root/root 1121 2019-08-06 13:39 ./usr/share/doc/testdisk-dbg/copyright testdisk_7.1-5_armhf.deb ------------------------ new Debian package, version 2.0. size 378444 bytes: control archive=1740 bytes. 2222 bytes, 63 lines control 702 bytes, 11 lines md5sums Package: testdisk Version: 7.1-5 Architecture: armhf Maintainer: Jean-Michel Kelbert Installed-Size: 966 Depends: libc6 (>= 2.27), libext2fs2 (>= 1.41.0), libjpeg62-turbo (>= 1.3.1), libncursesw6 (>= 6), libntfs-3g883, libtinfo6 (>= 6), libuuid1 (>= 2.16), zlib1g (>= 1:1.1.4), ntfs-3g Section: admin Priority: optional Description: Partition scanner and disk recovery tool, and PhotoRec file recovery tool TestDisk checks the partition and boot sectors of your disks. It is very useful in forensics, recovering lost partitions. It works with : * DOS/Windows FAT12, FAT16 and FAT32 * NTFS ( Windows NT/2K/XP ) * Linux Ext2 and Ext3 * BeFS ( BeOS ) * BSD disklabel ( FreeBSD/OpenBSD/NetBSD ) * CramFS (Compressed File System) * HFS and HFS+, Hierarchical File System * JFS, IBM's Journaled File System * Linux Raid * Linux Swap (versions 1 and 2) * LVM and LVM2, Linux Logical Volume Manager * Netware NSS * ReiserFS 3.5 and 3.6 * Sun Solaris i386 disklabel * UFS and UFS2 (Sun/BSD/...) * XFS, SGI's Journaled File System . PhotoRec is file data recovery software designed to recover lost pictures from digital camera memory or even Hard Disks. It has been extended to search also for non audio/video headers. It searches for following files and is able to undelete them: * Sun/NeXT audio data (.au) * RIFF audio/video (.avi/.wav) * BMP bitmap (.bmp) * bzip2 compressed data (.bz2) * Source code written in C (.c) * Canon Raw picture (.crw) * Canon catalog (.ctg) * FAT subdirectory * Microsoft Office Document (.doc) * Nikon dsc (.dsc) * HTML page (.html) * JPEG picture (.jpg) * MOV video (.mov) * MP3 audio (MPEG ADTS, layer III, v1) (.mp3) * Moving Picture Experts Group video (.mpg) * Minolta Raw picture (.mrw) * Olympus Raw Format picture (.orf) * Portable Document Format (.pdf) * Perl script (.pl) * Portable Network Graphics (.png) * Raw Fujifilm picture (.raf) * Contax picture (.raw) * Rollei picture (.rdc) * Rich Text Format (.rtf) * Shell script (.sh) * Tar archive (.tar ) * Tag Image File Format (.tiff) * Microsoft ASF (.wma) * Sigma/Foveon X3 raw picture (.x3f) * zip archive (.zip) drwxr-xr-x root/root 0 2019-08-21 20:24 ./ drwxr-xr-x root/root 0 2019-08-21 20:24 ./usr/ drwxr-xr-x root/root 0 2019-08-21 20:24 ./usr/bin/ -rwxr-xr-x root/root 208612 2019-08-21 20:24 ./usr/bin/fidentify -rwxr-xr-x root/root 406824 2019-08-21 20:24 ./usr/bin/photorec -rwxr-xr-x root/root 282944 2019-08-21 20:24 ./usr/bin/testdisk drwxr-xr-x root/root 0 2019-08-21 20:24 ./usr/share/ drwxr-xr-x root/root 0 2019-08-21 20:24 ./usr/share/doc/ drwxr-xr-x root/root 0 2019-08-21 20:24 ./usr/share/doc/testdisk/ -rw-r--r-- root/root 8422 2019-07-07 17:16 ./usr/share/doc/testdisk/NEWS.gz -rw-r--r-- root/root 2053 2017-12-02 15:47 ./usr/share/doc/testdisk/README.md -rw-r--r-- root/root 2128 2019-08-21 20:24 ./usr/share/doc/testdisk/changelog.Debian.gz -rw-r--r-- root/root 58963 2019-07-07 14:10 ./usr/share/doc/testdisk/changelog.gz -rw-r--r-- root/root 1121 2019-08-06 13:39 ./usr/share/doc/testdisk/copyright drwxr-xr-x root/root 0 2019-08-21 20:24 ./usr/share/man/ drwxr-xr-x root/root 0 2019-08-21 20:24 ./usr/share/man/man8/ -rw-r--r-- root/root 526 2019-08-21 20:24 ./usr/share/man/man8/fidentify.8.gz -rw-r--r-- root/root 680 2019-08-21 20:24 ./usr/share/man/man8/photorec.8.gz -rw-r--r-- root/root 892 2019-08-21 20:24 ./usr/share/man/man8/testdisk.8.gz +------------------------------------------------------------------------------+ | Post Build | +------------------------------------------------------------------------------+ +------------------------------------------------------------------------------+ | Cleanup | +------------------------------------------------------------------------------+ Purging /<> Not cleaning session: cloned chroot in use +------------------------------------------------------------------------------+ | Summary | +------------------------------------------------------------------------------+ Build Architecture: amd64 Build Profiles: cross nocheck Build Type: any Build-Space: 39248 Build-Time: 125 Distribution: unstable Foreign Architectures: armhf Host Architecture: armhf Install-Time: 27 Job: testdisk_7.1-5 Lintian: pass Machine Architecture: amd64 Package: testdisk Package-Time: 165 Source-Version: 7.1-5 Space: 39248 Status: successful Version: 7.1-5 -------------------------------------------------------------------------------- Finished at 2019-08-24T10:42:46Z Build needed 00:02:45, 39248k disk space