Raspbian Package Auto-Building

Build log for testdisk (6.14-3+b1) on armhf

testdisk6.14-3+b1armhf → 2014-04-23 11:46:50

sbuild (Debian sbuild) 0.63.2 (18 Aug 2012) on testwandboard

╔══════════════════════════════════════════════════════════════════════════════╗
║ testdisk 6.14-3+b1 (armhf)                                 23 Apr 2014 11:33 ║
╚══════════════════════════════════════════════════════════════════════════════╝

Package: testdisk
Version: 6.14-3+b1
Source Version: 6.14-3
Distribution: jessie-staging
Machine Architecture: armhf
Host Architecture: armhf
Build Architecture: armhf

I: NOTICE: Log filtering will replace 'build/testdisk-hvG6jG/testdisk-6.14' with '«PKGBUILDDIR»'
I: NOTICE: Log filtering will replace 'build/testdisk-hvG6jG' with '«BUILDDIR»'
I: NOTICE: Log filtering will replace 'var/lib/schroot/mount/jessie-staging-armhf-sbuild-7fffb0ba-f9c4-41d2-a478-fb5d6d03ff24' with '«CHROOT»'

┌──────────────────────────────────────────────────────────────────────────────┐
│ Update chroot                                                                │
└──────────────────────────────────────────────────────────────────────────────┘

Get:1 http://172.17.0.1 jessie-staging InRelease [11.3 kB]
Get:2 http://172.17.0.1 jessie-staging/main Sources [7374 kB]
Get:3 http://172.17.0.1 jessie-staging/main armhf Packages [8549 kB]
Ign http://172.17.0.1 jessie-staging/main Translation-en
Fetched 15.9 MB in 39s (398 kB/s)
Reading package lists...

┌──────────────────────────────────────────────────────────────────────────────┐
│ Fetch source files                                                           │
└──────────────────────────────────────────────────────────────────────────────┘


Check APT
─────────

Checking available source versions...

Download source files with APT
──────────────────────────────

Reading package lists...
Building dependency tree...
Reading state information...
Need to get 626 kB of source archives.
Get:1 http://172.17.0.1/private/ jessie-staging/main testdisk 6.14-3 (dsc) [1216 B]
Get:2 http://172.17.0.1/private/ jessie-staging/main testdisk 6.14-3 (tar) [620 kB]
Get:3 http://172.17.0.1/private/ jessie-staging/main testdisk 6.14-3 (diff) [4436 B]
Fetched 626 kB in 0s (1012 kB/s)
Download complete and in download only mode

Check arch
──────────

Merged Build-Depends: build-essential, fakeroot
Filtered Build-Depends: build-essential, fakeroot
dpkg-deb: building package `sbuild-build-depends-core-dummy' in `/«BUILDDIR»/resolver-X0aAAO/apt_archive/sbuild-build-depends-core-dummy.deb'.
OK
Reading package lists...

┌──────────────────────────────────────────────────────────────────────────────┐
│ Install core build dependencies (apt-based resolver)                         │
└──────────────────────────────────────────────────────────────────────────────┘

Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
  sbuild-build-depends-core-dummy
debconf: delaying package configuration, since apt-utils is not installed
0 upgraded, 1 newly installed, 0 to remove and 44 not upgraded.
Need to get 0 B/814 B of archives.
After this operation, 0 B of additional disk space will be used.
Selecting previously unselected package sbuild-build-depends-core-dummy.
(Reading database ... 12304 files and directories currently installed.)
Preparing to unpack .../sbuild-build-depends-core-dummy.deb ...
Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ...
Setting up sbuild-build-depends-core-dummy (0.invalid.0) ...
Merged Build-Depends: base-files, base-passwd, bash, bsdutils, coreutils, dash, debianutils, diffutils, dpkg, e2fsprogs, findutils, grep, gzip, hostname, libc-bin, login, mount, ncurses-base, ncurses-bin, perl-base, sed, sysvinit, sysvinit-utils, tar, util-linux, libc6-dev | libc-dev, gcc (>= 4:4.4.3), g++ (>= 4:4.4.3), make, dpkg-dev (>= 1.13.5), debhelper (>= 8.0.0), e2fslibs-dev (>= 1.35-3), libncurses5-dev, libncursesw5-dev, ntfs-3g-dev, libjpeg-dev, uuid-dev, zlib1g-dev
Filtered Build-Depends: base-files, base-passwd, bash, bsdutils, coreutils, dash, debianutils, diffutils, dpkg, e2fsprogs, findutils, grep, gzip, hostname, libc-bin, login, mount, ncurses-base, ncurses-bin, perl-base, sed, sysvinit, sysvinit-utils, tar, util-linux, libc6-dev, gcc (>= 4:4.4.3), g++ (>= 4:4.4.3), make, dpkg-dev (>= 1.13.5), debhelper (>= 8.0.0), e2fslibs-dev (>= 1.35-3), libncurses5-dev, libncursesw5-dev, ntfs-3g-dev, libjpeg-dev, uuid-dev, zlib1g-dev
dpkg-deb: building package `sbuild-build-depends-testdisk-dummy' in `/«BUILDDIR»/resolver-zdkUTQ/apt_archive/sbuild-build-depends-testdisk-dummy.deb'.
OK
Reading package lists...

┌──────────────────────────────────────────────────────────────────────────────┐
│ Install testdisk build dependencies (apt-based resolver)                     │
└──────────────────────────────────────────────────────────────────────────────┘

Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  adduser bsdmainutils comerr-dev debhelper e2fslibs-dev file fuse gettext
  gettext-base groff-base intltool-debian libasprintf0c2 libcroco3 libffi6
  libfuse2 libgcrypt11 libglib2.0-0 libgnutls26 libgpg-error0 libjpeg8
  libjpeg8-dev libmagic1 libncurses5-dev libncursesw5-dev libp11-kit0
  libpipeline1 libtasn1-6 libtinfo-dev libunistring0 libuuid1 libxml2 man-db
  ntfs-3g ntfs-3g-dev po-debconf uuid-dev zlib1g-dev
Suggested packages:
  liblocale-gettext-perl wamerican wordlist whois vacation doc-base dh-make
  gettext-doc groff rng-tools ncurses-doc less www-browser libmail-box-perl
Recommended packages:
  curl wget lynx-cur autopoint libasprintf-dev libgettextpo-dev
  libglib2.0-data shared-mime-info uuid-runtime xml-core libmail-sendmail-perl
The following NEW packages will be installed:
  adduser bsdmainutils comerr-dev debhelper e2fslibs-dev file fuse gettext
  gettext-base groff-base intltool-debian libasprintf0c2 libcroco3 libffi6
  libfuse2 libgcrypt11 libglib2.0-0 libgnutls26 libgpg-error0 libjpeg8
  libjpeg8-dev libmagic1 libncurses5-dev libncursesw5-dev libp11-kit0
  libpipeline1 libtasn1-6 libtinfo-dev libunistring0 libxml2 man-db ntfs-3g
  ntfs-3g-dev po-debconf sbuild-build-depends-testdisk-dummy uuid-dev
  zlib1g-dev
The following packages will be upgraded:
  libuuid1
1 upgraded, 37 newly installed, 0 to remove and 43 not upgraded.
Need to get 11.7 MB/11.7 MB of archives.
After this operation, 32.7 MB of additional disk space will be used.
Get:1 http://172.17.0.1/private/ jessie-staging/main libuuid1 armhf 2.20.1-5.7 [56.5 kB]
Get:2 http://172.17.0.1/private/ jessie-staging/main libpipeline1 armhf 1.3.0-1 [21.1 kB]
Get:3 http://172.17.0.1/private/ jessie-staging/main groff-base armhf 1.22.2-5 [962 kB]
Get:4 http://172.17.0.1/private/ jessie-staging/main bsdmainutils armhf 9.0.5 [206 kB]
Get:5 http://172.17.0.1/private/ jessie-staging/main man-db armhf 2.6.7.1-1 [964 kB]
Get:6 http://172.17.0.1/private/ jessie-staging/main libasprintf0c2 armhf 0.18.3.2-1 [29.0 kB]
Get:7 http://172.17.0.1/private/ jessie-staging/main libgpg-error0 armhf 1.12-0.2 [78.9 kB]
Get:8 http://172.17.0.1/private/ jessie-staging/main libgcrypt11 armhf 1.5.3-4 [233 kB]
Get:9 http://172.17.0.1/private/ jessie-staging/main libffi6 armhf 3.1~rc1+r3.0.13-12 [17.6 kB]
Get:10 http://172.17.0.1/private/ jessie-staging/main libp11-kit0 armhf 0.20.2-5 [66.1 kB]
Get:11 http://172.17.0.1/private/ jessie-staging/main libtasn1-6 armhf 3.4-3 [42.6 kB]
Get:12 http://172.17.0.1/private/ jessie-staging/main libgnutls26 armhf 2.12.23-13 [490 kB]
Get:13 http://172.17.0.1/private/ jessie-staging/main libmagic1 armhf 1:5.17-1 [225 kB]
Get:14 http://172.17.0.1/private/ jessie-staging/main libxml2 armhf 2.9.1+dfsg1-3 [836 kB]
Get:15 http://172.17.0.1/private/ jessie-staging/main libglib2.0-0 armhf 2.40.0-2+rpi1 [2249 kB]
Get:16 http://172.17.0.1/private/ jessie-staging/main libcroco3 armhf 0.6.8-2 [119 kB]
Get:17 http://172.17.0.1/private/ jessie-staging/main libfuse2 armhf 2.9.3-9 [121 kB]
Get:18 http://172.17.0.1/private/ jessie-staging/main libjpeg8 armhf 8d-2 [133 kB]
Get:19 http://172.17.0.1/private/ jessie-staging/main libunistring0 armhf 0.9.3-5 [408 kB]
Get:20 http://172.17.0.1/private/ jessie-staging/main adduser all 3.113+nmu3 [264 kB]
Get:21 http://172.17.0.1/private/ jessie-staging/main fuse armhf 2.9.3-9 [68.0 kB]
Get:22 http://172.17.0.1/private/ jessie-staging/main ntfs-3g armhf 1:2014.2.15AR.1-1 [475 kB]
Get:23 http://172.17.0.1/private/ jessie-staging/main file armhf 1:5.17-1 [55.3 kB]
Get:24 http://172.17.0.1/private/ jessie-staging/main gettext-base armhf 0.18.3.2-1 [112 kB]
Get:25 http://172.17.0.1/private/ jessie-staging/main gettext armhf 0.18.3.2-1 [1137 kB]
Get:26 http://172.17.0.1/private/ jessie-staging/main intltool-debian all 0.35.0+20060710.1 [29.8 kB]
Get:27 http://172.17.0.1/private/ jessie-staging/main po-debconf all 1.0.16+nmu2 [223 kB]
Get:28 http://172.17.0.1/private/ jessie-staging/main debhelper all 9.20140228 [691 kB]
Get:29 http://172.17.0.1/private/ jessie-staging/main libjpeg8-dev armhf 8d-2 [238 kB]
Get:30 http://172.17.0.1/private/ jessie-staging/main libtinfo-dev armhf 5.9+20140118-1 [64.8 kB]
Get:31 http://172.17.0.1/private/ jessie-staging/main libncurses5-dev armhf 5.9+20140118-1 [152 kB]
Get:32 http://172.17.0.1/private/ jessie-staging/main libncursesw5-dev armhf 5.9+20140118-1 [179 kB]
Get:33 http://172.17.0.1/private/ jessie-staging/main ntfs-3g-dev armhf 1:2014.2.15AR.1-1 [213 kB]
Get:34 http://172.17.0.1/private/ jessie-staging/main zlib1g-dev armhf 1:1.2.8.dfsg-1 [212 kB]
Get:35 http://172.17.0.1/private/ jessie-staging/main comerr-dev armhf 2.1-1.42.9-3 [37.5 kB]
Get:36 http://172.17.0.1/private/ jessie-staging/main e2fslibs-dev armhf 1.42.9-3 [187 kB]
Get:37 http://172.17.0.1/private/ jessie-staging/main uuid-dev armhf 2.20.1-5.7 [69.7 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 11.7 MB in 7s (1466 kB/s)
(Reading database ... 12304 files and directories currently installed.)
Preparing to unpack .../libuuid1_2.20.1-5.7_armhf.deb ...
Unpacking libuuid1:armhf (2.20.1-5.7) over (2.20.1-5.6) ...
Setting up libuuid1:armhf (2.20.1-5.7) ...
Processing triggers for libc-bin (2.18-4) ...
Selecting previously unselected package libpipeline1:armhf.
(Reading database ... 12304 files and directories currently installed.)
Preparing to unpack .../libpipeline1_1.3.0-1_armhf.deb ...
Unpacking libpipeline1:armhf (1.3.0-1) ...
Selecting previously unselected package groff-base.
Preparing to unpack .../groff-base_1.22.2-5_armhf.deb ...
Unpacking groff-base (1.22.2-5) ...
Selecting previously unselected package bsdmainutils.
Preparing to unpack .../bsdmainutils_9.0.5_armhf.deb ...
Unpacking bsdmainutils (9.0.5) ...
Selecting previously unselected package man-db.
Preparing to unpack .../man-db_2.6.7.1-1_armhf.deb ...
Unpacking man-db (2.6.7.1-1) ...
Selecting previously unselected package libasprintf0c2:armhf.
Preparing to unpack .../libasprintf0c2_0.18.3.2-1_armhf.deb ...
Unpacking libasprintf0c2:armhf (0.18.3.2-1) ...
Selecting previously unselected package libgpg-error0:armhf.
Preparing to unpack .../libgpg-error0_1.12-0.2_armhf.deb ...
Unpacking libgpg-error0:armhf (1.12-0.2) ...
Selecting previously unselected package libgcrypt11:armhf.
Preparing to unpack .../libgcrypt11_1.5.3-4_armhf.deb ...
Unpacking libgcrypt11:armhf (1.5.3-4) ...
Selecting previously unselected package libffi6:armhf.
Preparing to unpack .../libffi6_3.1~rc1+r3.0.13-12_armhf.deb ...
Unpacking libffi6:armhf (3.1~rc1+r3.0.13-12) ...
Selecting previously unselected package libp11-kit0:armhf.
Preparing to unpack .../libp11-kit0_0.20.2-5_armhf.deb ...
Unpacking libp11-kit0:armhf (0.20.2-5) ...
Selecting previously unselected package libtasn1-6:armhf.
Preparing to unpack .../libtasn1-6_3.4-3_armhf.deb ...
Unpacking libtasn1-6:armhf (3.4-3) ...
Selecting previously unselected package libgnutls26:armhf.
Preparing to unpack .../libgnutls26_2.12.23-13_armhf.deb ...
Unpacking libgnutls26:armhf (2.12.23-13) ...
Selecting previously unselected package libmagic1:armhf.
Preparing to unpack .../libmagic1_1%3a5.17-1_armhf.deb ...
Unpacking libmagic1:armhf (1:5.17-1) ...
Selecting previously unselected package libxml2:armhf.
Preparing to unpack .../libxml2_2.9.1+dfsg1-3_armhf.deb ...
Unpacking libxml2:armhf (2.9.1+dfsg1-3) ...
Selecting previously unselected package libglib2.0-0:armhf.
Preparing to unpack .../libglib2.0-0_2.40.0-2+rpi1_armhf.deb ...
Unpacking libglib2.0-0:armhf (2.40.0-2+rpi1) ...
Selecting previously unselected package libcroco3:armhf.
Preparing to unpack .../libcroco3_0.6.8-2_armhf.deb ...
Unpacking libcroco3:armhf (0.6.8-2) ...
Selecting previously unselected package libfuse2:armhf.
Preparing to unpack .../libfuse2_2.9.3-9_armhf.deb ...
Unpacking libfuse2:armhf (2.9.3-9) ...
Selecting previously unselected package libjpeg8:armhf.
Preparing to unpack .../libjpeg8_8d-2_armhf.deb ...
Unpacking libjpeg8:armhf (8d-2) ...
Selecting previously unselected package libunistring0:armhf.
Preparing to unpack .../libunistring0_0.9.3-5_armhf.deb ...
Unpacking libunistring0:armhf (0.9.3-5) ...
Selecting previously unselected package adduser.
Preparing to unpack .../adduser_3.113+nmu3_all.deb ...
Unpacking adduser (3.113+nmu3) ...
Selecting previously unselected package fuse.
Preparing to unpack .../fuse_2.9.3-9_armhf.deb ...
Unpacking fuse (2.9.3-9) ...
Setting up libfuse2:armhf (2.9.3-9) ...
Setting up adduser (3.113+nmu3) ...
Setting up fuse (2.9.3-9) ...
Creating fuse device...
update-initramfs: deferring update (trigger activated)
Processing triggers for libc-bin (2.18-4) ...
Processing triggers for initramfs-tools (0.115) ...
Selecting previously unselected package ntfs-3g.
(Reading database ... 13157 files and directories currently installed.)
Preparing to unpack .../ntfs-3g_1%3a2014.2.15AR.1-1_armhf.deb ...
Unpacking ntfs-3g (1:2014.2.15AR.1-1) ...
Selecting previously unselected package file.
Preparing to unpack .../file_1%3a5.17-1_armhf.deb ...
Unpacking file (1:5.17-1) ...
Selecting previously unselected package gettext-base.
Preparing to unpack .../gettext-base_0.18.3.2-1_armhf.deb ...
Unpacking gettext-base (0.18.3.2-1) ...
Selecting previously unselected package gettext.
Preparing to unpack .../gettext_0.18.3.2-1_armhf.deb ...
Unpacking gettext (0.18.3.2-1) ...
Selecting previously unselected package intltool-debian.
Preparing to unpack .../intltool-debian_0.35.0+20060710.1_all.deb ...
Unpacking intltool-debian (0.35.0+20060710.1) ...
Selecting previously unselected package po-debconf.
Preparing to unpack .../po-debconf_1.0.16+nmu2_all.deb ...
Unpacking po-debconf (1.0.16+nmu2) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../debhelper_9.20140228_all.deb ...
Unpacking debhelper (9.20140228) ...
Selecting previously unselected package libjpeg8-dev:armhf.
Preparing to unpack .../libjpeg8-dev_8d-2_armhf.deb ...
Unpacking libjpeg8-dev:armhf (8d-2) ...
Selecting previously unselected package libtinfo-dev:armhf.
Preparing to unpack .../libtinfo-dev_5.9+20140118-1_armhf.deb ...
Unpacking libtinfo-dev:armhf (5.9+20140118-1) ...
Selecting previously unselected package libncurses5-dev:armhf.
Preparing to unpack .../libncurses5-dev_5.9+20140118-1_armhf.deb ...
Unpacking libncurses5-dev:armhf (5.9+20140118-1) ...
Selecting previously unselected package libncursesw5-dev:armhf.
Preparing to unpack .../libncursesw5-dev_5.9+20140118-1_armhf.deb ...
Unpacking libncursesw5-dev:armhf (5.9+20140118-1) ...
Selecting previously unselected package ntfs-3g-dev.
Preparing to unpack .../ntfs-3g-dev_1%3a2014.2.15AR.1-1_armhf.deb ...
Unpacking ntfs-3g-dev (1:2014.2.15AR.1-1) ...
Selecting previously unselected package zlib1g-dev:armhf.
Preparing to unpack .../zlib1g-dev_1%3a1.2.8.dfsg-1_armhf.deb ...
Unpacking zlib1g-dev:armhf (1:1.2.8.dfsg-1) ...
Selecting previously unselected package comerr-dev.
Preparing to unpack .../comerr-dev_2.1-1.42.9-3_armhf.deb ...
Unpacking comerr-dev (2.1-1.42.9-3) ...
Selecting previously unselected package e2fslibs-dev.
Preparing to unpack .../e2fslibs-dev_1.42.9-3_armhf.deb ...
Unpacking e2fslibs-dev (1.42.9-3) ...
Selecting previously unselected package uuid-dev.
Preparing to unpack .../uuid-dev_2.20.1-5.7_armhf.deb ...
Unpacking uuid-dev (2.20.1-5.7) ...
Selecting previously unselected package sbuild-build-depends-testdisk-dummy.
Preparing to unpack .../sbuild-build-depends-testdisk-dummy.deb ...
Unpacking sbuild-build-depends-testdisk-dummy (0.invalid.0) ...
Processing triggers for initramfs-tools (0.115) ...
Setting up libpipeline1:armhf (1.3.0-1) ...
Setting up groff-base (1.22.2-5) ...
Setting up bsdmainutils (9.0.5) ...
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 man-db (2.6.7.1-1) ...
Not building database; man-db/auto-update is not 'true'.
Setting up libasprintf0c2:armhf (0.18.3.2-1) ...
Setting up libgpg-error0:armhf (1.12-0.2) ...
Setting up libgcrypt11:armhf (1.5.3-4) ...
Setting up libffi6:armhf (3.1~rc1+r3.0.13-12) ...
Setting up libp11-kit0:armhf (0.20.2-5) ...
Setting up libtasn1-6:armhf (3.4-3) ...
Setting up libgnutls26:armhf (2.12.23-13) ...
Setting up libmagic1:armhf (1:5.17-1) ...
Setting up libxml2:armhf (2.9.1+dfsg1-3) ...
Setting up libglib2.0-0:armhf (2.40.0-2+rpi1) ...
No schema files found: doing nothing.
Setting up libcroco3:armhf (0.6.8-2) ...
Setting up libjpeg8:armhf (8d-2) ...
Setting up libunistring0:armhf (0.9.3-5) ...
Setting up ntfs-3g (1:2014.2.15AR.1-1) ...
update-initramfs: deferring update (trigger activated)
Setting up file (1:5.17-1) ...
Setting up gettext-base (0.18.3.2-1) ...
Setting up gettext (0.18.3.2-1) ...
Setting up intltool-debian (0.35.0+20060710.1) ...
Setting up po-debconf (1.0.16+nmu2) ...
Setting up debhelper (9.20140228) ...
Setting up libjpeg8-dev:armhf (8d-2) ...
Setting up libtinfo-dev:armhf (5.9+20140118-1) ...
Setting up libncurses5-dev:armhf (5.9+20140118-1) ...
Setting up libncursesw5-dev:armhf (5.9+20140118-1) ...
Setting up zlib1g-dev:armhf (1:1.2.8.dfsg-1) ...
Setting up comerr-dev (2.1-1.42.9-3) ...
Setting up e2fslibs-dev (1.42.9-3) ...
Setting up uuid-dev (2.20.1-5.7) ...
Processing triggers for initramfs-tools (0.115) ...
Setting up ntfs-3g-dev (1:2014.2.15AR.1-1) ...
Setting up sbuild-build-depends-testdisk-dummy (0.invalid.0) ...
Processing triggers for libc-bin (2.18-4) ...

┌──────────────────────────────────────────────────────────────────────────────┐
│ Build environment                                                            │
└──────────────────────────────────────────────────────────────────────────────┘

Kernel: Linux 3.13-1-armmp armhf (armv7l)
Toolchain package versions: binutils_2.24-3 dpkg-dev_1.17.6+rpi1 g++-4.6_4.6.4-5+rpi1 g++-4.8_4.8.2-16 gcc-4.6_4.6.4-5+rpi1 gcc-4.8_4.8.2-16 libc6-dev_2.18-4 libstdc++-4.8-dev_4.8.2-16 libstdc++6_4.8.2-16 libstdc++6-4.6-dev_4.6.4-5+rpi1 linux-libc-dev_3.12.6-2+rpi1
Package versions: adduser_3.113+nmu3 apt_0.9.15.4 base-files_7.2+rpi1 base-passwd_3.5.28 bash_4.2+dfsg-1 binutils_2.24-3 bsdmainutils_9.0.5 bsdutils_1:2.20.1-5.6 build-essential_11.6 bzip2_1.0.6-5 comerr-dev_2.1-1.42.9-3 coreutils_8.21-1 cpio_2.11+dfsg-1 cpp_4:4.8.2-2 cpp-4.6_4.6.4-5+rpi1 cpp-4.8_4.8.2-16 dash_0.5.7-4 debconf_1.5.52 debfoster_2.7-1.2 debhelper_9.20140228 debianutils_4.4 diffutils_1:3.3-1 dpkg_1.17.6+rpi1 dpkg-dev_1.17.6+rpi1 e2fslibs_1.42.9-3 e2fslibs-dev_1.42.9-3 e2fsprogs_1.42.9-3 fakeroot_1.18.4-2 file_1:5.17-1 findutils_4.4.2-7 fuse_2.9.3-9 g++_4:4.8.2-2 g++-4.6_4.6.4-5+rpi1 g++-4.8_4.8.2-16 gcc_4:4.8.2-2 gcc-4.5-base_4.5.3-12+rpi1 gcc-4.6_4.6.4-5+rpi1 gcc-4.6-base_4.6.4-5+rpi1 gcc-4.7-base_4.7.3-10+rpi1 gcc-4.8_4.8.2-16 gcc-4.8-base_4.8.2-16 gettext_0.18.3.2-1 gettext-base_0.18.3.2-1 gnupg_1.4.16-1.1 gpgv_1.4.16-1.1 grep_2.16-1 groff-base_1.22.2-5 gzip_1.6-3 hostname_3.15 initramfs-tools_0.115 initscripts_2.88dsf-51 insserv_1.14.0-5 intltool-debian_0.35.0+20060710.1 klibc-utils_2.0.2-1+rpi1 kmod_16-2 libacl1_2.2.52-1 libapt-pkg4.12_0.9.15.4 libarchive-extract-perl_0.72-1 libasan0_4.8.2-16 libasprintf0c2_0.18.3.2-1 libatomic1_4.8.2-16 libattr1_1:2.4.47-1 libaudit-common_1:2.3.3-4 libaudit1_1:2.3.3-4 libblkid1_2.20.1-5.6 libbz2-1.0_1.0.6-5 libc-bin_2.18-4 libc-dev-bin_2.18-4 libc6_2.18-4 libc6-dev_2.18-4 libcap2_1:2.22-1.2 libclass-isa-perl_0.36-5 libcloog-isl4_0.18.2-1 libcomerr2_1.42.9-3 libcroco3_0.6.8-2 libdb5.1_5.1.29-6 libdb5.3_5.3.28-3 libdbus-1-3_1.8.0-1 libdpkg-perl_1.17.6+rpi1 libffi6_3.1~rc1+r3.0.13-12 libfuse2_2.9.3-9 libgc1c2_1:7.2d-6 libgcc-4.8-dev_4.8.2-16 libgcc1_1:4.8.2-16 libgcrypt11_1.5.3-4 libgdbm3_1.8.3-12 libglib2.0-0_2.40.0-2+rpi1 libgmp10_2:5.1.3+dfsg-1 libgnutls26_2.12.23-13 libgomp1_4.8.2-16 libgpg-error0_1.12-0.2 libisl10_0.12.2-1 libjpeg8_8d-2 libjpeg8-dev_8d-2 libklibc_2.0.2-1+rpi1 libkmod2_16-2 liblog-message-simple-perl_0.10-1 liblzma5_5.1.1alpha+20120614-2 libmagic1_1:5.17-1 libmodule-pluggable-perl_5.1-1 libmount1_2.20.1-5.6 libmpc3_1.0.1-1 libmpfr4_3.1.2-1 libncurses5_5.9+20140118-1 libncurses5-dev_5.9+20140118-1 libncursesw5_5.9+20140118-1 libncursesw5-dev_5.9+20140118-1 libp11-kit0_0.20.2-5 libpam-modules_1.1.8-2 libpam-modules-bin_1.1.8-2 libpam-runtime_1.1.8-2 libpam0g_1.1.8-2 libpcre3_1:8.31-2 libpipeline1_1.3.0-1 libpod-latex-perl_0.61-1 libprocps0_1:3.3.4-2 libprocps3_1:3.3.9-2 libreadline6_6.2+dfsg-0.1 libselinux1_2.2.2-1 libsemanage-common_2.2-1 libsemanage1_2.2-1 libsepol1_2.2-1 libslang2_2.2.4-16 libss2_1.42.9-3 libstdc++-4.8-dev_4.8.2-16 libstdc++6_4.8.2-16 libstdc++6-4.6-dev_4.6.4-5+rpi1 libswitch-perl_2.16-2 libtasn1-6_3.4-3 libterm-ui-perl_0.42-1 libtimedate-perl_2.3000-1 libtinfo-dev_5.9+20140118-1 libtinfo5_5.9+20140118-1 libudev0_175-7.2 libudev1_204-7 libunistring0_0.9.3-5 libusb-0.1-4_2:0.1.12-23.3 libustr-1.0-1_1.0.4-3 libuuid1_2.20.1-5.7 libxml2_2.9.1+dfsg1-3 linux-libc-dev_3.12.6-2+rpi1 login_1:4.1.5.1-1 lsb-base_4.1+Debian12+rpi1 make_3.81-8.3 makedev_2.3.1-93 man-db_2.6.7.1-1 mawk_1.3.3-17 mount_2.20.1-5.6 multiarch-support_2.18-4 nano_2.2.6-1 ncurses-base_5.9+20140118-1 ncurses-bin_5.9+20140118-1 ntfs-3g_1:2014.2.15AR.1-1 ntfs-3g-dev_1:2014.2.15AR.1-1 passwd_1:4.1.5.1-1 patch_2.7.1-4 perl_5.18.2-2 perl-base_5.18.2-2 perl-modules_5.18.2-2 plymouth_0.8.8-6+deb8u3 po-debconf_1.0.16+nmu2 procps_1:3.3.9-2 raspbian-archive-keyring_20120528.2 readline-common_6.2+dfsg-0.1 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-testdisk-dummy_0.invalid.0 sed_4.2.2-4 sensible-utils_0.0.9 sysv-rc_2.88dsf-51 sysvinit_2.88dsf-51 sysvinit-core_2.88dsf-51 sysvinit-utils_2.88dsf-51 tar_1.27.1-1 tzdata_2013i-1 udev_204-7 util-linux_2.20.1-5.6 uuid-dev_2.20.1-5.7 xz-utils_5.1.1alpha+20120614-2 zlib1g_1:1.2.8.dfsg-1 zlib1g-dev_1:1.2.8.dfsg-1

┌──────────────────────────────────────────────────────────────────────────────┐
│ Build                                                                        │
└──────────────────────────────────────────────────────────────────────────────┘


Unpack source
─────────────

gpgv: keyblock resource `/sbuild-nonexistent/.gnupg/trustedkeys.gpg': file open error
gpgv: Signature made Sat Apr 12 08:16:20 2014 UTC using DSA key ID 1BF8DE0F
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./testdisk_6.14-3.dsc
dpkg-source: info: extracting testdisk in testdisk-6.14
dpkg-source: info: unpacking testdisk_6.14.orig.tar.bz2
dpkg-source: info: unpacking testdisk_6.14-3.debian.tar.xz

Check disc space
────────────────

Sufficient free space for build

Hack binNMU version
───────────────────

Created changelog entry for binNMU version 6.14-3+b1

User Environment
────────────────

APT_CONFIG=/var/lib/sbuild/apt.conf
COLUMNS=80
CONSOLE=/dev/console
DEB_BUILD_OPTIONS=parallel=4
HOME=/sbuild-nonexistent
INIT_VERSION=sysvinit-2.88
LC_ALL=POSIX
LINES=24
LOGNAME=buildd
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
PREVLEVEL=N
PWD=/
RUNLEVEL=2
SCHROOT_ALIAS_NAME=jessie-staging-armhf-sbuild
SCHROOT_CHROOT_NAME=jessie-staging-armhf-sbuild
SCHROOT_COMMAND=env
SCHROOT_GID=109
SCHROOT_GROUP=buildd
SCHROOT_SESSION_ID=jessie-staging-armhf-sbuild-7fffb0ba-f9c4-41d2-a478-fb5d6d03ff24
SCHROOT_UID=104
SCHROOT_USER=buildd
SHELL=/bin/sh
TERM=linux
USER=buildd
init=/sbin/init
previous=N
rootmnt=/root
runlevel=2

dpkg-buildpackage
─────────────────

dpkg-buildpackage: source package testdisk
dpkg-buildpackage: source version 6.14-3+b1
dpkg-buildpackage: source distribution jessie-staging
 dpkg-source --before-build testdisk-6.14
dpkg-buildpackage: host architecture armhf
 fakeroot debian/rules clean
dh clean
   dh_testdir
   debian/rules override_dh_auto_clean
make[1]: Entering directory `/«PKGBUILDDIR»'
dh_auto_clean
rm -f src/*.d
make[1]: Leaving directory `/«PKGBUILDDIR»'
   dh_clean
 debian/rules build-arch
dh build-arch
   dh_testdir -a
   debian/rules override_dh_auto_configure
make[1]: Entering directory `/«PKGBUILDDIR»'
dh_auto_configure -- --enable-sudo --with-sudo-bin=/usr/bin/sudo --with-ncurses-includes=/usr/include/ncursesw --without-ewf
configure: WARNING: unrecognized options: --disable-maintainer-mode
checking build system type... arm-unknown-linux-gnueabihf
checking host system type... arm-unknown-linux-gnueabihf
checking target system type... arm-unknown-linux-gnueabihf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... none
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for pkg-config... 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... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking byteswap.h usability... yes
checking byteswap.h presence... yes
checking for byteswap.h... yes
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking cygwin/fs.h usability... no
checking cygwin/fs.h presence... no
checking for cygwin/fs.h... no
checking cygwin/version.h usability... no
checking cygwin/version.h presence... no
checking for cygwin/version.h... no
checking dal/file_dal.h usability... no
checking dal/file_dal.h presence... no
checking for dal/file_dal.h... no
checking dal/file.h usability... no
checking dal/file.h presence... no
checking for dal/file.h... no
checking ddk/ntddstor.h usability... no
checking ddk/ntddstor.h presence... no
checking for ddk/ntddstor.h... no
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking endian.h usability... yes
checking endian.h presence... yes
checking for endian.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking features.h usability... yes
checking features.h presence... yes
checking for features.h... yes
checking giconv.h usability... no
checking giconv.h presence... no
checking for giconv.h... no
checking glob.h usability... yes
checking glob.h presence... yes
checking for glob.h... yes
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking io.h usability... no
checking io.h presence... no
checking for io.h... no
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking linux/fs.h usability... yes
checking linux/fs.h presence... yes
checking for linux/fs.h... yes
checking linux/hdreg.h usability... yes
checking linux/hdreg.h presence... yes
checking for linux/hdreg.h... yes
checking linux/types.h usability... yes
checking linux/types.h presence... yes
checking for linux/types.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking machine/endian.h usability... no
checking machine/endian.h presence... no
checking for machine/endian.h... no
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking ncurses/curses.h usability... no
checking ncurses/curses.h presence... no
checking for ncurses/curses.h... no
checking ncurses/ncurses.h usability... no
checking ncurses/ncurses.h presence... no
checking for ncurses/ncurses.h... no
checking ncursesw/curses.h usability... yes
checking ncursesw/curses.h presence... yes
checking for ncursesw/curses.h... yes
checking ncursesw/ncurses.h usability... yes
checking ncursesw/ncurses.h presence... yes
checking for ncursesw/ncurses.h... yes
checking ntfs/version.h usability... no
checking ntfs/version.h presence... no
checking for ntfs/version.h... no
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking scsi/scsi.h usability... yes
checking scsi/scsi.h presence... yes
checking for scsi/scsi.h... yes
checking scsi/scsi_ioctl.h usability... yes
checking scsi/scsi_ioctl.h presence... yes
checking for scsi/scsi_ioctl.h... yes
checking scsi/sg.h usability... yes
checking scsi/sg.h presence... yes
checking for scsi/sg.h... yes
checking setjmp.h usability... yes
checking setjmp.h presence... yes
checking for setjmp.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking sys/cygwin.h usability... no
checking sys/cygwin.h presence... no
checking for sys/cygwin.h... no
checking sys/disk.h usability... no
checking sys/disk.h presence... no
checking for sys/disk.h... no
checking sys/disklabel.h usability... no
checking sys/disklabel.h presence... no
checking for sys/disklabel.h... no
checking sys/dkio.h usability... no
checking sys/dkio.h presence... no
checking for sys/dkio.h... no
checking sys/endian.h usability... no
checking sys/endian.h presence... no
checking for sys/endian.h... no
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking sys/vtoc.h usability... no
checking sys/vtoc.h presence... no
checking for sys/vtoc.h... no
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking w32api/ddk/ntdddisk.h usability... no
checking w32api/ddk/ntdddisk.h presence... no
checking for w32api/ddk/ntdddisk.h... no
checking windef.h usability... no
checking windef.h presence... no
checking for windef.h... no
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking iconv support... yes, in libc
checking for sys/mount.h... yes
checking for winbase.h... no
checking for winioctl.h... no
checking for ext2fs/ext2_fs.h... yes
checking for ext2fs/ext2fs.h... yes
checking for off64_t... yes
checking libewf.h usability... no
checking libewf.h presence... no
checking for libewf.h... no
configure: WARNING: Disable use of ewf library
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking ntfs/attrib.h usability... no
checking ntfs/attrib.h presence... no
checking for ntfs/attrib.h... no
configure: WARNING: Disable use of ntfs library
checking ntfs/volume.h usability... no
checking ntfs/volume.h presence... no
checking for ntfs/volume.h... no
configure: WARNING: Disable use of ntfs library
checking ntfs-3g/attrib.h usability... yes
checking ntfs-3g/attrib.h presence... yes
checking for ntfs-3g/attrib.h... yes
checking ntfs-3g/volume.h usability... yes
checking ntfs-3g/volume.h presence... yes
checking for ntfs-3g/volume.h... yes
checking libcarvpath.h usability... no
checking libcarvpath.h presence... no
checking for libcarvpath.h... no
configure: WARNING: Disable use of carvpath library
checking for an ANSI C-conforming const... yes
checking whether byte ordering is bigendian... no
checking for inline... inline
checking for off_t... yes
checking for size_t... yes
checking for struct stat.st_blocks... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct stat.st_blksize... yes
checking for struct stat.st_rdev... yes
checking for dal_t.block_size... no
checking for dal_t.error... no
checking for dal_t.entity... no
checking for dal_t.name... no
checking for struct dal_ops.dev... no
checking for struct struct_io_manager.set_option... yes
checking for struct tm.tm_gmtoff... no
checking whether gcc needs -traditional... no
checking for initscr in -lncursesw... yes
checking for keypad in -ltinfo... yes
checking for ext2fs_open in -lext2fs... yes
checking for com_err in -lcom_err... yes
checking for ext2fs_get_generic_bitmap_start... yes
checking for jpeg_std_error in -ljpeg... yes
checking for ntfs_device_mount in -lntfs-3g... yes
configure: WARNING: Use of ntfs library disabled
checking for libreiserfs_get_version in -lreiserfs... no
configure: WARNING: No reiserfs library detected
checking sys/uuid.h usability... no
checking sys/uuid.h presence... no
checking for sys/uuid.h... no
checking uuid/uuid.h usability... yes
checking uuid/uuid.h presence... yes
checking for uuid/uuid.h... yes
checking uuid.h usability... no
checking uuid.h presence... no
checking for uuid.h... no
checking for uuidgen... no
checking for library containing uuid_generate... -luuid
checking for uuid_create... no
checking for uuid_generate... yes
checking for compress2 in -lz... yes
configure: WARNING: Use of ewf library disabled
checking whether gcc understands -Wdeclaration-after-statement... yes
checking whether gcc understands -Wall... yes
checking whether gcc understands -MD... yes
checking whether gcc understands -Wpointer-arith... yes
checking whether gcc understands -Wmissing-declarations... yes
checking whether gcc understands -Wmissing-prototypes... yes
checking whether gcc understands -Wstrict-prototypes... yes
checking whether gcc understands -Wshadow... yes
checking whether gcc understands -Wwrite-strings... yes
checking whether gcc understands -W... yes
checking whether gcc understands -Wcast-align... yes
checking whether gcc understands -Waggregate-return... yes
checking whether gcc understands -Wbad-function-cast... yes
checking whether gcc understands -Wcast-qual... yes
checking whether gcc understands -Wundef... yes
checking whether gcc understands -Wredundant-decls... yes
checking whether gcc understands -Wsign-compare... yes
checking whether gcc understands -Wnested-externs... yes
checking whether gcc understands -Winline... yes
checking whether gcc understands -Wdisabled-optimization... yes
checking whether gcc understands -Wfloat-equal... yes
checking whether gcc understands -Wmissing-format-attribute... yes
checking whether gcc understands -Wmultichar... yes
checking whether gcc understands -Wc++-compat... yes
checking whether gcc understands -Wformat=2... yes
checking whether gcc understands -Wunreachable-code... yes
checking whether g++ understands -Wall... yes
checking whether g++ understands -MD... yes
checking whether g++ understands -Wpointer-arith... yes
checking whether g++ understands -Wmissing-declarations... yes
checking whether g++ understands -Wshadow... yes
checking whether g++ understands -Wwrite-strings... yes
checking whether g++ understands -W... yes
checking whether g++ understands -Wcast-align... yes
checking whether g++ understands -Wcast-qual... yes
checking whether g++ understands -Wundef... yes
checking whether g++ understands -Wredundant-decls... yes
checking whether g++ understands -Wsign-compare... yes
checking whether g++ understands -Winline... yes
checking whether g++ understands -Wdisabled-optimization... yes
checking whether g++ understands -Wmissing-format-attribute... yes
checking whether g++ understands -Wmultichar... yes
checking whether g++ understands -Wformat=2... yes
checking for pread... yes
checking for atexit... yes
checking for atoll... yes
checking for chdir... yes
checking for chmod... yes
checking for delscreen... no
checking for dirname... yes
checking for dup2... yes
checking for execv... yes
checking for fdatasync... yes
checking for fsync... yes
checking for ftruncate... yes
checking for getcwd... yes
checking for geteuid... yes
checking for getpwuid... yes
checking for lstat... yes
checking for memalign... yes
checking for memchr... yes
checking for memset... yes
checking for mkdir... yes
checking for posix_fadvise... yes
checking for posix_memalign... yes
checking for pwrite... yes
checking for readlink... yes
checking for setenv... yes
checking for setlocale... yes
checking for sigaction... yes
checking for signal... yes
checking for sleep... yes
checking for snprintf... yes
checking for strcasecmp... yes
checking for strcasestr... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strptime... yes
checking for strrchr... yes
checking for strstr... yes
checking for strtol... yes
checking for strtoul... yes
checking for strtoull... yes
checking for touchwin... no
checking for uname... yes
checking for utime... yes
checking for vsnprintf... yes
checking for wctomb... yes
checking for reiserfs_fs_open_fast... no
checking for ntfs_libntfs_version... no
checking for ntfs_volume_startup... yes
checking for 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 that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating linux/testdisk.spec
config.status: creating doc_src/testdisk.8
config.status: creating doc_src/photorec.8
config.status: creating doc_src/fidentify.8
config.status: creating config.h
config.status: executing depfiles commands
configure: WARNING: unrecognized options: --disable-maintainer-mode
make[1]: Leaving directory `/«PKGBUILDDIR»'
   dh_auto_build -a
make[1]: Entering directory `/«PKGBUILDDIR»'
make  all-recursive
make[2]: Entering directory `/«PKGBUILDDIR»'
Making all in src
make[3]: Entering directory `/«PKGBUILDDIR»/src'
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c autoset.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c common.c
common.c: In function 'set_part_name':
common.c:191:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(i=0; i<sizeof(partition->fsname)-1 && i<max_size && src[i]!='\0'; i++)
             ^
common.c: In function 'set_part_name_chomp':
common.c:199:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(i=0; i<sizeof(partition->fsname) && i<max_size && src[i]!='\0'; i++)
             ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c crc.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c ewf.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c fnctdsk.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c hdaccess.c
hdaccess.c: In function 'disk_get_model':
hdaccess.c:935:76: warning: unused parameter 'verbose' [-Wunused-parameter]
 static void disk_get_model(const int hd_h, disk_t *dev, const unsigned int verbose)
                                                                            ^
hdaccess.c: In function 'compute_device_size':
hdaccess.c:1026:54: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   while(pread(hd_h, buffer, sector_size, max_offset) == sector_size)
                                                      ^
hdaccess.c:1036:53: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if(pread(hd_h, buffer, sector_size, cur_offset) == sector_size)
                                                     ^
hdaccess.c:1046:51: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if(pread(hd_h, buffer, sector_size, min_offset) == sector_size)
                                                   ^
hdaccess.c: In function 'file_pread_aux':
hdaccess.c:1203:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if(ret!=count)
         ^
hdaccess.c: In function 'file_pwrite_aux':
hdaccess.c:1275:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if(ret!=count)
         ^
hdaccess.c: In function 'file_nopwrite':
hdaccess.c:1289:56: warning: unused parameter 'buf' [-Wunused-parameter]
 static int file_nopwrite(disk_t *disk_car, const void *buf, const unsigned int count, const uint64_t offset)
                                                        ^
hdaccess.c: In function 'file_test_availability':
hdaccess.c:1520:41: warning: cast increases required alignment of target type [-Wcast-align]
     if(memcmp(buffer,"DOSEMU",6)==0 && *(unsigned long*)(buffer+11)>0)
                                         ^
hdaccess.c:1523:33: warning: cast increases required alignment of target type [-Wcast-align]
       disk_car->geom.cylinders=*(unsigned long*)(buffer+15);
                                 ^
hdaccess.c:1524:42: warning: cast increases required alignment of target type [-Wcast-align]
       disk_car->geom.heads_per_cylinder=*(unsigned long*)(buffer+7);
                                          ^
hdaccess.c:1525:40: warning: cast increases required alignment of target type [-Wcast-align]
       disk_car->geom.sectors_per_head=*(unsigned long*)(buffer+11);
                                        ^
hdaccess.c:1527:25: warning: cast increases required alignment of target type [-Wcast-align]
       disk_car->offset=*(unsigned long*)(buffer+19);
                         ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c hdcache.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c hdwin32.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c hidden.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c hpa_dco.c
hpa_dco.c: In function 'sg_read_native_max_ext':
hpa_dco.c:143:24: warning: cast increases required alignment of target type [-Wcast-align]
   const uint16_t *word=(const uint16_t*)(sb + 10);
                        ^
hpa_dco.c: In function 'sg_device_configuration_identify':
hpa_dco.c:198:18: warning: cast increases required alignment of target type [-Wcast-align]
   uint16_t *word=(uint16_t*)&data;
                  ^
hpa_dco.c: In function 'disk_get_hpa_dco':
hpa_dco.c:269:26: warning: cast increases required alignment of target type [-Wcast-align]
   const uint16_t *id_val=(const uint16_t *) & id_args[4];
                          ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c intrf.c
intrf.c: In function 'screen_buffer_add':
intrf.c:83:53: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if(ret_ligne!=NULL && ret_ligne-pos_in_tmp_line < nbr)
                                                     ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c iso.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c list_sort.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c log.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c log_part.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c misc.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c msdos.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c parti386.c
parti386.c: In function 'init_part_order_i386':
parti386.c:326:56: warning: unused parameter 'disk_car' [-Wunused-parameter]
 static list_part_t *init_part_order_i386(const disk_t *disk_car, list_part_t *list_part)
                                                        ^
parti386.c: In function 'write_part_i386':
parti386.c:652:119: warning: unused parameter 'align' [-Wunused-parameter]
 static int write_part_i386(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose, const int align)
                                                                                                                       ^
parti386.c: In function 'diff':
parti386.c:907:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(j=0;j<DEFAULT_SECTOR_SIZE;j++)
              ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c partgpt.c
partgpt.c: In function 'read_part_gpt_aux':
partgpt.c:276:15: warning: cast increases required alignment of target type [-Wcast-align]
     gpt_entry=(const struct gpt_ent*)((const char*)gpt_entries + (unsigned long)i*le32(gpt->hdr_entsz));
               ^
partgpt.c:289:42: warning: cast increases required alignment of target type [-Wcast-align]
       UCSle2str(new_partition->partname, (const uint16_t *)&gpt_entry->ent_name, sizeof(gpt_entry->ent_name)/2);
                                          ^
partgpt.c: In function 'init_part_order_gpt':
partgpt.c:319:55: warning: unused parameter 'disk_car' [-Wunused-parameter]
 static list_part_t *init_part_order_gpt(const disk_t *disk_car, list_part_t *list_part)
                                                       ^
partgpt.c: In function 'set_next_status_gpt':
partgpt.c:394:47: warning: unused parameter 'disk_car' [-Wunused-parameter]
 static void set_next_status_gpt(const disk_t *disk_car, partition_t *partition)
                                               ^
partgpt.c: In function 'init_structure_gpt':
partgpt.c:417:89: warning: unused parameter 'verbose' [-Wunused-parameter]
 static void init_structure_gpt(const disk_t *disk_car,list_part_t *list_part, const int verbose)
                                                                                         ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c parthumax.c
parthumax.c: In function 'read_part_humax':
parthumax.c:109:7: warning: cast increases required alignment of target type [-Wcast-align]
   p32=(uint32_t*)buffer;
       ^
parthumax.c:100:65: warning: unused parameter 'verbose' [-Wunused-parameter]
 static list_part_t *read_part_humax(disk_t *disk_car, const int verbose, const int saveheader)
                                                                 ^
parthumax.c:100:84: warning: unused parameter 'saveheader' [-Wunused-parameter]
 static list_part_t *read_part_humax(disk_t *disk_car, const int verbose, const int saveheader)
                                                                                    ^
parthumax.c: In function 'write_part_humax':
parthumax.c:147:37: warning: unused parameter 'disk_car' [-Wunused-parameter]
 static int write_part_humax(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose, const int align)
                                     ^
parthumax.c:147:66: warning: unused parameter 'list_part' [-Wunused-parameter]
 static int write_part_humax(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose, const int align)
                                                                  ^
parthumax.c:147:101: warning: unused parameter 'verbose' [-Wunused-parameter]
 static int write_part_humax(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose, const int align)
                                                                                                     ^
parthumax.c:147:120: warning: unused parameter 'align' [-Wunused-parameter]
 static int write_part_humax(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose, const int align)
                                                                                                                        ^
parthumax.c: In function 'init_part_order_humax':
parthumax.c:155:57: warning: unused parameter 'disk_car' [-Wunused-parameter]
 static list_part_t *init_part_order_humax(const disk_t *disk_car, list_part_t *list_part)
                                                         ^
parthumax.c: In function 'set_next_status_humax':
parthumax.c:226:49: warning: unused parameter 'disk_car' [-Wunused-parameter]
 static void set_next_status_humax(const disk_t *disk_car, partition_t *partition)
                                                 ^
parthumax.c: In function 'init_structure_humax':
parthumax.c:262:91: warning: unused parameter 'verbose' [-Wunused-parameter]
 static void init_structure_humax(const disk_t *disk_car,list_part_t *list_part, const int verbose)
                                                                                           ^
parthumax.c: In function 'get_partition_typename_humax':
parthumax.c:296:68: warning: unused parameter 'partition' [-Wunused-parameter]
 static const char *get_partition_typename_humax(const partition_t *partition)
                                                                    ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c partmac.c
partmac.c: In function 'read_part_mac':
partmac.c:119:26: warning: cast increases required alignment of target type [-Wcast-align]
     mac_Block0 *maclabel=(mac_Block0*)&buffer;
                          ^
partmac.c:129:20: warning: cast increases required alignment of target type [-Wcast-align]
     mac_DPME *dpme=(mac_DPME *)buffer;
                    ^
partmac.c: In function 'write_part_mac':
partmac.c:199:35: warning: unused parameter 'disk_car' [-Wunused-parameter]
 static int write_part_mac(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose, const int align)
                                   ^
partmac.c:199:64: warning: unused parameter 'list_part' [-Wunused-parameter]
 static int write_part_mac(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose, const int align)
                                                                ^
partmac.c:199:99: warning: unused parameter 'verbose' [-Wunused-parameter]
 static int write_part_mac(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose, const int align)
                                                                                                   ^
partmac.c:199:118: warning: unused parameter 'align' [-Wunused-parameter]
 static int write_part_mac(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose, const int align)
                                                                                                                      ^
partmac.c: In function 'init_part_order_mac':
partmac.c:207:55: warning: unused parameter 'disk_car' [-Wunused-parameter]
 static list_part_t *init_part_order_mac(const disk_t *disk_car, list_part_t *list_part)
                                                       ^
partmac.c: In function 'set_next_status_mac':
partmac.c:274:47: warning: unused parameter 'disk_car' [-Wunused-parameter]
 static void set_next_status_mac(const disk_t *disk_car, partition_t *partition)
                                               ^
partmac.c: In function 'init_structure_mac':
partmac.c:307:89: warning: unused parameter 'verbose' [-Wunused-parameter]
 static void init_structure_mac(const disk_t *disk_car,list_part_t *list_part, const int verbose)
                                                                                         ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c partsun.c
partsun.c: In function 'get_geometry_from_sunmbr':
partsun.c:114:33: warning: cast increases required alignment of target type [-Wcast-align]
   const sun_disklabel *sunlabel=(const sun_disklabel*)buffer;
                                 ^
partsun.c: In function 'read_part_sun':
partsun.c:137:12: warning: cast increases required alignment of target type [-Wcast-align]
   sunlabel=(sun_disklabel*)buffer;
            ^
partsun.c: In function 'write_part_sun':
partsun.c:174:35: warning: unused parameter 'disk_car' [-Wunused-parameter]
 static int write_part_sun(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose, const int align)
                                   ^
partsun.c:174:64: warning: unused parameter 'list_part' [-Wunused-parameter]
 static int write_part_sun(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose, const int align)
                                                                ^
partsun.c:174:99: warning: unused parameter 'verbose' [-Wunused-parameter]
 static int write_part_sun(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose, const int align)
                                                                                                   ^
partsun.c:174:118: warning: unused parameter 'align' [-Wunused-parameter]
 static int write_part_sun(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose, const int align)
                                                                                                                      ^
partsun.c: In function 'set_next_status_sun':
partsun.c:267:47: warning: unused parameter 'disk_car' [-Wunused-parameter]
 static void set_next_status_sun(const disk_t *disk_car, partition_t *partition)
                                               ^
partsun.c: In function 'init_structure_sun':
partsun.c:299:89: warning: unused parameter 'verbose' [-Wunused-parameter]
 static void init_structure_sun(const disk_t *disk_car,list_part_t *list_part, const int verbose)
                                                                                         ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c partnone.c
partnone.c: In function 'get_geometry_from_nonembr':
partnone.c:169:77: warning: unused parameter 'verbose' [-Wunused-parameter]
 static int get_geometry_from_nonembr(const unsigned char *buffer, const int verbose, CHSgeometry_t *geometry)
                                                                             ^
partnone.c: In function 'read_part_none':
partnone.c:272:36: warning: cast increases required alignment of target type [-Wcast-align]
  const struct ext2_super_block *sb=(const struct ext2_super_block*)buffer_disk;
                                    ^
partnone.c: In function 'init_part_order_none':
partnone.c:299:56: warning: unused parameter 'disk_car' [-Wunused-parameter]
 static list_part_t *init_part_order_none(const disk_t *disk_car, list_part_t *list_part)
                                                        ^
partnone.c: In function 'set_next_status_none':
partnone.c:305:48: warning: unused parameter 'disk_car' [-Wunused-parameter]
 static void set_next_status_none(const disk_t *disk_car, partition_t *partition)
                                                ^
partnone.c:305:71: warning: unused parameter 'partition' [-Wunused-parameter]
 static void set_next_status_none(const disk_t *disk_car, partition_t *partition)
                                                                       ^
partnone.c: In function 'test_structure_none':
partnone.c:309:45: warning: unused parameter 'list_part' [-Wunused-parameter]
 static int test_structure_none(list_part_t *list_part)
                                             ^
partnone.c: In function 'is_part_known_none':
partnone.c:320:50: warning: unused parameter 'partition' [-Wunused-parameter]
 static int is_part_known_none(const partition_t *partition)
                                                  ^
partnone.c: In function 'init_structure_none':
partnone.c:325:47: warning: unused parameter 'disk_car' [-Wunused-parameter]
 static void init_structure_none(const disk_t *disk_car,list_part_t *list_part, const int verbose)
                                               ^
partnone.c:325:90: warning: unused parameter 'verbose' [-Wunused-parameter]
 static void init_structure_none(const disk_t *disk_car,list_part_t *list_part, const int verbose)
                                                                                          ^
partnone.c: In function 'check_part_none':
partnone.c:334:97: warning: unused parameter 'saveheader' [-Wunused-parameter]
 static int check_part_none(disk_t *disk_car,const int verbose,partition_t *partition, const int saveheader)
                                                                                                 ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c partxbox.c
partxbox.c: In function 'write_part_xbox':
partxbox.c:134:36: warning: unused parameter 'disk_car' [-Wunused-parameter]
 static int write_part_xbox(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose, const int align)
                                    ^
partxbox.c:134:65: warning: unused parameter 'list_part' [-Wunused-parameter]
 static int write_part_xbox(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose, const int align)
                                                                 ^
partxbox.c:134:100: warning: unused parameter 'verbose' [-Wunused-parameter]
 static int write_part_xbox(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose, const int align)
                                                                                                    ^
partxbox.c:134:119: warning: unused parameter 'align' [-Wunused-parameter]
 static int write_part_xbox(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose, const int align)
                                                                                                                       ^
partxbox.c: In function 'init_part_order_xbox':
partxbox.c:142:56: warning: unused parameter 'disk_car' [-Wunused-parameter]
 static list_part_t *init_part_order_xbox(const disk_t *disk_car, list_part_t *list_part)
                                                        ^
partxbox.c: In function 'set_next_status_xbox':
partxbox.c:209:48: warning: unused parameter 'disk_car' [-Wunused-parameter]
 static void set_next_status_xbox(const disk_t *disk_car, partition_t *partition)
                                                ^
partxbox.c: In function 'init_structure_xbox':
partxbox.c:242:90: warning: unused parameter 'verbose' [-Wunused-parameter]
 static void init_structure_xbox(const disk_t *disk_car,list_part_t *list_part, const int verbose)
                                                                                          ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c io_redir.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c ntfs_io.c
ntfs_io.c: In function 'ntfs_device_testdisk_io_stat':
ntfs_io.c:147:61: warning: unused parameter 'dev' [-Wunused-parameter]
 static int ntfs_device_testdisk_io_stat(struct ntfs_device *dev, struct stat *buf)
                                                             ^
ntfs_io.c:147:79: warning: unused parameter 'buf' [-Wunused-parameter]
 static int ntfs_device_testdisk_io_stat(struct ntfs_device *dev, struct stat *buf)
                                                                               ^
ntfs_io.c: In function 'ntfs_device_testdisk_io_ioctl':
ntfs_io.c:156:62: warning: unused parameter 'dev' [-Wunused-parameter]
 static int ntfs_device_testdisk_io_ioctl(struct ntfs_device *dev, int request,
                                                              ^
ntfs_io.c:156:71: warning: unused parameter 'request' [-Wunused-parameter]
 static int ntfs_device_testdisk_io_ioctl(struct ntfs_device *dev, int request,
                                                                       ^
ntfs_io.c:157:9: warning: unused parameter 'argp' [-Wunused-parameter]
   void *argp)
         ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c ntfs_utl.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c partauto.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c sudo.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c unicode.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c win32.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c analyse.c
analyse.c: In function 'search_HFS_backup':
analyse.c:84:30: warning: cast increases required alignment of target type [-Wcast-align]
     const struct hfsp_vh *vh=(const struct hfsp_vh *)buffer;
                              ^
analyse.c: In function 'search_type_0':
analyse.c:136:23: warning: cast increases required alignment of target type [-Wcast-align]
   const pv_disk_t *pv=(const pv_disk_t *)buffer;
                       ^
analyse.c:137:37: warning: cast increases required alignment of target type [-Wcast-align]
   const struct cramfs_super *cramfs=(const struct cramfs_super *)buffer;
                                     ^
analyse.c:139:44: warning: cast increases required alignment of target type [-Wcast-align]
   const struct disk_netware *netware_block=(const struct disk_netware *)buffer;
                                            ^
analyse.c:142:32: warning: cast increases required alignment of target type [-Wcast-align]
   const struct luks_phdr *luks=(const struct luks_phdr *)buffer;
                                ^
analyse.c:143:38: warning: cast increases required alignment of target type [-Wcast-align]
   const struct mdp_superblock_1 *sb1=(const struct mdp_superblock_1 *)buffer;
                                      ^
analyse.c:147:40: warning: cast increases required alignment of target type [-Wcast-align]
   const union swap_header *swap_header=(const union swap_header *)buffer;
                                        ^
analyse.c:197:24: warning: cast increases required alignment of target type [-Wcast-align]
       recover_MD(disk, (const struct mdp_superblock_s*)buffer, partition, verbose, dump_ind)==0)
                        ^
analyse.c: In function 'search_type_1':
analyse.c:218:38: warning: cast increases required alignment of target type [-Wcast-align]
   const struct disklabel *bsd_header=(const struct disklabel *)(buffer+0x200);
                                      ^
analyse.c:219:45: warning: cast increases required alignment of target type [-Wcast-align]
   const struct disk_super_block *beos_block=(const struct disk_super_block*)(buffer+0x200);
                                             ^
analyse.c:220:37: warning: cast increases required alignment of target type [-Wcast-align]
   const struct cramfs_super *cramfs=(const struct cramfs_super *)(buffer+0x200);
                                     ^
analyse.c: In function 'search_type_2':
analyse.c:258:28: warning: cast increases required alignment of target type [-Wcast-align]
   const struct hfsp_vh *vh=(const struct hfsp_vh *)(buffer+0x400);
                            ^
analyse.c:259:37: warning: cast increases required alignment of target type [-Wcast-align]
   const struct ext2_super_block *sb=(const struct ext2_super_block*)(buffer+0x400);
                                     ^
analyse.c: In function 'search_type_8':
analyse.c:290:40: warning: cast increases required alignment of target type [-Wcast-align]
     const struct mdp_superblock_1 *sb1=(const struct mdp_superblock_1 *)buffer;
                                        ^
analyse.c:292:26: warning: cast increases required alignment of target type [-Wcast-align]
         recover_MD(disk, (const struct mdp_superblock_s*)buffer, partition, verbose, dump_ind)==0)
                          ^
analyse.c: In function 'search_type_16':
analyse.c:313:40: warning: cast increases required alignment of target type [-Wcast-align]
     const struct vdev_boot_header *zfs=(const struct vdev_boot_header*)buffer;
                                        ^
analyse.c: In function 'search_type_64':
analyse.c:337:38: warning: cast increases required alignment of target type [-Wcast-align]
     const struct jfs_superblock* jfs=(const struct jfs_superblock*)(buffer+0x200);
                                      ^
analyse.c: In function 'search_type_128':
analyse.c:361:32: warning: cast increases required alignment of target type [-Wcast-align]
     const struct gfs2_sb *gfs2=(const struct gfs2_sb *)buffer;
                                ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c bfs.c
bfs.c: In function 'check_BeFS':
bfs.c:49:25: warning: cast increases required alignment of target type [-Wcast-align]
   if(test_BeFS(disk_car,(struct disk_super_block*)buffer,partition,0)!=0)
                         ^
bfs.c:54:17: warning: cast increases required alignment of target type [-Wcast-align]
   set_BeFS_info((struct disk_super_block*)buffer, partition);
                 ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c bsd.c
bsd.c: In function 'check_BSD':
bsd.c:47:24: warning: cast increases required alignment of target type [-Wcast-align]
   if(test_BSD(disk_car,(const struct disklabel*)buffer,partition,verbose,0,max_partitions))
                        ^
bsd.c:52:28: warning: cast increases required alignment of target type [-Wcast-align]
   set_part_name(partition,((const struct disklabel*)buffer)->d_packname,16);
                            ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c btrfs.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c cramfs.c
cramfs.c: In function 'check_cramfs':
cramfs.c:48:30: warning: cast increases required alignment of target type [-Wcast-align]
     if(test_cramfs(disk_car, (struct cramfs_super*)buffer, partition, verbose)==0)
                              ^
cramfs.c:50:23: warning: cast increases required alignment of target type [-Wcast-align]
       set_cramfs_info((struct cramfs_super*)buffer, partition);
                       ^
cramfs.c:57:30: warning: cast increases required alignment of target type [-Wcast-align]
     if(test_cramfs(disk_car, (struct cramfs_super*)buffer, partition, verbose)==0)
                              ^
cramfs.c:59:23: warning: cast increases required alignment of target type [-Wcast-align]
       set_cramfs_info((struct cramfs_super*)buffer, partition);
                       ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c exfat.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c fat.c
In file included from fat.c:39:0:
fat.c: In function 'get_next_cluster':
fat.c:259:32: warning: cast increases required alignment of target type [-Wcast-align]
           next_cluster=le16((*((uint16_t*)&buffer[offset_o])))>>4;
                                ^
common.h:443:19: note: in definition of macro 'le16'
 #define le16(x)  (x)             /* x as little endian */
                   ^
fat.c:261:31: warning: cast increases required alignment of target type [-Wcast-align]
           next_cluster=le16(*((uint16_t*)&buffer[offset_o]))&0x0FFF;
                               ^
common.h:443:19: note: in definition of macro 'le16'
 #define le16(x)  (x)             /* x as little endian */
                   ^
fat.c:269:29: warning: cast increases required alignment of target type [-Wcast-align]
         const uint16_t *p16=(const uint16_t*)buffer;
                             ^
fat.c:287:29: warning: cast increases required alignment of target type [-Wcast-align]
         const uint32_t *p32=(const uint32_t*)buffer;
                             ^
fat.c: In function 'set_next_cluster':
fat.c:351:12: warning: cast increases required alignment of target type [-Wcast-align]
         (*((uint16_t*)&buffer[offset_o]))=le16((next_cluster<<4) | (le16(*((uint16_t*)&buffer[offset_o]))&0xF));
            ^
In file included from fat.c:39:0:
fat.c:351:76: warning: cast increases required alignment of target type [-Wcast-align]
         (*((uint16_t*)&buffer[offset_o]))=le16((next_cluster<<4) | (le16(*((uint16_t*)&buffer[offset_o]))&0xF));
                                                                            ^
common.h:443:19: note: in definition of macro 'le16'
 #define le16(x)  (x)             /* x as little endian */
                   ^
fat.c:351:69: note: in expansion of macro 'le16'
         (*((uint16_t*)&buffer[offset_o]))=le16((next_cluster<<4) | (le16(*((uint16_t*)&buffer[offset_o]))&0xF));
                                                                     ^
fat.c:353:12: warning: cast increases required alignment of target type [-Wcast-align]
         (*((uint16_t*)&buffer[offset_o]))=le16((next_cluster) |  (le16(*((uint16_t*)&buffer[offset_o]))&0xF000));
            ^
In file included from fat.c:39:0:
fat.c:353:74: warning: cast increases required alignment of target type [-Wcast-align]
         (*((uint16_t*)&buffer[offset_o]))=le16((next_cluster) |  (le16(*((uint16_t*)&buffer[offset_o]))&0xF000));
                                                                          ^
common.h:443:19: note: in definition of macro 'le16'
 #define le16(x)  (x)             /* x as little endian */
                   ^
fat.c:353:67: note: in expansion of macro 'le16'
         (*((uint16_t*)&buffer[offset_o]))=le16((next_cluster) |  (le16(*((uint16_t*)&buffer[offset_o]))&0xF000));
                                                                   ^
fat.c:357:23: warning: cast increases required alignment of target type [-Wcast-align]
         uint16_t *p16=(uint16_t*)buffer;
                       ^
fat.c:363:23: warning: cast increases required alignment of target type [-Wcast-align]
         uint32_t *p32=(uint32_t*)buffer;
                       ^
fat.c: In function 'fat32_get_prev_cluster':
fat.c:391:7: warning: cast increases required alignment of target type [-Wcast-align]
   p32=(const uint32_t*)buffer;
       ^
fat.c: In function 'fat32_free_info':
fat.c:1027:7: warning: cast increases required alignment of target type [-Wcast-align]
   p32=(const uint32_t*)buffer;
       ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c fatx.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c ext2.c
ext2.c: In function 'check_EXT2':
ext2.c:51:16: warning: cast increases required alignment of target type [-Wcast-align]
   if(test_EXT2((struct ext2_super_block*)buffer, partition)!=0)
                ^
ext2.c:56:17: warning: cast increases required alignment of target type [-Wcast-align]
   set_EXT2_info((struct ext2_super_block*)buffer, partition, verbose);
                 ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c jfs.c
jfs.c: In function 'check_JFS':
jfs.c:51:25: warning: cast increases required alignment of target type [-Wcast-align]
   if(test_JFS(disk_car, (struct jfs_superblock*)buffer, partition,0)!=0)
                         ^
jfs.c:56:16: warning: cast increases required alignment of target type [-Wcast-align]
   set_JFS_info((struct jfs_superblock*)buffer, partition);
                ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c gfs2.c
gfs2.c: In function 'set_gfs2_info':
gfs2.c:37:48: warning: unused parameter 'sb' [-Wunused-parameter]
 static int set_gfs2_info(const struct gfs2_sb *sb, partition_t *partition)
                                                ^
gfs2.c: In function 'check_gfs2':
gfs2.c:70:22: warning: cast increases required alignment of target type [-Wcast-align]
   if(test_gfs2(disk, (const struct gfs2_sb *)buffer, partition,0)!=0)
                      ^
gfs2.c:75:17: warning: cast increases required alignment of target type [-Wcast-align]
   set_gfs2_info((const struct gfs2_sb *)buffer, partition);
                 ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c hfs.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c hfsp.c
hfsp.c: In function 'check_HFSP':
hfsp.c:59:25: warning: cast increases required alignment of target type [-Wcast-align]
   if(test_HFSP(disk_car,(struct hfsp_vh *)buffer,partition,verbose,0)!=0)
                         ^
hfsp.c:64:28: warning: cast increases required alignment of target type [-Wcast-align]
   set_HFSP_info(partition, (const struct hfsp_vh *)buffer);
                            ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c hpfs.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c luks.c
luks.c: In function 'check_LUKS':
luks.c:50:26: warning: cast increases required alignment of target type [-Wcast-align]
   if(test_LUKS(disk_car, (struct luks_phdr*)buffer, partition, 0)!=0)
                          ^
luks.c:55:17: warning: cast increases required alignment of target type [-Wcast-align]
   set_LUKS_info((struct luks_phdr*)buffer, partition);
                 ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c lvm.c
lvm.c: In function 'check_LVM':
lvm.c:54:24: warning: cast increases required alignment of target type [-Wcast-align]
   if(test_LVM(disk_car,(pv_disk_t *)buffer,partition,verbose,0)!=0)
                        ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c md.c
md.c: In function 'check_MD':
md.c:49:40: warning: cast increases required alignment of target type [-Wcast-align]
     const struct mdp_superblock_1 *sb1=(const struct mdp_superblock_1 *)buffer;
                                        ^
md.c:53:20: warning: cast increases required alignment of target type [-Wcast-align]
  test_MD(disk_car, (struct mdp_superblock_s*)buffer, partition, 0)==0)
                    ^
md.c:56:19: warning: cast increases required alignment of target type [-Wcast-align]
       set_MD_info((struct mdp_superblock_s*)buffer, partition, verbose);
                   ^
md.c:63:30: warning: cast increases required alignment of target type [-Wcast-align]
         test_MD_be(disk_car, (struct mdp_superblock_s*)buffer, partition, 0)==0)
                              ^
md.c:66:22: warning: cast increases required alignment of target type [-Wcast-align]
       set_MD_info_be((struct mdp_superblock_s*)buffer, partition, verbose);
                      ^
md.c:74:40: warning: cast increases required alignment of target type [-Wcast-align]
     const struct mdp_superblock_1 *sb1=(const struct mdp_superblock_1 *)buffer;
                                        ^
md.c:78:27: warning: cast increases required alignment of target type [-Wcast-align]
         test_MD(disk_car, (struct mdp_superblock_s*)buffer, partition, 0)==0)
                           ^
md.c:81:19: warning: cast increases required alignment of target type [-Wcast-align]
       set_MD_info((struct mdp_superblock_s*)buffer, partition, verbose);
                   ^
md.c:88:30: warning: cast increases required alignment of target type [-Wcast-align]
         test_MD_be(disk_car, (struct mdp_superblock_s*)buffer, partition, 0)==0)
                              ^
md.c:91:22: warning: cast increases required alignment of target type [-Wcast-align]
       set_MD_info_be((struct mdp_superblock_s*)buffer, partition, verbose);
                      ^
md.c:98:39: warning: cast increases required alignment of target type [-Wcast-align]
     const struct mdp_superblock_s *sb=(const struct mdp_superblock_s *)buffer;
                                       ^
md.c:108:22: warning: cast increases required alignment of target type [-Wcast-align]
    test_MD(disk_car, (struct mdp_superblock_s*)buffer, partition, 0)==0)
                      ^
md.c:111:21: warning: cast increases required alignment of target type [-Wcast-align]
         set_MD_info((struct mdp_superblock_s*)buffer, partition, verbose);
                     ^
md.c:117:25: warning: cast increases required alignment of target type [-Wcast-align]
    test_MD_be(disk_car, (struct mdp_superblock_s*)buffer, partition, 0)==0)
                         ^
md.c:120:24: warning: cast increases required alignment of target type [-Wcast-align]
         set_MD_info_be((struct mdp_superblock_s*)buffer, partition, verbose);
                        ^
md.c:136:42: warning: cast increases required alignment of target type [-Wcast-align]
       const struct mdp_superblock_1 *sb1=(const struct mdp_superblock_1 *)buffer;
                                          ^
md.c:140:29: warning: cast increases required alignment of target type [-Wcast-align]
           test_MD(disk_car, (struct mdp_superblock_s*)buffer, partition, 0)==0)
                             ^
md.c:143:21: warning: cast increases required alignment of target type [-Wcast-align]
         set_MD_info((struct mdp_superblock_s*)buffer, partition, verbose);
                     ^
md.c:150:32: warning: cast increases required alignment of target type [-Wcast-align]
           test_MD_be(disk_car, (struct mdp_superblock_s*)buffer, partition, 0)==0)
                                ^
md.c:153:24: warning: cast increases required alignment of target type [-Wcast-align]
         set_MD_info_be((struct mdp_superblock_s*)buffer, partition, verbose);
                        ^
md.c: In function 'recover_MD_from_partition':
md.c:171:30: warning: cast increases required alignment of target type [-Wcast-align]
       if(recover_MD(disk_car,(struct mdp_superblock_s*)buffer,partition,verbose,0)==0)
                              ^
md.c:184:42: warning: cast increases required alignment of target type [-Wcast-align]
       const struct mdp_superblock_1 *sb1=(const struct mdp_superblock_1 *)buffer;
                                          ^
md.c:186:31: warning: cast increases required alignment of target type [-Wcast-align]
           recover_MD(disk_car,(struct mdp_superblock_s*)buffer,partition,verbose,0)==0)
                               ^
md.c: In function 'recover_MD':
md.c:215:42: warning: cast increases required alignment of target type [-Wcast-align]
       const struct mdp_superblock_1 *sb1=(const struct mdp_superblock_1 *)sb;
                                          ^
md.c:235:42: warning: cast increases required alignment of target type [-Wcast-align]
       const struct mdp_superblock_1 *sb1=(const struct mdp_superblock_1 *)sb;
                                          ^
md.c: In function 'set_MD_info':
md.c:274:40: warning: cast increases required alignment of target type [-Wcast-align]
     const struct mdp_superblock_1 *sb1=(const struct mdp_superblock_1 *)sb;
                                        ^
md.c: In function 'set_MD_info_be':
md.c:337:40: warning: cast increases required alignment of target type [-Wcast-align]
     const struct mdp_superblock_1 *sb1=(const struct mdp_superblock_1 *)sb;
                                        ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c netware.c
netware.c: In function 'check_netware':
netware.c:55:19: warning: cast increases required alignment of target type [-Wcast-align]
   if(test_netware((const struct disk_netware *)buffer, partition)!=0)
                   ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c ntfs.c
In file included from ntfs.c:40:0:
ntfs.c: In function 'ntfs_get_attr':
ntfs.h:85:35: warning: cast increases required alignment of target type [-Wcast-align]
 #define NTFS_GETU16(p)     (le16(*(const uint16_t*)(p)))
                                   ^
common.h:443:19: note: in definition of macro 'le16'
 #define le16(x)  (x)             /* x as little endian */
                   ^
ntfs.c:194:6: note: in expansion of macro 'NTFS_GETU16'
   if(NTFS_GETU16(mft_record + 0x14)%8!=0)
      ^
ntfs.h:85:35: warning: cast increases required alignment of target type [-Wcast-align]
 #define NTFS_GETU16(p)     (le16(*(const uint16_t*)(p)))
                                   ^
common.h:443:19: note: in definition of macro 'le16'
 #define le16(x)  (x)             /* x as little endian */
                   ^
ntfs.c:196:6: note: in expansion of macro 'NTFS_GETU16'
   if(NTFS_GETU16(mft_record + 0x14)<42)  /* sizeof(MFT_RECORD)>=42 */
      ^
ntfs.h:85:35: warning: cast increases required alignment of target type [-Wcast-align]
 #define NTFS_GETU16(p)     (le16(*(const uint16_t*)(p)))
                                   ^
common.h:443:19: note: in definition of macro 'le16'
 #define le16(x)  (x)             /* x as little endian */
                   ^
ntfs.c:202:29: note: in expansion of macro 'NTFS_GETU16'
   attr_record= mft_record + NTFS_GETU16(mft_record + 0x14);
                             ^
ntfs.c: In function 'ntfs_get_attr_aux':
ntfs.h:86:35: warning: cast increases required alignment of target type [-Wcast-align]
 #define NTFS_GETU32(p)     (le32(*(const uint32_t*)(p)))
                                   ^
common.h:447:19: note: in definition of macro 'le32'
 #define le32(x)  (x)
                   ^
ntfs.c:221:15: note: in expansion of macro 'NTFS_GETU32'
     attr_type=NTFS_GETU32(attr_record);
               ^
ntfs.h:85:35: warning: cast increases required alignment of target type [-Wcast-align]
 #define NTFS_GETU16(p)     (le16(*(const uint16_t*)(p)))
                                   ^
common.h:443:19: note: in definition of macro 'le16'
 #define le16(x)  (x)             /* x as little endian */
                   ^
ntfs.c:224:14: note: in expansion of macro 'NTFS_GETU16'
     attr_len=NTFS_GETU16(attr_record+4);
              ^
ntfs.h:85:35: warning: cast increases required alignment of target type [-Wcast-align]
 #define NTFS_GETU16(p)     (le16(*(const uint16_t*)(p)))
                                   ^
common.h:443:19: note: in definition of macro 'le16'
 #define le16(x)  (x)             /* x as little endian */
                   ^
ntfs.c:240:38: note: in expansion of macro 'NTFS_GETU16'
       unsigned int attr_value_length=NTFS_GETU16(attr_record+0x10);
                                      ^
ntfs.h:85:35: warning: cast increases required alignment of target type [-Wcast-align]
 #define NTFS_GETU16(p)     (le16(*(const uint16_t*)(p)))
                                   ^
common.h:443:19: note: in definition of macro 'le16'
 #define le16(x)  (x)             /* x as little endian */
                   ^
ntfs.c:241:38: note: in expansion of macro 'NTFS_GETU16'
       unsigned int attr_value_offset=NTFS_GETU16(attr_record+0x14);
                                      ^
ntfs.h:86:35: warning: cast increases required alignment of target type [-Wcast-align]
 #define NTFS_GETU32(p)     (le32(*(const uint32_t*)(p)))
                                   ^
common.h:447:19: note: in definition of macro 'le32'
 #define le32(x)  (x)
                   ^
ntfs.c:318:20: note: in expansion of macro 'NTFS_GETU32'
             return NTFS_GETU32(attr_td_list_entry+8); /* index_block_size */
                    ^
ntfs.h:85:35: warning: cast increases required alignment of target type [-Wcast-align]
 #define NTFS_GETU16(p)     (le16(*(const uint16_t*)(p)))
                                   ^
common.h:443:19: note: in definition of macro 'le16'
 #define le16(x)  (x)             /* x as little endian */
                   ^
ntfs.c:337:29: note: in expansion of macro 'NTFS_GETU16'
        mapping_pairs_offset=NTFS_GETU16(attr_record+32);
                             ^
ntfs.c: In function 'ntfs_read_MFT':
ntfs.h:86:35: warning: cast increases required alignment of target type [-Wcast-align]
 #define NTFS_GETU32(p)     (le32(*(const uint32_t*)(p)))
                                   ^
common.h:447:19: note: in definition of macro 'le32'
 #define le32(x)  (x)
                   ^
ntfs.c:435:19: note: in expansion of macro 'NTFS_GETU32'
     if((res>0)|| (NTFS_GETU32(attr + 0x1C)<0x30))
                   ^
ntfs.h:86:35: warning: cast increases required alignment of target type [-Wcast-align]
 #define NTFS_GETU32(p)     (le32(*(const uint32_t*)(p)))
                                   ^
common.h:447:19: note: in definition of macro 'le32'
 #define le32(x)  (x)
                   ^
ntfs.c:440:12: note: in expansion of macro 'NTFS_GETU32'
     attr+= NTFS_GETU32(attr + 0x1C);
            ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c rfs.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c savehdr.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c sun.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c swap.c
swap.c: In function 'check_Linux_SWAP':
swap.c:50:22: warning: cast increases required alignment of target type [-Wcast-align]
   if(test_Linux_SWAP((union swap_header*)buffer, partition)!=0)
                      ^
swap.c:55:23: warning: cast increases required alignment of target type [-Wcast-align]
   set_Linux_SWAP_info((union swap_header*)buffer,partition);
                       ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c sysv.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c ufs.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c vmfs.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c wbfs.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c xfs.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c zfs.c
zfs.c: In function 'check_ZFS':
zfs.c:50:21: warning: cast increases required alignment of target type [-Wcast-align]
   if(test_ZFS(disk, (struct vdev_boot_header*)buffer, partition, 0)!=0)
                     ^
zfs.c:55:16: warning: cast increases required alignment of target type [-Wcast-align]
   set_ZFS_info((struct vdev_boot_header*)buffer, partition);
                ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c addpart.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c addpartn.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c adv.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c askloc.c
askloc.c: In function 'ask_location':
askloc.c:307:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
  line_directory=aff_txt(2, window, msg, src_dir);
  ^
In file included from askloc.c:56:0:
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
askloc.c:342:25: note: in expansion of macro 'td_list_entry'
               file_info=td_list_entry(file_walker, file_info_t, list);
                         ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
askloc.c:342:25: note: in expansion of macro 'td_list_entry'
               file_info=td_list_entry(file_walker, file_info_t, list);
                         ^
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
askloc.c:512:13: note: in expansion of macro 'td_list_entry'
   file_info=td_list_entry(current_file, file_info_t, list);
             ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
askloc.c:512:13: note: in expansion of macro 'td_list_entry'
   file_info=td_list_entry(current_file, file_info_t, list);
             ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c chgarch.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c chgarchn.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c chgtype.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c chgtypen.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c dimage.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c dirn.c
In file included from dir.h:30:0,
                 from dirn.c:41:
dirn.c: In function 'dir_aff_ncurses':
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
dirn.c:128:34: note: in expansion of macro 'td_list_entry'
  const file_info_t *current_file=td_list_entry(file_walker, file_info_t, list);
                                  ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
dirn.c:128:34: note: in expansion of macro 'td_list_entry'
  const file_info_t *current_file=td_list_entry(file_walker, file_info_t, list);
                                  ^
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
dirn.c:318:22: note: in expansion of macro 'td_list_entry'
        selected_file=td_list_entry(pos, file_info_t, list);
                      ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
dirn.c:318:22: note: in expansion of macro 'td_list_entry'
        selected_file=td_list_entry(pos, file_info_t, list);
                      ^
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
dirn.c:334:20: note: in expansion of macro 'td_list_entry'
   file_info_t *tmp=td_list_entry(tmpw, file_info_t, list);
                    ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
dirn.c:334:20: note: in expansion of macro 'td_list_entry'
   file_info_t *tmp=td_list_entry(tmpw, file_info_t, list);
                    ^
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
dirn.c:362:25: note: in expansion of macro 'td_list_entry'
        file_info_t *tmp=td_list_entry(pos, file_info_t, list);
                         ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
dirn.c:362:25: note: in expansion of macro 'td_list_entry'
        file_info_t *tmp=td_list_entry(pos, file_info_t, list);
                         ^
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
dirn.c:399:25: note: in expansion of macro 'td_list_entry'
        file_info_t *tmp=td_list_entry(pos, file_info_t, list);
                         ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
dirn.c:399:25: note: in expansion of macro 'td_list_entry'
        file_info_t *tmp=td_list_entry(pos, file_info_t, list);
                         ^
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
dirn.c:460:22: note: in expansion of macro 'td_list_entry'
     file_info_t *tmp=td_list_entry(tmpw, file_info_t, list);
                      ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
dirn.c:460:22: note: in expansion of macro 'td_list_entry'
     file_info_t *tmp=td_list_entry(tmpw, file_info_t, list);
                      ^
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
dirn.c:497:7: note: in expansion of macro 'td_list_entry'
   tmp=td_list_entry(pos, file_info_t, list);
       ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
dirn.c:497:7: note: in expansion of macro 'td_list_entry'
   tmp=td_list_entry(pos, file_info_t, list);
       ^
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
dirn.c:502:9: note: in expansion of macro 'td_list_entry'
     tmp=td_list_entry(pos, file_info_t, list);
         ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
dirn.c:502:9: note: in expansion of macro 'td_list_entry'
     tmp=td_list_entry(pos, file_info_t, list);
         ^
dirn.c: In function 'copy_dir':
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
dirn.c:611:18: note: in expansion of macro 'td_list_entry'
     current_file=td_list_entry(file_walker, file_info_t, list);
                  ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
dirn.c:611:18: note: in expansion of macro 'td_list_entry'
     current_file=td_list_entry(file_walker, file_info_t, list);
                  ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c dirpart.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c diskacc.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c diskcapa.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c edit.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c ext2_sb.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c ext2_sbn.c
ext2_sbn.c: In function 'search_superblock':
ext2_sbn.c:83:31: warning: cast increases required alignment of target type [-Wcast-align]
   struct ext2_super_block *sb=(struct ext2_super_block *)buffer;
                               ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c fat1x.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c fat32.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c fat_adv.c
In file included from dir.h:30:0,
                 from fat_adv.c:48:
fat_adv.c: In function 'ask_root_directory':
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
fat_adv.c:210:39: note: in expansion of macro 'td_list_entry'
       const file_info_t *current_file=td_list_entry(file_walker, file_info_t, list);
                                       ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
fat_adv.c:210:39: note: in expansion of macro 'td_list_entry'
       const file_info_t *current_file=td_list_entry(file_walker, file_info_t, list);
                                       ^
fat_adv.c: In function 'fat32_find_root_cluster':
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
fat_adv.c:388:39: note: in expansion of macro 'td_list_entry'
        const file_info_t *first_entry=td_list_entry(&dir_list.list, file_info_t, list);
                                       ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
fat_adv.c:388:39: note: in expansion of macro 'td_list_entry'
        const file_info_t *first_entry=td_list_entry(&dir_list.list, file_info_t, list);
                                       ^
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
fat_adv.c:511:33: note: in expansion of macro 'td_list_entry'
        const file_info_t *file1=td_list_entry(dir_list.list.next, file_info_t, list);
                                 ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
fat_adv.c:511:33: note: in expansion of macro 'td_list_entry'
        const file_info_t *file1=td_list_entry(dir_list.list.next, file_info_t, list);
                                 ^
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
fat_adv.c:512:33: note: in expansion of macro 'td_list_entry'
        const file_info_t *file2=td_list_entry(file1->list.next, file_info_t, list);
                                 ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
fat_adv.c:512:33: note: in expansion of macro 'td_list_entry'
        const file_info_t *file2=td_list_entry(file1->list.next, file_info_t, list);
                                 ^
fat_adv.c: In function 'fat32_create_rootdir':
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
fat_adv.c:659:37: note: in expansion of macro 'td_list_entry'
     const file_info_t *current_file=td_list_entry(file_walker, file_info_t, list);
                                     ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
fat_adv.c:659:37: note: in expansion of macro 'td_list_entry'
     const file_info_t *current_file=td_list_entry(file_walker, file_info_t, list);
                                     ^
fat_adv.c:660:16: warning: cast increases required alignment of target type [-Wcast-align]
     file2entry((struct msdos_dir_entry*)buffer+current_entry,current_file);
                ^
In file included from dir.h:30:0,
                 from fat_adv.c:48:
fat_adv.c: In function 'analyse_dir_entries2':
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
fat_adv.c:854:37: note: in expansion of macro 'td_list_entry'
     const file_info_t *current_file=td_list_entry(file_walker, file_info_t, list);
                                     ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
fat_adv.c:854:37: note: in expansion of macro 'td_list_entry'
     const file_info_t *current_file=td_list_entry(file_walker, file_info_t, list);
                                     ^
fat_adv.c: In function 'fat_find_fat_start':
fat_adv.c:1440:25: warning: cast increases required alignment of target type [-Wcast-align]
     const uint16_t *p16=(const uint16_t*)buffer;
                         ^
fat_adv.c:1500:25: warning: cast increases required alignment of target type [-Wcast-align]
     const uint32_t *p32=(const uint32_t*)buffer;
                         ^
fat_adv.c: In function 'repair_FAT_table':
fat_adv.c:2610:27: warning: cast increases required alignment of target type [-Wcast-align]
             uint32_t *p32=(uint32_t*)buffer_fat[fat_nbr];
                           ^
fat_adv.c:2624:27: warning: cast increases required alignment of target type [-Wcast-align]
             uint16_t *p16=(uint16_t*)buffer_fat[fat_nbr];
                           ^
In file included from fat_adv.c:42:0:
fat_adv.c:2635:36: warning: cast increases required alignment of target type [-Wcast-align]
               next_cluster=le16((*((uint16_t*)&buffer_fat[fat_nbr][offset_o])))>>4;
                                    ^
common.h:443:19: note: in definition of macro 'le16'
 #define le16(x)  (x)             /* x as little endian */
                   ^
fat_adv.c:2637:35: warning: cast increases required alignment of target type [-Wcast-align]
               next_cluster=le16(*((uint16_t*)&buffer_fat[fat_nbr][offset_o]))&0x0FFF;
                                   ^
common.h:443:19: note: in definition of macro 'le16'
 #define le16(x)  (x)             /* x as little endian */
                   ^
fat_adv.c:2641:19: warning: cast increases required alignment of target type [-Wcast-align]
                 *((uint16_t*)&buffer_fat[fat_nbr][offset_o])=le16((FAT12_EOC<<4)|(le16((*((uint16_t*)&buffer_fat[fat_nbr][offset_o])))&0x0F));
                   ^
In file included from fat_adv.c:42:0:
fat_adv.c:2641:91: warning: cast increases required alignment of target type [-Wcast-align]
                 *((uint16_t*)&buffer_fat[fat_nbr][offset_o])=le16((FAT12_EOC<<4)|(le16((*((uint16_t*)&buffer_fat[fat_nbr][offset_o])))&0x0F));
                                                                                           ^
common.h:443:19: note: in definition of macro 'le16'
 #define le16(x)  (x)             /* x as little endian */
                   ^
fat_adv.c:2641:83: note: in expansion of macro 'le16'
                 *((uint16_t*)&buffer_fat[fat_nbr][offset_o])=le16((FAT12_EOC<<4)|(le16((*((uint16_t*)&buffer_fat[fat_nbr][offset_o])))&0x0F));
                                                                                   ^
fat_adv.c:2643:19: warning: cast increases required alignment of target type [-Wcast-align]
                 *((uint16_t*)&buffer_fat[fat_nbr][offset_o])=le16(FAT12_EOC     |(le16((*((uint16_t*)&buffer_fat[fat_nbr][offset_o])))&0xF000));
                   ^
In file included from fat_adv.c:42:0:
fat_adv.c:2643:91: warning: cast increases required alignment of target type [-Wcast-align]
                 *((uint16_t*)&buffer_fat[fat_nbr][offset_o])=le16(FAT12_EOC     |(le16((*((uint16_t*)&buffer_fat[fat_nbr][offset_o])))&0xF000));
                                                                                           ^
common.h:443:19: note: in definition of macro 'le16'
 #define le16(x)  (x)             /* x as little endian */
                   ^
fat_adv.c:2643:83: note: in expansion of macro 'le16'
                 *((uint16_t*)&buffer_fat[fat_nbr][offset_o])=le16(FAT12_EOC     |(le16((*((uint16_t*)&buffer_fat[fat_nbr][offset_o])))&0xF000));
                                                                                   ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c fat_cluster.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c fatn.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c geometry.c
geometry.c: In function 'change_geometry_cli':
geometry.c:109:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       if (tmp_val > 0 && tmp_val <= MAX_HEADS)
                                  ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c geometryn.c
geometryn.c: In function 'change_geometry_ncurses':
geometryn.c:114:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             if (tmp_val > 0 && tmp_val <= MAX_HEADS) {
                                        ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c godmode.c
godmode.c: In function 'search_part':
godmode.c:634:39: warning: cast increases required alignment of target type [-Wcast-align]
               if(recover_MD(disk_car, (const struct mdp_superblock_s*)buffer_disk, partition, verbose, dump_ind)==0)
                                       ^
godmode.c:636:52: warning: cast increases required alignment of target type [-Wcast-align]
                 const struct mdp_superblock_1 *sb1=(const struct mdp_superblock_1 *)buffer_disk;
                                                    ^
godmode.c:723:39: warning: cast increases required alignment of target type [-Wcast-align]
     const struct ext2_super_block *sb=(const struct ext2_super_block*)buffer_disk;
                                       ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c hiddenn.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c intrface.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c intrfn.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c nodisk.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c ntfs_adv.c
ntfs_adv.c: In function 'create_ntfs_boot_sector':
ntfs_adv.c:323:38: warning: signed and unsigned type in conditional expression [-Wsign-compare]
       mft_record_size / cluster_size : -(testdisk_ffs(mft_record_size) - 1));
                                      ^
ntfs_adv.c:325:39: warning: signed and unsigned type in conditional expression [-Wsign-compare]
       index_block_size / cluster_size : -(testdisk_ffs(index_block_size) - 1));
                                       ^
In file included from ntfs_adv.c:35:0:
ntfs_adv.c: In function 'read_mft_info':
ntfs.h:86:35: warning: cast increases required alignment of target type [-Wcast-align]
 #define NTFS_GETU32(p)     (le32(*(const uint32_t*)(p)))
                                   ^
common.h:447:19: note: in definition of macro 'le32'
 #define le32(x)  (x)
                   ^
ntfs_adv.c:371:20: note: in expansion of macro 'NTFS_GETU32'
   *mft_record_size=NTFS_GETU32(attr + 0x1C);
                    ^
ntfs.h:86:35: warning: cast increases required alignment of target type [-Wcast-align]
 #define NTFS_GETU32(p)     (le32(*(const uint32_t*)(p)))
                                   ^
common.h:447:19: note: in definition of macro 'le32'
 #define le32(x)  (x)
                   ^
ntfs_adv.c:378:10: note: in expansion of macro 'NTFS_GETU32'
   attr+= NTFS_GETU32(attr + 0x1C);
          ^
ntfs_adv.c: In function 'rebuild_NTFS_BS':
ntfs.h:85:35: warning: cast increases required alignment of target type [-Wcast-align]
 #define NTFS_GETU16(p)     (le16(*(const uint16_t*)(p)))
                                   ^
common.h:443:19: note: in definition of macro 'le16'
 #define le16(x)  (x)             /* x as little endian */
                   ^
ntfs_adv.c:482:41: note: in expansion of macro 'NTFS_GETU16'
       if(memcmp(buffer,"FILE",4)==0 && (NTFS_GETU16(buffer+ 0x14)%8==0) && (NTFS_GETU16(buffer+ 0x14)>=42)
                                         ^
ntfs.h:85:35: warning: cast increases required alignment of target type [-Wcast-align]
 #define NTFS_GETU16(p)     (le16(*(const uint16_t*)(p)))
                                   ^
common.h:443:19: note: in definition of macro 'le16'
 #define le16(x)  (x)             /* x as little endian */
                   ^
ntfs_adv.c:482:77: note: in expansion of macro 'NTFS_GETU16'
       if(memcmp(buffer,"FILE",4)==0 && (NTFS_GETU16(buffer+ 0x14)%8==0) && (NTFS_GETU16(buffer+ 0x14)>=42)
                                                                             ^
ntfs.h:85:35: warning: cast increases required alignment of target type [-Wcast-align]
 #define NTFS_GETU16(p)     (le16(*(const uint16_t*)(p)))
                                   ^
common.h:443:19: note: in definition of macro 'le16'
 #define le16(x)  (x)             /* x as little endian */
                   ^
ntfs_adv.c:483:7: note: in expansion of macro 'NTFS_GETU16'
    &&(NTFS_GETU16(buffer+22)==1)) /* MFT_RECORD_IN_USE */
       ^
ntfs.h:86:35: warning: cast increases required alignment of target type [-Wcast-align]
 #define NTFS_GETU32(p)     (le32(*(const uint32_t*)(p)))
                                   ^
common.h:447:19: note: in definition of macro 'le32'
 #define le32(x)  (x)
                   ^
log.h:56:72: note: in expansion of macro 'NTFS_GETU32'
 #define log_info(FORMAT, ARGS...) log_redirect(LOG_LEVEL_INFO,FORMAT,##ARGS)
                                                                        ^
ntfs_adv.c:490:4: note: in expansion of macro 'log_info'
    log_info("mft at %lu, seq=%u, main=%u res=%d\n",(long unsigned)sector,NTFS_GETU8(buffer+0x10),(unsigned int)NTFS_GETU32(buffer+0x20),res);
    ^
ntfs.h:85:35: warning: cast increases required alignment of target type [-Wcast-align]
 #define NTFS_GETU16(p)     (le16(*(const uint16_t*)(p)))
                                   ^
common.h:443:19: note: in definition of macro 'le16'
 #define le16(x)  (x)             /* x as little endian */
                   ^
ntfs_adv.c:537:41: note: in expansion of macro 'NTFS_GETU16'
       if(memcmp(buffer,"FILE",4)==0 && (NTFS_GETU16(buffer+ 0x14)%8==0) && (NTFS_GETU16(buffer+ 0x14)>=42))
                                         ^
ntfs.h:85:35: warning: cast increases required alignment of target type [-Wcast-align]
 #define NTFS_GETU16(p)     (le16(*(const uint16_t*)(p)))
                                   ^
common.h:443:19: note: in definition of macro 'le16'
 #define le16(x)  (x)             /* x as little endian */
                   ^
ntfs_adv.c:537:77: note: in expansion of macro 'NTFS_GETU16'
       if(memcmp(buffer,"FILE",4)==0 && (NTFS_GETU16(buffer+ 0x14)%8==0) && (NTFS_GETU16(buffer+ 0x14)>=42))
                                                                             ^
ntfs.h:86:35: warning: cast increases required alignment of target type [-Wcast-align]
 #define NTFS_GETU32(p)     (le32(*(const uint32_t*)(p)))
                                   ^
common.h:447:19: note: in definition of macro 'le32'
 #define le32(x)  (x)
                   ^
log.h:56:72: note: in expansion of macro 'NTFS_GETU32'
 #define log_info(FORMAT, ARGS...) log_redirect(LOG_LEVEL_INFO,FORMAT,##ARGS)
                                                                        ^
ntfs_adv.c:544:4: note: in expansion of macro 'log_info'
    log_info("mft at %lu, seq=%u, main=%u res=%d\n",(long unsigned)sector,NTFS_GETU8(buffer+0x10),(unsigned int)NTFS_GETU32(buffer+0x20),res);
    ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c ntfs_fix.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c ntfs_udl.c
In file included from ntfs_udl.c:69:0:
ntfs_udl.c: In function 'free_file':
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
ntfs_udl.c:189:26: note: in expansion of macro 'td_list_entry'
     struct filename *f = td_list_entry(item, struct filename, list);
                          ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
ntfs_udl.c:189:26: note: in expansion of macro 'td_list_entry'
     struct filename *f = td_list_entry(item, struct filename, list);
                          ^
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
ntfs_udl.c:196:22: note: in expansion of macro 'td_list_entry'
     struct data *d = td_list_entry(item, struct data, list);
                      ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
ntfs_udl.c:196:22: note: in expansion of macro 'td_list_entry'
     struct data *d = td_list_entry(item, struct data, list);
                      ^
ntfs_udl.c: In function 'get_data':
ntfs_udl.c:480:22: warning: cast increases required alignment of target type [-Wcast-align]
    data->uname     = (ntfschar *) ((char *) rec + le16_to_cpu(rec->name_offset));
                      ^
In file included from ntfs_udl.c:69:0:
ntfs_udl.c: In function 'calc_percentage':
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
ntfs_udl.c:637:11: note: in expansion of macro 'td_list_entry'
   data  = td_list_entry(pos, struct data, list);
           ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
ntfs_udl.c:637:11: note: in expansion of macro 'td_list_entry'
   data  = td_list_entry(pos, struct data, list);
           ^
ntfs_udl.c: In function 'undelete_file':
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
ntfs_udl.c:904:20: note: in expansion of macro 'td_list_entry'
   struct data *d = td_list_entry(item, struct data, list);
                    ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
ntfs_udl.c:904:20: note: in expansion of macro 'td_list_entry'
   struct data *d = td_list_entry(item, struct data, list);
                    ^
ntfs_udl.c: In function 'scan_disk':
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
ntfs_udl.c:1166:33: note: in expansion of macro 'td_list_entry'
          const struct data *d = td_list_entry(item, struct data, list);
                                 ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
ntfs_udl.c:1166:33: note: in expansion of macro 'td_list_entry'
          const struct data *d = td_list_entry(item, struct data, list);
                                 ^
ntfs_udl.c: In function 'ntfs_next_non_deleted':
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
ntfs_udl.c:1198:15: note: in expansion of macro 'td_list_entry'
     file_info=td_list_entry(walker, file_info_t, list);
               ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
ntfs_udl.c:1198:15: note: in expansion of macro 'td_list_entry'
     file_info=td_list_entry(walker, file_info_t, list);
               ^
ntfs_udl.c: In function 'ntfs_prev_non_deleted':
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
ntfs_udl.c:1212:15: note: in expansion of macro 'td_list_entry'
     file_info=td_list_entry(walker, file_info_t, list);
               ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
ntfs_udl.c:1212:15: note: in expansion of macro 'td_list_entry'
     file_info=td_list_entry(walker, file_info_t, list);
               ^
ntfs_udl.c: In function 'ntfs_undelete_menu_ncurses':
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
ntfs_udl.c:1249:12: note: in expansion of macro 'td_list_entry'
  file_info=td_list_entry(file_walker, file_info_t, list);
            ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
ntfs_udl.c:1249:12: note: in expansion of macro 'td_list_entry'
  file_info=td_list_entry(file_walker, file_info_t, list);
            ^
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
ntfs_udl.c:1409:16: note: in expansion of macro 'td_list_entry'
      file_info=td_list_entry(current_file, file_info_t, list);
                ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
ntfs_udl.c:1409:16: note: in expansion of macro 'td_list_entry'
      file_info=td_list_entry(current_file, file_info_t, list);
                ^
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
ntfs_udl.c:1413:18: note: in expansion of macro 'td_list_entry'
        file_info=td_list_entry(file_walker, file_info_t, list);
                  ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
ntfs_udl.c:1413:18: note: in expansion of macro 'td_list_entry'
        file_info=td_list_entry(file_walker, file_info_t, list);
                  ^
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
ntfs_udl.c:1428:13: note: in expansion of macro 'td_list_entry'
   file_info=td_list_entry(file_walker, file_info_t, list);
             ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
ntfs_udl.c:1428:13: note: in expansion of macro 'td_list_entry'
   file_info=td_list_entry(file_walker, file_info_t, list);
             ^
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
ntfs_udl.c:1442:16: note: in expansion of macro 'td_list_entry'
      file_info=td_list_entry(file_walker, file_info_t, list);
                ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
ntfs_udl.c:1442:16: note: in expansion of macro 'td_list_entry'
      file_info=td_list_entry(file_walker, file_info_t, list);
                ^
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
ntfs_udl.c:1456:13: note: in expansion of macro 'td_list_entry'
   file_info=td_list_entry(file_walker, file_info_t, list);
             ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
ntfs_udl.c:1456:13: note: in expansion of macro 'td_list_entry'
   file_info=td_list_entry(file_walker, file_info_t, list);
             ^
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
ntfs_udl.c:1469:16: note: in expansion of macro 'td_list_entry'
      file_info=td_list_entry(current_file, file_info_t, list);
                ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
ntfs_udl.c:1469:16: note: in expansion of macro 'td_list_entry'
      file_info=td_list_entry(current_file, file_info_t, list);
                ^
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
ntfs_udl.c:1482:16: note: in expansion of macro 'td_list_entry'
      file_info=td_list_entry(current_file, file_info_t, list);
                ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
ntfs_udl.c:1482:16: note: in expansion of macro 'td_list_entry'
      file_info=td_list_entry(current_file, file_info_t, list);
                ^
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
ntfs_udl.c:1554:18: note: in expansion of macro 'td_list_entry'
        file_info=td_list_entry(file_walker, file_info_t, list);
                  ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
ntfs_udl.c:1554:18: note: in expansion of macro 'td_list_entry'
        file_info=td_list_entry(file_walker, file_info_t, list);
                  ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c parti386n.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c partgptn.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c partmacn.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c partsunn.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c partxboxn.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c tanalyse.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c tbanner.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c tdelete.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c tdiskop.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c tdisksel.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c testdisk.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c texfat.c
texfat.c: In function 'exFAT_boot_sector':
texfat.c:121:87: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       if(disk->pread(disk, buffer_bs, 12 * disk->sector_size, partition->part_offset) != 12 * disk->sector_size)
                                                                                       ^
texfat.c:135:119: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       if(disk->pread(disk, buffer_backup_bs, 12 * disk->sector_size, partition->part_offset + 12 * disk->sector_size) != 12 * disk->sector_size)
                                                                                                                       ^
texfat.c:213:110: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    if(disk->pwrite(disk, buffer_bs, 12 * disk->sector_size, partition->part_offset + 12 * disk->sector_size) != 12 * disk->sector_size)
                                                                                                              ^
texfat.c:229:92: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    if(disk->pwrite(disk, buffer_backup_bs, 12 * disk->sector_size, partition->part_offset) != 12 * disk->sector_size)
                                                                                            ^
texfat.c:76:71: warning: unused parameter 'verbose' [-Wunused-parameter]
 int exFAT_boot_sector(disk_t *disk, partition_t *partition, const int verbose, char **current_cmd)
                                                                       ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c thfs.c
thfs.c: In function 'HFS_HFSP_boot_sector':
thfs.c:127:34: warning: cast increases required alignment of target type [-Wcast-align]
       else if(test_HFSP(disk_car,(const struct hfsp_vh*)buffer_bs,partition,verbose,0)==0)
                                  ^
thfs.c:147:34: warning: cast increases required alignment of target type [-Wcast-align]
       else if(test_HFSP(disk_car,(const struct hfsp_vh*)buffer_backup_bs,partition,verbose,0)==0)
                                  ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c tload.c
In file included from savehdr.h:26:0,
                 from tload.c:46:
tload.c: In function 'interface_load_ncurses':
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
tload.c:102:9: note: in expansion of macro 'td_list_entry'
  backup=td_list_entry(backup_walker, backup_disk_t, list);
         ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
tload.c:102:9: note: in expansion of macro 'td_list_entry'
  backup=td_list_entry(backup_walker, backup_disk_t, list);
         ^
tload.c: In function 'interface_load':
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
tload.c:204:12: note: in expansion of macro 'td_list_entry'
     backup=td_list_entry(backup_walker, backup_disk_t, list);
            ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
tload.c:204:12: note: in expansion of macro 'td_list_entry'
     backup=td_list_entry(backup_walker, backup_disk_t, list);
            ^
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
tload.c:215:12: note: in expansion of macro 'td_list_entry'
     backup=td_list_entry(backup_current, backup_disk_t, list);
            ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
tload.c:215:12: note: in expansion of macro 'td_list_entry'
     backup=td_list_entry(backup_current, backup_disk_t, list);
            ^
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
tload.c:228:14: note: in expansion of macro 'td_list_entry'
       backup=td_list_entry(backup_walker, backup_disk_t, list);
              ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
tload.c:228:14: note: in expansion of macro 'td_list_entry'
       backup=td_list_entry(backup_walker, backup_disk_t, list);
              ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c tlog.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c tmbrcode.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c tntfs.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c toptions.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c tpartwr.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c dir.c
In file included from dir.h:30:0,
                 from dir.c:45:
dir.c: In function 'dir_aff_log':
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
dir.c:162:37: note: in expansion of macro 'td_list_entry'
     const file_info_t *current_file=td_list_entry(file_walker, file_info_t, list);
                                     ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
dir.c:162:37: note: in expansion of macro 'td_list_entry'
     const file_info_t *current_file=td_list_entry(file_walker, file_info_t, list);
                                     ^
dir.c: In function 'log_list_file':
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
dir.c:217:37: note: in expansion of macro 'td_list_entry'
     const file_info_t *current_file=td_list_entry(tmp, file_info_t, list);
                                     ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
dir.c:217:37: note: in expansion of macro 'td_list_entry'
     const file_info_t *current_file=td_list_entry(tmp, file_info_t, list);
                                     ^
dir.c: In function 'delete_list_file':
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
dir.c:256:9: note: in expansion of macro 'td_list_entry'
     tmp=td_list_entry(file_walker, file_info_t, list);
         ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
dir.c:256:9: note: in expansion of macro 'td_list_entry'
     tmp=td_list_entry(file_walker, file_info_t, list);
         ^
dir.c: In function 'dir_whole_partition_log_aux':
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
dir.c:286:37: note: in expansion of macro 'td_list_entry'
     const file_info_t *current_file=td_list_entry(file_walker, file_info_t, list);
                                     ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
dir.c:286:37: note: in expansion of macro 'td_list_entry'
     const file_info_t *current_file=td_list_entry(file_walker, file_info_t, list);
                                     ^
dir.c: In function 'filesort':
list.h:235:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((const char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                                ^
dir.c:326:29: note: in expansion of macro 'td_list_entry_const'
   const file_info_t *file_a=td_list_entry_const(a, const file_info_t, list);
                             ^
list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((const char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
dir.c:326:29: note: in expansion of macro 'td_list_entry_const'
   const file_info_t *file_a=td_list_entry_const(a, const file_info_t, list);
                             ^
list.h:235:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((const char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                                ^
dir.c:327:29: note: in expansion of macro 'td_list_entry_const'
   const file_info_t *file_b=td_list_entry_const(b, const file_info_t, list);
                             ^
list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((const char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
dir.c:327:29: note: in expansion of macro 'td_list_entry_const'
   const file_info_t *file_b=td_list_entry_const(b, const file_info_t, list);
                             ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c exfat_dir.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c ext2_dir.c
ext2_dir.c: In function 'alloc_io_channel':
ext2_dir.c:100:44: warning: unused parameter 'disk_car' [-Wunused-parameter]
 static io_channel alloc_io_channel(disk_t *disk_car,my_data_t *my_data)
                                            ^
ext2_dir.c: In function 'my_open':
ext2_dir.c:127:38: warning: unused parameter 'dev' [-Wunused-parameter]
 static errcode_t my_open(const char *dev, int flags, io_channel *channel)
                                      ^
ext2_dir.c:127:47: warning: unused parameter 'flags' [-Wunused-parameter]
 static errcode_t my_open(const char *dev, int flags, io_channel *channel)
                                               ^
ext2_dir.c: In function 'my_write_blk':
ext2_dir.c:181:30: warning: cast increases required alignment of target type [-Wcast-align]
     const my_data_t *my_data=(const my_data_t*)channel;
                              ^
ext2_dir.c: In function 'my_flush':
ext2_dir.c:191:38: warning: unused parameter 'channel' [-Wunused-parameter]
 static errcode_t my_flush(io_channel channel)
                                      ^
ext2_dir.c: In function 'list_dir_proc2':
ext2_dir.c:196:38: warning: unused parameter 'dir' [-Wunused-parameter]
 static int list_dir_proc2(ext2_ino_t dir,
                                      ^
ext2_dir.c:199:9: warning: unused parameter 'offset' [-Wunused-parameter]
     int offset,
         ^
ext2_dir.c:200:9: warning: unused parameter 'blocksize' [-Wunused-parameter]
     int blocksize,
         ^
ext2_dir.c:201:11: warning: unused parameter 'buf' [-Wunused-parameter]
     char *buf,
           ^
ext2_dir.c: In function 'ext2_dir':
ext2_dir.c:250:29: warning: unused parameter 'disk_car' [-Wunused-parameter]
 static int ext2_dir(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const unsigned long int cluster, file_info_t *dir_list)
                             ^
ext2_dir.c:250:58: warning: unused parameter 'partition' [-Wunused-parameter]
 static int ext2_dir(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const unsigned long int cluster, file_info_t *dir_list)
                                                          ^
ext2_dir.c: In function 'ext2_copy':
ext2_dir.c:271:30: warning: unused parameter 'disk_car' [-Wunused-parameter]
 static int ext2_copy(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const file_info_t *file)
                              ^
ext2_dir.c:271:59: warning: unused parameter 'partition' [-Wunused-parameter]
 static int ext2_copy(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const file_info_t *file)
                                                           ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c fat_dir.c
fat_dir.c: In function 'dir_fat_aux':
fat_dir.c:74:36: warning: cast increases required alignment of target type [-Wcast-align]
   const struct msdos_dir_entry *de=(const struct msdos_dir_entry*)buffer;
                                    ^
fat_dir.c:72:89: warning: unused parameter 'cluster_size' [-Wunused-parameter]
 int dir_fat_aux(const unsigned char*buffer, const unsigned int size, const unsigned int cluster_size, const unsigned int param, file_info_t *dir_list)
                                                                                         ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c ntfs_dir.c
ntfs_dir.c: In function 'ntfs_ucstoutf8':
ntfs_dir.c:150:19: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
     if (iconv(cd, (char**)&inp, &inb_left, &outp, &outb_left) == (size_t)(-1))
                   ^
ntfs_dir.c: In function 'ntfs_td_list_entry':
ntfs_dir.c:264:22: warning: cast increases required alignment of target type [-Wcast-align]
    if (ntfs_ucstombs((ntfschar *) ((char *) rec + le16_to_cpu(rec->name_offset)),
                      ^
ntfs_dir.c:166:54: warning: unused parameter 'pos' [-Wunused-parameter]
   const int name_len, const int name_type, const s64 pos,
                                                      ^
ntfs_dir.c: In function 'ntfs_dir':
ntfs_dir.c:297:29: warning: unused parameter 'disk_car' [-Wunused-parameter]
 static int ntfs_dir(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const unsigned long int cluster, file_info_t *dir_list)
                             ^
ntfs_dir.c:297:58: warning: unused parameter 'partition' [-Wunused-parameter]
 static int ntfs_dir(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const unsigned long int cluster, file_info_t *dir_list)
                                                          ^
ntfs_dir.c: In function 'ntfs_copy':
ntfs_dir.c:331:30: warning: unused parameter 'disk_car' [-Wunused-parameter]
 static int ntfs_copy(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const file_info_t *file)
                              ^
ntfs_dir.c:331:59: warning: unused parameter 'partition' [-Wunused-parameter]
 static int ntfs_copy(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const file_info_t *file)
                                                           ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c partgptw.c
partgptw.c: In function 'partition_generate_gpt_entry':
partgptw.c:88:13: warning: cast increases required alignment of target type [-Wcast-align]
   str2UCSle((uint16_t *)&gpt_entry->ent_name, partition->partname, sizeof(gpt_entry->ent_name)/2);
             ^
partgptw.c: In function 'write_part_gpt':
partgptw.c:196:92: warning: unused parameter 'verbose' [-Wunused-parameter]
 int write_part_gpt(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose, const int align)
                                                                                            ^
partgptw.c:196:111: warning: unused parameter 'align' [-Wunused-parameter]
 int write_part_gpt(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose, const int align)
                                                                                                               ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c rfs_dir.c
rfs_dir.c: In function 'dir_partition_reiser_init':
rfs_dir.c:548:51: warning: unused parameter 'disk_car' [-Wunused-parameter]
 dir_partition_t dir_partition_reiser_init(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const int verbose)
                                                   ^
rfs_dir.c:548:80: warning: unused parameter 'partition' [-Wunused-parameter]
 dir_partition_t dir_partition_reiser_init(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const int verbose)
                                                                                ^
rfs_dir.c:548:103: warning: unused parameter 'dir_data' [-Wunused-parameter]
 dir_partition_t dir_partition_reiser_init(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const int verbose)
                                                                                                       ^
rfs_dir.c:548:123: warning: unused parameter 'verbose' [-Wunused-parameter]
 dir_partition_t dir_partition_reiser_init(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const int verbose)
                                                                                                                           ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c setdate.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c next.c
gcc  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code   -Wl,-z,relro -o testdisk autoset.o common.o crc.o ewf.o fnctdsk.o hdaccess.o hdcache.o hdwin32.o hidden.o hpa_dco.o intrf.o iso.o list_sort.o log.o log_part.o misc.o msdos.o parti386.o partgpt.o parthumax.o partmac.o partsun.o partnone.o partxbox.o io_redir.o ntfs_io.o ntfs_utl.o partauto.o sudo.o unicode.o win32.o  analyse.o bfs.o bsd.o btrfs.o cramfs.o exfat.o fat.o fatx.o ext2.o jfs.o gfs2.o hfs.o hfsp.o hpfs.o luks.o lvm.o md.o netware.o ntfs.o rfs.o savehdr.o sun.o swap.o sysv.o ufs.o vmfs.o wbfs.o xfs.o zfs.o  addpart.o addpartn.o adv.o askloc.o chgarch.o chgarchn.o chgtype.o chgtypen.o dimage.o dirn.o dirpart.o diskacc.o diskcapa.o edit.o ext2_sb.o ext2_sbn.o fat1x.o fat32.o fat_adv.o fat_cluster.o fatn.o geometry.o geometryn.o godmode.o hiddenn.o intrface.o intrfn.o nodisk.o ntfs_adv.o ntfs_fix.o ntfs_udl.o parti386n.o partgptn.o partmacn.o partsunn.o partxboxn.o tanalyse.o tbanner.o tdelete.o tdiskop.o tdisksel.o testdisk.o texfat.o thfs.o tload.o tlog.o tmbrcode.o tntfs.o toptions.o tpartwr.o  dir.o exfat_dir.o ext2_dir.o fat_dir.o ntfs_dir.o partgptw.o rfs_dir.o setdate.o  next.o -lncursesw -ltinfo -lz -luuid -lntfs-3g  -lext2fs -lcom_err
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c phmain.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c photorec.c
In file included from dir.h:30:0,
                 from photorec.c:47:
photorec.c: In function 'list_space_used':
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
photorec.c:79:33: note: in expansion of macro 'td_list_entry'
     const alloc_list_t *element=td_list_entry(tmp, alloc_list_t, list);
                                 ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
photorec.c:79:33: note: in expansion of macro 'td_list_entry'
     const alloc_list_t *element=td_list_entry(tmp, alloc_list_t, list);
                                 ^
photorec.c: In function 'list_free_add':
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
photorec.c:109:26: note: in expansion of macro 'td_list_entry'
     current_search_space=td_list_entry(search_walker, alloc_data_t, list);
                          ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
photorec.c:109:26: note: in expansion of macro 'td_list_entry'
     current_search_space=td_list_entry(search_walker, alloc_data_t, list);
                          ^
photorec.c: In function 'update_search_space':
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
photorec.c:145:26: note: in expansion of macro 'td_list_entry'
     current_search_space=td_list_entry(search_walker, alloc_data_t, list);
                          ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
photorec.c:145:26: note: in expansion of macro 'td_list_entry'
     current_search_space=td_list_entry(search_walker, alloc_data_t, list);
                          ^
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
photorec.c:153:30: note: in expansion of macro 'td_list_entry'
  const alloc_list_t *element=td_list_entry(tmp, alloc_list_t, list);
                              ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
photorec.c:153:30: note: in expansion of macro 'td_list_entry'
  const alloc_list_t *element=td_list_entry(tmp, alloc_list_t, list);
                              ^
photorec.c: In function 'update_search_space_aux':
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
photorec.c:181:26: note: in expansion of macro 'td_list_entry'
     current_search_space=td_list_entry(search_walker, alloc_data_t, list);
                          ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
photorec.c:181:26: note: in expansion of macro 'td_list_entry'
     current_search_space=td_list_entry(search_walker, alloc_data_t, list);
                          ^
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
photorec.c:209:35: note: in expansion of macro 'td_list_entry'
         *new_current_search_space=td_list_entry(current_search_space->list.next, alloc_data_t, list);
                                   ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
photorec.c:209:35: note: in expansion of macro 'td_list_entry'
         *new_current_search_space=td_list_entry(current_search_space->list.next, alloc_data_t, list);
                                   ^
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
photorec.c:228:37: note: in expansion of macro 'td_list_entry'
           *new_current_search_space=td_list_entry(current_search_space->list.next, alloc_data_t, list);
                                     ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
photorec.c:228:37: note: in expansion of macro 'td_list_entry'
           *new_current_search_space=td_list_entry(current_search_space->list.next, alloc_data_t, list);
                                     ^
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
photorec.c:238:35: note: in expansion of macro 'td_list_entry'
         *new_current_search_space=td_list_entry(current_search_space->list.next, alloc_data_t, list);
                                   ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
photorec.c:238:35: note: in expansion of macro 'td_list_entry'
         *new_current_search_space=td_list_entry(current_search_space->list.next, alloc_data_t, list);
                                   ^
photorec.c: In function 'free_list_search_space':
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
photorec.c:305:26: note: in expansion of macro 'td_list_entry'
     current_search_space=td_list_entry(search_walker, alloc_data_t, list);
                          ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
photorec.c:305:26: note: in expansion of macro 'td_list_entry'
     current_search_space=td_list_entry(search_walker, alloc_data_t, list);
                          ^
photorec.c: In function 'get_prev_file_header':
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
photorec.c:366:16: note: in expansion of macro 'td_list_entry'
     file_space=td_list_entry(file_space->list.prev, alloc_data_t, list);
                ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
photorec.c:366:16: note: in expansion of macro 'td_list_entry'
     file_space=td_list_entry(file_space->list.prev, alloc_data_t, list);
                ^
photorec.c: In function 'forget':
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
photorec.c:395:11: note: in expansion of macro 'td_list_entry'
       tmp=td_list_entry(search_walker, alloc_data_t, list);
           ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
photorec.c:395:11: note: in expansion of macro 'td_list_entry'
       tmp=td_list_entry(search_walker, alloc_data_t, list);
           ^
photorec.c: In function 'update_stats':
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
photorec.c:434:26: note: in expansion of macro 'td_list_entry'
     current_search_space=td_list_entry(search_walker, alloc_data_t, list);
                          ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
photorec.c:434:26: note: in expansion of macro 'td_list_entry'
     current_search_space=td_list_entry(search_walker, alloc_data_t, list);
                          ^
photorec.c: In function 'find_blocksize':
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
photorec.c:507:12: note: in expansion of macro 'td_list_entry'
   *offset=(td_list_entry(list_search_space->list.next, alloc_data_t, list))->start % blocksize;
            ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
photorec.c:507:12: note: in expansion of macro 'td_list_entry'
   *offset=(td_list_entry(list_search_space->list.next, alloc_data_t, list))->start % blocksize;
            ^
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
photorec.c:513:31: note: in expansion of macro 'td_list_entry'
       const alloc_data_t *tmp=td_list_entry(search_walker, alloc_data_t, list);
                               ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
photorec.c:513:31: note: in expansion of macro 'td_list_entry'
       const alloc_data_t *tmp=td_list_entry(search_walker, alloc_data_t, list);
                               ^
photorec.c: In function 'update_blocksize':
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
photorec.c:536:26: note: in expansion of macro 'td_list_entry'
     current_search_space=td_list_entry(search_walker, alloc_data_t, list);
                          ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
photorec.c:536:26: note: in expansion of macro 'td_list_entry'
     current_search_space=td_list_entry(search_walker, alloc_data_t, list);
                          ^
photorec.c: In function 'free_list_allocation':
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
photorec.c:558:21: note: in expansion of macro 'td_list_entry'
     allocated_space=td_list_entry(tmp, alloc_list_t, list);
                     ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
photorec.c:558:21: note: in expansion of macro 'td_list_entry'
     allocated_space=td_list_entry(tmp, alloc_list_t, list);
                     ^
photorec.c: In function 'file_finish':
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
photorec.c:661:31: note: in expansion of macro 'td_list_entry'
         *current_search_space=td_list_entry((*current_search_space)->list.next, alloc_data_t, list);
                               ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
photorec.c:661:31: note: in expansion of macro 'td_list_entry'
         *current_search_space=td_list_entry((*current_search_space)->list.next, alloc_data_t, list);
                               ^
photorec.c: In function 'info_list_search_space':
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
photorec.c:756:9: note: in expansion of macro 'td_list_entry'
     tmp=td_list_entry(search_walker, alloc_data_t, list);
         ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
photorec.c:756:9: note: in expansion of macro 'td_list_entry'
     tmp=td_list_entry(search_walker, alloc_data_t, list);
         ^
photorec.c: In function 'file_truncate_aux':
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
photorec.c:788:27: note: in expansion of macro 'td_list_entry'
     alloc_data_t *element=td_list_entry(tmp, alloc_data_t, list);
                           ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
photorec.c:788:27: note: in expansion of macro 'td_list_entry'
     alloc_data_t *element=td_list_entry(tmp, alloc_data_t, list);
                           ^
photorec.c: In function 'file_error_aux':
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
photorec.c:842:27: note: in expansion of macro 'td_list_entry'
     alloc_data_t *element=td_list_entry(tmp, alloc_data_t, list);
                           ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
photorec.c:842:27: note: in expansion of macro 'td_list_entry'
     alloc_data_t *element=td_list_entry(tmp, alloc_data_t, list);
                           ^
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
photorec.c:858:16: note: in expansion of macro 'td_list_entry'
    new_element=td_list_entry(next, alloc_data_t, list);
                ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
photorec.c:858:16: note: in expansion of macro 'td_list_entry'
    new_element=td_list_entry(next, alloc_data_t, list);
                ^
photorec.c: In function 'free_search_space':
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
photorec.c:895:26: note: in expansion of macro 'td_list_entry'
     current_search_space=td_list_entry(search_walker, alloc_data_t, list);
                          ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
photorec.c:895:26: note: in expansion of macro 'td_list_entry'
     current_search_space=td_list_entry(search_walker, alloc_data_t, list);
                          ^
photorec.c: In function 'set_search_start_aux':
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
photorec.c:927:26: note: in expansion of macro 'td_list_entry'
     current_search_space=td_list_entry(search_walker, alloc_data_t, list);
                          ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
photorec.c:927:26: note: in expansion of macro 'td_list_entry'
     current_search_space=td_list_entry(search_walker, alloc_data_t, list);
                          ^
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
photorec.c:936:29: note: in expansion of macro 'td_list_entry'
   *new_current_search_space=td_list_entry(search_walker, alloc_data_t, list);
                             ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
photorec.c:936:29: note: in expansion of macro 'td_list_entry'
   *new_current_search_space=td_list_entry(search_walker, alloc_data_t, list);
                             ^
photorec.c: In function 'set_search_start':
photorec.c:942:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if(params->offset!=-1)
                    ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c phcfg.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c exfatp.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c ext2grp.c
ext2grp.c: In function 'ext2_fix_group':
ext2grp.c:60:39: warning: cast increases required alignment of target type [-Wcast-align]
     const struct ext2_super_block *sb=(const struct ext2_super_block *)buffer;
                                       ^
In file included from ext2grp.c:31:0:
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
ext2grp.c:65:28: note: in expansion of macro 'td_list_entry'
       current_search_space=td_list_entry(search_walker, alloc_data_t, list);
                            ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
ext2grp.c:65:28: note: in expansion of macro 'td_list_entry'
       current_search_space=td_list_entry(search_walker, alloc_data_t, list);
                            ^
ext2grp.c: In function 'ext2_fix_inode':
ext2grp.c:97:39: warning: cast increases required alignment of target type [-Wcast-align]
     const struct ext2_super_block *sb=(const struct ext2_super_block *)buffer;
                                       ^
In file included from ext2grp.c:31:0:
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
ext2grp.c:103:28: note: in expansion of macro 'td_list_entry'
       current_search_space=td_list_entry(search_walker, alloc_data_t, list);
                            ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
ext2grp.c:103:28: note: in expansion of macro 'td_list_entry'
       current_search_space=td_list_entry(search_walker, alloc_data_t, list);
                            ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c ext2p.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c fatp.c
In file included from fatp.c:31:0:
fatp.c: In function 'fat12_remove_used_space':
fatp.c:68:28: warning: cast increases required alignment of target type [-Wcast-align]
       next_cluster=le16((*((uint16_t*)&buffer[offset_o])))>>4;
                            ^
common.h:443:19: note: in definition of macro 'le16'
 #define le16(x)  (x)             /* x as little endian */
                   ^
fatp.c:70:27: warning: cast increases required alignment of target type [-Wcast-align]
       next_cluster=le16(*((uint16_t*)&buffer[offset_o]))&0x0FFF;
                           ^
common.h:443:19: note: in definition of macro 'le16'
 #define le16(x)  (x)             /* x as little endian */
                   ^
fatp.c: In function 'fat16_remove_used_space':
fatp.c:100:7: warning: cast increases required alignment of target type [-Wcast-align]
   p16=(const uint16_t*)buffer;
       ^
fatp.c: In function 'fat32_remove_used_space':
fatp.c:144:7: warning: cast increases required alignment of target type [-Wcast-align]
   p32=(uint32_t*)buffer;
       ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_found.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c ntfsp.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c poptions.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c sessionp.c
sessionp.c: In function 'session_save':
sessionp.c:196:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       if(files_enable[i].enable==files_enable[i].file_hint->enable_by_default)
                                ^
sessionp.c:203:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if(files_enable[i].enable!=files_enable[i].file_hint->enable_by_default &&
                           ^
sessionp.c:291:60: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if(params->status!=STATUS_FIND_OFFSET && params->offset!=-1)
                                                            ^
In file included from filegen.h:28:0,
                 from sessionp.c:48:
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
sessionp.c:298:26: note: in expansion of macro 'td_list_entry'
       current_free_space=td_list_entry(free_walker, alloc_data_t, list);
                          ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
sessionp.c:298:26: note: in expansion of macro 'td_list_entry'
       current_free_space=td_list_entry(free_walker, alloc_data_t, list);
                          ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c dfxml.c
In file included from dir.h:30:0,
                 from dfxml.c:54:
dfxml.c: In function 'xml_log_file_recovered':
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
dfxml.c:318:33: note: in expansion of macro 'td_list_entry'
     const alloc_list_t *element=td_list_entry(tmp, alloc_list_t, list);
                                 ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
dfxml.c:318:33: note: in expansion of macro 'td_list_entry'
     const alloc_list_t *element=td_list_entry(tmp, alloc_list_t, list);
                                 ^
dfxml.c: In function 'xml_log_file_recovered2_aux':
list.h:235:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((const char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                                ^
dfxml.c:339:33: note: in expansion of macro 'td_list_entry_const'
     const alloc_data_t *element=td_list_entry_const(tmp, const alloc_data_t, list);
                                 ^
list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((const char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
dfxml.c:339:33: note: in expansion of macro 'td_list_entry_const'
     const alloc_data_t *element=td_list_entry_const(tmp, const alloc_data_t, list);
                                 ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c list.c
In file included from list.c:31:0:
list.c: In function 'list_truncate':
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
list.c:40:27: note: in expansion of macro 'td_list_entry'
     alloc_list_t *element=td_list_entry(tmp, alloc_list_t, list);
                           ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
list.c:40:27: note: in expansion of macro 'td_list_entry'
     alloc_list_t *element=td_list_entry(tmp, alloc_list_t, list);
                           ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c fat_unformat.c
In file included from dir.h:30:0,
                 from fat_unformat.c:43:
pnext.h: In function 'get_next_header':
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
pnext.h:37:27: note: in expansion of macro 'td_list_entry'
     *current_search_space=td_list_entry((*current_search_space)->list.next, alloc_data_t, list);
                           ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
pnext.h:37:27: note: in expansion of macro 'td_list_entry'
     *current_search_space=td_list_entry((*current_search_space)->list.next, alloc_data_t, list);
                           ^
fat_unformat.c: In function 'pfind_sectors_per_cluster':
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
fat_unformat.c:67:24: note: in expansion of macro 'td_list_entry'
   current_search_space=td_list_entry(list_search_space->list.next, alloc_data_t, list);
                        ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
fat_unformat.c:67:24: note: in expansion of macro 'td_list_entry'
   current_search_space=td_list_entry(list_search_space->list.next, alloc_data_t, list);
                        ^
fat_unformat.c: In function 'fat_unformat_aux':
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
fat_unformat.c:226:24: note: in expansion of macro 'td_list_entry'
   current_search_space=td_list_entry(list_search_space->list.prev, alloc_data_t, list);
                        ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
fat_unformat.c:226:24: note: in expansion of macro 'td_list_entry'
   current_search_space=td_list_entry(list_search_space->list.prev, alloc_data_t, list);
                        ^
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
fat_unformat.c:233:24: note: in expansion of macro 'td_list_entry'
   current_search_space=td_list_entry(list_search_space->list.next, alloc_data_t, list);
                        ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
fat_unformat.c:233:24: note: in expansion of macro 'td_list_entry'
   current_search_space=td_list_entry(list_search_space->list.next, alloc_data_t, list);
                        ^
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
fat_unformat.c:262:36: note: in expansion of macro 'td_list_entry'
    const file_info_t *current_file=td_list_entry(file_walker, file_info_t, list);
                                    ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
fat_unformat.c:262:36: note: in expansion of macro 'td_list_entry'
    const file_info_t *current_file=td_list_entry(file_walker, file_info_t, list);
                                    ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c pbanner.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c pblocksize.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c pdisksel.c
In file included from dir.h:30:0,
                 from pdisksel.c:43:
pdisksel.c: In function 'photorec_disk_selection_cli':
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
pdisksel.c:91:28: note: in expansion of macro 'td_list_entry'
       current_search_space=td_list_entry(search_walker, alloc_data_t, list);
                            ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
pdisksel.c:91:28: note: in expansion of macro 'td_list_entry'
       current_search_space=td_list_entry(search_walker, alloc_data_t, list);
                            ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c pfree_whole.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c phbf.c
In file included from dir.h:30:0,
                 from phbf.c:54:
pnext.h: In function 'get_next_header':
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
pnext.h:37:27: note: in expansion of macro 'td_list_entry'
     *current_search_space=td_list_entry((*current_search_space)->list.next, alloc_data_t, list);
                           ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
pnext.h:37:27: note: in expansion of macro 'td_list_entry'
     *current_search_space=td_list_entry((*current_search_space)->list.next, alloc_data_t, list);
                           ^
phbf.c: In function 'list_append_block':
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
phbf.c:118:24: note: in expansion of macro 'td_list_entry'
     alloc_list_t *prev=td_list_entry(list->list.prev, alloc_list_t, list);
                        ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
phbf.c:118:24: note: in expansion of macro 'td_list_entry'
     alloc_list_t *prev=td_list_entry(list->list.prev, alloc_list_t, list);
                        ^
phbf.c: In function 'next_file':
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
phbf.c:142:9: note: in expansion of macro 'td_list_entry'
     tmp=td_list_entry(tmp_walker, alloc_data_t, list);
         ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
phbf.c:142:9: note: in expansion of macro 'td_list_entry'
     tmp=td_list_entry(tmp_walker, alloc_data_t, list);
         ^
phbf.c: In function 'photorec_bf':
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
phbf.c:178:28: note: in expansion of macro 'td_list_entry'
       current_search_space=td_list_entry(search_walker, alloc_data_t, list);
                            ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
phbf.c:178:28: note: in expansion of macro 'td_list_entry'
       current_search_space=td_list_entry(search_walker, alloc_data_t, list);
                            ^
list.h:235:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((const char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                                ^
phbf.c:202:35: note: in expansion of macro 'td_list_entry_const'
      const file_check_list_t *pos=td_list_entry_const(tmpl, const file_check_list_t, list);
                                   ^
list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((const char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
phbf.c:202:35: note: in expansion of macro 'td_list_entry_const'
      const file_check_list_t *pos=td_list_entry_const(tmpl, const file_check_list_t, list);
                                   ^
list.h:235:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((const char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                                ^
phbf.c:205:39: note: in expansion of macro 'td_list_entry_const'
        const file_check_t *file_check=td_list_entry_const(tmp, const file_check_t, list);
                                       ^
list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((const char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
phbf.c:205:39: note: in expansion of macro 'td_list_entry_const'
        const file_check_t *file_check=td_list_entry_const(tmp, const file_check_t, list);
                                       ^
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
phbf.c:316:8: note: in expansion of macro 'td_list_entry'
    tmp=td_list_entry(tmp_walker, alloc_data_t, list);
        ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
phbf.c:316:8: note: in expansion of macro 'td_list_entry'
    tmp=td_list_entry(tmp_walker, alloc_data_t, list);
        ^
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
phbf.c:324:25: note: in expansion of macro 'td_list_entry'
    current_search_space=td_list_entry(search_walker, alloc_data_t, list);
                         ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
phbf.c:324:25: note: in expansion of macro 'td_list_entry'
    current_search_space=td_list_entry(search_walker, alloc_data_t, list);
                         ^
phbf.c: In function 'photorec_bf_frag':
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
phbf.c:656:35: note: in expansion of macro 'td_list_entry'
       const alloc_list_t *element=td_list_entry(file_recovery->location.list.prev, alloc_list_t, list);
                                   ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
phbf.c:656:35: note: in expansion of macro 'td_list_entry'
       const alloc_list_t *element=td_list_entry(file_recovery->location.list.prev, alloc_list_t, list);
                                   ^
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
phbf.c:660:31: note: in expansion of macro 'td_list_entry'
     extractblock_search_space=td_list_entry(list_search_space->list.next, alloc_data_t, list);
                               ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
phbf.c:660:31: note: in expansion of macro 'td_list_entry'
     extractblock_search_space=td_list_entry(list_search_space->list.next, alloc_data_t, list);
                               ^
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
phbf.c:664:33: note: in expansion of macro 'td_list_entry'
       extractblock_search_space=td_list_entry(extractblock_search_space->list.next, alloc_data_t, list);
                                 ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
phbf.c:664:33: note: in expansion of macro 'td_list_entry'
       extractblock_search_space=td_list_entry(extractblock_search_space->list.next, alloc_data_t, list);
                                 ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c phbs.c
In file included from phbs.c:46:0:
pnext.h: In function 'get_next_header':
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
pnext.h:37:27: note: in expansion of macro 'td_list_entry'
     *current_search_space=td_list_entry((*current_search_space)->list.next, alloc_data_t, list);
                           ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
pnext.h:37:27: note: in expansion of macro 'td_list_entry'
     *current_search_space=td_list_entry((*current_search_space)->list.next, alloc_data_t, list);
                           ^
phbs.c: In function 'photorec_find_blocksize':
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
phbs.c:91:24: note: in expansion of macro 'td_list_entry'
   current_search_space=td_list_entry(list_search_space->list.next, alloc_data_t, list);
                        ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
phbs.c:91:24: note: in expansion of macro 'td_list_entry'
   current_search_space=td_list_entry(list_search_space->list.next, alloc_data_t, list);
                        ^
list.h:235:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((const char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                                ^
phbs.c:118:33: note: in expansion of macro 'td_list_entry_const'
    const file_check_list_t *pos=td_list_entry_const(tmpl, const file_check_list_t, list);
                                 ^
list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((const char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
phbs.c:118:33: note: in expansion of macro 'td_list_entry_const'
    const file_check_list_t *pos=td_list_entry_const(tmpl, const file_check_list_t, list);
                                 ^
list.h:235:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((const char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                                ^
phbs.c:121:37: note: in expansion of macro 'td_list_entry_const'
      const file_check_t *file_check=td_list_entry_const(tmp, const file_check_t, list);
                                     ^
list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((const char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
phbs.c:121:37: note: in expansion of macro 'td_list_entry_const'
      const file_check_t *file_check=td_list_entry_const(tmp, const file_check_t, list);
                                     ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c phnc.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c phrecn.c
In file included from dir.h:30:0,
                 from phrecn.c:58:
pnext.h: In function 'get_next_header':
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
pnext.h:37:27: note: in expansion of macro 'td_list_entry'
     *current_search_space=td_list_entry((*current_search_space)->list.next, alloc_data_t, list);
                           ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
pnext.h:37:27: note: in expansion of macro 'td_list_entry'
     *current_search_space=td_list_entry((*current_search_space)->list.next, alloc_data_t, list);
                           ^
phrecn.c: In function 'gen_image':
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
phrecn.c:213:26: note: in expansion of macro 'td_list_entry'
     current_search_space=td_list_entry(search_walker, alloc_data_t, list);
                          ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
phrecn.c:213:26: note: in expansion of macro 'td_list_entry'
     current_search_space=td_list_entry(search_walker, alloc_data_t, list);
                          ^
phrecn.c: In function 'photorec':
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
phrecn.c:438:22: note: in expansion of macro 'td_list_entry'
        start_offset=(td_list_entry(list_search_space->list.next, alloc_data_t, list))->start % params->blocksize;
                      ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
phrecn.c:438:22: note: in expansion of macro 'td_list_entry'
        start_offset=(td_list_entry(list_search_space->list.next, alloc_data_t, list))->start % params->blocksize;
                      ^
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
phrecn.c:547:28: note: in expansion of macro 'td_list_entry'
       current_search_space=td_list_entry(search_walker, alloc_data_t, list);
                            ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
phrecn.c:547:28: note: in expansion of macro 'td_list_entry'
       current_search_space=td_list_entry(search_walker, alloc_data_t, list);
                            ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c ppartsel.c
In file included from dir.h:30:0,
                 from ppartsel.c:39:
ppartsel.c: In function 'spacerange_cmp':
list.h:235:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((const char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                                ^
ppartsel.c:64:31: note: in expansion of macro 'td_list_entry_const'
   const alloc_data_t *space_a=td_list_entry_const(a, const alloc_data_t, list);
                               ^
list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((const char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
ppartsel.c:64:31: note: in expansion of macro 'td_list_entry_const'
   const alloc_data_t *space_a=td_list_entry_const(a, const alloc_data_t, list);
                               ^
list.h:235:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((const char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                                ^
ppartsel.c:65:31: note: in expansion of macro 'td_list_entry_const'
   const alloc_data_t *space_b=td_list_entry_const(b, const alloc_data_t, list);
                               ^
list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((const char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
ppartsel.c:65:31: note: in expansion of macro 'td_list_entry_const'
   const alloc_data_t *space_b=td_list_entry_const(b, const alloc_data_t, list);
                               ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c psearchn.c
In file included from dir.h:30:0,
                 from psearchn.c:54:
pnext.h: In function 'get_next_header':
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
pnext.h:37:27: note: in expansion of macro 'td_list_entry'
     *current_search_space=td_list_entry((*current_search_space)->list.next, alloc_data_t, list);
                           ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
pnext.h:37:27: note: in expansion of macro 'td_list_entry'
     *current_search_space=td_list_entry((*current_search_space)->list.next, alloc_data_t, list);
                           ^
In file included from psearchn.c:65:0:
psearch.h: In function 'ind_block':
psearch.h:37:23: warning: cast increases required alignment of target type [-Wcast-align]
   const uint32_t *p32=(const uint32_t *)buffer;
                       ^
In file included from dir.h:30:0,
                 from psearchn.c:54:
psearchn.c: In function 'photorec_aux':
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
psearchn.c:138:24: note: in expansion of macro 'td_list_entry'
   current_search_space=td_list_entry(list_search_space->list.next, alloc_data_t, list);
                        ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
psearchn.c:138:24: note: in expansion of macro 'td_list_entry'
   current_search_space=td_list_entry(list_search_space->list.next, alloc_data_t, list);
                        ^
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
psearchn.c:190:33: note: in expansion of macro 'td_list_entry'
    const file_check_list_t *pos=td_list_entry(tmpl, file_check_list_t, list);
                                 ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
psearchn.c:190:33: note: in expansion of macro 'td_list_entry'
    const file_check_list_t *pos=td_list_entry(tmpl, file_check_list_t, list);
                                 ^
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
psearchn.c:193:37: note: in expansion of macro 'td_list_entry'
      const file_check_t *file_check=td_list_entry(tmp, file_check_t, list);
                                     ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
psearchn.c:193:37: note: in expansion of macro 'td_list_entry'
      const file_check_t *file_check=td_list_entry(tmp, file_check_t, list);
                                     ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c filegen.c
In file included from filegen.h:28:0,
                 from filegen.c:36:
filegen.c: In function 'file_check_cmp':
list.h:235:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((const char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                                ^
filegen.c:51:28: note: in expansion of macro 'td_list_entry_const'
   const file_check_t *fc_a=td_list_entry_const(a, const file_check_t, list);
                            ^
list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((const char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
filegen.c:51:28: note: in expansion of macro 'td_list_entry_const'
   const file_check_t *fc_a=td_list_entry_const(a, const file_check_t, list);
                            ^
list.h:235:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((const char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                                ^
filegen.c:52:28: note: in expansion of macro 'td_list_entry_const'
   const file_check_t *fc_b=td_list_entry_const(b, const file_check_t, list);
                            ^
list.h:235:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((const char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
filegen.c:52:28: note: in expansion of macro 'td_list_entry_const'
   const file_check_t *fc_b=td_list_entry_const(b, const file_check_t, list);
                            ^
filegen.c: In function 'index_header_check_aux':
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
filegen.c:99:28: note: in expansion of macro 'td_list_entry'
     file_check_list_t *pos=td_list_entry(tmp, file_check_list_t, list);
                            ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
filegen.c:99:28: note: in expansion of macro 'td_list_entry'
     file_check_list_t *pos=td_list_entry(tmp, file_check_list_t, list);
                            ^
filegen.c: In function 'index_header_check':
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
filegen.c:129:19: note: in expansion of macro 'td_list_entry'
     current_check=td_list_entry(tmp, file_check_t, list);
                   ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
filegen.c:129:19: note: in expansion of macro 'td_list_entry'
     current_check=td_list_entry(tmp, file_check_t, list);
                   ^
filegen.c: In function 'free_header_check':
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
filegen.c:144:28: note: in expansion of macro 'td_list_entry'
     file_check_list_t *pos=td_list_entry(tmpl, file_check_list_t, list);
                            ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
filegen.c:144:28: note: in expansion of macro 'td_list_entry'
     file_check_list_t *pos=td_list_entry(tmpl, file_check_list_t, list);
                            ^
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
filegen.c:155:16: note: in expansion of macro 'td_list_entry'
  current_check=td_list_entry(tmp, file_check_t, list);
                ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
filegen.c:155:16: note: in expansion of macro 'td_list_entry'
  current_check=td_list_entry(tmp, file_check_t, list);
                ^
filegen.c: In function 'data_check_size':
filegen.c:274:42: warning: unused parameter 'buffer' [-Wunused-parameter]
 int data_check_size(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery)
                                          ^
filegen.c:274:69: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 int data_check_size(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery)
                                                                     ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_list.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_1cd.c
file_1cd.c: In function 'header_check_1cd':
file_1cd.c:55:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_1cd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_1cd.c:55:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_1cd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_1cd.c:55:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_1cd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_7z.c
file_7z.c: In function 'header_check_7z':
file_7z.c:63:76: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_7z(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery,  file_recovery_t *file_recovery_new)
                                                                            ^
file_7z.c:63:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_7z(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery,  file_recovery_t *file_recovery_new)
                                                                                                            ^
file_7z.c:63:149: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_7z(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery,  file_recovery_t *file_recovery_new)
                                                                                                                                                     ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_DB.c
file_DB.c: In function 'header_check_DB':
file_DB.c:54:76: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_DB(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                            ^
file_DB.c:54:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_DB(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                            ^
file_DB.c:54:149: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_DB(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                     ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_a.c
file_a.c: In function 'header_check_a':
file_a.c:54:75: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_a(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only,  const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                           ^
file_a.c:54:107: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_a(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only,  const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                           ^
file_a.c:54:149: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_a(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only,  const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                     ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_ab.c
file_ab.c: In function 'header_check_addressbook':
file_ab.c:52:85: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_addressbook(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                     ^
file_ab.c:52:117: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_addressbook(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                     ^
file_ab.c:52:158: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_addressbook(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                              ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_abcdp.c
file_abcdp.c: In function 'header_check_abcdp':
file_abcdp.c:54:79: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_abcdp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                               ^
file_abcdp.c:54:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_abcdp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                               ^
file_abcdp.c:54:152: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_abcdp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                        ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_abr.c
file_abr.c: In function 'header_check_abr':
file_abr.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter]
 static int header_check_abr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                  ^
file_abr.c:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_abr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_abr.c:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_abr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_abr.c:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_abr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_acb.c
file_acb.c: In function 'header_check_acb':
file_acb.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter]
 static int header_check_acb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                  ^
file_acb.c:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_acb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_acb.c:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_acb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_acb.c:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_acb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_ace.c
file_ace.c: In function 'header_check_ace':
file_ace.c:177:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_ace(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_ace.c:177:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_ace(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_ace.c:177:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_ace(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_ado.c
file_ado.c: In function 'header_check_ado':
file_ado.c:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_ado(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_ado.c:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_ado(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_ado.c:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_ado(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_ahn.c
file_ahn.c: In function 'header_check_ahn':
file_ahn.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_ahn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_ahn.c:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_ahn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_ahn.c:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_ahn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_aif.c
file_aif.c: In function 'header_check_aif':
file_aif.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_aif(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_aif.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_aif(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_aif.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_aif(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_all.c
file_all.c: In function 'header_check_all':
file_all.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_all(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_all.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_all(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_all.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_all(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_als.c
file_als.c: In function 'header_check_als':
file_als.c:64:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_als(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_als.c:64:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_als(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_als.c:64:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_als(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_amd.c
file_amd.c: In function 'header_check_amd':
file_amd.c:67:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_amd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_amd.c:67:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_amd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_amd.c:67:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_amd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
file_amd.c: In function 'header_check_amt':
file_amd.c:82:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_amt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_amd.c:82:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_amt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_amd.c:82:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_amt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_amr.c
file_amr.c: In function 'header_check_amr':
file_amr.c:80:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_amr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_amr.c:80:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_amr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_amr.c:80:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_amr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_apa.c
file_apa.c: In function 'header_check_apa':
file_apa.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_apa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_apa.c:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_apa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_apa.c:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_apa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_ape.c
file_ape.c: In function 'header_check_ape':
file_ape.c:61:39: warning: cast increases required alignment of target type [-Wcast-align]
   const struct APE_COMMON_HEADER *ape=(const struct APE_COMMON_HEADER*)buffer;
                                       ^
file_ape.c:59:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_ape(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_ape.c:59:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_ape(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_ape.c:59:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_ape(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_apple.c
file_apple.c: In function 'header_check_apple':
file_apple.c:54:79: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_apple(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                               ^
file_apple.c:54:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_apple(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                               ^
file_apple.c:54:152: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_apple(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                        ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_arj.c
file_arj.c: In function 'header_check_arj':
file_arj.c:142:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if(file_recovery_new->time < le32(arj->mtime))
                                ^
file_arj.c:128:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_arj(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_arj.c:128:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_arj(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_arj.c:128:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_arj(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_asf.c
file_asf.c: In function 'header_check_asf':
file_asf.c:63:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_asf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_asf.c:63:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_asf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_asl.c
file_asl.c: In function 'header_check_asl':
file_asl.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter]
 static int header_check_asl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                  ^
file_asl.c:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_asl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_asl.c:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_asl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_asl.c:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_asl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_asm.c
file_asm.c: In function 'header_check_asm':
file_asm.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_asm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_asm.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_asm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_asm.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_asm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_atd.c
file_atd.c: In function 'header_check_atd':
file_atd.c:55:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_atd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_atd.c:55:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_atd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_atd.c:55:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_atd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_au.c
file_au.c: In function 'header_check_au':
file_au.c:65:76: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_au(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                            ^
file_au.c:65:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_au(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                            ^
file_au.c:65:149: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_au(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                     ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_axx.c
file_axx.c: In function 'header_check_axx':
file_axx.c:93:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_axx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_axx.c:93:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_axx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_axx.c:93:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_axx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_bac.c
file_bac.c: In function 'header_check_bac':
file_bac.c:76:50: warning: unused parameter 'buffer' [-Wunused-parameter]
 static int header_check_bac(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                  ^
file_bac.c:76:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_bac(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_bac.c:76:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_bac(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_bac.c:76:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_bac(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_bim.c
file_bim.c: In function 'header_check_bim':
file_bim.c:58:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_bim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_bim.c:58:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_bim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_bim.c:58:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_bim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_binvox.c
file_binvox.c: In function 'header_check_binvox':
file_binvox.c:45:53: warning: unused parameter 'buffer' [-Wunused-parameter]
 static int header_check_binvox(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                     ^
file_binvox.c:45:80: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_binvox(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                ^
file_binvox.c:45:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_binvox(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                ^
file_binvox.c:45:153: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_binvox(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                         ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_bkf.c
file_bkf.c: In function 'header_check_bkf':
file_bkf.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_bkf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_bkf.c:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_bkf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_bkf.c:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_bkf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_bld.c
file_bld.c: In function 'header_check_blend':
file_bld.c:59:79: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_blend(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                               ^
file_bld.c:59:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_blend(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                               ^
file_bld.c:59:152: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_blend(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                        ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_bmp.c
file_bmp.c: In function 'header_check_bmp':
file_bmp.c:62:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_bmp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_bmp.c:62:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_bmp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_bmp.c:62:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_bmp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_bz2.c
file_bz2.c: In function 'header_check_bz2':
file_bz2.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_bz2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_bz2.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_bz2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_bz2.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_bz2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_cab.c
file_cab.c: In function 'header_check_cab':
file_cab.c:68:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_cab(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_cab.c:68:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_cab(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_cab.c:68:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_cab(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_caf.c
file_caf.c: In function 'header_check_caf':
file_caf.c:103:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_caf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_caf.c:103:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_caf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_caf.c:103:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_caf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_cam.c
file_cam.c: In function 'header_check_cam':
file_cam.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_cam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_cam.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_cam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_cam.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_cam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_catdrawing.c
file_catdrawing.c: In function 'header_check_catdrawing':
file_catdrawing.c:50:84: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_catdrawing(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                    ^
file_catdrawing.c:50:116: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_catdrawing(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                    ^
file_catdrawing.c:50:157: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_catdrawing(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                             ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_cdt.c
file_cdt.c: In function 'header_check_cdt':
file_cdt.c:55:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_cdt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_cdt.c:55:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_cdt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_cdt.c:55:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_cdt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_chm.c
file_chm.c: In function 'header_check_chm':
file_chm.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_chm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_chm.c:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_chm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_chm.c:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_chm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_class.c
file_class.c: In function 'header_check_class':
file_class.c:64:35: warning: cast increases required alignment of target type [-Wcast-align]
   const struct class_header *cafe=(const struct class_header *)buffer;
                                   ^
file_class.c:62:79: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_class(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                               ^
file_class.c:62:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_class(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                               ^
file_class.c:62:152: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_class(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                        ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_cm.c
file_cm.c: In function 'header_check_cm':
file_cm.c:53:76: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_cm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                            ^
file_cm.c:53:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_cm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                            ^
file_cm.c:53:149: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_cm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                     ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_compress.c
file_compress.c: In function 'header_check_compress':
file_compress.c:53:82: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_compress(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                  ^
file_compress.c:53:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_compress(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                  ^
file_compress.c:53:155: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_compress(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                           ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_cow.c
file_cow.c: In function 'header_check_qcow1':
file_cow.c:78:79: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_qcow1(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                               ^
file_cow.c:78:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_qcow1(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                               ^
file_cow.c:78:152: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_qcow1(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                        ^
file_cow.c: In function 'header_check_qcow2':
file_cow.c:87:52: warning: unused parameter 'buffer' [-Wunused-parameter]
 static int header_check_qcow2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                    ^
file_cow.c:87:79: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_qcow2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                               ^
file_cow.c:87:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_qcow2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                               ^
file_cow.c:87:152: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_qcow2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                        ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_crw.c
file_crw.c: In function 'header_check_crw':
file_crw.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_crw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_crw.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_crw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_crw.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_crw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_csh.c
file_csh.c: In function 'header_check_csh':
file_csh.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter]
 static int header_check_csh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                  ^
file_csh.c:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_csh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_csh.c:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_csh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_csh.c:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_csh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_ctg.c
file_ctg.c: In function 'header_check_ctg':
file_ctg.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_ctg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_ctg.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_ctg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_ctg.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_ctg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_cwk.c
file_cwk.c: In function 'header_check_cwk':
file_cwk.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_cwk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_cwk.c:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_cwk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_cwk.c:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_cwk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_d2s.c
file_d2s.c: In function 'header_check_d2s':
file_d2s.c:55:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_d2s(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_d2s.c:55:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_d2s(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_d2s.c:55:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_d2s(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_dar.c
file_dar.c: In function 'header_check_dar':
file_dar.c:49:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_dar(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_dar.c:49:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_dar(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_dar.c:49:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_dar(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_dat.c
file_dat.c: In function 'header_check_dat':
file_dat.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter]
 static int header_check_dat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                  ^
file_dat.c:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_dat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_dat.c:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_dat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_dat.c:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_dat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
file_dat.c: In function 'header_check_datIE':
file_dat.c:52:79: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_datIE(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                               ^
file_dat.c:52:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_datIE(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                               ^
file_dat.c:52:152: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_datIE(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                        ^
file_dat.c: In function 'header_check_dat_history':
file_dat.c:63:58: warning: unused parameter 'buffer' [-Wunused-parameter]
 static int header_check_dat_history(const unsigned char *buffer, 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:63:85: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_dat_history(const unsigned char *buffer, 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:63:117: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_dat_history(const unsigned char *buffer, 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:63:158: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_dat_history(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                              ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_dbf.c
file_dbf.c: In function 'header_check_dbf':
file_dbf.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_dbf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_dbf.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_dbf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_dbf.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_dbf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_dbn.c
file_dbn.c: In function 'header_check_dbn':
file_dbn.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_dbn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_dbn.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_dbn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_dbn.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_dbn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_ddf.c
file_ddf.c: In function 'header_check_ddf3':
file_ddf.c:104:78: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_ddf3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                              ^
file_ddf.c:104:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_ddf3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                              ^
file_ddf.c:104:151: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_ddf3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                       ^
file_ddf.c: In function 'header_check_ddf4':
file_ddf.c:114:78: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_ddf4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                              ^
file_ddf.c:114:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_ddf4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                              ^
file_ddf.c:114:151: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_ddf4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                       ^
file_ddf.c: In function 'header_check_ddf5':
file_ddf.c:124:78: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_ddf5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                              ^
file_ddf.c:124:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_ddf5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                              ^
file_ddf.c:124:151: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_ddf5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                       ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_dex.c
file_dex.c: In function 'header_check_dex':
file_dex.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_dex(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_dex.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_dex(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_dex.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_dex(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_dim.c
file_dim.c: In function 'header_check_dim':
file_dim.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_dim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_dim.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_dim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_dim.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_dim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_dir.c
file_dir.c: In function 'data_check_fatdir':
file_dir.c:71:51: warning: unused parameter 'buffer' [-Wunused-parameter]
 static int 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:80:36: warning: cast increases required alignment of target type [-Wcast-align]
   const struct msdos_dir_entry *de=(const struct msdos_dir_entry*)buffer;
                                    ^
file_dir.c:78:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_dir(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_dir.c:78:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_dir(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_dir.c:78:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_dir(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_djv.c
file_djv.c: In function 'header_check_djv':
file_djv.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_djv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_djv.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_djv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_djv.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_djv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_dmp.c
file_dmp.c: In function 'header_check_dmp':
file_dmp.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_dmp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_dmp.c:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_dmp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_dmp.c:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_dmp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_doc.c
file_doc.c: In function 'ole_get_file_extension':
file_doc.c:208:9: warning: cast increases required alignment of target type [-Wcast-align]
     fat=(const uint32_t *)(header+1);
         ^
file_doc.c:213:26: warning: cast increases required alignment of target type [-Wcast-align]
     const uint32_t *fati=(const uint32_t *)(header+1);
                          ^
file_doc.c:215:9: warning: cast increases required alignment of target type [-Wcast-align]
     fat=(const uint32_t *)&buffer[fat_offset];
         ^
file_doc.c: In function 'header_check_doc':
file_doc.c:371:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_doc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_doc.c:371:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_doc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
file_doc.c: In function 'get32u':
file_doc.c:595:23: warning: cast increases required alignment of target type [-Wcast-align]
   const uint32_t *val=(const uint32_t *)((const unsigned char *)buffer+offset);
                       ^
file_doc.c: In function 'get64u':
file_doc.c:601:23: warning: cast increases required alignment of target type [-Wcast-align]
   const uint64_t *val=(const uint64_t *)((const unsigned char *)buffer+offset);
                       ^
In file included from file_doc.c:38:0:
file_doc.c: In function 'header_check_doc':
memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline]
 static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len)
                           ^
file_doc.c:411:14: warning: called from here [-Winline]
  if(td_memmem(buffer,buffer_size,"Microsoft Publisher",19)!=NULL)
              ^
In file included from file_doc.c:38:0:
memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline]
 static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len)
                           ^
file_doc.c:416:17: warning: called from here [-Winline]
     if(td_memmem(buffer,buffer_size,"WordDocument",12)!=NULL)
                 ^
In file included from file_doc.c:38:0:
memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline]
 static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len)
                           ^
file_doc.c:420:22: warning: called from here [-Winline]
     else if(td_memmem(buffer,buffer_size,"StarDraw",8)!=NULL)
                      ^
In file included from file_doc.c:38:0:
memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline]
 static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len)
                           ^
file_doc.c:424:22: warning: called from here [-Winline]
     else if(td_memmem(buffer,buffer_size,"StarCalc",8)!=NULL)
                      ^
In file included from file_doc.c:38:0:
memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline]
 static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len)
                           ^
file_doc.c:428:22: warning: called from here [-Winline]
     else if(td_memmem(buffer,buffer_size,"StarImpress",11)!=NULL)
                      ^
In file included from file_doc.c:38:0:
memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline]
 static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len)
                           ^
file_doc.c:432:22: warning: called from here [-Winline]
     else if(td_memmem(buffer,buffer_size,"Worksheet",9)!=NULL ||
                      ^
In file included from file_doc.c:38:0:
memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline]
 static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len)
                           ^
file_doc.c:433:11: warning: called from here [-Winline]
  td_memmem(buffer,buffer_size,"Book",4)!=NULL || 
           ^
In file included from file_doc.c:38:0:
memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline]
 static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len)
                           ^
file_doc.c:434:11: warning: called from here [-Winline]
  td_memmem(buffer,buffer_size,"Workbook",8)!=NULL || 
           ^
In file included from file_doc.c:38:0:
memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline]
 static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len)
                           ^
file_doc.c:435:11: warning: called from here [-Winline]
  td_memmem(buffer,buffer_size,"Calc",4)!=NULL)
           ^
In file included from file_doc.c:38:0:
memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline]
 static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len)
                           ^
file_doc.c:439:22: warning: called from here [-Winline]
     else if(td_memmem(buffer,buffer_size,"Power",5)!=NULL)
                      ^
In file included from file_doc.c:38:0:
memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline]
 static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len)
                           ^
file_doc.c:443:22: warning: called from here [-Winline]
     else if(td_memmem(buffer,buffer_size,"AccessObjSiteData",17)!=NULL)
                      ^
In file included from file_doc.c:38:0:
memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline]
 static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len)
                           ^
file_doc.c:447:22: warning: called from here [-Winline]
     else if(td_memmem(buffer,buffer_size,"Visio",5)!=NULL)
                      ^
In file included from file_doc.c:38:0:
memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline]
 static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len)
                           ^
file_doc.c:451:22: warning: called from here [-Winline]
     else if(td_memmem(buffer,buffer_size,"SfxDocument",11)!=NULL)
                      ^
In file included from file_doc.c:38:0:
memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline]
 static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len)
                           ^
file_doc.c:455:22: warning: called from here [-Winline]
     else if(td_memmem(buffer,buffer_size,"CPicPage",8)!=NULL)
                      ^
In file included from file_doc.c:38:0:
memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline]
 static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len)
                           ^
file_doc.c:459:22: warning: called from here [-Winline]
     else if(td_memmem(buffer,buffer_size,"Microsoft Publisher",19)!=NULL)
                      ^
In file included from file_doc.c:38:0:
memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline]
 static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len)
                           ^
file_doc.c:463:22: warning: called from here [-Winline]
     else if(td_memmem(buffer, buffer_size, "Microsoft Works Database", 24)!=NULL
                      ^
In file included from file_doc.c:38:0:
memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline]
 static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len)
                           ^
file_doc.c:464:14: warning: called from here [-Winline]
  || td_memmem( buffer, buffer_size, "MSWorksDBDoc", 12)!=NULL)
              ^
In file included from file_doc.c:38:0:
memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline]
 static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len)
                           ^
file_doc.c:468:22: warning: called from here [-Winline]
     else if(td_memmem(buffer,buffer_size,"MetaStock",9)!=NULL)
                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_dpx.c
file_dpx.c: In function 'header_check_dpx':
file_dpx.c:69:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_dpx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_dpx.c:69:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_dpx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_dpx.c:69:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_dpx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_drw.c
file_drw.c: In function 'header_check_drw':
file_drw.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_drw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_drw.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_drw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_drw.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_drw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_ds2.c
file_ds2.c: In function 'header_check_ds2':
file_ds2.c:59:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_ds2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_ds2.c:59:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_ds2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_ds2.c:59:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_ds2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_dsc.c
file_dsc.c: In function 'header_check_dsc':
file_dsc.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_dsc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_dsc.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_dsc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_dss.c
file_dss.c: In function 'header_check_dss':
file_dss.c:67:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_dss(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_dss.c:67:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_dss(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_dss.c:67:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_dss(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_dta.c
file_dta.c: In function 'header_check_dta':
file_dta.c:55:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_dta(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_dta.c:55:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_dta(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_dta.c:55:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_dta(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_dump.c
file_dump.c: In function 'header_check_dump':
file_dump.c:129:34: warning: cast increases required alignment of target type [-Wcast-align]
   const struct dump_struct *dump=(const struct dump_struct*)buffer;
                                  ^
file_dump.c:127:78: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_dump(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                              ^
file_dump.c:127:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_dump(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                              ^
file_dump.c:127:151: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_dump(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                       ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_dv.c
file_dv.c: In function 'header_check_dv':
file_dv.c:53:76: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_dv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                            ^
file_dv.c:53:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_dv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                            ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_dwg.c
file_dwg.c: In function 'header_check_dwg':
file_dwg.c:67:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_dwg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_dwg.c:67:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_dwg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_dwg.c:67:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_dwg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_dxf.c
file_dxf.c: In function 'header_check_dxf':
file_dxf.c:66:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_dxf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_dxf.c:66:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_dxf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_dxf.c:66:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_dxf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_e01.c
file_e01.c: In function 'header_check_e01':
file_e01.c:81:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_e01(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_e01.c:81:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_e01(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_e01.c:81:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_e01(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_edb.c
file_edb.c: In function 'header_check_edb':
file_edb.c:47:50: warning: unused parameter 'buffer' [-Wunused-parameter]
 static int header_check_edb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                  ^
file_edb.c:47:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_edb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_edb.c:47:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_edb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_ecryptfs.c
file_ecryptfs.c: In function 'header_check_ecryptfs':
file_ecryptfs.c:72:82: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_ecryptfs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                  ^
file_ecryptfs.c:72:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_ecryptfs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                  ^
file_ecryptfs.c:72:155: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_ecryptfs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                           ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_elf.c
file_elf.c: In function 'header_check_elf':
file_elf.c:46:50: warning: unused parameter 'buffer' [-Wunused-parameter]
 static int header_check_elf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                  ^
file_elf.c:46:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_elf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_elf.c:46:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_elf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_elf.c:46:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_elf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_emf.c
file_emf.c: In function 'header_check_emf':
file_emf.c:214:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_emf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_emf.c:214:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_emf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_emf.c:214:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_emf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_evt.c
file_evt.c: In function 'header_check_evt':
file_evt.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_evt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_evt.c:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_evt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_evt.c:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_evt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_exe.c
file_exe.c: In function 'header_check_exe':
file_exe.c:60:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_exe(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_exe.c:60:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_exe(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_exs.c
file_exs.c: In function 'header_check_exs':
file_exs.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_exs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_exs.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_exs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_exs.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_exs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_ext.c
file_ext.c: In function 'file_rename_ext':
file_ext.c:52:37: warning: cast increases required alignment of target type [-Wcast-align]
   const struct ext2_super_block *sb=(const struct ext2_super_block *)&buffer;
                                     ^
file_ext.c: In function 'header_check_ext2_sb':
file_ext.c:68:37: warning: cast increases required alignment of target type [-Wcast-align]
   const struct ext2_super_block *sb=(const struct ext2_super_block *)buffer;
                                     ^
file_ext.c:66:81: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_ext2_sb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                 ^
file_ext.c:66:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_ext2_sb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                 ^
file_ext.c:66:154: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_ext2_sb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                          ^
file_ext.c: In function 'data_check_extdir':
file_ext.c:95:51: warning: unused parameter 'buffer' [-Wunused-parameter]
 static int 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:108:25: warning: cast increases required alignment of target type [-Wcast-align]
   const uint32_t *inode=(const uint32_t *)&buffer[0];
                         ^
file_ext.c: In function 'header_check_ext2_dir':
file_ext.c:119:82: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_ext2_dir(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                  ^
file_ext.c:119:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_ext2_dir(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                  ^
file_ext.c:119:155: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_ext2_dir(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                           ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_ext2.c
file_ext2.c: In function 'header_check_ext2_fs':
file_ext2.c:57:37: warning: cast increases required alignment of target type [-Wcast-align]
   const struct ext2_super_block *sb=(const struct ext2_super_block *)&buffer[0x400];
                                     ^
file_ext2.c:55:81: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_ext2_fs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                 ^
file_ext2.c:55:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_ext2_fs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                 ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_fat.c
file_fat.c: In function 'header_check_fat':
file_fat.c:60:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_fat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_fat.c:60:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_fat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_fat.c:60:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_fat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_fbf.c
file_fbf.c: In function 'header_check_fbf':
file_fbf.c:46:50: warning: unused parameter 'buffer' [-Wunused-parameter]
 static int header_check_fbf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                  ^
file_fbf.c:46:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_fbf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_fbf.c:46:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_fbf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_fbf.c:46:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_fbf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_fbk.c
file_fbk.c: In function 'header_check_fbk':
file_fbk.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_fbk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_fbk.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_fbk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_fbk.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_fbk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_fcp.c
file_fcp.c: In function 'header_check_fcp':
file_fcp.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_fcp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_fcp.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_fcp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_fcp.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_fcp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_fcs.c
file_fcs.c: In function 'header_check_fcs':
file_fcs.c:96:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_fcs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_fcs.c:96:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_fcs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_fdb.c
file_fdb.c: In function 'header_check_fdb':
file_fdb.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_fdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_fdb.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_fdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_fds.c
file_fds.c: In function 'header_check_fds':
file_fds.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_fds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_fds.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_fds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_fds.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_fds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_fh10.c
file_fh10.c: In function 'header_check_fh10':
file_fh10.c:59:78: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_fh10(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                              ^
file_fh10.c:59:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_fh10(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                              ^
file_fh10.c:59:151: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_fh10(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                       ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_fh5.c
file_fh5.c: In function 'header_check_fh5':
file_fh5.c:63:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_fh5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_fh5.c:63:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_fh5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_fh5.c:63:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_fh5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_filevault.c
file_filevault.c: In function 'header_check_filevault':
file_filevault.c:55:83: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_filevault(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                   ^
file_filevault.c:55:115: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_filevault(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                   ^
file_filevault.c:55:156: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_filevault(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                            ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_fits.c
file_fits.c: In function 'header_check_fits':
file_fits.c:157:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_fits(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                              ^
file_fits.c:157:151: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_fits(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                       ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_flac.c
file_flac.c: In function 'header_check_flac':
file_flac.c:46:51: warning: unused parameter 'buffer' [-Wunused-parameter]
 static int header_check_flac(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                   ^
file_flac.c:46:78: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_flac(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                              ^
file_flac.c:46:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_flac(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                              ^
file_flac.c:46:151: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_flac(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                       ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_flp.c
file_flp.c: In function 'header_check_flp':
file_flp.c:55:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_flp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_flp.c:55:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_flp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_flp.c:55:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_flp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_flv.c
file_flv.c: In function 'header_check_flv':
file_flv.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_flv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_flv.c:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_flv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_flv.c:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_flv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_fob.c
file_fob.c: In function 'header_check_fob':
file_fob.c:68:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_fob(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_fob.c:68:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_fob(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_fp5.c
file_fp5.c: In function 'header_check_fp5':
file_fp5.c:55:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_fp5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_fp5.c:55:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_fp5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_fp5.c:55:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_fp5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_fp7.c
file_fp7.c: In function 'header_check_fp7':
file_fp7.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_fp7(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_fp7.c:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_fp7(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_fp7.c:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_fp7(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_freeway.c
file_freeway.c: In function 'header_check_freeway':
file_freeway.c:56:81: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_freeway(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                 ^
file_freeway.c:56:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_freeway(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                 ^
file_freeway.c:56:154: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_freeway(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                          ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_frm.c
file_frm.c: In function 'header_check_frm':
file_frm.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_frm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_frm.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_frm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_frm.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_frm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_fs.c
file_fs.c: In function 'header_check_fs':
file_fs.c:54:76: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_fs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                            ^
file_fs.c:54:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_fs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                            ^
file_fs.c:54:149: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_fs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                     ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_fwd.c
file_fwd.c: In function 'header_check_fwd':
file_fwd.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter]
 static int header_check_fwd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                  ^
file_fwd.c:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_fwd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_fwd.c:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_fwd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_fwd.c:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_fwd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_gam.c
file_gam.c: In function 'header_check_gam':
file_gam.c:49:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_gam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_gam.c:49:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_gam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_gam.c:49:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_gam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_gct.c
file_gct.c: In function 'header_check_gct':
file_gct.c:50:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_gct(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_gct.c:50:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_gct(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_gct.c:50:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_gct(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_gho.c
file_gho.c: In function 'header_check_db':
file_gho.c:56:76: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_db(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                            ^
file_gho.c:56:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_db(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                            ^
file_gho.c:56:149: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_db(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                     ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_gif.c
file_gif.c: In function 'header_check_gif':
file_gif.c:58:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_gif(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_gif.c:58:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_gif(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_gif.c:58:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_gif(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_gm6.c
file_gm6.c: In function 'header_check_gm6':
file_gm6.c:60:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_gm6(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_gm6.c:60:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_gm6(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_gm6.c:60:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_gm6(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_gp5.c
file_gp5.c: In function 'header_check_gp5':
file_gp5.c:58:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_gp5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_gp5.c:58:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_gp5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_gp5.c:58:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_gp5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_gpg.c
file_gpg.c: In function 'file_check_gpg':
file_gpg.c:294:22: warning: cast increases required alignment of target type [-Wcast-align]
  const uint16_t *mpi=(const uint16_t *)&buffer[i+1+8+1];
                      ^
file_gpg.c:319:10: warning: cast increases required alignment of target type [-Wcast-align]
      mpi=(const uint16_t *)&tmp[0];
          ^
file_gpg.c: In function 'header_check_gpg':
file_gpg.c:461:22: warning: cast increases required alignment of target type [-Wcast-align]
  const uint16_t *mpi=(const uint16_t *)&buffer[i+1+8+1];
                      ^
file_gpg.c:483:10: warning: cast increases required alignment of target type [-Wcast-align]
      mpi=(const uint16_t *)&buffer[i+1+8+1+2+len];
          ^
file_gpg.c:412:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_gpg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_gpg.c:412:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_gpg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_gz.c
file_gz.c: In function 'header_check_gz':
file_gz.c:130:25: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
     d_stream.next_in  = (Bytef*)buffer_compr;
                         ^
file_gz.c:72:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_gz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                            ^
file_gz.c:72:149: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_gz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                     ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_hdf.c
file_hdf.c: In function 'header_check_hdf':
file_hdf.c:116:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_hdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_hdf.c:116:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_hdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_hdf.c:116:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_hdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_hds.c
file_hds.c: In function 'header_check_hds':
file_hds.c:68:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_hds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_hds.c:68:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_hds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_hds.c:68:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_hds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_hfsp.c
file_hfsp.c: In function 'header_check_hfsp':
file_hfsp.c:49:28: warning: cast increases required alignment of target type [-Wcast-align]
   const struct hfsp_vh *vh=(const struct hfsp_vh *)buffer;
                            ^
file_hfsp.c:47:78: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_hfsp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                              ^
file_hfsp.c:47:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_hfsp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                              ^
file_hfsp.c:47:151: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_hfsp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                       ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_hr9.c
file_hr9.c: In function 'header_check_hr9':
file_hr9.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_hr9(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_hr9.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_hr9(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_hr9.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_hr9(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_http.c
file_http.c: In function 'header_check_http':
file_http.c:45:51: warning: unused parameter 'buffer' [-Wunused-parameter]
 static int header_check_http(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                   ^
file_http.c:45:78: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_http(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                              ^
file_http.c:45:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_http(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                              ^
file_http.c:45:151: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_http(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                       ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_icc.c
file_icc.c: In function 'header_check_icc':
file_icc.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_icc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_icc.c:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_icc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_icc.c:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_icc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_ico.c
file_ico.c: In function 'header_check_ico':
file_ico.c:77:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_ico(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_ico.c:77:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_ico(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_ico.c:77:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_ico(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_ifo.c
file_ifo.c: In function 'header_check_ifo':
file_ifo.c:63:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_ifo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_ifo.c:63:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_ifo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_ifo.c:63:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_ifo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_imb.c
file_imb.c: In function 'header_check_imb':
file_imb.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_imb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_imb.c:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_imb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_imb.c:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_imb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_indd.c
file_indd.c: In function 'header_check_indd':
file_indd.c:69:78: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_indd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                              ^
file_indd.c:69:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_indd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                              ^
file_indd.c:69:151: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_indd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                       ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_info.c
file_info.c: In function 'header_check_info':
file_info.c:45:51: warning: unused parameter 'buffer' [-Wunused-parameter]
 static int header_check_info(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                   ^
file_info.c:45:78: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_info(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                              ^
file_info.c:45:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_info(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                              ^
file_info.c:45:151: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_info(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                       ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_iso.c
file_iso.c: In function 'header_check_db':
file_iso.c:54:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_db(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                            ^
file_iso.c:54:149: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_db(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                     ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_it.c
file_it.c: In function 'header_check_it':
file_it.c:72:76: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_it(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                            ^
file_it.c:72:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_it(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                            ^
file_it.c:72:149: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_it(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                     ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_itu.c
file_itu.c: In function 'header_check_itunes':
file_itu.c:52:80: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_itunes(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                ^
file_itu.c:52:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_itunes(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                ^
file_itu.c:52:153: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_itunes(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                         ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_jpg.c
file_jpg.c: In function 'check_mpo_le':
file_jpg.c:139:25: warning: cast increases required alignment of target type [-Wcast-align]
   const uint32_t *tmp32=(const uint32_t *)(&mpo[4]);
                         ^
file_jpg.c:152:9: warning: cast increases required alignment of target type [-Wcast-align]
   tmp16=(const uint16_t*)(&mpo[offset]);
         ^
file_jpg.c:172:24: warning: cast increases required alignment of target type [-Wcast-align]
    const uint32_t *tmp=(const uint32_t *)&field->value[0];
                        ^
file_jpg.c:181:24: warning: cast increases required alignment of target type [-Wcast-align]
    const uint32_t *tmp=(const uint32_t *)&field->value[0];
                        ^
file_jpg.c: In function 'header_check_jpg':
file_jpg.c:333:39: warning: cast increases required alignment of target type [-Wcast-align]
    jpg_time=get_date_from_tiff_header((const TIFFHeader*)&buffer[i+0x0A], tiff_size);
                                       ^
file_jpg.c:255:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_jpg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_jpg.c: In function 'my_output_message':
file_jpg.c:418:45: warning: unused parameter 'cinfo' [-Wunused-parameter]
 static void my_output_message (j_common_ptr cinfo)
                                             ^
file_jpg.c: In function 'my_error_exit':
file_jpg.c:431:32: warning: cast increases required alignment of target type [-Wcast-align]
   struct my_error_mgr *myerr = (struct my_error_mgr *) cinfo->err;
                                ^
file_jpg.c: In function 'my_emit_message':
file_jpg.c:439:32: warning: cast increases required alignment of target type [-Wcast-align]
   struct my_error_mgr *myerr = (struct my_error_mgr *) cinfo->err;
                                ^
file_jpg.c: In function 'jpg_term_source':
file_jpg.c:609:47: warning: unused parameter 'cinfo' [-Wunused-parameter]
 static void jpg_term_source (j_decompress_ptr cinfo)
                                               ^
file_jpg.c: In function 'jpg_find_error':
file_jpg.c:924:252: warning: unused parameter 'blocksize' [-Wunused-parameter]
 static uint64_t jpg_find_error(FILE *handle, const unsigned int output_scanline, const unsigned int output_width, const unsigned int output_components, const unsigned char *frame, const unsigned int *offsets, const uint64_t offset, const unsigned int blocksize, const uint64_t checkpoint_offset)
                                                                                                                                                                                                                                                            ^
file_jpg.c:924:278: warning: unused parameter 'checkpoint_offset' [-Wunused-parameter]
 static uint64_t jpg_find_error(FILE *handle, const unsigned int output_scanline, const unsigned int output_width, const unsigned int output_components, const unsigned char *frame, const unsigned int *offsets, const uint64_t offset, const unsigned int blocksize, const uint64_t checkpoint_offset)
                                                                                                                                                                                                                                                                                      ^
file_jpg.c: In function 'jpg_search_marker':
file_jpg.c:1236:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       for(;i+1<nbytes; i+=file_recovery->blocksize)
               ^
file_jpg.c: In function 'jpg_check_structure':
file_jpg.c:1278:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(offset=file_recovery->blocksize; offset < nbytes && file_recovery->offset_error==0; offset+=file_recovery->blocksize)
                                                 ^
file_jpg.c:1288:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     while(offset + 4 < nbytes && (file_recovery->offset_error==0 || offset < file_recovery->offset_error))
                      ^
file_jpg.c:1319:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if(i+0x0A < nbytes && 2+size > 0x0A)
            ^
file_jpg.c:1322:27: warning: cast increases required alignment of target type [-Wcast-align]
    const TIFFHeader *tiff=(const TIFFHeader*)&buffer[i+0x0A];
                           ^
file_jpg.c:1344:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
      if(thumb_offset < nbytes - 1)
                      ^
file_jpg.c:1362:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        while(j+4<nbytes && thumb_sos_found==0)
                 ^
file_jpg.c:1420:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     && offset < nbytes && buffer[offset]==0xff)
               ^
file_jpg.c:1426:60: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if(sep!=NULL && *(sep+1)=='f' && thumb_offset+thumb_size < nbytes)
                                                            ^
file_jpg.c:1480:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if(offset > nbytes && nbytes < sizeof(buffer))
               ^
file_jpg.c:1480:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if(offset > nbytes && nbytes < sizeof(buffer))
                                  ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_kdb.c
file_kdb.c: In function 'header_check_kdb':
file_kdb.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_kdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_kdb.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_kdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_kdb.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_kdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_kdbx.c
file_kdbx.c: In function 'header_check_kdbx':
file_kdbx.c:45:51: warning: unused parameter 'buffer' [-Wunused-parameter]
 static int header_check_kdbx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                   ^
file_kdbx.c:45:78: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_kdbx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                              ^
file_kdbx.c:45:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_kdbx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                              ^
file_kdbx.c:45:151: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_kdbx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                       ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_ldf.c
file_ldf.c: In function 'header_check_ldf':
file_ldf.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_ldf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_ldf.c:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_ldf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_ldf.c:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_ldf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_lit.c
file_lit.c: In function 'header_check_lit':
file_lit.c:50:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_lit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_lit.c:50:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_lit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_lit.c:50:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_lit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_lnk.c
file_lnk.c: In function 'header_check_lnk':
file_lnk.c:91:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_lnk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_lnk.c:91:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_lnk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_logic.c
file_logic.c: In function 'header_check_logic':
file_logic.c:55:79: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_logic(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                               ^
file_logic.c:55:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_logic(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                               ^
file_logic.c:55:152: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_logic(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                        ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_lso.c
file_lso.c: In function 'header_check_lso':
file_lso.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_lso(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_lso.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_lso(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_lso.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_lso(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_lxo.c
file_lxo.c: In function 'header_check_lxo':
file_lxo.c:49:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_lxo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_lxo.c:49:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_lxo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_lxo.c:49:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_lxo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_lzh.c
file_lzh.c: In function 'file_rename_level0':
file_lzh.c:100:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if(buffer_size<sizeof(struct lzh_level0))
                 ^
file_lzh.c: In function 'header_check_lzh':
file_lzh.c:106:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_lzh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_lzh.c:106:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_lzh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_lzh.c:106:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_lzh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_lzo.c
file_lzo.c: In function 'header_check_lzo':
file_lzo.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_lzo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_lzo.c:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_lzo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_lzo.c:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_lzo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_m2ts.c
file_m2ts.c: In function 'header_check_m2ts':
file_m2ts.c:74:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_m2ts(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                              ^
file_m2ts.c: In function 'header_check_m2t':
file_m2ts.c:129:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_m2t(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_mat.c
file_mat.c: In function 'header_check_mat':
file_mat.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_mat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_mat.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_mat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_mat.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_mat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_max.c
file_max.c: In function 'header_check_max':
file_max.c:47:50: warning: unused parameter 'buffer' [-Wunused-parameter]
 static int header_check_max(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                  ^
file_max.c:47:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_max(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_max.c:47:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_max(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_max.c:47:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_max(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_mb.c
file_mb.c: In function 'header_check_mb':
file_mb.c:57:76: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_mb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                            ^
file_mb.c:57:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_mb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                            ^
file_mb.c:57:149: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_mb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                     ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_mcd.c
file_mcd.c: In function 'header_check_mcd':
file_mcd.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_mcd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_mcd.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_mcd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_mcd.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_mcd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_mdb.c
file_mdb.c: In function 'header_check_db':
file_mdb.c:73:76: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_db(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                            ^
file_mdb.c:73:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_db(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                            ^
file_mdb.c:73:149: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_db(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                     ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_mdf.c
file_mdf.c: In function 'header_check_mdf':
file_mdf.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_mdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_mdf.c:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_mdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_mdf.c:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_mdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_mfa.c
file_mfa.c: In function 'header_check_mfa':
file_mfa.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_mfa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_mfa.c:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_mfa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_mfa.c:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_mfa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_mfg.c
file_mfg.c: In function 'header_check_mfg':
file_mfg.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_mfg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_mfg.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_mfg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_mfg.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_mfg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_mft.c
file_mft.c: In function 'header_check_mft':
file_mft.c:65:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_mft(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_mft.c:65:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_mft(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_mft.c:65:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_mft(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_mid.c
file_mid.c: In function 'header_check_mid':
file_mid.c:55:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_mid(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_mid.c:55:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_mid(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_mid.c:55:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_mid(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_mig.c
file_mig.c: In function 'header_check_mig':
file_mig.c:102:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_mig(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_mig.c:102:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_mig(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_mig.c:102:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_mig(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_mk5.c
file_mk5.c: In function 'header_check_mk5':
file_mk5.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_mk5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_mk5.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_mk5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_mk5.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_mk5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_mkv.c
file_mkv.c: In function 'header_check_mkv':
file_mkv.c:157:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if(segment_size == (1LL << (7 * len)) - 1)
                     ^
file_mkv.c:120:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_mkv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_mkv.c:120:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_mkv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_mobi.c
file_mobi.c: In function 'header_check_mobi':
file_mobi.c:60:51: warning: unused parameter 'buffer' [-Wunused-parameter]
 static int header_check_mobi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                   ^
file_mobi.c:60:78: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_mobi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                              ^
file_mobi.c:60:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_mobi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                              ^
file_mobi.c:60:151: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_mobi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                       ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_mov.c
file_mov.c: In function 'header_check_mov':
file_mov.c:98:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_mov(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_mp3.c
file_mp3.c: In function 'header_check_id3':
file_mp3.c:115:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_id3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_mp3.c:115:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_id3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_mp3.c:115:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_id3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
file_mp3.c: In function 'header_check_mp3':
file_mp3.c:145:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_mp3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_mpg.c
file_mpg.c: In function 'header_check_mpg_Pack':
file_mpg.c:73:82: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_mpg_Pack(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                  ^
file_mpg.c:73:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_mpg_Pack(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                  ^
file_mpg.c: In function 'header_check_mpg_System':
file_mpg.c:138:84: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_mpg_System(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                    ^
file_mpg.c:138:116: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_mpg_System(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                    ^
file_mpg.c: In function 'header_check_mpg_Sequence':
file_mpg.c:172:86: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_mpg_Sequence(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                      ^
file_mpg.c:172:118: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_mpg_Sequence(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                      ^
file_mpg.c: In function 'header_check_mpg4_ElemVideo':
file_mpg.c:200:88: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_mpg4_ElemVideo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                        ^
file_mpg.c:200:120: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_mpg4_ElemVideo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                        ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_mrw.c
file_mrw.c: In function 'header_check_mrw':
file_mrw.c:80:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_mrw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_mrw.c:80:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_mrw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_mrw.c:80:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_mrw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_mus.c
file_mus.c: In function 'header_check_mus':
file_mus.c:55:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_mus(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_mus.c:55:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_mus(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_mus.c:55:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_mus(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_mxf.c
file_mxf.c: In function 'header_check_mxf':
file_mxf.c:62:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_mxf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_mxf.c:62:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_mxf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_mxf.c:62:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_mxf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_myo.c
file_myo.c: In function 'header_check_myo':
file_myo.c:55:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_myo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_myo.c:55:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_myo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_myo.c:55:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_myo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_mysql.c
file_mysql.c: In function 'header_check_mysql':
file_mysql.c:56:79: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_mysql(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                               ^
file_mysql.c:56:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_mysql(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                               ^
file_mysql.c:56:152: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_mysql(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                        ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_nds.c
file_nds.c: In function 'header_check_nds':
file_nds.c:55:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_nds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_nds.c:55:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_nds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_nds.c:55:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_nds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_nes.c
file_nes.c: In function 'header_check_nes':
file_nes.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_nes(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_nes.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_nes(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_nes.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_nes(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_njx.c
file_njx.c: In function 'header_check_njx':
file_njx.c:55:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_njx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_njx.c:55:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_njx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_njx.c:55:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_njx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_nk2.c
file_nk2.c: In function 'header_check_nk2':
file_nk2.c:75:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_nk2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_nk2.c:75:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_nk2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_nk2.c:75:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_nk2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_nsf.c
file_nsf.c: In function 'header_check_nsf':
file_nsf.c:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_nsf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_nsf.c:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_nsf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_nsf.c:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_nsf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_oci.c
file_oci.c: In function 'header_check_oci':
file_oci.c:83:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_oci(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_oci.c:83:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_oci(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_oci.c:83:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_oci(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_ogg.c
file_ogg.c: In function 'header_check_ogg':
file_ogg.c:51:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_ogg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_ogg.c:51:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_ogg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_one.c
file_one.c: In function 'header_check_one':
file_one.c:55:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_one(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_one.c:55:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_one(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_one.c:55:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_one(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_orf.c
file_orf.c: In function 'header_check_orf_IIRS':
file_orf.c:46:55: warning: unused parameter 'buffer' [-Wunused-parameter]
 static int header_check_orf_IIRS(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                       ^
file_orf.c:46:82: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_orf_IIRS(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                  ^
file_orf.c:46:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_orf_IIRS(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                  ^
file_orf.c:46:155: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_orf_IIRS(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                           ^
file_orf.c: In function 'header_check_orf_IIRO':
file_orf.c:57:53: warning: cast increases required alignment of target type [-Wcast-align]
   file_recovery_new->time=get_date_from_tiff_header((const TIFFHeader *)buffer, buffer_size);
                                                     ^
file_orf.c:53:114: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_orf_IIRO(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                  ^
file_orf.c:53:155: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_orf_IIRO(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                           ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_paf.c
file_paf.c: In function 'header_check_paf':
file_paf.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_paf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_paf.c:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_paf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_paf.c:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_paf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_pap.c
file_pap.c: In function 'header_check_pap':
file_pap.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_pap(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_pap.c:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_pap(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_pap.c:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_pap(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_par2.c
In file included from file_par2.c:32:0:
file_par2.c: In function 'data_check_par2':
file_par2.c:57:34: warning: cast increases required alignment of target type [-Wcast-align]
     const uint64_t length=le64((*(const uint64_t *)(&buffer[i+8])));
                                  ^
common.h:452:19: note: in definition of macro 'le64'
 #define le64(x)  (x)
                   ^
file_par2.c: In function 'file_rename_par2':
file_par2.c:78:29: warning: cast increases required alignment of target type [-Wcast-align]
     const uint64_t *lengthp=(const uint64_t *)&buffer[8];
                             ^
file_par2.c:100:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    (length < buffer_size ? length : buffer_size),
            ^
file_par2.c:100:35: warning: signed and unsigned type in conditional expression [-Wsign-compare]
    (length < buffer_size ? length : buffer_size),
                                   ^
file_par2.c: In function 'header_check_par2':
file_par2.c:109:51: warning: unused parameter 'buffer' [-Wunused-parameter]
 static int header_check_par2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                   ^
file_par2.c:109:78: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_par2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                              ^
file_par2.c:109:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_par2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                              ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_pcap.c
file_pcap.c: In function 'header_check_pcap':
file_pcap.c:45:51: warning: unused parameter 'buffer' [-Wunused-parameter]
 static int header_check_pcap(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                   ^
file_pcap.c:45:78: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_pcap(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                              ^
file_pcap.c:45:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_pcap(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                              ^
file_pcap.c:45:151: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_pcap(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                       ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_pct.c
file_pct.c: In function 'header_check_pct':
file_pct.c:88:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_pct(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_pct.c:88:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_pct(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_pct.c:88:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_pct(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_pcx.c
file_pcx.c: In function 'header_check_pcx':
file_pcx.c:86:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_pcx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_pcx.c:86:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_pcx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_pcx.c:86:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_pcx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_pdf.c
file_pdf.c: In function 'file_rename_pdf':
file_pdf.c:116:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(i=0; i<bsize && buffer[i]==' '; i++);
             ^
file_pdf.c:117:7: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if(i==bsize)
       ^
file_pdf.c:137:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if(i+8<bsize && memcmp(&buffer[i], "\\376\\377", 8)==0)
           ^
file_pdf.c:141:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       while(i<bsize)
              ^
file_pdf.c:145:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if(i+4<bsize && buffer[i]=='\\' && isdigit(buffer[i+1]) &&
        ^
file_pdf.c:152:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     else if(i+3<bsize && memcmp(&buffer[i], &utf16, 3)==0)
                ^
file_pdf.c:156:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       while(i<bsize)
              ^
file_pdf.c:167:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       while(i<bsize && buffer[i]!=')')
              ^
file_pdf.c: In function 'header_check_pdf':
file_pdf.c:189:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_pdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_pdf.c:189:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_pdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_pds.c
file_pds.c: In function 'header_check_pds':
file_pds.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_pds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_pds.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_pds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_pds.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_pds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_pfx.c
file_pfx.c: In function 'header_check_pfx':
file_pfx.c:78:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_pfx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_pfx.c:78:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_pfx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_pfx.c:78:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_pfx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_plt.c
file_plt.c: In function 'header_check_plt':
file_plt.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_plt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_plt.c:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_plt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_plt.c:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_plt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_png.c
file_png.c: In function 'header_check_png':
file_png.c:68:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_png(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_png.c:68:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_png(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_pnm.c
file_pnm.c: In function 'header_check_pnm':
file_pnm.c:63:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_pnm(const unsigned char *buffer, 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]
 static int header_check_pnm(const unsigned char *buffer, 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]
 static int header_check_pnm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_prc.c
file_prc.c: In function 'header_check_prc':
file_prc.c:69:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_prc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_prc.c:69:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_prc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_prc.c:69:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_prc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_prt.c
file_prt.c: In function 'header_check_prt':
file_prt.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_prt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_prt.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_prt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_prt.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_prt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_ps.c
file_ps.c: In function 'header_check_ps':
file_ps.c:56:76: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_ps(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                            ^
file_ps.c:56:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_ps(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                            ^
file_ps.c:56:149: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_ps(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                     ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_psb.c
file_psb.c: In function 'header_check_psb':
file_psb.c:61:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_psb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_psb.c:61:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_psb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_psb.c:61:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_psb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
file_psb.c: In function 'get_be64':
file_psb.c:79:23: warning: cast increases required alignment of target type [-Wcast-align]
   const uint64_t *val=(const uint64_t *)((const unsigned char *)buffer+offset);
                       ^
file_psb.c: In function 'psb_skip_image_data':
file_psb.c:83:53: warning: unused parameter 'buffer' [-Wunused-parameter]
 static int psb_skip_image_data(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery)
                                                     ^
file_psb.c:83:80: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int psb_skip_image_data(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery)
                                                                                ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_psd.c
file_psd.c: In function 'header_check_psd':
file_psd.c:61:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_psd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_psd.c:61:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_psd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_psd.c:61:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_psd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
file_psd.c: In function 'get_be32':
file_psd.c:79:23: warning: cast increases required alignment of target type [-Wcast-align]
   const uint32_t *val=(const uint32_t *)((const unsigned char *)buffer+offset);
                       ^
file_psd.c: In function 'psd_skip_image_data':
file_psd.c:83:53: warning: unused parameter 'buffer' [-Wunused-parameter]
 static int psd_skip_image_data(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery)
                                                     ^
file_psd.c:83:80: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int psd_skip_image_data(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery)
                                                                                ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_psf.c
file_psf.c: In function 'header_check_psf':
file_psf.c:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_psf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_psf.c:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_psf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_psp.c
file_psp.c: In function 'header_check_psp':
file_psp.c:66:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_psp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_psp.c:66:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_psp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_psp.c:66:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_psp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_pst.c
file_pst.c: In function 'header_check_pst':
file_pst.c:88:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_pst(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_pst.c:88:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_pst(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_pst.c:88:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_pst(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_ptb.c
file_ptb.c: In function 'header_check_ptb':
file_ptb.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_ptb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_ptb.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_ptb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_ptb.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_ptb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_ptf.c
file_ptf.c: In function 'header_check_ptf':
file_ptf.c:51:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_ptf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_ptf.c:51:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_ptf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_ptf.c:51:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_ptf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_pyc.c
file_pyc.c: In function 'header_check_pyc':
file_pyc.c:86:32: warning: cast increases required alignment of target type [-Wcast-align]
   const struct pyc_header *pyc=(const struct pyc_header *)buffer;
                                ^
file_pyc.c:84:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_pyc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_pyc.c:84:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_pyc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_pyc.c:84:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_pyc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_pzf.c
file_pzf.c: In function 'header_check_pzf':
file_pzf.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_pzf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_pzf.c:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_pzf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_pzf.c:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_pzf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_pzh.c
file_pzh.c: In function 'header_check_pzh':
file_pzh.c:76:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_pzh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_pzh.c:76:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_pzh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_pzh.c:76:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_pzh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_qbb.c
file_qbb.c: In function 'header_check_qbb':
file_qbb.c:60:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_qbb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_qbb.c:60:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_qbb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_qbb.c:60:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_qbb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
file_qbb.c: In function 'data_check_qbb':
file_qbb.c:94:48: warning: unused parameter 'buffer' [-Wunused-parameter]
 static int data_check_qbb(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery)
                                                ^
file_qbb.c:94:75: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int data_check_qbb(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery)
                                                                           ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_qdf.c
file_qdf.c: In function 'header_check_qdf':
file_qdf.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter]
 static int header_check_qdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                  ^
file_qdf.c:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_qdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_qdf.c:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_qdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_qdf.c:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_qdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_qkt.c
file_qkt.c: In function 'header_check_qkt':
file_qkt.c:55:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_qkt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_qkt.c:55:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_qkt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_qkt.c:55:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_qkt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_qxd.c
file_qxd.c: In function 'header_check_qxd':
file_qxd.c:58:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_qxd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_qxd.c:58:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_qxd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_qxd.c:58:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_qxd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_r3d.c
file_r3d.c: In function 'header_check_r3d':
file_r3d.c:58:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_r3d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_r3d.c:58:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_r3d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_r3d.c:58:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_r3d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
file_r3d.c: In function 'file_rename_r3d':
file_r3d.c:82:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(i=0x43; i< buffer_size && buffer[i]!=0 && buffer[i]!='.'; i++)
                ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_ra.c
file_ra.c: In function 'header_check_ra':
file_ra.c:54:76: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_ra(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                            ^
file_ra.c:54:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_ra(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                            ^
file_ra.c:54:149: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_ra(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                     ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_raf.c
file_raf.c: In function 'header_check_raf':
file_raf.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_raf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_raf.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_raf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_raf.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_raf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_rar.c
file_rar.c: In function 'header_check_rar':
file_rar.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_rar(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_rar.c:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_rar(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_rar.c:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_rar(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_raw.c
file_raw.c: In function 'header_check_raw':
file_raw.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_raw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_raw.c:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_raw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_raw.c:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_raw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_rdc.c
file_rdc.c: In function 'header_check_rdc':
file_rdc.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_rdc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_rdc.c:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_rdc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_rdc.c:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_rdc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_reg.c
file_reg.c: In function 'header_check_reg_9x':
file_reg.c:73:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_reg_9x(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                ^
file_reg.c:73:153: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_reg_9x(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                         ^
file_reg.c: In function 'header_check_reg_nt':
file_reg.c:105:80: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_reg_nt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                ^
file_reg.c:105:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_reg_nt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                ^
file_reg.c:105:153: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_reg_nt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                         ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_res.c
file_res.c: In function 'header_check_res':
file_res.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_res(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_res.c:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_res(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_res.c:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_res(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_rfp.c
file_rfp.c: In function 'header_check_rfp':
file_rfp.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_rfp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_rfp.c:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_rfp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_rfp.c:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_rfp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_riff.c
file_riff.c: In function 'data_check_avi':
file_riff.c:180:43: warning: cast increases required alignment of target type [-Wcast-align]
     const riff_chunk_header *chunk_header=(const riff_chunk_header*)&buffer[i];
                                           ^
file_riff.c: In function 'data_check_avi_stream':
file_riff.c:195:43: warning: cast increases required alignment of target type [-Wcast-align]
     const riff_chunk_header *chunk_header=(const riff_chunk_header*)&buffer[i];
                                           ^
file_riff.c: In function 'header_check_riff':
file_riff.c:209:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_riff(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                              ^
file_riff.c:209:151: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_riff(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                       ^
file_riff.c: In function 'header_check_rifx':
file_riff.c:286:78: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_rifx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                              ^
file_riff.c:286:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_rifx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                              ^
file_riff.c:286:151: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_rifx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                       ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_rm.c
file_rm.c: In function 'header_check_rm':
file_rm.c:54:76: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_rm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                            ^
file_rm.c:54:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_rm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                            ^
file_rm.c:54:149: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_rm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                     ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_rns.c
file_rns.c: In function 'header_check_rns':
file_rns.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_rns(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_rns.c:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_rns(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_rns.c:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_rns(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_rpm.c
file_rpm.c: In function 'header_check_rpm':
file_rpm.c:55:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_rpm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_rpm.c:55:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_rpm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_rpm.c:55:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_rpm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_rw2.c
file_rw2.c: In function 'header_check_rw2':
file_rw2.c:61:55: warning: cast increases required alignment of target type [-Wcast-align]
     file_recovery_new->time=get_date_from_tiff_header((const TIFFHeader *)buffer, buffer_size);
                                                       ^
file_rw2.c:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_rw2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_rw2.c:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_rw2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_rx2.c
file_rx2.c: In function 'header_check_rx2':
file_rx2.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_rx2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_rx2.c:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_rx2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_rx2.c:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_rx2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_save.c
file_save.c: In function 'header_check_save':
file_save.c:49:78: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_save(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                              ^
file_save.c:49:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_save(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                              ^
file_save.c:49:151: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_save(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                       ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_ses.c
file_ses.c: In function 'header_check_ses':
file_ses.c:46:50: warning: unused parameter 'buffer' [-Wunused-parameter]
 static int header_check_ses(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                  ^
file_ses.c:46:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_ses(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_ses.c:46:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_ses(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_ses.c:46:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_ses(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_shn.c
file_shn.c: In function 'header_check_shn':
file_shn.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter]
 static int header_check_shn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                  ^
file_shn.c:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_shn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_shn.c:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_shn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_shn.c:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_shn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_sib.c
file_sib.c: In function 'header_check_sib':
file_sib.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_sib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_sib.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_sib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_sib.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_sib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_sig.c
file_sig.c: In function 'header_check_sig':
file_sig.c:84:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_sig(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_sig.c:84:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_sig(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_sig.c:84:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_sig(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_sit.c
file_sit.c: In function 'header_check_sit':
file_sit.c:48:50: warning: unused parameter 'buffer' [-Wunused-parameter]
 static int header_check_sit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                  ^
file_sit.c:48:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_sit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_sit.c:48:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_sit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_sit.c:48:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_sit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_skd.c
file_skd.c: In function 'header_check_skd':
file_skd.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_skd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_skd.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_skd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_skd.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_skd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_skp.c
file_skp.c: In function 'header_check_skp':
file_skp.c:55:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_skp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_skp.c:55:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_skp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_skp.c:55:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_skp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_sp3.c
file_sp3.c: In function 'header_check_sp3':
file_sp3.c:65:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_sp3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_sp3.c:65:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_sp3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_sp3.c:65:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_sp3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_spe.c
file_spe.c: In function 'header_check_spe':
file_spe.c:248:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_spe(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_spe.c:248:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_spe(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_spe.c:248:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_spe(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_spf.c
file_spf.c: In function 'header_check_spf':
file_spf.c:58:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_spf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_spf.c:58:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_spf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_spf.c:58:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_spf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_spss.c
file_spss.c: In function 'header_check_spss':
file_spss.c:45:51: warning: unused parameter 'buffer' [-Wunused-parameter]
 static int header_check_spss(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                   ^
file_spss.c:45:78: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_spss(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                              ^
file_spss.c:45:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_spss(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                              ^
file_spss.c:45:151: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_spss(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                       ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_sql.c
file_sql.c: In function 'header_check_sqlite':
file_sql.c:54:80: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_sqlite(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                ^
file_sql.c:54:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_sqlite(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                ^
file_sql.c:54:153: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_sqlite(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                         ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_sqm.c
file_sqm.c: In function 'header_check_sqm':
file_sqm.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_sqm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_sqm.c:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_sqm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_sqm.c:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_sqm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_stl.c
file_stl.c: In function 'header_check_stl':
file_stl.c:47:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_stl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_stl.c:47:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_stl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_stl.c:47:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_stl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_stu.c
file_stu.c: In function 'header_check_stuffit':
file_stu.c:54:81: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_stuffit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                 ^
file_stu.c:54:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_stuffit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                 ^
file_stu.c:54:154: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_stuffit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                          ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_swf.c
file_swf.c: In function 'header_check_swfc':
file_swf.c:90:25: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
     d_stream.next_in  = (Bytef*)buffer_compr;
                         ^
file_swf.c:68:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_swfc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                              ^
file_swf.c:68:151: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_swfc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                       ^
file_swf.c: In function 'header_check_swf':
file_swf.c:135:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_swf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_swf.c:135:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_swf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_swf.c:135:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_swf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_tar.c
file_tar.c: In function 'header_check_tar':
file_tar.c:55:70: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 int header_check_tar(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                      ^
file_tar.c:55:102: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 int header_check_tar(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_tax.c
file_tax.c: In function 'header_check_tax':
file_tax.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_tax(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_tax.c:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_tax(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_tax.c:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_tax(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_tib.c
file_tib.c: In function 'header_check_tib':
file_tib.c:112:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_tib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_tib.c:112:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_tib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_tib.c:112:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_tib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_tiff.c
file_tiff.c: In function 'header_check_tiff':
file_tiff.c:319:39: warning: cast increases required alignment of target type [-Wcast-align]
     else if(find_tag_from_tiff_header((const TIFFHeader *)buffer, buffer_size, TIFFTAG_DNGVERSION, &potential_error)!=NULL)
                                       ^
file_tiff.c:327:42: warning: cast increases required alignment of target type [-Wcast-align]
       tag_make=find_tag_from_tiff_header((const TIFFHeader *)buffer, buffer_size, TIFFTAG_MAKE, &potential_error);
                                          ^
file_tiff.c:343:55: warning: cast increases required alignment of target type [-Wcast-align]
     file_recovery_new->time=get_date_from_tiff_header((const TIFFHeader *)buffer, buffer_size);
                                                       ^
file_tiff.c:308:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_tiff(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                              ^
file_tiff.c:308:151: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_tiff(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                       ^
file_tiff.c: In function 'header_check_tiff_le':
file_tiff.c:578:23: warning: cast increases required alignment of target type [-Wcast-align]
   TIFFDirEntry *entry=(TIFFDirEntry *)&buffer[2];
                       ^
file_tiff.c: In function 'header_check_tiff_be':
file_tiff.c:888:23: warning: cast increases required alignment of target type [-Wcast-align]
   TIFFDirEntry *entry=(TIFFDirEntry *)&buffer[2];
                       ^
file_tiff.c: In function 'file_check_tiff':
file_tiff.c:1092:30: warning: cast increases required alignment of target type [-Wcast-align]
     const TIFFHeader *header=(const TIFFHeader *)buffer;
                              ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_tivo.c
file_tivo.c: In function 'header_check_tivo':
file_tivo.c:57:78: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_tivo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                              ^
file_tivo.c:57:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_tivo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                              ^
file_tivo.c:57:151: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_tivo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                       ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_torrent.c
file_torrent.c: In function 'header_check_torrent':
file_torrent.c:56:81: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_torrent(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                 ^
file_torrent.c:56:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_torrent(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                 ^
file_torrent.c:56:154: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_torrent(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                          ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_tph.c
file_tph.c: In function 'header_check_tph':
file_tph.c:58:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_tph(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_tph.c:58:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_tph(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_tph.c:58:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_tph(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_tpl.c
file_tpl.c: In function 'header_check_tpl':
file_tpl.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter]
 static int header_check_tpl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                  ^
file_tpl.c:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_tpl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_tpl.c:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_tpl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_tpl.c:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_tpl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_ttf.c
file_ttf.c: In function 'header_check_ttf':
file_ttf.c:85:38: warning: cast increases required alignment of target type [-Wcast-align]
   const struct ttf_offset_table *ttf=(const struct ttf_offset_table *)buffer;
                                      ^
file_ttf.c:83:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_ttf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_ttf.c:83:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_ttf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_txt.c
file_txt.c: In function 'header_check_ttd':
file_txt.c:472:50: warning: unused parameter 'buffer' [-Wunused-parameter]
 static int header_check_ttd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                  ^
file_txt.c:472:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_ttd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_txt.c:472:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_ttd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_txt.c:472:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_ttd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
file_txt.c: In function 'header_check_ers':
file_txt.c:487:50: warning: unused parameter 'buffer' [-Wunused-parameter]
 static int header_check_ers(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                  ^
file_txt.c:487:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_ers(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_txt.c:487:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_ers(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_txt.c:487:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_ers(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
file_txt.c: In function 'header_check_ics':
file_txt.c:516:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if(date_asc!=NULL && date_asc-buffer2<=buffer_size-14)
                                        ^
file_txt.c:497:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_ics(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_txt.c:497:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_ics(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
file_txt.c: In function 'header_check_perlm':
file_txt.c:535:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_perlm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                               ^
file_txt.c:535:152: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_perlm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                        ^
file_txt.c: In function 'header_check_dc':
file_txt.c:564:76: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_dc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                            ^
file_txt.c:564:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_dc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                            ^
file_txt.c:564:149: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_dc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                     ^
file_txt.c: In function 'header_check_html':
file_txt.c:579:51: warning: unused parameter 'buffer' [-Wunused-parameter]
 static int header_check_html(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                   ^
file_txt.c:579:78: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_html(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                              ^
file_txt.c:579:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_html(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                              ^
file_txt.c: In function 'header_check_xml':
file_txt.c:609:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_xml(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_txt.c:609:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_xml(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
file_txt.c: In function 'header_check_rtf':
file_txt.c:692:50: warning: unused parameter 'buffer' [-Wunused-parameter]
 static int header_check_rtf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                  ^
file_txt.c:692:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_rtf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_txt.c:692:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_rtf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_txt.c: In function 'header_check_xmp':
file_txt.c:706:50: warning: unused parameter 'buffer' [-Wunused-parameter]
 static int header_check_xmp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                  ^
file_txt.c:706:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_xmp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_txt.c:706:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_xmp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_txt.c: In function 'header_check_mbox':
file_txt.c:720:78: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_mbox(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                              ^
file_txt.c:720:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_mbox(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                              ^
file_txt.c: In function 'header_check_fasttxt':
file_txt.c:743:81: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_fasttxt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                 ^
file_txt.c:743:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_fasttxt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                 ^
file_txt.c:743:154: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_fasttxt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                          ^
file_txt.c: In function 'header_check_smil':
file_txt.c:1170:51: warning: unused parameter 'buffer' [-Wunused-parameter]
 static int header_check_smil(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                   ^
file_txt.c:1170:78: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_smil(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                              ^
file_txt.c:1170:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_smil(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                              ^
file_txt.c:1170:151: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_smil(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                       ^
file_txt.c: In function 'header_check_stl':
file_txt.c:1181:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_stl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_txt.c:1181:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_stl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
In file included from file_txt.c:41:0:
file_txt.c: In function 'header_check_txt':
memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline]
 static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len)
                           ^
file_txt.c:943:13: warning: called from here [-Winline]
    td_memmem(buffer, buffer_size_test, "adobe", 5)!=NULL ||
             ^
In file included from file_txt.c:41:0:
memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline]
 static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len)
                           ^
file_txt.c:944:13: warning: called from here [-Winline]
    td_memmem(buffer, buffer_size_test, "exif:", 5)!=NULL ||
             ^
In file included from file_txt.c:41:0:
memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline]
 static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len)
                           ^
file_txt.c:945:13: warning: called from here [-Winline]
    td_memmem(buffer, buffer_size_test, "<rdf:", 5)!=NULL ||
             ^
In file included from file_txt.c:41:0:
memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline]
 static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len)
                           ^
file_txt.c:946:13: warning: called from here [-Winline]
    td_memmem(buffer, buffer_size_test, "<?xpacket", 9)!=NULL ||
             ^
In file included from file_txt.c:41:0:
memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline]
 static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len)
                           ^
file_txt.c:947:13: warning: called from here [-Winline]
    td_memmem(buffer, buffer_size_test, "<dict>", 6)!=NULL ||
             ^
In file included from file_txt.c:41:0:
memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline]
 static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len)
                           ^
file_txt.c:948:13: warning: called from here [-Winline]
    td_memmem(buffer, buffer_size_test, "xmp:CreatorTool>", 16)!=NULL ||
             ^
In file included from file_txt.c:41:0:
memmem.h:25:27: warning: inlining failed in call to 'td_memmem': call is unlikely and code size would grow [-Winline]
 static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len)
                           ^
file_txt.c:949:13: warning: called from here [-Winline]
    td_memmem(buffer, buffer_size_test, "[camera info]", 13)!=NULL)
             ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_tz.c
file_tz.c: In function 'header_check_tz':
file_tz.c:75:76: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_tz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                            ^
file_tz.c:75:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_tz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                            ^
file_tz.c:75:149: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_tz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                     ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_v2i.c
file_v2i.c: In function 'header_check_v2i':
file_v2i.c:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_v2i(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_v2i.c:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_v2i(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_v2i.c:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_v2i(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_vault.c
file_vault.c: In function 'header_check_vault':
file_vault.c:80:79: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_vault(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                               ^
file_vault.c:80:111: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_vault(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                               ^
file_vault.c:80:152: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_vault(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                        ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_vdi.c
file_vdi.c: In function 'header_check_vdi':
file_vdi.c:92:27: warning: cast increases required alignment of target type [-Wcast-align]
   const VdiHeader *header=(const VdiHeader *)buffer;
                           ^
file_vdi.c:90:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_vdi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_vdi.c:90:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_vdi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_vdi.c:90:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_vdi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_veg.c
file_veg.c: In function 'header_check_veg':
file_veg.c:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_veg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_veg.c:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_veg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_veg.c:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_veg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_vfb.c
file_vfb.c: In function 'header_check_vfb':
file_vfb.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_vfb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_vfb.c:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_vfb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_vfb.c:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_vfb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_vmdk.c
file_vmdk.c: In function 'header_check_vmdk':
file_vmdk.c:77:51: warning: unused parameter 'buffer' [-Wunused-parameter]
 static int header_check_vmdk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                   ^
file_vmdk.c:77:78: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_vmdk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                              ^
file_vmdk.c:77:110: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_vmdk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                              ^
file_vmdk.c:77:151: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_vmdk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                       ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_vmg.c
file_vmg.c: In function 'header_check_vmg':
file_vmg.c:63:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_vmg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_vmg.c:63:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_vmg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_vmg.c:63:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_vmg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_wallet.c
file_wallet.c: In function 'header_check_wallet':
file_wallet.c:45:53: warning: unused parameter 'buffer' [-Wunused-parameter]
 static int header_check_wallet(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                     ^
file_wallet.c:45:80: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_wallet(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                ^
file_wallet.c:45:112: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_wallet(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                ^
file_wallet.c:45:153: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_wallet(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                         ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_wdp.c
file_wdp.c: In function 'header_check_wdp':
file_wdp.c:60:55: warning: cast increases required alignment of target type [-Wcast-align]
     file_recovery_new->time=get_date_from_tiff_header((const TIFFHeader *)buffer, buffer_size);
                                                       ^
file_wdp.c:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_wdp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_wdp.c:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_wdp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_wim.c
file_wim.c: In function 'header_check_wim':
file_wim.c:45:50: warning: unused parameter 'buffer' [-Wunused-parameter]
 static int header_check_wim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                  ^
file_wim.c:45:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_wim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_wim.c:45:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_wim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_wim.c:45:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_wim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_win.c
file_win.c: In function 'header_check_win':
file_win.c:64:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_win(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_win.c:64:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_win(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_win.c:64:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_win(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_wks.c
file_wks.c: In function 'header_check_wks':
file_wks.c:69:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_wks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_wks.c:69:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_wks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_wks.c:69:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_wks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
file_wks.c: In function 'header_check_wk4':
file_wks.c:80:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_wk4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_wks.c:80:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_wk4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_wks.c:80:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_wk4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_wmf.c
file_wmf.c: In function 'header_check_wmf':
file_wmf.c:48:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_wmf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_wmf.c:48:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_wmf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_wmf.c:48:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_wmf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_wnk.c
file_wnk.c: In function 'header_check_wnk':
file_wnk.c:53:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_wnk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_wnk.c:53:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_wnk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_wnk.c:53:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_wnk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_wpb.c
file_wpb.c: In function 'header_check_wpb':
file_wpb.c:49:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_wpb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_wpb.c:49:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_wpb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_wpb.c:49:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_wpb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_wpd.c
file_wpd.c: In function 'header_check_wpd':
file_wpd.c:63:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_wpd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_wpd.c:63:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_wpd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_wpd.c:63:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_wpd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_wtv.c
file_wtv.c: In function 'header_check_wtv':
file_wtv.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_wtv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_wtv.c:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_wtv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_wv.c
file_wv.c: In function 'header_check_wv':
file_wv.c:75:27: warning: cast increases required alignment of target type [-Wcast-align]
   const WavpackHeader *wv=(const WavpackHeader*)buffer;
                           ^
file_wv.c:73:76: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_wv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                            ^
file_wv.c:73:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_wv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                            ^
file_wv.c:73:149: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_wv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                     ^
file_wv.c: In function 'data_check_wv':
file_wv.c:92:29: warning: cast increases required alignment of target type [-Wcast-align]
     const WavpackHeader *wv=(const WavpackHeader*)&buffer[i];
                             ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_x3f.c
file_x3f.c: In function 'header_check_x3f':
file_x3f.c:66:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_x3f(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_x3f.c:66:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_x3f(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_x3f.c:66:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_x3f(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_xcf.c
file_xcf.c: In function 'header_check_xcf':
file_xcf.c:57:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_xcf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_xcf.c:57:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_xcf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_xcf.c:57:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_xcf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_xfi.c
file_xfi.c: In function 'header_check_xfi':
file_xfi.c:52:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_xfi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_xfi.c:52:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_xfi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_xfi.c:52:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_xfi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_xm.c
file_xm.c: In function 'header_check_xm':
file_xm.c:190:76: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_xm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                            ^
file_xm.c:190:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_xm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                            ^
file_xm.c:190:149: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_xm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                     ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_xsv.c
file_xsv.c: In function 'header_check_xsv':
file_xsv.c:54:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_xsv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_xsv.c:54:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_xsv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_xsv.c:54:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_xsv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_xpt.c
file_xpt.c: In function 'header_check_xpt':
file_xpt.c:67:77: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_xpt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                             ^
file_xpt.c:67:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_xpt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                             ^
file_xpt.c:67:150: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_xpt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                      ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_xv.c
file_xv.c: In function 'header_check_xv':
file_xv.c:54:76: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_xv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                            ^
file_xv.c:54:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_xv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                            ^
file_xv.c:54:149: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_xv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                     ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_xz.c
file_xz.c: In function 'header_check_xz':
file_xz.c:57:76: warning: unused parameter 'buffer_size' [-Wunused-parameter]
 static int header_check_xz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                            ^
file_xz.c:57:108: warning: unused parameter 'safe_header_only' [-Wunused-parameter]
 static int header_check_xz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                            ^
file_xz.c:57:149: warning: unused parameter 'file_recovery' [-Wunused-parameter]
 static int header_check_xz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
                                                                                                                                                     ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c file_zip.c
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c partgptro.c
partgptro.c: In function 'write_part_gpt':
partgptro.c:32:28: warning: unused parameter 'disk_car' [-Wunused-parameter]
 int write_part_gpt(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose, const int align)
                            ^
partgptro.c:32:57: warning: unused parameter 'list_part' [-Wunused-parameter]
 int write_part_gpt(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose, const int align)
                                                         ^
partgptro.c:32:92: warning: unused parameter 'verbose' [-Wunused-parameter]
 int write_part_gpt(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose, const int align)
                                                                                            ^
partgptro.c:32:111: warning: unused parameter 'align' [-Wunused-parameter]
 int write_part_gpt(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose, const int align)
                                                                                                               ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c suspend_no.c
suspend_no.c: In function 'suspend_memory':
suspend_no.c:14:34: warning: unused parameter 'cinfo' [-Wunused-parameter]
 void suspend_memory(j_common_ptr cinfo) {
                                  ^
suspend_no.c: In function 'resume_memory':
suspend_no.c:17:32: warning: unused parameter 'cinfo' [-Wunused-parameter]
 int resume_memory(j_common_ptr cinfo)
                                ^
gcc  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code   -Wl,-z,relro -o photorec phmain.o photorec.o phcfg.o addpart.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 poptions.o sessionp.o setdate.o dfxml.o list.o  addpartn.o askloc.o chgarch.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 pdisksel.o pfree_whole.o phbf.o phbs.o phnc.o phrecn.o ppartsel.o psearchn.o  filegen.o file_list.o file_1cd.o file_7z.o file_DB.o file_a.o file_ab.o file_abcdp.o file_abr.o file_acb.o file_ace.o file_ado.o file_ahn.o file_aif.o file_all.o file_als.o file_amd.o file_amr.o file_apa.o file_ape.o file_apple.o file_arj.o file_asf.o file_asl.o file_asm.o file_atd.o file_au.o file_axx.o file_bac.o file_bim.o file_binvox.o file_bkf.o file_bld.o file_bmp.o file_bz2.o file_cab.o file_caf.o file_cam.o file_catdrawing.o file_cdt.o file_chm.o file_class.o file_cm.o file_compress.o file_cow.o file_crw.o file_csh.o file_ctg.o file_cwk.o file_d2s.o file_dar.o file_dat.o file_dbf.o file_dbn.o file_ddf.o file_dex.o file_dim.o file_dir.o file_djv.o file_dmp.o file_doc.o file_dpx.o file_drw.o file_ds2.o file_dsc.o file_dss.o file_dta.o file_dump.o file_dv.o file_dwg.o file_dxf.o file_e01.o file_edb.o file_ecryptfs.o file_elf.o file_emf.o file_evt.o file_exe.o file_exs.o file_ext.o file_ext2.o file_fat.o file_fbf.o file_fbk.o file_fcp.o file_fcs.o file_fdb.o file_fds.o file_fh10.o file_fh5.o file_filevault.o file_fits.o file_flac.o file_flp.o file_flv.o file_fob.o file_fp5.o file_fp7.o file_freeway.o file_frm.o file_fs.o file_fwd.o file_gam.o file_gct.o file_gho.o file_gif.o file_gm6.o file_gp5.o file_gpg.o file_gz.o file_hdf.o file_hds.o file_hfsp.o file_hr9.o file_http.o file_icc.o file_ico.o file_ifo.o file_imb.o file_indd.o file_info.o file_iso.o file_it.o file_itu.o file_jpg.o file_kdb.o file_kdbx.o file_ldf.o file_lit.o file_lnk.o file_logic.o file_lso.o file_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_mobi.o file_mov.o file_mp3.o file_mpg.o file_mrw.o file_mus.o file_mxf.o file_myo.o file_mysql.o file_nds.o file_nes.o file_njx.o file_nk2.o file_nsf.o file_oci.o file_ogg.o file_one.o file_orf.o file_paf.o file_pap.o file_par2.o file_pcap.o file_pct.o file_pcx.o file_pdf.o file_pds.o file_pfx.o file_plt.o file_png.o file_pnm.o file_prc.o file_prt.o file_ps.o file_psb.o file_psd.o file_psf.o file_psp.o file_pst.o file_ptb.o file_ptf.o file_pyc.o file_pzf.o file_pzh.o file_qbb.o file_qdf.o file_qkt.o file_qxd.o file_r3d.o file_ra.o file_raf.o file_rar.o file_raw.o file_rdc.o file_reg.o file_res.o file_rfp.o file_riff.o file_rm.o file_rns.o file_rpm.o file_rw2.o file_rx2.o file_save.o file_ses.o file_shn.o file_sib.o file_sig.o file_sit.o file_skd.o file_skp.o file_sp3.o file_spe.o file_spf.o file_spss.o file_sql.o file_sqm.o file_stl.o file_stu.o file_swf.o file_tar.o file_tax.o file_tib.o file_tiff.o file_tivo.o file_torrent.o file_tph.o file_tpl.o file_ttf.o file_txt.o file_tz.o file_v2i.o file_vault.o file_vdi.o file_veg.o file_vfb.o file_vmdk.o file_vmg.o file_wallet.o file_wdp.o file_wim.o file_win.o file_wks.o file_wmf.o file_wnk.o file_wpb.o file_wpd.o file_wtv.o file_wv.o file_x3f.o file_xcf.o file_xfi.o file_xm.o file_xsv.o file_xpt.o file_xv.o file_xz.o file_zip.o  autoset.o common.o crc.o ewf.o fnctdsk.o hdaccess.o hdcache.o hdwin32.o hidden.o hpa_dco.o intrf.o iso.o list_sort.o log.o log_part.o misc.o msdos.o parti386.o partgpt.o parthumax.o partmac.o partsun.o partnone.o partxbox.o io_redir.o ntfs_io.o ntfs_utl.o partauto.o sudo.o unicode.o win32.o  partgptro.o analyse.o bfs.o bsd.o btrfs.o cramfs.o exfat.o fat.o fatx.o ext2.o jfs.o gfs2.o hfs.o hfsp.o hpfs.o luks.o lvm.o md.o netware.o ntfs.o rfs.o savehdr.o sun.o swap.o sysv.o ufs.o vmfs.o wbfs.o xfs.o zfs.o   suspend_no.o -lncursesw -ltinfo -ljpeg -lz -luuid -lntfs-3g  -lext2fs -lcom_err
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c fidentify.c
In file included from filegen.h:28:0,
                 from fidentify.c:49:
fidentify.c: In function 'file_identify':
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
fidentify.c:91:36: note: in expansion of macro 'td_list_entry'
       const file_check_list_t *pos=td_list_entry(tmpl, file_check_list_t, list);
                                    ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
fidentify.c:91:36: note: in expansion of macro 'td_list_entry'
       const file_check_list_t *pos=td_list_entry(tmpl, file_check_list_t, list);
                                    ^
list.h:232:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
                          ^
fidentify.c:94:33: note: in expansion of macro 'td_list_entry'
  const file_check_t *file_check=td_list_entry(tmp, file_check_t, list);
                                 ^
list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align]
  ((type *)((char *)(ptr)-(unsigned long long)(&((type *)0)->member)))
   ^
fidentify.c:94:33: note: in expansion of macro 'td_list_entry'
  const file_check_t *file_check=td_list_entry(tmp, file_check_t, list);
                                 ^
gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code  -c fat_common.c
gcc  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code   -Wl,-z,relro -o fidentify fidentify.o common.o phcfg.o setdate.o filegen.o file_list.o file_1cd.o file_7z.o file_DB.o file_a.o file_ab.o file_abcdp.o file_abr.o file_acb.o file_ace.o file_ado.o file_ahn.o file_aif.o file_all.o file_als.o file_amd.o file_amr.o file_apa.o file_ape.o file_apple.o file_arj.o file_asf.o file_asl.o file_asm.o file_atd.o file_au.o file_axx.o file_bac.o file_bim.o file_binvox.o file_bkf.o file_bld.o file_bmp.o file_bz2.o file_cab.o file_caf.o file_cam.o file_catdrawing.o file_cdt.o file_chm.o file_class.o file_cm.o file_compress.o file_cow.o file_crw.o file_csh.o file_ctg.o file_cwk.o file_d2s.o file_dar.o file_dat.o file_dbf.o file_dbn.o file_ddf.o file_dex.o file_dim.o file_dir.o file_djv.o file_dmp.o file_doc.o file_dpx.o file_drw.o file_ds2.o file_dsc.o file_dss.o file_dta.o file_dump.o file_dv.o file_dwg.o file_dxf.o file_e01.o file_edb.o file_ecryptfs.o file_elf.o file_emf.o file_evt.o file_exe.o file_exs.o file_ext.o file_ext2.o file_fat.o file_fbf.o file_fbk.o file_fcp.o file_fcs.o file_fdb.o file_fds.o file_fh10.o file_fh5.o file_filevault.o file_fits.o file_flac.o file_flp.o file_flv.o file_fob.o file_fp5.o file_fp7.o file_freeway.o file_frm.o file_fs.o file_fwd.o file_gam.o file_gct.o file_gho.o file_gif.o file_gm6.o file_gp5.o file_gpg.o file_gz.o file_hdf.o file_hds.o file_hfsp.o file_hr9.o file_http.o file_icc.o file_ico.o file_ifo.o file_imb.o file_indd.o file_info.o file_iso.o file_it.o file_itu.o file_jpg.o file_kdb.o file_kdbx.o file_ldf.o file_lit.o file_lnk.o file_logic.o file_lso.o file_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_mobi.o file_mov.o file_mp3.o file_mpg.o file_mrw.o file_mus.o file_mxf.o file_myo.o file_mysql.o file_nds.o file_nes.o file_njx.o file_nk2.o file_nsf.o file_oci.o file_ogg.o file_one.o file_orf.o file_paf.o file_pap.o file_par2.o file_pcap.o file_pct.o file_pcx.o file_pdf.o file_pds.o file_pfx.o file_plt.o file_png.o file_pnm.o file_prc.o file_prt.o file_ps.o file_psb.o file_psd.o file_psf.o file_psp.o file_pst.o file_ptb.o file_ptf.o file_pyc.o file_pzf.o file_pzh.o file_qbb.o file_qdf.o file_qkt.o file_qxd.o file_r3d.o file_ra.o file_raf.o file_rar.o file_raw.o file_rdc.o file_reg.o file_res.o file_rfp.o file_riff.o file_rm.o file_rns.o file_rpm.o file_rw2.o file_rx2.o file_save.o file_ses.o file_shn.o file_sib.o file_sig.o file_sit.o file_skd.o file_skp.o file_sp3.o file_spe.o file_spf.o file_spss.o file_sql.o file_sqm.o file_stl.o file_stu.o file_swf.o file_tar.o file_tax.o file_tib.o file_tiff.o file_tivo.o file_torrent.o file_tph.o file_tpl.o file_ttf.o file_txt.o file_tz.o file_v2i.o file_vault.o file_vdi.o file_veg.o file_vfb.o file_vmdk.o file_vmg.o file_wallet.o file_wdp.o file_wim.o file_win.o file_wks.o file_wmf.o file_wnk.o file_wpb.o file_wpd.o file_wtv.o file_wv.o file_x3f.o file_xcf.o file_xfi.o file_xm.o file_xsv.o file_xpt.o file_xv.o file_xz.o file_zip.o  log.o crc.o fat_common.o suspend_no.o -ljpeg -lz -luuid -lntfs-3g  -lext2fs -lcom_err
make[3]: Leaving directory `/«PKGBUILDDIR»/src'
make[3]: Entering directory `/«PKGBUILDDIR»'
make[3]: Leaving directory `/«PKGBUILDDIR»'
make[2]: Leaving directory `/«PKGBUILDDIR»'
make[1]: Leaving directory `/«PKGBUILDDIR»'
   dh_auto_test -a
make[1]: Entering directory `/«PKGBUILDDIR»'
Making check in src
make[2]: Entering directory `/«PKGBUILDDIR»/src'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/«PKGBUILDDIR»/src'
make[2]: Entering directory `/«PKGBUILDDIR»'
make[2]: Leaving directory `/«PKGBUILDDIR»'
make[1]: Leaving directory `/«PKGBUILDDIR»'
 fakeroot debian/rules binary-arch
dh binary-arch
   dh_testroot -a
   dh_prep -a
   debian/rules override_dh_auto_install
make[1]: Entering directory `/«PKGBUILDDIR»'
dh_auto_install
make[2]: Entering directory `/«PKGBUILDDIR»'
Making install in src
make[3]: Entering directory `/«PKGBUILDDIR»/src'
make[4]: Entering directory `/«PKGBUILDDIR»/src'
 /bin/mkdir -p '/«PKGBUILDDIR»/debian/tmp/usr/bin'
  /usr/bin/install -c testdisk photorec fidentify '/«PKGBUILDDIR»/debian/tmp/usr/bin'
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/«PKGBUILDDIR»/src'
make[3]: Leaving directory `/«PKGBUILDDIR»/src'
make[3]: Entering directory `/«PKGBUILDDIR»'
make[4]: Entering directory `/«PKGBUILDDIR»'
make[4]: Nothing to be done for `install-exec-am'.
 /bin/mkdir -p '/«PKGBUILDDIR»/debian/tmp/usr/share/man/man8'
 /usr/bin/install -c -m 644 doc_src/testdisk.8 doc_src/photorec.8 doc_src/fidentify.8 '/«PKGBUILDDIR»/debian/tmp/usr/share/man/man8'
make  install-data-hook
make[5]: Entering directory `/«PKGBUILDDIR»'
/bin/bash /«PKGBUILDDIR»/config/install-sh -d /«PKGBUILDDIR»/debian/tmp/usr/share/doc/testdisk-6.14
/usr/bin/install -c -m 644 ./AUTHORS ./ChangeLog ./NEWS ./README ./THANKS ./documentation.html /«PKGBUILDDIR»/debian/tmp/usr/share/doc/testdisk-6.14/
make[5]: Leaving directory `/«PKGBUILDDIR»'
make[4]: Leaving directory `/«PKGBUILDDIR»'
make[3]: Leaving directory `/«PKGBUILDDIR»'
make[2]: Leaving directory `/«PKGBUILDDIR»'
mv /«PKGBUILDDIR»/debian/tmp/usr/share/doc/testdisk-* \
	 /«PKGBUILDDIR»/debian/tmp/usr/share/doc/testdisk
rm -f /«PKGBUILDDIR»/debian/tmp/usr/share/doc/testdisk/ChangeLog
rm -f /«PKGBUILDDIR»/debian/tmp/usr/share/doc/testdisk/COPYING
rm -f /«PKGBUILDDIR»/debian/tmp/usr/share/doc/testdisk/INSTALL
make[1]: Leaving directory `/«PKGBUILDDIR»'
   dh_install -a
   dh_installdocs -a
   dh_installchangelogs -a
   dh_installman -a
   dh_perl -a
   dh_link -a
   dh_compress -a
   dh_fixperms -a
   debian/rules override_dh_strip
make[1]: Entering directory `/«PKGBUILDDIR»'
dh_strip --dbg-package=testdisk-dbg
make[1]: Leaving directory `/«PKGBUILDDIR»'
   dh_makeshlibs -a
   dh_shlibdeps -a
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/testdisk/usr/bin/photorec debian/testdisk/usr/bin/testdisk debian/testdisk/usr/bin/fidentify were not linked against libcom_err.so.2 (they use none of the library's symbols)
   dh_installdeb -a
   dh_gencontrol -a
dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
dpkg-gencontrol: warning: Depends field of package testdisk-dbg: unknown substitution variable ${shlibs:Depends}
dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
   dh_md5sums -a
   dh_builddeb -a
dpkg-deb: building package `testdisk-dbg' in `../testdisk-dbg_6.14-3+b1_armhf.deb'.
dpkg-deb: building package `testdisk' in `../testdisk_6.14-3+b1_armhf.deb'.
 dpkg-genchanges -B -mRaspbian wandboard test autobuilder <root@raspbian.org> >../testdisk_6.14-3+b1_armhf.changes
dpkg-genchanges: arch-specific upload - not including arch-independent packages
dpkg-genchanges: binary-only upload - not including any source code
 dpkg-source --after-build testdisk-6.14
dpkg-buildpackage: binary-only upload (no source included)
────────────────────────────────────────────────────────────────────────────────
Build finished at 20140423-1145

Finished
────────

I: Built successfully

┌──────────────────────────────────────────────────────────────────────────────┐
│ Changes                                                                      │
└──────────────────────────────────────────────────────────────────────────────┘


testdisk_6.14-3+b1_armhf.changes:
─────────────────────────────────

Format: 1.8
Date: Sat, 12 Apr 2014 10:07:31 +0200
Source: testdisk (6.14-3)
Binary: testdisk testdisk-dbg
Architecture: armhf
Version: 6.14-3+b1
Distribution: jessie-staging
Urgency: low
Maintainer: Raspbian wandboard test autobuilder <root@raspbian.org>
Changed-By: Raspbian wandboard test autobuilder <root@raspbian.org>
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 (6.14-3+b1) jessie-staging; urgency=low
 .
   * Binary-only non-maintainer upload for armhf; no source changes.
   * rebuild due to debcheck failure
Checksums-Sha1: 
 b805537e3aea9c6e5468f778dcb01ba8378374f6 317558 testdisk_6.14-3+b1_armhf.deb
 8e408b9e29b76cca5ab5601e66c5ecb3d76d41bd 813368 testdisk-dbg_6.14-3+b1_armhf.deb
Checksums-Sha256: 
 8e550a70c55923b4443d04c6e54704a04582bbaed4fba4c18dd13fba4b7a49d7 317558 testdisk_6.14-3+b1_armhf.deb
 3d387b32f622d2166faa076dfc86f4e488bc18fff10b2a6e61022fc9e36c2929 813368 testdisk-dbg_6.14-3+b1_armhf.deb
Files: 
 c741d977e0ad4a2027e060affd6287a7 317558 admin optional testdisk_6.14-3+b1_armhf.deb
 16417b7f929c5726debb386af2d2cb40 813368 debug extra testdisk-dbg_6.14-3+b1_armhf.deb

┌──────────────────────────────────────────────────────────────────────────────┐
│ Package contents                                                             │
└──────────────────────────────────────────────────────────────────────────────┘


testdisk_6.14-3+b1_armhf.deb
────────────────────────────

 new debian package, version 2.0.
 size 317558 bytes: control archive=1838 bytes.
    2267 bytes,    64 lines      control              
     770 bytes,    12 lines      md5sums              
 Package: testdisk
 Source: testdisk (6.14-3)
 Version: 6.14-3+b1
 Architecture: armhf
 Maintainer: Jean-Michel Kelbert <kelbert@debian.org>
 Installed-Size: 1032
 Depends: e2fslibs (>= 1.41.0), libc6 (>= 2.11), libcomerr2 (>= 1.01), libjpeg8 (>= 8c), libncursesw5 (>= 5.6+20070908), libntfs-3g851, libtinfo5, 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 2014-04-23 11:45 ./
drwxr-xr-x root/root         0 2014-04-23 11:44 ./usr/
drwxr-xr-x root/root         0 2014-04-23 11:45 ./usr/bin/
-rwxr-xr-x root/root    207856 2014-04-23 11:44 ./usr/bin/fidentify
-rwxr-xr-x root/root    454812 2014-04-23 11:44 ./usr/bin/photorec
-rwxr-xr-x root/root    338796 2014-04-23 11:45 ./usr/bin/testdisk
drwxr-xr-x root/root         0 2014-04-23 11:44 ./usr/share/
drwxr-xr-x root/root         0 2014-04-23 11:44 ./usr/share/doc/
drwxr-xr-x root/root         0 2014-04-23 11:44 ./usr/share/doc/testdisk/
-rw-r--r-- root/root      2085 2012-06-27 06:46 ./usr/share/doc/testdisk/README
-rw-r--r-- root/root       352 2012-01-15 10:28 ./usr/share/doc/testdisk/README.Debian
-rw-r--r-- root/root      1121 2012-01-16 21:05 ./usr/share/doc/testdisk/copyright
-rw-r--r-- root/root      7158 2013-07-30 11:57 ./usr/share/doc/testdisk/NEWS.gz
-rw-r--r-- root/root      1906 2014-04-23 11:37 ./usr/share/doc/testdisk/changelog.Debian.gz
-rw-r--r-- root/root     40186 2013-07-30 11:33 ./usr/share/doc/testdisk/changelog.gz
drwxr-xr-x root/root         0 2014-04-23 11:44 ./usr/share/man/
drwxr-xr-x root/root         0 2014-04-23 11:44 ./usr/share/man/man8/
-rw-r--r-- root/root       381 2014-04-23 11:44 ./usr/share/man/man8/fidentify.8.gz
-rw-r--r-- root/root       643 2014-04-23 11:44 ./usr/share/man/man8/photorec.8.gz
-rw-r--r-- root/root       854 2014-04-23 11:44 ./usr/share/man/man8/testdisk.8.gz


testdisk-dbg_6.14-3+b1_armhf.deb
────────────────────────────────

 new debian package, version 2.0.
 size 813368 bytes: control archive=895 bytes.
     786 bytes,    19 lines      control              
     422 bytes,     6 lines      md5sums              
 Package: testdisk-dbg
 Source: testdisk (6.14-3)
 Version: 6.14-3+b1
 Architecture: armhf
 Maintainer: Jean-Michel Kelbert <kelbert@debian.org>
 Installed-Size: 5022
 Depends: testdisk (= 6.14-3+b1)
 Suggests: libc6-dbg, e2fslibs-dbg, libcomerr2-dbg, libjpeg-dbg, libncursesw5-dbg, libssl0.9.8-dbg, zlib1g-dbg
 Section: debug
 Priority: extra
 Description: Partition scanner and disk recovery tool, and PhotoRec file recovery tool
  TestDisk checks the partition and boot sectors of your disks.
  It is very useful in forensics, recovering lost partitions.
  .
  PhotoRec is file data recovery software designed to recover
  lost pictures from digital camera memory or even Hard Disks.
  It has been extended to search also for non audio/video headers.
  .
  This package includes the debugging symbols.

drwxr-xr-x root/root         0 2014-04-23 11:45 ./
drwxr-xr-x root/root         0 2014-04-23 11:44 ./usr/
drwxr-xr-x root/root         0 2014-04-23 11:44 ./usr/share/
drwxr-xr-x root/root         0 2014-04-23 11:44 ./usr/share/doc/
drwxr-xr-x root/root         0 2014-04-23 11:44 ./usr/share/doc/testdisk-dbg/
-rw-r--r-- root/root      1121 2012-01-16 21:05 ./usr/share/doc/testdisk-dbg/copyright
-rw-r--r-- root/root      1906 2014-04-23 11:37 ./usr/share/doc/testdisk-dbg/changelog.Debian.gz
-rw-r--r-- root/root     40186 2013-07-30 11:33 ./usr/share/doc/testdisk-dbg/changelog.gz
drwxr-xr-x root/root         0 2014-04-23 11:44 ./usr/lib/
drwxr-xr-x root/root         0 2014-04-23 11:44 ./usr/lib/debug/
drwxr-xr-x root/root         0 2014-04-23 11:44 ./usr/lib/debug/usr/
drwxr-xr-x root/root         0 2014-04-23 11:44 ./usr/lib/debug/usr/bin/
-rw-r--r-- root/root   1339234 2014-04-23 11:44 ./usr/lib/debug/usr/bin/fidentify
-rw-r--r-- root/root   2435096 2014-04-23 11:44 ./usr/lib/debug/usr/bin/photorec
-rw-r--r-- root/root   1323966 2014-04-23 11:45 ./usr/lib/debug/usr/bin/testdisk


┌──────────────────────────────────────────────────────────────────────────────┐
│ Post Build                                                                   │
└──────────────────────────────────────────────────────────────────────────────┘


┌──────────────────────────────────────────────────────────────────────────────┐
│ Cleanup                                                                      │
└──────────────────────────────────────────────────────────────────────────────┘

Purging /«BUILDDIR»
Not cleaning session: cloned chroot in use

┌──────────────────────────────────────────────────────────────────────────────┐
│ Summary                                                                      │
└──────────────────────────────────────────────────────────────────────────────┘

Build Architecture: armhf
Build-Space: 33380
Build-Time: 469
Distribution: jessie-staging
Host Architecture: armhf
Install-Time: 170
Job: testdisk_6.14-3
Machine Architecture: armhf
Package: testdisk
Package-Time: 703
Source-Version: 6.14-3
Space: 33380
Status: successful
Version: 6.14-3+b1
────────────────────────────────────────────────────────────────────────────────
Finished at 20140423-1145
Build needed 00:11:43, 33380k disc space