RUN: /usr/share/launchpad-buildd/slavebin/slave-prep ['slave-prep'] Forking launchpad-buildd slave process... Kernel version: 3.2.0-1429-omap4 #38-Ubuntu SMP PREEMPT Thu Mar 28 19:33:32 UTC 2013 armv7l Buildd toolchain package versions: launchpad-buildd_114-0~53~0.IS.08.04 python-lpbuildd_114-0~53~0.IS.08.04 bzr_2.5.1-0ubuntu2. Syncing the system clock with the buildd NTP service... 20 Jun 00:53:25 ntpdate[1635]: adjust time server 10.211.37.1 offset -0.002710 sec RUN: /usr/share/launchpad-buildd/slavebin/unpack-chroot ['unpack-chroot', '0bd00990cd89f4e62fe8e5fe914da5f551160d6b', '/home/buildd/filecache-default/c219ff4263fbebe8b03d7ffa1d47a3840a02f1e5'] Unpacking chroot for build 0bd00990cd89f4e62fe8e5fe914da5f551160d6b RUN: /usr/share/launchpad-buildd/slavebin/mount-chroot ['mount-chroot', '0bd00990cd89f4e62fe8e5fe914da5f551160d6b'] Mounting chroot for build 0bd00990cd89f4e62fe8e5fe914da5f551160d6b RUN: /usr/share/launchpad-buildd/slavebin/override-sources-list ['override-sources-list', '0bd00990cd89f4e62fe8e5fe914da5f551160d6b', 'deb http://ftpmaster.internal/ubuntu saucy main restricted universe multiverse', 'deb http://ftpmaster.internal/ubuntu saucy-security main restricted universe multiverse', 'deb http://ftpmaster.internal/ubuntu saucy-updates main restricted universe multiverse'] Overriding sources.list in build-0bd00990cd89f4e62fe8e5fe914da5f551160d6b RUN: /usr/share/launchpad-buildd/slavebin/update-debian-chroot ['update-debian-chroot', '0bd00990cd89f4e62fe8e5fe914da5f551160d6b', 'armhf'] Updating debian chroot for build 0bd00990cd89f4e62fe8e5fe914da5f551160d6b Ign http://archive-team.internal saucy Release.gpg Get:1 http://archive-team.internal saucy Release [728 B] Get:2 http://ftpmaster.internal saucy Release.gpg [933 B] Get:3 http://ftpmaster.internal saucy-security Release.gpg [933 B] Get:4 http://ftpmaster.internal saucy-updates Release.gpg [933 B] Get:5 http://archive-team.internal saucy/main armhf Packages Get:6 http://ftpmaster.internal saucy Release [40.8 kB] Get:7 http://ftpmaster.internal saucy-security Release [40.8 kB] Get:8 http://ftpmaster.internal saucy-updates Release [40.8 kB] Ign http://archive-team.internal saucy/main Translation-en Get:9 http://ftpmaster.internal saucy/main armhf Packages [1182 kB] Get:10 http://ftpmaster.internal saucy/restricted armhf Packages [1131 B] Get:11 http://ftpmaster.internal saucy/universe armhf Packages [5401 kB] Get:12 http://ftpmaster.internal saucy/multiverse armhf Packages [113 kB] Get:13 http://ftpmaster.internal saucy/main Translation-en [695 kB] Get:14 http://ftpmaster.internal saucy/multiverse Translation-en [101 kB] Get:15 http://ftpmaster.internal saucy/restricted Translation-en [3046 B] Get:16 http://ftpmaster.internal saucy/universe Translation-en [3836 kB] Get:17 http://ftpmaster.internal saucy-security/main armhf Packages [14 B] Get:18 http://ftpmaster.internal saucy-security/restricted armhf Packages [14 B] Get:19 http://ftpmaster.internal saucy-security/universe armhf Packages [14 B] Get:20 http://ftpmaster.internal saucy-security/multiverse armhf Packages [14 B] Get:21 http://ftpmaster.internal saucy-security/main Translation-en [14 B] Get:22 http://ftpmaster.internal saucy-security/multiverse Translation-en [14 B] Get:23 http://ftpmaster.internal saucy-security/restricted Translation-en [14 B] Get:24 http://ftpmaster.internal saucy-security/universe Translation-en [14 B] Get:25 http://ftpmaster.internal saucy-updates/main armhf Packages [14 B] Get:26 http://ftpmaster.internal saucy-updates/restricted armhf Packages [14 B] Get:27 http://ftpmaster.internal saucy-updates/universe armhf Packages [14 B] Get:28 http://ftpmaster.internal saucy-updates/multiverse armhf Packages [14 B] Get:29 http://ftpmaster.internal saucy-updates/main Translation-en [14 B] Get:30 http://ftpmaster.internal saucy-updates/multiverse Translation-en [14 B] Get:31 http://ftpmaster.internal saucy-updates/restricted Translation-en [14 B] Get:32 http://ftpmaster.internal saucy-updates/universe Translation-en [14 B] Fetched 11.5 MB in 50s (225 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... The following packages will be upgraded: cpp-4.8 g++-4.8 gcc-4.8 gcc-4.8-base libasan0 libasn1-8-heimdal libatomic1 libgcc-4.8-dev libgcc1 libgomp1 libgssapi3-heimdal libhcrypto4-heimdal libheimbase1-heimdal libheimntlm0-heimdal libhx509-5-heimdal libkrb5-26-heimdal libroken18-heimdal libstdc++-4.8-dev libstdc++6 libwind0-heimdal linux-libc-dev pkg-create-dbgsym sensible-utils upstart 24 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 21.4 MB of archives. After this operation, 24.6 kB of additional disk space will be used. WARNING: The following packages cannot be authenticated! libgomp1 gcc-4.8-base libstdc++6 libasan0 libatomic1 cpp-4.8 libstdc++-4.8-dev g++-4.8 gcc-4.8 libgcc-4.8-dev libgcc1 libroken18-heimdal libasn1-8-heimdal libhcrypto4-heimdal libheimbase1-heimdal libwind0-heimdal libhx509-5-heimdal libkrb5-26-heimdal libheimntlm0-heimdal libgssapi3-heimdal sensible-utils upstart linux-libc-dev pkg-create-dbgsym Authentication warning overridden. Get:1 http://ftpmaster.internal/ubuntu/ saucy/main libgomp1 armhf 4.8.1-3ubuntu2 [25.1 kB] Get:2 http://ftpmaster.internal/ubuntu/ saucy/main gcc-4.8-base armhf 4.8.1-3ubuntu2 [16.6 kB] Get:3 http://ftpmaster.internal/ubuntu/ saucy/main libstdc++6 armhf 4.8.1-3ubuntu2 [279 kB] Get:4 http://ftpmaster.internal/ubuntu/ saucy/main libasan0 armhf 4.8.1-3ubuntu2 [67.4 kB] Get:5 http://ftpmaster.internal/ubuntu/ saucy/main libatomic1 armhf 4.8.1-3ubuntu2 [6768 B] Get:6 http://ftpmaster.internal/ubuntu/ saucy/main cpp-4.8 armhf 4.8.1-3ubuntu2 [5182 kB] Get:7 http://ftpmaster.internal/ubuntu/ saucy/main libstdc++-4.8-dev armhf 4.8.1-3ubuntu2 [1785 kB] Get:8 http://ftpmaster.internal/ubuntu/ saucy/main g++-4.8 armhf 4.8.1-3ubuntu2 [5571 kB] Get:9 http://ftpmaster.internal/ubuntu/ saucy/main gcc-4.8 armhf 4.8.1-3ubuntu2 [5886 kB] Get:10 http://ftpmaster.internal/ubuntu/ saucy/main libgcc-4.8-dev armhf 4.8.1-3ubuntu2 [302 kB] Get:11 http://ftpmaster.internal/ubuntu/ saucy/main libgcc1 armhf 1:4.8.1-3ubuntu2 [48.9 kB] Get:12 http://ftpmaster.internal/ubuntu/ saucy/main libroken18-heimdal armhf 1.6~git20120403+dfsg1-3 [37.9 kB] Get:13 http://ftpmaster.internal/ubuntu/ saucy/main libasn1-8-heimdal armhf 1.6~git20120403+dfsg1-3 [168 kB] Get:14 http://ftpmaster.internal/ubuntu/ saucy/main libhcrypto4-heimdal armhf 1.6~git20120403+dfsg1-3 [90.1 kB] Get:15 http://ftpmaster.internal/ubuntu/ saucy/main libheimbase1-heimdal armhf 1.6~git20120403+dfsg1-3 [25.7 kB] Get:16 http://ftpmaster.internal/ubuntu/ saucy/main libwind0-heimdal armhf 1.6~git20120403+dfsg1-3 [76.5 kB] Get:17 http://ftpmaster.internal/ubuntu/ saucy/main libhx509-5-heimdal armhf 1.6~git20120403+dfsg1-3 [97.3 kB] Get:18 http://ftpmaster.internal/ubuntu/ saucy/main libkrb5-26-heimdal armhf 1.6~git20120403+dfsg1-3 [180 kB] Get:19 http://ftpmaster.internal/ubuntu/ saucy/main libheimntlm0-heimdal armhf 1.6~git20120403+dfsg1-3 [14.9 kB] Get:20 http://ftpmaster.internal/ubuntu/ saucy/main libgssapi3-heimdal armhf 1.6~git20120403+dfsg1-3 [86.2 kB] Get:21 http://ftpmaster.internal/ubuntu/ saucy/main sensible-utils all 0.0.9 [10.5 kB] Get:22 http://ftpmaster.internal/ubuntu/ saucy/main upstart armhf 1.8-0ubuntu7 [515 kB] Get:23 http://ftpmaster.internal/ubuntu/ saucy/main linux-libc-dev armhf 3.9.0-6.14 [891 kB] Get:24 http://ftpmaster.internal/ubuntu/ saucy/main pkg-create-dbgsym all 0.60 [7822 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 21.4 MB in 8s (2449 kB/s) (Reading database ... 11854 files and directories currently installed.) Preparing to replace libgomp1:armhf 4.8.1-3ubuntu1 (using .../libgomp1_4.8.1-3ubuntu2_armhf.deb) ... Unpacking replacement libgomp1:armhf ... Preparing to replace gcc-4.8-base:armhf 4.8.1-3ubuntu1 (using .../gcc-4.8-base_4.8.1-3ubuntu2_armhf.deb) ... Unpacking replacement gcc-4.8-base:armhf ... Setting up gcc-4.8-base:armhf (4.8.1-3ubuntu2) ... (Reading database ... 11854 files and directories currently installed.) Preparing to replace libstdc++6:armhf 4.8.1-3ubuntu1 (using .../libstdc++6_4.8.1-3ubuntu2_armhf.deb) ... Unpacking replacement libstdc++6:armhf ... Setting up libstdc++6:armhf (4.8.1-3ubuntu2) ... Processing triggers for libc-bin ... ldconfig deferred processing now taking place (Reading database ... 11854 files and directories currently installed.) Preparing to replace libasan0:armhf 4.8.1-3ubuntu1 (using .../libasan0_4.8.1-3ubuntu2_armhf.deb) ... Unpacking replacement libasan0:armhf ... Preparing to replace libatomic1:armhf 4.8.1-3ubuntu1 (using .../libatomic1_4.8.1-3ubuntu2_armhf.deb) ... Unpacking replacement libatomic1:armhf ... Preparing to replace cpp-4.8 4.8.1-3ubuntu1 (using .../cpp-4.8_4.8.1-3ubuntu2_armhf.deb) ... Unpacking replacement cpp-4.8 ... Preparing to replace libstdc++-4.8-dev:armhf 4.8.1-3ubuntu1 (using .../libstdc++-4.8-dev_4.8.1-3ubuntu2_armhf.deb) ... Unpacking replacement libstdc++-4.8-dev:armhf ... Preparing to replace g++-4.8 4.8.1-3ubuntu1 (using .../g++-4.8_4.8.1-3ubuntu2_armhf.deb) ... Unpacking replacement g++-4.8 ... Preparing to replace gcc-4.8 4.8.1-3ubuntu1 (using .../gcc-4.8_4.8.1-3ubuntu2_armhf.deb) ... Unpacking replacement gcc-4.8 ... Preparing to replace libgcc-4.8-dev:armhf 4.8.1-3ubuntu1 (using .../libgcc-4.8-dev_4.8.1-3ubuntu2_armhf.deb) ... Unpacking replacement libgcc-4.8-dev:armhf ... Preparing to replace libgcc1:armhf 1:4.8.1-3ubuntu1 (using .../libgcc1_1%3a4.8.1-3ubuntu2_armhf.deb) ... Unpacking replacement libgcc1:armhf ... Setting up libgcc1:armhf (1:4.8.1-3ubuntu2) ... Processing triggers for libc-bin ... ldconfig deferred processing now taking place (Reading database ... 11854 files and directories currently installed.) Preparing to replace libroken18-heimdal:armhf 1.6~git20120403+dfsg1-2 (using .../libroken18-heimdal_1.6~git20120403+dfsg1-3_armhf.deb) ... Unpacking replacement libroken18-heimdal:armhf ... Preparing to replace libasn1-8-heimdal:armhf 1.6~git20120403+dfsg1-2 (using .../libasn1-8-heimdal_1.6~git20120403+dfsg1-3_armhf.deb) ... Unpacking replacement libasn1-8-heimdal:armhf ... Preparing to replace libhcrypto4-heimdal:armhf 1.6~git20120403+dfsg1-2 (using .../libhcrypto4-heimdal_1.6~git20120403+dfsg1-3_armhf.deb) ... Unpacking replacement libhcrypto4-heimdal:armhf ... Preparing to replace libheimbase1-heimdal:armhf 1.6~git20120403+dfsg1-2 (using .../libheimbase1-heimdal_1.6~git20120403+dfsg1-3_armhf.deb) ... Unpacking replacement libheimbase1-heimdal:armhf ... Preparing to replace libwind0-heimdal:armhf 1.6~git20120403+dfsg1-2 (using .../libwind0-heimdal_1.6~git20120403+dfsg1-3_armhf.deb) ... Unpacking replacement libwind0-heimdal:armhf ... Preparing to replace libhx509-5-heimdal:armhf 1.6~git20120403+dfsg1-2 (using .../libhx509-5-heimdal_1.6~git20120403+dfsg1-3_armhf.deb) ... Unpacking replacement libhx509-5-heimdal:armhf ... Preparing to replace libkrb5-26-heimdal:armhf 1.6~git20120403+dfsg1-2 (using .../libkrb5-26-heimdal_1.6~git20120403+dfsg1-3_armhf.deb) ... Unpacking replacement libkrb5-26-heimdal:armhf ... Preparing to replace libheimntlm0-heimdal:armhf 1.6~git20120403+dfsg1-2 (using .../libheimntlm0-heimdal_1.6~git20120403+dfsg1-3_armhf.deb) ... Unpacking replacement libheimntlm0-heimdal:armhf ... Preparing to replace libgssapi3-heimdal:armhf 1.6~git20120403+dfsg1-2 (using .../libgssapi3-heimdal_1.6~git20120403+dfsg1-3_armhf.deb) ... Unpacking replacement libgssapi3-heimdal:armhf ... Preparing to replace sensible-utils 0.0.7ubuntu1 (using .../sensible-utils_0.0.9_all.deb) ... Unpacking replacement sensible-utils ... Setting up sensible-utils (0.0.9) ... (Reading database ... 11854 files and directories currently installed.) Preparing to replace upstart 1.8-0ubuntu6 (using .../upstart_1.8-0ubuntu7_armhf.deb) ... Unpacking replacement upstart ... Preparing to replace linux-libc-dev:armhf 3.9.0-5.12 (using .../linux-libc-dev_3.9.0-6.14_armhf.deb) ... Unpacking replacement linux-libc-dev:armhf ... Preparing to replace pkg-create-dbgsym 0.59 (using .../pkg-create-dbgsym_0.60_all.deb) ... Unpacking replacement pkg-create-dbgsym ... Setting up libgomp1:armhf (4.8.1-3ubuntu2) ... Setting up libasan0:armhf (4.8.1-3ubuntu2) ... Setting up libatomic1:armhf (4.8.1-3ubuntu2) ... Setting up cpp-4.8 (4.8.1-3ubuntu2) ... Setting up libgcc-4.8-dev:armhf (4.8.1-3ubuntu2) ... Setting up libstdc++-4.8-dev:armhf (4.8.1-3ubuntu2) ... Setting up gcc-4.8 (4.8.1-3ubuntu2) ... Setting up g++-4.8 (4.8.1-3ubuntu2) ... Setting up libroken18-heimdal:armhf (1.6~git20120403+dfsg1-3) ... Setting up libasn1-8-heimdal:armhf (1.6~git20120403+dfsg1-3) ... Setting up libhcrypto4-heimdal:armhf (1.6~git20120403+dfsg1-3) ... Setting up libheimbase1-heimdal:armhf (1.6~git20120403+dfsg1-3) ... Setting up libwind0-heimdal:armhf (1.6~git20120403+dfsg1-3) ... Setting up libhx509-5-heimdal:armhf (1.6~git20120403+dfsg1-3) ... Setting up libkrb5-26-heimdal:armhf (1.6~git20120403+dfsg1-3) ... Setting up libheimntlm0-heimdal:armhf (1.6~git20120403+dfsg1-3) ... Setting up libgssapi3-heimdal:armhf (1.6~git20120403+dfsg1-3) ... Setting up upstart (1.8-0ubuntu7) ... Setting up linux-libc-dev:armhf (3.9.0-6.14) ... Setting up pkg-create-dbgsym (0.60) ... Processing triggers for libc-bin ... ldconfig deferred processing now taking place RUN: /usr/share/launchpad-buildd/slavebin/sbuild-package ['sbuild-package', '0bd00990cd89f4e62fe8e5fe914da5f551160d6b', 'armhf', 'saucy', '--nolog', '--batch', '--archive=ubuntu', '--dist=saucy', '--purpose=COPY', '--architecture=armhf', '--comp=universe', 'testdisk_6.13-1ubuntu3.dsc'] Initiating build 0bd00990cd89f4e62fe8e5fe914da5f551160d6b with 2 jobs across 2 processor cores. Kernel reported to sbuild: 3.2.0-1429-omap4 #38-Ubuntu SMP PREEMPT Thu Mar 28 19:33:32 UTC 2013 armv7l Automatic build of testdisk_6.13-1ubuntu3 on rompo by sbuild/armhf 1.170.5 Build started at 20130620-0058 ****************************************************************************** testdisk_6.13-1ubuntu3.dsc exists in cwd ** Using build dependencies supplied by package: Build-Depends: debhelper (>= 8.0.0), e2fslibs-dev (>= 1.35-3), libncurses5-dev, libncursesw5-dev, ntfs-3g-dev, libjpeg-dev, uuid-dev, zlib1g-dev Checking for already installed source dependencies... debhelper: missing e2fslibs-dev: missing libncurses5-dev: missing libncursesw5-dev: missing ntfs-3g-dev: missing libjpeg-dev: missing uuid-dev: missing zlib1g-dev: missing Checking for source dependency conflicts... /usr/bin/sudo /usr/bin/apt-get --purge $CHROOT_OPTIONS -q -y install debhelper e2fslibs-dev libncurses5-dev libncursesw5-dev ntfs-3g-dev libjpeg-dev uuid-dev zlib1g-dev Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: bsdmainutils comerr-dev dh-apparmor file fuse gettext gettext-base groff-base intltool-debian libasprintf-dev libasprintf0c2 libcroco3 libffi6 libfuse2 libgettextpo-dev libgettextpo0 libglib2.0-0 libjpeg-turbo8 libjpeg-turbo8-dev libjpeg8 libjpeg8-dev libmagic1 libpipeline1 libtinfo-dev libunistring0 libxml2 man-db ntfs-3g po-debconf Suggested packages: wamerican wordlist whois vacation doc-base dh-make gettext-doc groff ncurses-doc less www-browser libmail-box-perl Recommended packages: curl wget lynx-cur libglib2.0-data shared-mime-info xml-core libmail-sendmail-perl The following NEW packages will be installed: bsdmainutils comerr-dev debhelper dh-apparmor e2fslibs-dev file fuse gettext gettext-base groff-base intltool-debian libasprintf-dev libasprintf0c2 libcroco3 libffi6 libfuse2 libgettextpo-dev libgettextpo0 libglib2.0-0 libjpeg-dev libjpeg-turbo8 libjpeg-turbo8-dev libjpeg8 libjpeg8-dev libmagic1 libncurses5-dev libncursesw5-dev libpipeline1 libtinfo-dev libunistring0 libxml2 man-db ntfs-3g ntfs-3g-dev po-debconf uuid-dev zlib1g-dev 0 upgraded, 37 newly installed, 0 to remove and 0 not upgraded. Need to get 7787 kB of archives. After this operation, 25.6 MB of additional disk space will be used. WARNING: The following packages cannot be authenticated! libmagic1 libffi6 libglib2.0-0 libasprintf0c2 libfuse2 libpipeline1 libxml2 groff-base bsdmainutils man-db fuse ntfs-3g libcroco3 libunistring0 libgettextpo0 libjpeg-turbo8 file gettext-base libasprintf-dev libgettextpo-dev gettext intltool-debian po-debconf dh-apparmor debhelper libjpeg-turbo8-dev libjpeg8 libjpeg8-dev libjpeg-dev libtinfo-dev libncurses5-dev libncursesw5-dev ntfs-3g-dev zlib1g-dev comerr-dev e2fslibs-dev uuid-dev Authentication warning overridden. Get:1 http://ftpmaster.internal/ubuntu/ saucy/main libmagic1 armhf 5.11-2ubuntu4 [167 kB] Get:2 http://ftpmaster.internal/ubuntu/ saucy/main libffi6 armhf 3.0.13-2ubuntu1 [16.8 kB] Get:3 http://ftpmaster.internal/ubuntu/ saucy/main libglib2.0-0 armhf 2.37.1-0ubuntu1 [881 kB] Get:4 http://ftpmaster.internal/ubuntu/ saucy/main libasprintf0c2 armhf 0.18.1.1-10ubuntu3 [6544 B] Get:5 http://ftpmaster.internal/ubuntu/ saucy/main libfuse2 armhf 2.9.2-4ubuntu2 [77.1 kB] Get:6 http://ftpmaster.internal/ubuntu/ saucy/main libpipeline1 armhf 1.2.4-1 [21.7 kB] Get:7 http://ftpmaster.internal/ubuntu/ saucy/main libxml2 armhf 2.9.0+dfsg1-4ubuntu5 [567 kB] Get:8 http://ftpmaster.internal/ubuntu/ saucy/main groff-base armhf 1.22.2-3 [648 kB] Get:9 http://ftpmaster.internal/ubuntu/ saucy/main bsdmainutils armhf 9.0.5ubuntu1 [195 kB] Get:10 http://ftpmaster.internal/ubuntu/ saucy/main man-db armhf 2.6.3-7 [612 kB] Get:11 http://ftpmaster.internal/ubuntu/ saucy/main fuse armhf 2.9.2-4ubuntu2 [23.5 kB] Get:12 http://ftpmaster.internal/ubuntu/ saucy/main ntfs-3g armhf 1:2013.1.13AR.1-2ubuntu1 [428 kB] Get:13 http://ftpmaster.internal/ubuntu/ saucy/main libcroco3 armhf 0.6.8-2 [69.2 kB] Get:14 http://ftpmaster.internal/ubuntu/ saucy/main libunistring0 armhf 0.9.3-5build1 [395 kB] Get:15 http://ftpmaster.internal/ubuntu/ saucy/main libgettextpo0 armhf 0.18.1.1-10ubuntu3 [101 kB] Get:16 http://ftpmaster.internal/ubuntu/ saucy/main libjpeg-turbo8 armhf 1.2.1-0ubuntu2 [85.2 kB] Get:17 http://ftpmaster.internal/ubuntu/ saucy/main file armhf 5.11-2ubuntu4 [17.9 kB] Get:18 http://ftpmaster.internal/ubuntu/ saucy/main gettext-base armhf 0.18.1.1-10ubuntu3 [53.5 kB] Get:19 http://ftpmaster.internal/ubuntu/ saucy/main libasprintf-dev armhf 0.18.1.1-10ubuntu3 [4446 B] Get:20 http://ftpmaster.internal/ubuntu/ saucy/main libgettextpo-dev armhf 0.18.1.1-10ubuntu3 [119 kB] Get:21 http://ftpmaster.internal/ubuntu/ saucy/main gettext armhf 0.18.1.1-10ubuntu3 [931 kB] Get:22 http://ftpmaster.internal/ubuntu/ saucy/main intltool-debian all 0.35.0+20060710.1 [31.6 kB] Get:23 http://ftpmaster.internal/ubuntu/ saucy/main po-debconf all 1.0.16+nmu2ubuntu1 [210 kB] Get:24 http://ftpmaster.internal/ubuntu/ saucy/main dh-apparmor all 2.8.0-0ubuntu13 [8314 B] Get:25 http://ftpmaster.internal/ubuntu/ saucy/main debhelper all 9.20130604ubuntu1 [628 kB] Get:26 http://ftpmaster.internal/ubuntu/ saucy/main libjpeg-turbo8-dev armhf 1.2.1-0ubuntu2 [315 kB] Get:27 http://ftpmaster.internal/ubuntu/ saucy/main libjpeg8 armhf 8c-2ubuntu7 [2118 B] Get:28 http://ftpmaster.internal/ubuntu/ saucy/main libjpeg8-dev armhf 8c-2ubuntu7 [1546 B] Get:29 http://ftpmaster.internal/ubuntu/ saucy/main libjpeg-dev all 8c-2ubuntu7 [1536 B] Get:30 http://ftpmaster.internal/ubuntu/ saucy/main libtinfo-dev armhf 5.9-10ubuntu4 [84.4 kB] Get:31 http://ftpmaster.internal/ubuntu/ saucy/main libncurses5-dev armhf 5.9-10ubuntu4 [193 kB] Get:32 http://ftpmaster.internal/ubuntu/ saucy/main libncursesw5-dev armhf 5.9-10ubuntu4 [223 kB] Get:33 http://ftpmaster.internal/ubuntu/ saucy/main ntfs-3g-dev armhf 1:2013.1.13AR.1-2ubuntu1 [202 kB] Get:34 http://ftpmaster.internal/ubuntu/ saucy/main zlib1g-dev armhf 1:1.2.8.dfsg-1ubuntu1 [176 kB] Get:35 http://ftpmaster.internal/ubuntu/ saucy/main comerr-dev armhf 2.1-1.42.5-1.1ubuntu1 [42.8 kB] Get:36 http://ftpmaster.internal/ubuntu/ saucy/main e2fslibs-dev armhf 1.42.5-1.1ubuntu1 [223 kB] Get:37 http://ftpmaster.internal/ubuntu/ saucy/main uuid-dev armhf 2.20.1-5.1ubuntu9 [24.8 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 7787 kB in 2s (3135 kB/s) Selecting previously unselected package libmagic1:armhf. (Reading database ... 11854 files and directories currently installed.) Unpacking libmagic1:armhf (from .../libmagic1_5.11-2ubuntu4_armhf.deb) ... Selecting previously unselected package libffi6:armhf. Unpacking libffi6:armhf (from .../libffi6_3.0.13-2ubuntu1_armhf.deb) ... Selecting previously unselected package libglib2.0-0:armhf. Unpacking libglib2.0-0:armhf (from .../libglib2.0-0_2.37.1-0ubuntu1_armhf.deb) ... Selecting previously unselected package libasprintf0c2:armhf. Unpacking libasprintf0c2:armhf (from .../libasprintf0c2_0.18.1.1-10ubuntu3_armhf.deb) ... Selecting previously unselected package libfuse2:armhf. Unpacking libfuse2:armhf (from .../libfuse2_2.9.2-4ubuntu2_armhf.deb) ... Selecting previously unselected package libpipeline1:armhf. Unpacking libpipeline1:armhf (from .../libpipeline1_1.2.4-1_armhf.deb) ... Selecting previously unselected package libxml2:armhf. Unpacking libxml2:armhf (from .../libxml2_2.9.0+dfsg1-4ubuntu5_armhf.deb) ... Selecting previously unselected package groff-base. Unpacking groff-base (from .../groff-base_1.22.2-3_armhf.deb) ... Selecting previously unselected package bsdmainutils. Unpacking bsdmainutils (from .../bsdmainutils_9.0.5ubuntu1_armhf.deb) ... Selecting previously unselected package man-db. Unpacking man-db (from .../man-db_2.6.3-7_armhf.deb) ... Selecting previously unselected package fuse. Unpacking fuse (from .../fuse_2.9.2-4ubuntu2_armhf.deb) ... Setting up libfuse2:armhf (2.9.2-4ubuntu2) ... Setting up fuse (2.9.2-4ubuntu2) ... Creating fuse group... Adding group `fuse' (GID 102) ... Done. Creating fuse device... update-initramfs: deferring update (trigger activated) Processing triggers for libc-bin ... ldconfig deferred processing now taking place Processing triggers for initramfs-tools ... Selecting previously unselected package ntfs-3g. (Reading database ... 12399 files and directories currently installed.) Unpacking ntfs-3g (from .../ntfs-3g_1%3a2013.1.13AR.1-2ubuntu1_armhf.deb) ... Selecting previously unselected package libcroco3:armhf. Unpacking libcroco3:armhf (from .../libcroco3_0.6.8-2_armhf.deb) ... Selecting previously unselected package libunistring0:armhf. Unpacking libunistring0:armhf (from .../libunistring0_0.9.3-5build1_armhf.deb) ... Selecting previously unselected package libgettextpo0:armhf. Unpacking libgettextpo0:armhf (from .../libgettextpo0_0.18.1.1-10ubuntu3_armhf.deb) ... Selecting previously unselected package libjpeg-turbo8:armhf. Unpacking libjpeg-turbo8:armhf (from .../libjpeg-turbo8_1.2.1-0ubuntu2_armhf.deb) ... Selecting previously unselected package file. Unpacking file (from .../file_5.11-2ubuntu4_armhf.deb) ... Selecting previously unselected package gettext-base. Unpacking gettext-base (from .../gettext-base_0.18.1.1-10ubuntu3_armhf.deb) ... Selecting previously unselected package libasprintf-dev:armhf. Unpacking libasprintf-dev:armhf (from .../libasprintf-dev_0.18.1.1-10ubuntu3_armhf.deb) ... Selecting previously unselected package libgettextpo-dev:armhf. Unpacking libgettextpo-dev:armhf (from .../libgettextpo-dev_0.18.1.1-10ubuntu3_armhf.deb) ... Selecting previously unselected package gettext. Unpacking gettext (from .../gettext_0.18.1.1-10ubuntu3_armhf.deb) ... Selecting previously unselected package intltool-debian. Unpacking intltool-debian (from .../intltool-debian_0.35.0+20060710.1_all.deb) ... Selecting previously unselected package po-debconf. Unpacking po-debconf (from .../po-debconf_1.0.16+nmu2ubuntu1_all.deb) ... Selecting previously unselected package dh-apparmor. Unpacking dh-apparmor (from .../dh-apparmor_2.8.0-0ubuntu13_all.deb) ... Selecting previously unselected package debhelper. Unpacking debhelper (from .../debhelper_9.20130604ubuntu1_all.deb) ... Selecting previously unselected package libjpeg-turbo8-dev:armhf. Unpacking libjpeg-turbo8-dev:armhf (from .../libjpeg-turbo8-dev_1.2.1-0ubuntu2_armhf.deb) ... Selecting previously unselected package libjpeg8:armhf. Unpacking libjpeg8:armhf (from .../libjpeg8_8c-2ubuntu7_armhf.deb) ... Selecting previously unselected package libjpeg8-dev:armhf. Unpacking libjpeg8-dev:armhf (from .../libjpeg8-dev_8c-2ubuntu7_armhf.deb) ... Selecting previously unselected package libjpeg-dev. Unpacking libjpeg-dev (from .../libjpeg-dev_8c-2ubuntu7_all.deb) ... Selecting previously unselected package libtinfo-dev:armhf. Unpacking libtinfo-dev:armhf (from .../libtinfo-dev_5.9-10ubuntu4_armhf.deb) ... Selecting previously unselected package libncurses5-dev. Unpacking libncurses5-dev (from .../libncurses5-dev_5.9-10ubuntu4_armhf.deb) ... Selecting previously unselected package libncursesw5-dev. Unpacking libncursesw5-dev (from .../libncursesw5-dev_5.9-10ubuntu4_armhf.deb) ... Selecting previously unselected package ntfs-3g-dev. Unpacking ntfs-3g-dev (from .../ntfs-3g-dev_1%3a2013.1.13AR.1-2ubuntu1_armhf.deb) ... Selecting previously unselected package zlib1g-dev:armhf. Unpacking zlib1g-dev:armhf (from .../zlib1g-dev_1%3a1.2.8.dfsg-1ubuntu1_armhf.deb) ... Selecting previously unselected package comerr-dev. Unpacking comerr-dev (from .../comerr-dev_2.1-1.42.5-1.1ubuntu1_armhf.deb) ... Selecting previously unselected package e2fslibs-dev. Unpacking e2fslibs-dev (from .../e2fslibs-dev_1.42.5-1.1ubuntu1_armhf.deb) ... Selecting previously unselected package uuid-dev. Unpacking uuid-dev (from .../uuid-dev_2.20.1-5.1ubuntu9_armhf.deb) ... Processing triggers for initramfs-tools ... Setting up libmagic1:armhf (5.11-2ubuntu4) ... Setting up libffi6:armhf (3.0.13-2ubuntu1) ... Setting up libglib2.0-0:armhf (2.37.1-0ubuntu1) ... No schema files found: doing nothing. Setting up libasprintf0c2:armhf (0.18.1.1-10ubuntu3) ... Setting up libpipeline1:armhf (1.2.4-1) ... Setting up libxml2:armhf (2.9.0+dfsg1-4ubuntu5) ... Setting up groff-base (1.22.2-3) ... Setting up bsdmainutils (9.0.5ubuntu1) ... 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.3-7) ... Not building database; man-db/auto-update is not 'true'. Setting up ntfs-3g (1:2013.1.13AR.1-2ubuntu1) ... update-initramfs: deferring update (trigger activated) Setting up libcroco3:armhf (0.6.8-2) ... Setting up libunistring0:armhf (0.9.3-5build1) ... Setting up libgettextpo0:armhf (0.18.1.1-10ubuntu3) ... Setting up libjpeg-turbo8:armhf (1.2.1-0ubuntu2) ... Setting up file (5.11-2ubuntu4) ... Setting up gettext-base (0.18.1.1-10ubuntu3) ... Setting up libasprintf-dev:armhf (0.18.1.1-10ubuntu3) ... Setting up libgettextpo-dev:armhf (0.18.1.1-10ubuntu3) ... Setting up gettext (0.18.1.1-10ubuntu3) ... Setting up intltool-debian (0.35.0+20060710.1) ... Setting up po-debconf (1.0.16+nmu2ubuntu1) ... Setting up dh-apparmor (2.8.0-0ubuntu13) ... Setting up debhelper (9.20130604ubuntu1) ... Setting up libjpeg-turbo8-dev:armhf (1.2.1-0ubuntu2) ... Setting up libjpeg8:armhf (8c-2ubuntu7) ... Setting up libjpeg8-dev:armhf (8c-2ubuntu7) ... Setting up libjpeg-dev (8c-2ubuntu7) ... Setting up libtinfo-dev:armhf (5.9-10ubuntu4) ... Setting up libncurses5-dev (5.9-10ubuntu4) ... Setting up libncursesw5-dev (5.9-10ubuntu4) ... Setting up zlib1g-dev:armhf (1:1.2.8.dfsg-1ubuntu1) ... Setting up comerr-dev (2.1-1.42.5-1.1ubuntu1) ... Setting up e2fslibs-dev (1.42.5-1.1ubuntu1) ... Setting up uuid-dev (2.20.1-5.1ubuntu9) ... Processing triggers for initramfs-tools ... Setting up ntfs-3g-dev (1:2013.1.13AR.1-2ubuntu1) ... Processing triggers for libc-bin ... ldconfig deferred processing now taking place Checking correctness of source dependencies... Toolchain package versions: libc6-dev_2.17-0ubuntu5 make_3.81-8.2ubuntu3 dpkg-dev_1.16.10ubuntu2 gcc-4.8_4.8.1-3ubuntu2 g++-4.8_4.8.1-3ubuntu2 binutils_2.23.52.20130612-1ubuntu1 libstdc++-4.8-dev_4.8.1-3ubuntu2 libstdc++6_4.8.1-3ubuntu2 ------------------------------------------------------------------------------ dpkg-source: warning: -sn is not a valid option for Dpkg::Source::Package::V3::quilt gpgv: Signature made Thu May 30 14:12:14 2013 UTC using RSA key ID 8B3C16AE gpgv: Can't check signature: public key not found dpkg-source: warning: failed to verify signature on ./testdisk_6.13-1ubuntu3.dsc dpkg-source: info: extracting testdisk in testdisk-6.13 dpkg-source: info: unpacking testdisk_6.13.orig.tar.bz2 dpkg-source: info: unpacking testdisk_6.13-1ubuntu3.debian.tar.gz dpkg-buildpackage: source package testdisk dpkg-buildpackage: source version 6.13-1ubuntu3 dpkg-source --before-build testdisk-6.13 dpkg-buildpackage: host architecture armhf /usr/bin/fakeroot debian/rules clean dh clean dh_testdir debian/rules override_dh_auto_clean make[1]: Entering directory `/build/buildd/testdisk-6.13' dh_auto_clean rm -f src/*.d make[1]: Leaving directory `/build/buildd/testdisk-6.13' dh_clean debian/rules build-arch dh build-arch dh_testdir -a debian/rules override_dh_auto_configure make[1]: Entering directory `/build/buildd/testdisk-6.13' 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 openssl/md5.h usability... no checking openssl/md5.h presence... no checking for openssl/md5.h... no checking openssl/opensslv.h usability... no checking openssl/opensslv.h presence... no checking for openssl/opensslv.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 MD5_Init in -lcrypto... no configure: WARNING: Missing function: MD5_Init in library libcrypto 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 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 ftruncate... yes checking for fsync... yes checking for getcwd... yes checking for geteuid... yes checking for getpwuid... yes checking for lstat... yes checking for memalign... 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 strchr... yes checking for strdup... yes checking for strerror... yes checking for strncasecmp... yes checking for strptime... yes checking for strtol... yes checking for touchwin... no 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 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 `/build/buildd/testdisk-6.13' dh_auto_build -a make[1]: Entering directory `/build/buildd/testdisk-6.13' make all-recursive make[2]: Entering directory `/build/buildd/testdisk-6.13' Making all in src make[3]: Entering directory `/build/buildd/testdisk-6.13/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c autoset.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c common.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c crc.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c ewf.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c fnctdsk.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c hdaccess.c hdaccess.c: In function 'disk_get_model': hdaccess.c:943:11: warning: unused variable 'i' [-Wunused-variable] int i; ^ hdaccess.c:933: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:1025:54: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(pread(hd_h, buffer, sector_size, max_offset) == sector_size) ^ hdaccess.c:1035:53: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(pread(hd_h, buffer, sector_size, cur_offset) == sector_size) ^ hdaccess.c:1045: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:1159:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(ret!=count) ^ hdaccess.c: In function 'file_pread_fast': hdaccess.c:1201:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(file_pread(disk, buf, count, offset)==offset) ^ hdaccess.c: In function 'file_pwrite_aux': hdaccess.c:1235:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(ret!=count) ^ hdaccess.c: In function 'file_nopwrite': hdaccess.c:1249: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:1483:41: warning: cast increases required alignment of target type [-Wcast-align] if(memcmp(buffer,"DOSEMU",6)==0 && *(unsigned long*)(buffer+11)>0) ^ hdaccess.c:1486:33: warning: cast increases required alignment of target type [-Wcast-align] disk_car->geom.cylinders=*(unsigned long*)(buffer+15); ^ hdaccess.c:1487:42: warning: cast increases required alignment of target type [-Wcast-align] disk_car->geom.heads_per_cylinder=*(unsigned long*)(buffer+7); ^ hdaccess.c:1488:40: warning: cast increases required alignment of target type [-Wcast-align] disk_car->geom.sectors_per_head=*(unsigned long*)(buffer+11); ^ hdaccess.c:1490:25: warning: cast increases required alignment of target type [-Wcast-align] disk_car->offset=*(unsigned long*)(buffer+19); ^ hdaccess.c:1472:31: warning: variable 'ewf' set but not used [-Wunused-but-set-variable] struct tdewf_file_header *ewf; ^ gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c hdcache.c hdcache.c: In function 'cache_pread_fast': hdcache.c:97:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(cache_pread(disk, buffer, count, offset) == count) ^ gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c hdwin32.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c hidden.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c iso.c iso.c: In function 'recover_ISO': iso.c:83:25: warning: unused parameter 'disk_car' [-Wunused-parameter] int recover_ISO(disk_t *disk_car, const struct iso_primary_descriptor *iso, partition_t *partition, const int verbose, const int dump_ind) ^ iso.c:83:111: warning: unused parameter 'verbose' [-Wunused-parameter] int recover_ISO(disk_t *disk_car, const struct iso_primary_descriptor *iso, partition_t *partition, const int verbose, const int dump_ind) ^ iso.c:83:130: warning: unused parameter 'dump_ind' [-Wunused-parameter] int recover_ISO(disk_t *disk_car, const struct iso_primary_descriptor *iso, partition_t *partition, const int verbose, const int dump_ind) ^ gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c list.c In file included from list.c:31:0: list.c: In function 'list_truncate': list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned 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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c list_sort.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c log.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c log_part.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c misc.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c msdos.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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 'set_next_status_i386': parti386.c:1299:22: warning: increment of enumeration value is invalid in C++ [-Wc++-compat] partition->status++; ^ parti386.c: In function 'set_prev_status_i386': parti386.c:1309:22: warning: decrement of enumeration value is invalid in C++ [-Wc++-compat] partition->status--; ^ parti386.c:1311:22: warning: decrement of enumeration value is invalid in C++ [-Wc++-compat] partition->status--; ^ gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c partgpt.c partgpt.c: In function 'read_part_gpt': partgpt.c:271: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:284: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:301: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:376: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:399: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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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:300: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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c partnone.c partnone.c: In function 'get_geometry_from_nonembr': partnone.c:160:77: warning: unused parameter 'verbose' [-Wunused-parameter] static int get_geometry_from_nonembr(const unsigned char *buffer, const int verbose, CHSgeometry_t *geometry) ^ partnone.c: In function 'init_part_order_none': partnone.c:289: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:295:48: warning: unused parameter 'disk_car' [-Wunused-parameter] static void set_next_status_none(const disk_t *disk_car, partition_t *partition) ^ partnone.c:295: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:299: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:310: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:315: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:315: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:324: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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c io_redir.c io_redir.c: In function 'io_redir_pread_fast': io_redir.c:224:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(io_redir_pread(disk, buffer, count, offset)==count) ^ gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c ntfs_utl.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c partauto.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c sudo.c sudo.c: In function 'run_sudo': sudo.c:47:11: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] argv2[0]=SUDO_BIN; ^ gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c unicode.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c win32.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c analyse.c analyse.c: In function 'search_type_0': analyse.c:141:23: warning: cast increases required alignment of target type [-Wcast-align] const pv_disk_t *pv=(const pv_disk_t *)buffer; ^ analyse.c:143:44: warning: cast increases required alignment of target type [-Wcast-align] const struct disk_netware *netware_block=(const struct disk_netware *)buffer; ^ analyse.c:146:32: warning: cast increases required alignment of target type [-Wcast-align] const struct luks_phdr *luks=(const struct luks_phdr *)buffer; ^ analyse.c:147: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:150:40: warning: cast increases required alignment of target type [-Wcast-align] const union swap_header *swap_header=(const union swap_header *)buffer; ^ analyse.c:199: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:214:38: warning: cast increases required alignment of target type [-Wcast-align] const struct disklabel *bsd_header=(const struct disklabel *)(buffer+0x200); ^ analyse.c:215:44: 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:216: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:254:28: warning: cast increases required alignment of target type [-Wcast-align] const struct hfsp_vh *vh=(const struct hfsp_vh *)(buffer+0x400); ^ analyse.c:255:37: warning: cast increases required alignment of target type [-Wcast-align] const struct ext2_super_block *sb=(const struct ext2_super_block*)(buffer+0x400); ^ gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c btrfs.c btrfs.c: In function 'set_btrfs_info': btrfs.c:61:97: warning: unused parameter 'verbose' [-Wunused-parameter] static int set_btrfs_info(const struct btrfs_super_block *sb, partition_t *partition, const int verbose) ^ gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c cramfs.c cramfs.c: In function 'check_cramfs': cramfs.c:51:28: warning: cast increases required alignment of target type [-Wcast-align] if(test_cramfs(disk_car, (struct cramfs_super*)buffer, partition, verbose)==0) ^ cramfs.c:53:21: warning: cast increases required alignment of target type [-Wcast-align] set_cramfs_info((struct cramfs_super*)buffer, partition); ^ gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c exfat.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c fat.c In file included from fat.c:39:0: fat.c: In function 'get_next_cluster': fat.c:255:32: warning: cast increases required alignment of target type [-Wcast-align] next_cluster=le16((*((uint16_t*)&buffer[offset_o])))>>4; ^ common.h:438:19: note: in definition of macro 'le16' #define le16(x) (x) /* x as little endian */ ^ fat.c:257:31: warning: cast increases required alignment of target type [-Wcast-align] next_cluster=le16(*((uint16_t*)&buffer[offset_o]))&0x0FFF; ^ common.h:438:19: note: in definition of macro 'le16' #define le16(x) (x) /* x as little endian */ ^ fat.c:265:29: warning: cast increases required alignment of target type [-Wcast-align] const uint16_t *p16=(const uint16_t*)buffer; ^ fat.c:283: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:347: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:347: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:438:19: note: in definition of macro 'le16' #define le16(x) (x) /* x as little endian */ ^ fat.c:347: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:349: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:349: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:438:19: note: in definition of macro 'le16' #define le16(x) (x) /* x as little endian */ ^ fat.c:349:67: note: in expansion of macro 'le16' (*((uint16_t*)&buffer[offset_o]))=le16((next_cluster) | (le16(*((uint16_t*)&buffer[offset_o]))&0xF000)); ^ fat.c:353:23: warning: cast increases required alignment of target type [-Wcast-align] uint16_t *p16=(uint16_t*)buffer; ^ fat.c:359: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:387: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:1024:7: warning: cast increases required alignment of target type [-Wcast-align] p32=(const uint32_t*)buffer; ^ gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c fatx.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c hfs.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c hfsp.c hfsp.c: In function 'check_HFSP': hfsp.c:49:25: warning: cast increases required alignment of target type [-Wcast-align] if(test_HFSP(disk_car,(struct hfsp_vh *)buffer,partition,verbose,0)!=0) ^ gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c hpfs.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c ntfs.c In file included from ntfs.c:40:0: ntfs.c: In function 'ntfs_get_attr': ntfs.h:67:35: warning: cast increases required alignment of target type [-Wcast-align] #define NTFS_GETU16(p) (le16(*(const uint16_t*)(p))) ^ common.h:438:19: note: in definition of macro 'le16' #define le16(x) (x) /* x as little endian */ ^ ntfs.c:193:6: note: in expansion of macro 'NTFS_GETU16' if(NTFS_GETU16(mft_record + 0x14)%8!=0) ^ ntfs.h:67:35: warning: cast increases required alignment of target type [-Wcast-align] #define NTFS_GETU16(p) (le16(*(const uint16_t*)(p))) ^ common.h:438:19: note: in definition of macro 'le16' #define le16(x) (x) /* x as little endian */ ^ ntfs.c:195:6: note: in expansion of macro 'NTFS_GETU16' if(NTFS_GETU16(mft_record + 0x14)<42) /* sizeof(MFT_RECORD)>=42 */ ^ ntfs.h:67:35: warning: cast increases required alignment of target type [-Wcast-align] #define NTFS_GETU16(p) (le16(*(const uint16_t*)(p))) ^ common.h:438:19: note: in definition of macro 'le16' #define le16(x) (x) /* x as little endian */ ^ ntfs.c:201: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:68:35: warning: cast increases required alignment of target type [-Wcast-align] #define NTFS_GETU32(p) (le32(*(const uint32_t*)(p))) ^ common.h:442:19: note: in definition of macro 'le32' #define le32(x) (x) ^ ntfs.c:220:15: note: in expansion of macro 'NTFS_GETU32' attr_type=NTFS_GETU32(attr_record); ^ ntfs.h:67:35: warning: cast increases required alignment of target type [-Wcast-align] #define NTFS_GETU16(p) (le16(*(const uint16_t*)(p))) ^ common.h:438:19: note: in definition of macro 'le16' #define le16(x) (x) /* x as little endian */ ^ ntfs.c:223:14: note: in expansion of macro 'NTFS_GETU16' attr_len=NTFS_GETU16(attr_record+4); ^ ntfs.h:67:35: warning: cast increases required alignment of target type [-Wcast-align] #define NTFS_GETU16(p) (le16(*(const uint16_t*)(p))) ^ common.h:438:19: note: in definition of macro 'le16' #define le16(x) (x) /* x as little endian */ ^ ntfs.c:239:38: note: in expansion of macro 'NTFS_GETU16' unsigned int attr_value_length=NTFS_GETU16(attr_record+0x10); ^ ntfs.h:67:35: warning: cast increases required alignment of target type [-Wcast-align] #define NTFS_GETU16(p) (le16(*(const uint16_t*)(p))) ^ common.h:438: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_offset=NTFS_GETU16(attr_record+0x14); ^ ntfs.h:68:35: warning: cast increases required alignment of target type [-Wcast-align] #define NTFS_GETU32(p) (le32(*(const uint32_t*)(p))) ^ common.h:442:19: note: in definition of macro 'le32' #define le32(x) (x) ^ ntfs.c:317:20: note: in expansion of macro 'NTFS_GETU32' return NTFS_GETU32(attr_td_list_entry+8); /* index_block_size */ ^ ntfs.h:67:35: warning: cast increases required alignment of target type [-Wcast-align] #define NTFS_GETU16(p) (le16(*(const uint16_t*)(p))) ^ common.h:438:19: note: in definition of macro 'le16' #define le16(x) (x) /* x as little endian */ ^ ntfs.c:336: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:68:35: warning: cast increases required alignment of target type [-Wcast-align] #define NTFS_GETU32(p) (le32(*(const uint32_t*)(p))) ^ common.h:442:19: note: in definition of macro 'le32' #define le32(x) (x) ^ ntfs.c:434:19: note: in expansion of macro 'NTFS_GETU32' if((res>0)|| (NTFS_GETU32(attr + 0x1C)<0x30)) ^ ntfs.h:68:35: warning: cast increases required alignment of target type [-Wcast-align] #define NTFS_GETU32(p) (le32(*(const uint32_t*)(p))) ^ common.h:442:19: note: in definition of macro 'le32' #define le32(x) (x) ^ ntfs.c:439:12: note: in expansion of macro 'NTFS_GETU32' attr+= NTFS_GETU32(attr + 0x1C); ^ gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c rfs.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c savehdr.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c sun.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c swap.c swap.c: In function 'check_Linux_SWAP': swap.c:47:22: warning: cast increases required alignment of target type [-Wcast-align] if(test_Linux_SWAP((union swap_header*)buffer, partition)!=0) ^ swap.c:52: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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c sysv.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c ufs.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c vmfs.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c xfs.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c addpart.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c adv.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c askloc.c In file included from askloc.c:56:0: askloc.c: In function 'ask_location': list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^ askloc.c:310:25: note: in expansion of macro 'td_list_entry' file_info=td_list_entry(file_walker, file_info_t, list); ^ askloc.c:334:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] aff_txt(2, window, msg, src_dir); ^ In file included from askloc.c:56:0: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^ askloc.c:481: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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c chgtype.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c chgtypen.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c dimage.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c dirn.c dirn.c: In function 'dir_aff_ncurses': dirn.c:278:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if((tmp->status & FILE_STATUS_MARKED)!=status) ^ gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c dirpart.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c diskacc.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c diskcapa.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c edit.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c ext2_sb.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c fat1x.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c fat32.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c fat_adv.c fat_adv.c: In function 'fat32_create_rootdir': fat_adv.c:657:16: warning: cast increases required alignment of target type [-Wcast-align] file2entry((struct msdos_dir_entry*)buffer+current_entry,current_file); ^ fat_adv.c: In function 'fat_find_fat_start': fat_adv.c:1428:25: warning: cast increases required alignment of target type [-Wcast-align] const uint16_t *p16=(const uint16_t*)buffer; ^ fat_adv.c:1488: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:2589:27: warning: cast increases required alignment of target type [-Wcast-align] uint32_t *p32=(uint32_t*)buffer_fat[fat_nbr]; ^ fat_adv.c:2603: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:2614: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:438:19: note: in definition of macro 'le16' #define le16(x) (x) /* x as little endian */ ^ fat_adv.c:2616: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:438:19: note: in definition of macro 'le16' #define le16(x) (x) /* x as little endian */ ^ fat_adv.c:2620: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:2620: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:438:19: note: in definition of macro 'le16' #define le16(x) (x) /* x as little endian */ ^ fat_adv.c:2620: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:2622: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:2622: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:438:19: note: in definition of macro 'le16' #define le16(x) (x) /* x as little endian */ ^ fat_adv.c:2622: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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c fat_cluster.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c fatn.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c geometry.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c godmode.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c hiddenn.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c intrface.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c intrfn.c intrfn.c: In function 'menu_to_command': intrfn.c:317:53: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(y_old==y_real && x_old <= x_real && x_real < x+(lenName < itemLength?itemLength:lenName) + MENU_SPACING) ^ intrfn.c: In function 'wmenuSelect_ext': intrfn.c:491:53: warning: signed and unsigned type in conditional expression [-Wsign-compare] *current=(menuItems[i].key == 0 ? old_current : i); ^ intrfn.c: In function 'dump': intrfn.c:604:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(nbr_line<=DUMP_MAX_LINES) ^ intrfn.c:615:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i=pos; (iDUMP_MAX_LINES-1) ^ intrfn.c: In function 'dump2': intrfn.c:714:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(nbr_line<=DUMP_MAX_LINES) ^ intrfn.c:721:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i=pos; (iDUMP_MAX_LINES-1) ^ gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c nodisk.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c ntfs_adv.c ntfs_adv.c: In function 'create_ntfs_boot_sector': ntfs_adv.c:321: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:323: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:68:35: warning: cast increases required alignment of target type [-Wcast-align] #define NTFS_GETU32(p) (le32(*(const uint32_t*)(p))) ^ common.h:442:19: note: in definition of macro 'le32' #define le32(x) (x) ^ ntfs_adv.c:369:20: note: in expansion of macro 'NTFS_GETU32' *mft_record_size=NTFS_GETU32(attr + 0x1C); ^ ntfs.h:68:35: warning: cast increases required alignment of target type [-Wcast-align] #define NTFS_GETU32(p) (le32(*(const uint32_t*)(p))) ^ common.h:442:19: note: in definition of macro 'le32' #define le32(x) (x) ^ ntfs_adv.c:376:10: note: in expansion of macro 'NTFS_GETU32' attr+= NTFS_GETU32(attr + 0x1C); ^ ntfs_adv.c: In function 'rebuild_NTFS_BS': ntfs.h:67:35: warning: cast increases required alignment of target type [-Wcast-align] #define NTFS_GETU16(p) (le16(*(const uint16_t*)(p))) ^ common.h:438:19: note: in definition of macro 'le16' #define le16(x) (x) /* x as little endian */ ^ ntfs_adv.c:480: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:67:35: warning: cast increases required alignment of target type [-Wcast-align] #define NTFS_GETU16(p) (le16(*(const uint16_t*)(p))) ^ common.h:438:19: note: in definition of macro 'le16' #define le16(x) (x) /* x as little endian */ ^ ntfs_adv.c:480: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:67:35: warning: cast increases required alignment of target type [-Wcast-align] #define NTFS_GETU16(p) (le16(*(const uint16_t*)(p))) ^ common.h:438:19: note: in definition of macro 'le16' #define le16(x) (x) /* x as little endian */ ^ ntfs_adv.c:481:7: note: in expansion of macro 'NTFS_GETU16' &&(NTFS_GETU16(buffer+22)==1)) /* MFT_RECORD_IN_USE */ ^ ntfs.h:68:35: warning: cast increases required alignment of target type [-Wcast-align] #define NTFS_GETU32(p) (le32(*(const uint32_t*)(p))) ^ common.h:442: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:488: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:67:35: warning: cast increases required alignment of target type [-Wcast-align] #define NTFS_GETU16(p) (le16(*(const uint16_t*)(p))) ^ common.h:438:19: note: in definition of macro 'le16' #define le16(x) (x) /* x as little endian */ ^ ntfs_adv.c:535: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:67:35: warning: cast increases required alignment of target type [-Wcast-align] #define NTFS_GETU16(p) (le16(*(const uint16_t*)(p))) ^ common.h:438:19: note: in definition of macro 'le16' #define le16(x) (x) /* x as little endian */ ^ ntfs_adv.c:535: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:68:35: warning: cast increases required alignment of target type [-Wcast-align] #define NTFS_GETU32(p) (le32(*(const uint32_t*)(p))) ^ common.h:442: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:542: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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c ntfs_fix.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c ntfs_udl.c In file included from ntfs_udl.c:69:0: ntfs_udl.c: In function 'free_file': list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^ ntfs_udl.c:203: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)(&((type *)0)->member))) ^ ntfs_udl.c:210: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:494: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:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^ ntfs_udl.c:651: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:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^ ntfs_udl.c:917: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:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^ ntfs_udl.c:1194: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_undelete_menu_ncurses': list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^ ntfs_udl.c:1247:14: 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)(&((type *)0)->member))) ^ ntfs_udl.c:1394: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)(&((type *)0)->member))) ^ ntfs_udl.c:1398:18: note: in expansion of macro 'td_list_entry' file_info=td_list_entry(file_walker, file_info_t, list); ^ ntfs_udl.c:1399:51: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if((file_info->status & FILE_STATUS_MARKED)!=status) ^ In file included from ntfs_udl.c:69:0: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^ ntfs_udl.c:1407: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)(&((type *)0)->member))) ^ ntfs_udl.c:1419: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)(&((type *)0)->member))) ^ ntfs_udl.c:1491: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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c parti386n.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c partgptn.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c partmacn.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c partsunn.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c partxboxn.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c tanalyse.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c tbanner.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c tdelete.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c tdiskop.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c tdisksel.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c testdisk.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c texfat.c texfat.c: In function 'exFAT_boot_sector': texfat.c:118: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:132: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:210: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:226: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:73: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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c thfs.c thfs.c: In function 'HFS_HFSP_boot_sector': thfs.c:124: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:144: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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned 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:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^ tload.c:205: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)(&((type *)0)->member))) ^ tload.c:217: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)(&((type *)0)->member))) ^ tload.c:230: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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c tlog.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c tmbrcode.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c tntfs.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c toptions.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c tpartwr.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c dir.c In file included from dir.h:30:0, from dir.c:45: dir.c: In function 'log_list_file': list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^ dir.c:222:18: note: in expansion of macro 'td_list_entry' current_file=td_list_entry(tmp, file_info_t, list); ^ dir.c: In function 'delete_list_file_info': list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^ dir.c:279:15: note: in expansion of macro 'td_list_entry' file_info=td_list_entry(file_walker, file_info_t, list); ^ dir.c: In function 'filesort': list.h:232:12: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^ dir.c:343:29: note: in expansion of macro 'td_list_entry' const file_info_t *file_a=td_list_entry(a, file_info_t, list); ^ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^ dir.c:343:29: note: in expansion of macro 'td_list_entry' const file_info_t *file_a=td_list_entry(a, file_info_t, list); ^ list.h:232:12: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^ dir.c:344:29: note: in expansion of macro 'td_list_entry' const file_info_t *file_b=td_list_entry(b, file_info_t, list); ^ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^ dir.c:344:29: note: in expansion of macro 'td_list_entry' const file_info_t *file_b=td_list_entry(b, file_info_t, list); ^ gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c exfat_dir.c exfat_dir.c: In function 'exfat_dir': exfat_dir.c:217:16: warning: variable 'clus_blocknr' set but not used [-Wunused-but-set-variable] unsigned int clus_blocknr; ^ gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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:24: warning: cast increases required alignment of target type [-Wcast-align] my_data_t *my_data=(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:201:11: warning: unused parameter 'buf' [-Wunused-parameter] char *buf, ^ ext2_dir.c: In function 'ext2_dir': ext2_dir.c:266:38: warning: unused parameter 'disk_car' [-Wunused-parameter] static file_data_t *ext2_dir(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const unsigned long int cluster) ^ ext2_dir.c:266:67: warning: unused parameter 'partition' [-Wunused-parameter] static file_data_t *ext2_dir(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const unsigned long int cluster) ^ ext2_dir.c: In function 'ext2_copy': ext2_dir.c:287: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_data_t *file) ^ ext2_dir.c:287: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_data_t *file) ^ gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c fat_dir.c fat_dir.c: In function 'dir_fat_aux': fat_dir.c:77: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:86:9: warning: ignoring return value of 'wctomb', declared with attribute warn_unused_result [-Wunused-result] wctomb(NULL, 0); ^ gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c ntfs_dir.c ntfs_dir.c: In function 'ntfs_ucstoutf8': ntfs_dir.c:164: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:238:7: warning: enum conversion when passing argument 4 of 'ntfs_attr_lookup' is invalid in C++ [-Wc++-compat] if (ntfs_attr_lookup(AT_STANDARD_INFORMATION, AT_UNNAMED, 0, 0, 0, NULL, 0, ctx_si)==0) ^ In file included from /usr/include/ntfs-3g/volume.h:54:0, from ntfs_dir.c:67: /usr/include/ntfs-3g/attrib.h:101:12: note: expected 'IGNORE_CASE_BOOL' but argument is of type 'int' extern int ntfs_attr_lookup(const ATTR_TYPES type, const ntfschar *name, ^ ntfs_dir.c:241:59: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] const STANDARD_INFORMATION *si = (STANDARD_INFORMATION*)((char*)attr + ^ ntfs_dir.c:300: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:180: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:340:38: warning: unused parameter 'disk_car' [-Wunused-parameter] static file_data_t *ntfs_dir(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const unsigned long int cluster) ^ ntfs_dir.c:340:67: warning: unused parameter 'partition' [-Wunused-parameter] static file_data_t *ntfs_dir(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const unsigned long int cluster) ^ ntfs_dir.c: In function 'ntfs_copy': ntfs_dir.c:374: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_data_t *file) ^ ntfs_dir.c:374: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_data_t *file) ^ gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c rfs_dir.c rfs_dir.c: In function 'dir_partition_reiser_init': rfs_dir.c:553:39: warning: unused parameter 'disk_car' [-Wunused-parameter] int dir_partition_reiser_init(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const int verbose) ^ rfs_dir.c:553:68: warning: unused parameter 'partition' [-Wunused-parameter] int dir_partition_reiser_init(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const int verbose) ^ rfs_dir.c:553:91: warning: unused parameter 'dir_data' [-Wunused-parameter] int dir_partition_reiser_init(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const int verbose) ^ rfs_dir.c:553:111: warning: unused parameter 'verbose' [-Wunused-parameter] int 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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c setdate.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c next.c gcc -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.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 xfs.o zfs.o addpart.o adv.o askloc.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 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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c phmain.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c photorec.c In file included from dir.h:30:0, from photorec.c:41: photorec.c: In function 'list_space_used': list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^ photorec.c:73: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:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^ photorec.c:103: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:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^ photorec.c:138: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)(&((type *)0)->member))) ^ photorec.c:146: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:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^ photorec.c:174: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)(&((type *)0)->member))) ^ photorec.c:202: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)(&((type *)0)->member))) ^ photorec.c:221: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)(&((type *)0)->member))) ^ photorec.c:231: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:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^ photorec.c:296: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:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^ photorec.c:357: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:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^ photorec.c:386: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:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^ photorec.c:425: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:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^ photorec.c:523: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)(&((type *)0)->member))) ^ photorec.c:530:11: note: in expansion of macro 'td_list_entry' tmp=td_list_entry(search_walker, alloc_data_t, list); ^ photorec.c: In function 'update_blocksize': list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^ photorec.c:552: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:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^ photorec.c:571: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:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^ photorec.c:658: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:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^ photorec.c:806: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:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^ photorec.c:838: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:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^ photorec.c:892: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)(&((type *)0)->member))) ^ photorec.c:908: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:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^ photorec.c:944: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:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^ photorec.c:976: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': photorec.c:990:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(params->offset!=-1) ^ gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c phcfg.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c exfatp.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned 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:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned 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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c ext2p.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c fatp.c fatp.c: In function 'fat12_remove_used_space': fatp.c:52:7: warning: cast increases required alignment of target type [-Wcast-align] p16=(const uint16_t*)buffer; ^ In file included from fatp.c:31:0: fatp.c:70:28: warning: cast increases required alignment of target type [-Wcast-align] next_cluster=le16((*((uint16_t*)&buffer[offset_o])))>>4; ^ common.h:438:19: note: in definition of macro 'le16' #define le16(x) (x) /* x as little endian */ ^ fatp.c:72:27: warning: cast increases required alignment of target type [-Wcast-align] next_cluster=le16(*((uint16_t*)&buffer[offset_o]))&0x0FFF; ^ common.h:438:19: note: in definition of macro 'le16' #define le16(x) (x) /* x as little endian */ ^ fatp.c:44:19: warning: variable 'p16' set but not used [-Wunused-but-set-variable] const uint16_t *p16; ^ fatp.c: In function 'fat16_remove_used_space': fatp.c:102: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:146:7: warning: cast increases required alignment of target type [-Wcast-align] p32=(uint32_t*)buffer; ^ gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c file_found.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c ntfsp.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c sessionp.c sessionp.c: In function 'session_load': sessionp.c:64:10: warning: variable 'my_time' set but not used [-Wunused-but-set-variable] time_t my_time; ^ sessionp.c: In function 'session_save': sessionp.c:242:53: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(params->status!=STATUS_QUIT && params->offset!=-1) ^ In file included from filegen.h:26:0, from sessionp.c:48: list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^ sessionp.c:249: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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^ dfxml.c:314: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:232:12: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^ dfxml.c:335:33: note: in expansion of macro 'td_list_entry' const 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)(&((type *)0)->member))) ^ dfxml.c:335:33: note: in expansion of macro 'td_list_entry' const alloc_data_t *element=td_list_entry(tmp, alloc_data_t, list); ^ gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned 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:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^ fat_unformat.c:64: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:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^ fat_unformat.c:199: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)(&((type *)0)->member))) ^ fat_unformat.c:206:24: note: in expansion of macro 'td_list_entry' current_search_space=td_list_entry(list_search_space->list.next, alloc_data_t, list); ^ gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c pbanner.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c pblocksize.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^ pdisksel.c:88: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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c pfree_whole.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned 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:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^ phbf.c:116: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:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^ phbf.c:140: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:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^ phbf.c:176: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)(&((type *)0)->member))) ^ phbf.c:200:35: 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)(&((type *)0)->member))) ^ phbf.c:203:39: 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)(&((type *)0)->member))) ^ phbf.c:314: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)(&((type *)0)->member))) ^ phbf.c:322: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_fast': phbf.c:507:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0; imember))) ^ phbf.c:647: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)(&((type *)0)->member))) ^ phbf.c:651: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)(&((type *)0)->member))) ^ phbf.c:655: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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c phbs.c In file included from dir.h:30:0, from phbs.c:58: pnext.h: In function 'get_next_header': list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned 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:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^ phbs.c:114: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)(&((type *)0)->member))) ^ phbs.c:141: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)(&((type *)0)->member))) ^ phbs.c:144: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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c phnc.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned 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 'ind_block': phrecn.c:96: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 phrecn.c:58: phrecn.c: In function 'photorec_aux': list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^ phrecn.c:215: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)(&((type *)0)->member))) ^ phrecn.c:267: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)(&((type *)0)->member))) ^ phrecn.c:270:37: note: in expansion of macro 'td_list_entry' const file_check_t *file_check=td_list_entry(tmp, file_check_t, list); ^ phrecn.c: In function 'gen_image': list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^ phrecn.c:613: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:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^ phrecn.c:854:18: 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)(&((type *)0)->member))) ^ phrecn.c:1014: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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c ppartsel.c In file included from dir.h:30:0, from ppartsel.c:39: ppartsel.c: In function 'spacerange_cmp': list.h:232:12: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^ ppartsel.c:62:31: note: in expansion of macro 'td_list_entry' const alloc_data_t *space_a=td_list_entry(a, const alloc_data_t, list); ^ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^ ppartsel.c:62:31: note: in expansion of macro 'td_list_entry' const alloc_data_t *space_a=td_list_entry(a, const alloc_data_t, list); ^ list.h:232:12: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^ ppartsel.c:63:31: note: in expansion of macro 'td_list_entry' const alloc_data_t *space_b=td_list_entry(b, const alloc_data_t, list); ^ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^ ppartsel.c:63:31: note: in expansion of macro 'td_list_entry' const alloc_data_t *space_b=td_list_entry(b, const alloc_data_t, list); ^ gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c filegen.c In file included from filegen.h:26:0, from filegen.c:36: filegen.c: In function 'file_check_cmp': list.h:232:12: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^ filegen.c:51:28: note: in expansion of macro 'td_list_entry' const file_check_t *fc_a=td_list_entry(a, const file_check_t, list); ^ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^ filegen.c:51:28: note: in expansion of macro 'td_list_entry' const file_check_t *fc_a=td_list_entry(a, const file_check_t, list); ^ list.h:232:12: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^ filegen.c:52:28: note: in expansion of macro 'td_list_entry' const file_check_t *fc_b=td_list_entry(b, const file_check_t, list); ^ list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^ filegen.c:52:28: note: in expansion of macro 'td_list_entry' const file_check_t *fc_b=td_list_entry(b, const file_check_t, list); ^ filegen.c: In function 'index_header_check_aux': list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^ filegen.c:100: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:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned 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:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^ filegen.c:146: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)(&((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:272: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:272: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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c file_list.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c file_ace.c file_ace.c: In function 'header_check_ace': file_ace.c:180:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] static int header_check_ace(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) ^ file_ace.c:180:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] static int header_check_ace(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) ^ file_ace.c:180:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] static int header_check_ace(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) ^ gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c file_apa.c file_apa.c: In function 'header_check_apa': file_apa.c:59: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:59: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:59: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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c file_arj.c file_arj.c: In function 'header_check_arj': 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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c file_asf.c file_asf.c: In function 'header_check_asf': file_asf.c:70:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] static int header_check_asf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) ^ file_asf.c:70:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] static int header_check_asf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) ^ gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c file_bac.c file_bac.c: In function 'header_check_bac': file_bac.c:56: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:56: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:56: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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c file_caf.c file_caf.c: In function 'header_check_caf': file_caf.c:102: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:102: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:102: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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c file_class.c file_class.c: In function 'header_check_class': file_class.c:67:35: warning: cast increases required alignment of target type [-Wcast-align] const struct class_header *cafe=(const struct class_header *)buffer; ^ file_class.c:65: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:65: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:65: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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c file_cow.c file_cow.c: In function 'header_check_cow': file_cow.c:92:32: warning: cast increases required alignment of target type [-Wcast-align] const QCowHeader_t *header=(const QCowHeader_t*)buffer; ^ file_cow.c:102:33: warning: cast increases required alignment of target type [-Wcast-align] const QCowHeader2_t *header=(const QCowHeader2_t*)buffer; ^ file_cow.c:102:26: warning: unused variable 'header' [-Wunused-variable] const QCowHeader2_t *header=(const QCowHeader2_t*)buffer; ^ file_cow.c:88:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] static int header_check_cow(const unsigned char *buffer, 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:88:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] static int header_check_cow(const unsigned char *buffer, 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:88:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] static int header_check_cow(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) ^ gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c file_dat.c file_dat.c: In function 'header_check_dat': file_dat.c:65: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:65: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:65: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:76: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:76: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:76: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:91: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:91: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:91: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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c file_ddf.c file_ddf.c: In function 'header_check_ddf': file_ddf.c:55:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] static int header_check_ddf(const unsigned char *buffer, 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:55:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] static int header_check_ddf(const unsigned char *buffer, 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:55:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] static int header_check_ddf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) ^ gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c file_dir.c file_dir.c: In function 'header_check_dir': file_dir.c:53: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:53: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:53: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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c file_doc.c file_doc.c: In function 'ole_get_file_extension': file_doc.c:175:9: warning: cast increases required alignment of target type [-Wcast-align] fat=(const uint32_t *)(header+1); ^ file_doc.c:180:26: warning: cast increases required alignment of target type [-Wcast-align] const uint32_t *fati=(const uint32_t *)(header+1); ^ file_doc.c:182: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:296: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:296: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:523: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:529:23: warning: cast increases required alignment of target type [-Wcast-align] const uint64_t *val=(const uint64_t *)((const unsigned char *)buffer+offset); ^ file_doc.c: In function 'OLE_parse_summary_aux': file_doc.c:565:18: warning: variable 'size' set but not used [-Wunused-but-set-variable] unsigned int size; ^ 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:329:14: warning: called from here [-Winline] 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:331:19: 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:333:19: 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:344: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:348: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:352: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:356: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:360: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:361: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:362: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:363: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:367: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:371: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:375: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:379: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:383: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:387: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:391: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:392: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:396:22: warning: called from here [-Winline] else if(td_memmem(buffer,buffer_size,"MetaStock",9)!=NULL) ^ gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c file_dpx.c file_dpx.c: In function 'header_check_dpx': file_dpx.c:77: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:77: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:77: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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c file_ds2.c file_ds2.c: In function 'header_check_ds2': file_ds2.c:65: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:65: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:65: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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c file_dump.c file_dump.c: In function 'header_check_dump': file_dump.c:139:34: warning: cast increases required alignment of target type [-Wcast-align] const struct dump_struct *dump=(const struct dump_struct*)buffer; ^ file_dump.c:137: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:137: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:137: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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c file_dxf.c file_dxf.c: In function 'header_check_dxf': file_dxf.c:69: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:69: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:69: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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c file_edb.c file_edb.c: In function 'header_check_edb': file_edb.c:59: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:59: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) ^ file_edb.c:59:150: warning: unused parameter 'file_recovery' [-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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c file_elf.c file_elf.c: In function 'header_check_elf': file_elf.c:54: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:54: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:54: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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c file_emf.c file_emf.c: In function 'header_check_emf': file_emf.c:177: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:177: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:177: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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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) ^ file_exe.c: In function 'PEVersion_aux': file_exe.c:310:3: warning: pointer targets in passing argument 2 of 'file_rename_unicode' differ in signedness [-Wpointer-sign] file_rename_unicode(old_filename, buffer, end, pt, NULL, force_ext); ^ In file included from file_exe.c:35:0: filegen.h:141:6: note: expected 'const unsigned char *' but argument is of type 'const char *' void file_rename_unicode(const char *old_filename, const unsigned char *buffer, const int buffer_size, const int offset, const char *new_ext, const int force_ext); ^ gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c file_exs.c file_exs.c: In function 'header_check_exs': file_exs.c:61: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:61: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:61: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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c file_ext.c file_ext.c: In function 'header_check_ext2_sb': file_ext.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; ^ file_ext.c:55: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:55: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:55: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) ^ gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c file_fat.c file_fat.c: In function 'header_check_fat': file_fat.c:63:69: warning: variable 'end_data' set but not used [-Wunused-but-set-variable] uint64_t start_fat1,start_fat2,start_rootdir,start_data,part_size,end_data; ^ file_fat.c:63:34: warning: variable 'start_rootdir' set but not used [-Wunused-but-set-variable] uint64_t start_fat1,start_fat2,start_rootdir,start_data,part_size,end_data; ^ 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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c file_fits.c file_fits.c: In function 'header_check_fits': file_fits.c:90:20: warning: variable 'naxis' set but not used [-Wunused-but-set-variable] unsigned int naxis=0; ^ file_fits.c:72: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:72: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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c file_flac.c file_flac.c: In function 'header_check_flac': file_flac.c:54: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:54: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:54: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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c file_gpg.c file_gpg.c: In function 'header_check_gpg': file_gpg.c:232: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:232: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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c file_gz.c file_gz.c: In function 'header_check_gz': file_gz.c:135:27: 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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c file_hdf.c file_hdf.c: In function 'header_check_hdf': file_hdf.c:111: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:111: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:111: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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c file_http.c file_http.c: In function 'header_check_http': file_http.c:57: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:57: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:57: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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c file_ico.c file_ico.c: In function 'header_check_ico': file_ico.c:80: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:80: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:80: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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c file_ifo.c file_ifo.c: In function 'header_check_ifo': file_ifo.c:66: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:66: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:66: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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c file_it.c file_it.c: In function 'header_check_it': file_it.c:54: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:54: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:54: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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c file_jpg.c file_jpg.c: In function 'header_check_jpg': file_jpg.c:188: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:113: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:245: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:258: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:266: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:436: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:751: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:751: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:1065:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(;i+1blocksize) ^ file_jpg.c: In function 'jpg_check_structure': file_jpg.c:1107: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:1116: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:1147:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(i+0x0A < nbytes && 2+size > 0x0A) ^ file_jpg.c:1150:27: warning: cast increases required alignment of target type [-Wcast-align] const TIFFHeader *tiff=(const TIFFHeader*)&buffer[i+0x0A]; ^ file_jpg.c:1172:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(thumb_offset < nbytes - 1) ^ file_jpg.c:1189:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(j+4 nbytes && nbytes < sizeof(buffer)) ^ file_jpg.c:1303:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(offset > nbytes && nbytes < sizeof(buffer)) ^ gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c file_lnk.c file_lnk.c: In function 'header_check_lnk': file_lnk.c:89: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:89: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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c file_m2ts.c file_m2ts.c: In function 'header_check_m2ts': file_m2ts.c:73: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:118: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) ^ file_m2ts.c: In function 'register_header_check_ts': file_m2ts.c:150:3: warning: pointer targets in passing argument 2 of 'register_header_check' differ in signedness [-Wpointer-sign] register_header_check(0, "G", 1, &header_check_m2t, file_stat); ^ In file included from file_m2ts.c:31:0: filegen.h:135:6: note: expected 'const unsigned char *' but argument is of type 'const char *' void register_header_check(const unsigned int offset, const unsigned char *value, const unsigned int length, ^ file_m2ts.c:151:3: warning: pointer targets in passing argument 2 of 'register_header_check' differ in signedness [-Wpointer-sign] register_header_check(4, "G", 1, &header_check_m2ts, file_stat); ^ In file included from file_m2ts.c:31:0: filegen.h:135:6: note: expected 'const unsigned char *' but argument is of type 'const char *' void register_header_check(const unsigned int offset, const unsigned char *value, const unsigned int length, ^ gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c file_max.c file_max.c: In function 'header_check_max': file_max.c:55: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:55: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:55: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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c file_mkv.c file_mkv.c: In function 'header_check_mkv': file_mkv.c:166:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(segment_size == (1LL << (7 * len)) - 1) ^ file_mkv.c:183:5: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(doctype); ^ file_mkv.c:183:5: warning: incompatible implicit declaration of built-in function 'free' [enabled by default] file_mkv.c:132: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:132: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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c file_mov.c file_mov.c: In function 'header_check_mov': file_mov.c:99: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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c file_mp3.c file_mp3.c: In function 'header_check_id3': file_mp3.c:125: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:125: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:125: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:155: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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c file_mpg.c file_mpg.c: In function 'header_check_mpg': file_mpg.c:55:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] static int header_check_mpg(const unsigned char *buffer, 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:55:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] static int header_check_mpg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) ^ gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c file_nsf.c file_nsf.c: In function 'header_check_nsf': file_nsf.c:55: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:55: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:55: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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c file_ogg.c file_ogg.c: In function 'header_check_ogg': file_ogg.c:56: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:56: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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c file_orf.c file_orf.c: In function 'header_check_orf': file_orf.c:56:77: warning: unused parameter 'buffer_size' [-Wunused-parameter] static int header_check_orf(const unsigned char *buffer, 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:56:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] static int header_check_orf(const unsigned char *buffer, 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:56:150: warning: unused parameter 'file_recovery' [-Wunused-parameter] static int header_check_orf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) ^ gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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:447:19: note: in definition of macro 'le64' #define le64(x) (x) ^ file_par2.c: In function 'file_rename_par2': file_par2.c:89:19: warning: cast increases required alignment of target type [-Wcast-align] length=le64((*(const uint64_t *)(&buffer[8]))); ^ common.h:447:19: note: in definition of macro 'le64' #define le64(x) (x) ^ file_par2.c:89:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] length=le64((*(const uint64_t *)(&buffer[8]))); ^ file_par2.c:99:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (length < buffer_size ? length : buffer_size), ^ file_par2.c:99: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:108: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:108: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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c file_pcap.c file_pcap.c: In function 'header_check_pcap': file_pcap.c:54: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:54: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:54: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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c file_pdf.c file_pdf.c: In function 'file_rename_pdf': file_pdf.c:115:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0; itime=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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c file_ses.c file_ses.c: In function 'header_check_ses': file_ses.c:59: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:59: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:59: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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c file_sit.c file_sit.c: In function 'header_check_sit': file_sit.c:54: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:54: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:54: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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c file_spss.c file_spss.c: In function 'header_check_spss': file_spss.c:53: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:53: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:53: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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c file_stl.c file_stl.c: In function 'header_check_stl': file_stl.c:57: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:57: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:57: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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c file_swf.c file_swf.c: In function 'header_check_swf': file_swf.c:56: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:56: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:56: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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c file_tiff.c file_tiff.c: In function 'header_check_tiff': file_tiff.c:313: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:321: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:337: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:302: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:302: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:464: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:777: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:933:30: warning: cast increases required alignment of target type [-Wcast-align] const TIFFHeader *header=(const TIFFHeader *)buffer; ^ gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c file_ttf.c file_ttf.c: In function 'header_check_ttf': file_ttf.c:88: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:86: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:86: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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c file_txt.c file_txt.c:87:45: warning: initializer-string for array chars is too long for C++ [-Wc++-compat] static const unsigned char header_adr[25] = "Opera Hotlist version 2.0"; ^ file_txt.c:88:48: warning: initializer-string for array chars is too long for C++ [-Wc++-compat] static const unsigned char header_bash[11] = "#!/bin/bash"; ^ file_txt.c:90:46: warning: initializer-string for array chars is too long for C++ [-Wc++-compat] static const unsigned char header_cue1[10] = "REM GENRE "; ^ file_txt.c:92:44: warning: initializer-string for array chars is too long for C++ [-Wc++-compat] static const unsigned char header_dc[6] = "SC V10"; ^ file_txt.c:95:45: warning: initializer-string for array chars is too long for C++ [-Wc++-compat] static const unsigned char header_ers[19] = "DatasetHeader Begin"; ^ file_txt.c:96:46: warning: initializer-string for array chars is too long for C++ [-Wc++-compat] static const unsigned char header_html[14] = ""; ^ file_txt.c:160:44: warning: initializer-string for array chars is too long for C++ [-Wc++-compat] static const unsigned char header_stl[6] = "solid "; ^ file_txt.c:161:47: warning: initializer-string for array chars is too long for C++ [-Wc++-compat] static const unsigned char header_stp[13] = "ISO-10303-21;"; ^ file_txt.c:162:45: warning: initializer-string for array chars is too long for C++ [-Wc++-compat] static const unsigned char header_ttd[55] = "FF 09 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FFFF 00"; ^ file_txt.c:169:45: warning: initializer-string for array chars is too long for C++ [-Wc++-compat] static const unsigned char header_xml[14] = "", 6)==NULL) || ^ gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c file_veg.c file_veg.c: In function 'header_check_veg': file_veg.c:54: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:54: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:54: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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c file_vmdk.c file_vmdk.c: In function 'header_check_vmdk': file_vmdk.c:83: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:83: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:83: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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c file_wmf.c file_wmf.c: In function 'header_check_wmf': file_wmf.c:60: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:60: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:60: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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c file_wpd.c file_wpd.c: In function 'header_check_wpd': file_wpd.c:53: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:53: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:53: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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c file_xv.c file_xv.c: In function 'header_check_xv': file_xv.c:57: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:57: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:57: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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c file_zip.c file_zip.c: In function 'file_rename_zip': file_zip.c:707:7: warning: pointer targets in passing argument 2 of 'file_rename' differ in signedness [-Wpointer-sign] file_rename(old_filename, first_filename, len, 0, "zip", 0); ^ In file included from file_zip.c:39:0: filegen.h:140:6: note: expected 'const unsigned char *' but argument is of type 'char *' void file_rename(const char *old_filename, const unsigned char *buffer, const int buffer_size, const int offset, const char *new_ext, const int force_ext); ^ file_zip.c: In function 'header_check_zip': file_zip.c:719:109: warning: unused parameter 'safe_header_only' [-Wunused-parameter] static int header_check_zip(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) ^ gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -o photorec phmain.o photorec.o phcfg.o dir.o exfatp.o ext2grp.o ext2_dir.o ext2p.o fat_dir.o fatp.o file_found.o ntfs_dir.o ntfsp.o sessionp.o setdate.o dfxml.o addpart.o askloc.o chgtype.o chgtypen.o fat_cluster.o fat_unformat.o geometry.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 filegen.o file_list.o file_1cd.o file_7z.o file_DB.o file_a.o file_ab.o file_abcdp.o file_ace.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_asm.o file_atd.o file_au.o file_bac.o file_bim.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_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_fbk.o file_fcp.o file_fcs.o file_fdb.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_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_hr9.o file_http.o file_icc.o file_ico.o file_ifo.o file_imb.o file_indd.o file_iso.o file_it.o file_itu.o file_jpg.o file_kdb.o file_ldf.o file_lnk.o file_logic.o file_lso.o file_lxo.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_mid.o file_mk5.o file_mkv.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_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_png.o file_pnm.o file_prc.o file_prt.o file_ps.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_save.o file_ses.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_ttf.o file_txt.o file_tz.o file_vault.o file_vdi.o file_veg.o file_vfb.o file_vmdk.o file_vmg.o file_wdp.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_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.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 xfs.o zfs.o suspend_no.o -lncursesw -ltinfo -ljpeg -lz -luuid -lntfs-3g -lext2fs -lcom_err gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c fidentify.c In file included from filegen.h:26:0, from fidentify.c:49: fidentify.c: In function 'file_identify': list.h:232:3: warning: cast increases required alignment of target type [-Wcast-align] ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^ fidentify.c:92: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)(&((type *)0)->member))) ^ fidentify.c:95: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.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -c fat_common.c gcc -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -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_ace.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_asm.o file_atd.o file_au.o file_bac.o file_bim.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_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_fbk.o file_fcp.o file_fcs.o file_fdb.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_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_hr9.o file_http.o file_icc.o file_ico.o file_ifo.o file_imb.o file_indd.o file_iso.o file_it.o file_itu.o file_jpg.o file_kdb.o file_ldf.o file_lnk.o file_logic.o file_lso.o file_lxo.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_mid.o file_mk5.o file_mkv.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_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_png.o file_pnm.o file_prc.o file_prt.o file_ps.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_save.o file_ses.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_ttf.o file_txt.o file_tz.o file_vault.o file_vdi.o file_veg.o file_vfb.o file_vmdk.o file_vmg.o file_wdp.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_zip.o log.o crc.o fat_common.o suspend_no.o -ljpeg -lz -luuid -lntfs-3g -lext2fs -lcom_err make[3]: Leaving directory `/build/buildd/testdisk-6.13/src' make[3]: Entering directory `/build/buildd/testdisk-6.13' make[3]: Leaving directory `/build/buildd/testdisk-6.13' make[2]: Leaving directory `/build/buildd/testdisk-6.13' make[1]: Leaving directory `/build/buildd/testdisk-6.13' dh_auto_test -a make[1]: Entering directory `/build/buildd/testdisk-6.13' Making check in src make[2]: Entering directory `/build/buildd/testdisk-6.13/src' make[2]: Nothing to be done for `check'. make[2]: Leaving directory `/build/buildd/testdisk-6.13/src' make[2]: Entering directory `/build/buildd/testdisk-6.13' make[2]: Leaving directory `/build/buildd/testdisk-6.13' make[1]: Leaving directory `/build/buildd/testdisk-6.13' /usr/bin/fakeroot debian/rules binary-arch dh binary-arch dh_testroot -a dh_prep -a debian/rules override_dh_auto_install make[1]: Entering directory `/build/buildd/testdisk-6.13' dh_auto_install make[2]: Entering directory `/build/buildd/testdisk-6.13' Making install in src make[3]: Entering directory `/build/buildd/testdisk-6.13/src' make[4]: Entering directory `/build/buildd/testdisk-6.13/src' test -z "/usr/bin" || /bin/mkdir -p "/build/buildd/testdisk-6.13/debian/tmp/usr/bin" /usr/bin/install -c testdisk photorec fidentify '/build/buildd/testdisk-6.13/debian/tmp/usr/bin' make[4]: Nothing to be done for `install-data-am'. make[4]: Leaving directory `/build/buildd/testdisk-6.13/src' make[3]: Leaving directory `/build/buildd/testdisk-6.13/src' make[3]: Entering directory `/build/buildd/testdisk-6.13' make[4]: Entering directory `/build/buildd/testdisk-6.13' make[4]: Nothing to be done for `install-exec-am'. test -z "/usr/share/man/man8" || /bin/mkdir -p "/build/buildd/testdisk-6.13/debian/tmp/usr/share/man/man8" /usr/bin/install -c -m 644 doc_src/testdisk.8 doc_src/photorec.8 doc_src/fidentify.8 '/build/buildd/testdisk-6.13/debian/tmp/usr/share/man/man8' make install-data-hook make[5]: Entering directory `/build/buildd/testdisk-6.13' /bin/bash /build/buildd/testdisk-6.13/config/install-sh -d /build/buildd/testdisk-6.13/debian/tmp/usr/share/doc/testdisk-6.13 /bin/bash /build/buildd/testdisk-6.13/config/install-sh -d /build/buildd/testdisk-6.13/debian/tmp/usr/share/doc/testdisk-6.13/html /usr/bin/install -c -m 644 ./AUTHORS ./ChangeLog ./NEWS ./README ./THANKS /build/buildd/testdisk-6.13/debian/tmp/usr/share/doc/testdisk-6.13/ make[5]: Leaving directory `/build/buildd/testdisk-6.13' make[4]: Leaving directory `/build/buildd/testdisk-6.13' make[3]: Leaving directory `/build/buildd/testdisk-6.13' make[2]: Leaving directory `/build/buildd/testdisk-6.13' mv /build/buildd/testdisk-6.13/debian/tmp/usr/share/doc/testdisk-* \ /build/buildd/testdisk-6.13/debian/tmp/usr/share/doc/testdisk rm -f /build/buildd/testdisk-6.13/debian/tmp/usr/share/doc/testdisk/ChangeLog rm -f /build/buildd/testdisk-6.13/debian/tmp/usr/share/doc/testdisk/COPYING rm -f /build/buildd/testdisk-6.13/debian/tmp/usr/share/doc/testdisk/INSTALL make[1]: Leaving directory `/build/buildd/testdisk-6.13' 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 `/build/buildd/testdisk-6.13' dh_strip --dbg-package=testdisk-dbg dh_strip debug symbol extraction: all non-arch-all packages for this build platform armhf: testdisk testdisk-dbg dh_strip debug symbol extraction: not adding gnu debuglinks since --dbg-package is given dh_strip debug symbol extraction: packages to act on: testdisk testdisk-dbg dh_strip debug symbol extraction: ignored packages: we have -dbg package(s), not installing anything into ddeb find: `/build/buildd/testdisk-6.13/debian/testdisk-dbgsym': No such file or directory dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe dpkg-deb: warning: '/build/buildd/testdisk-6.13/debian/testdisk-dbgsym/DEBIAN/control' contains user-defined field 'Original-Maintainer' dpkg-deb: warning: ignoring 1 warning about the control file(s) dpkg-deb: building package `testdisk-dbgsym' in `../testdisk-dbgsym_6.13-1ubuntu3_armhf.ddeb'. make[1]: Leaving directory `/build/buildd/testdisk-6.13' dh_makeshlibs -a dh_shlibdeps -a 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 INFO: pkgstriptranslations version 118 pkgstriptranslations: processing testdisk (in debian/testdisk); do_strip: , oemstrip: pkgmaintainermangler: Not overriding Maintainer for domain lists.ubuntu.com pkgstripfiles: processing control file: debian/testdisk/DEBIAN/control, package testdisk, directory debian/testdisk pkgstripfiles: Truncating usr/share/doc/testdisk/changelog.Debian.gz to topmost ten records pkgstripfiles: PNG optimization for package testdisk took 0 s dpkg-deb: warning: 'debian/testdisk/DEBIAN/control' contains user-defined field 'Original-Maintainer' dpkg-deb: warning: ignoring 1 warning about the control file(s) dpkg-deb: building package `testdisk' in `../testdisk_6.13-1ubuntu3_armhf.deb'. INFO: pkgstriptranslations version 118 pkgstriptranslations: processing testdisk-dbg (in debian/testdisk-dbg); do_strip: , oemstrip: pkgmaintainermangler: Not overriding Maintainer for domain lists.ubuntu.com pkgstripfiles: processing control file: debian/testdisk-dbg/DEBIAN/control, package testdisk-dbg, directory debian/testdisk-dbg Searching for duplicated docs in dependency testdisk... symlinking changelog.Debian.gz in testdisk-dbg to file in testdisk pkgstripfiles: PNG optimization for package testdisk-dbg took 0 s dpkg-deb: warning: 'debian/testdisk-dbg/DEBIAN/control' contains user-defined field 'Original-Maintainer' dpkg-deb: warning: ignoring 1 warning about the control file(s) dpkg-deb: building package `testdisk-dbg' in `../testdisk-dbg_6.13-1ubuntu3_armhf.deb'. dpkg-genchanges -B -mUbuntu/armhf Build Daemon >../testdisk_6.13-1ubuntu3_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.13 dpkg-buildpackage: binary only upload (no source included) ****************************************************************************** Build finished at 20130620-0107 Publishing debug debs. chroot-autobuild/build/buildd/testdisk_6.13-1ubuntu3_armhf.deb: new debian package, version 2.0. size 439952 bytes: control archive= 1728 bytes. 2249 bytes, 64 lines control 700 bytes, 11 lines md5sums Package: testdisk Version: 6.13-1ubuntu3 Architecture: armhf Maintainer: Ubuntu Developers Installed-Size: 769 Depends: e2fslibs (>= 1.41.0), libc6 (>= 2.11), libjpeg8 (>= 8c), libncursesw5 (>= 5.6+20070908), libntfs-3g841, libtinfo5, libuuid1 (>= 2.16), zlib1g (>= 1:1.1.4) Section: admin Priority: optional Description: Partition scanner and disk recovery tool TestDisk checks the partition and boot sectors of your disks. It is very useful in recovering lost partitions. It works with : * DOS/Windows FAT12, FAT16 and FAT32 * NTFS ( Windows NT/2K/XP ) * Linux Ext2 and Ext3 * BeFS ( BeOS ) * BSD disklabel ( FreeBSD/OpenBSD/NetBSD ) * CramFS (Compressed File System) * HFS and HFS+, Hierarchical File System * JFS, IBM's Journaled File System * Linux Raid * Linux Swap (versions 1 and 2) * LVM and LVM2, Linux Logical Volume Manager * Netware NSS * ReiserFS 3.5 and 3.6 * Sun Solaris i386 disklabel * UFS and UFS2 (Sun/BSD/...) * XFS, SGI's Journaled File System . PhotoRec is file data recovery software designed to recover lost pictures from digital camera memory or even Hard Disks. It has been extended to search also for non audio/video headers. It searches for following files and is able to undelete them: * Sun/NeXT audio data (.au) * RIFF audio/video (.avi/.wav) * BMP bitmap (.bmp) * bzip2 compressed data (.bz2) * Source code written in C (.c) * Canon Raw picture (.crw) * Canon catalog (.ctg) * FAT subdirectory * Microsoft Office Document (.doc) * Nikon dsc (.dsc) * HTML page (.html) * JPEG picture (.jpg) * MOV video (.mov) * MP3 audio (MPEG ADTS, layer III, v1) (.mp3) * Moving Picture Experts Group video (.mpg) * Minolta Raw picture (.mrw) * Olympus Raw Format picture (.orf) * Portable Document Format (.pdf) * Perl script (.pl) * Portable Network Graphics (.png) * Raw Fujifilm picture (.raf) * Contax picture (.raw) * Rollei picture (.rdc) * Rich Text Format (.rtf) * Shell script (.sh) * Tar archive (.tar ) * Tag Image File Format (.tiff) * Microsoft ASF (.wma) * Sigma/Foveon X3 raw picture (.x3f) * zip archive (.zip) Original-Maintainer: Jean-Michel Kelbert chroot-autobuild/build/buildd/testdisk-dbg_6.13-1ubuntu3_armhf.deb: new debian package, version 2.0. size 1452178 bytes: control archive= 804 bytes. 820 bytes, 20 lines control 267 bytes, 4 lines md5sums Package: testdisk-dbg Source: testdisk Version: 6.13-1ubuntu3 Architecture: armhf Maintainer: Ubuntu Developers Installed-Size: 4694 Depends: testdisk (= 6.13-1ubuntu3) 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 TestDisk checks the partition and boot sectors of your disks. It is very useful in recovering lost partitions. . PhotoRec is file data recovery software designed to recover lost pictures from digital camera memory or even Hard Disks. It has been extended to search also for non audio/video headers. . This package includes the debugging symbols. Original-Maintainer: Jean-Michel Kelbert chroot-autobuild/build/buildd/testdisk_6.13-1ubuntu3_armhf.deb: drwxr-xr-x root/root 0 2013-06-20 01:06 ./ drwxr-xr-x root/root 0 2013-06-20 01:06 ./usr/ drwxr-xr-x root/root 0 2013-06-20 01:06 ./usr/share/ drwxr-xr-x root/root 0 2013-06-20 01:06 ./usr/share/man/ drwxr-xr-x root/root 0 2013-06-20 01:06 ./usr/share/man/man8/ -rw-r--r-- root/root 856 2013-06-20 01:06 ./usr/share/man/man8/testdisk.8.gz -rw-r--r-- root/root 382 2013-06-20 01:06 ./usr/share/man/man8/fidentify.8.gz -rw-r--r-- root/root 644 2013-06-20 01:06 ./usr/share/man/man8/photorec.8.gz drwxr-xr-x root/root 0 2013-06-20 01:06 ./usr/share/doc/ drwxr-xr-x root/root 0 2013-06-20 01:06 ./usr/share/doc/testdisk/ -rw-r--r-- root/root 1121 2012-01-16 21:05 ./usr/share/doc/testdisk/copyright -rw-r--r-- root/root 6258 2011-11-15 07:01 ./usr/share/doc/testdisk/NEWS.gz -rw-r--r-- root/root 1874 2006-10-25 09:40 ./usr/share/doc/testdisk/README -rw-r--r-- root/root 984 2013-06-20 01:07 ./usr/share/doc/testdisk/changelog.Debian.gz -rw-r--r-- root/root 352 2012-01-15 10:28 ./usr/share/doc/testdisk/README.Debian drwxr-xr-x root/root 0 2013-06-20 01:06 ./usr/bin/ -rwxr-xr-x root/root 146176 2013-06-20 01:06 ./usr/bin/fidentify -rwxr-xr-x root/root 332272 2013-06-20 01:06 ./usr/bin/photorec -rwxr-xr-x root/root 257952 2013-06-20 01:06 ./usr/bin/testdisk chroot-autobuild/build/buildd/testdisk-dbg_6.13-1ubuntu3_armhf.deb: drwxr-xr-x root/root 0 2013-06-20 01:07 ./ drwxr-xr-x root/root 0 2013-06-20 01:06 ./usr/ drwxr-xr-x root/root 0 2013-06-20 01:06 ./usr/share/ drwxr-xr-x root/root 0 2013-06-20 01:06 ./usr/share/doc/ drwxr-xr-x root/root 0 2013-06-20 01:07 ./usr/share/doc/testdisk-dbg/ -rw-r--r-- root/root 1121 2012-01-16 21:05 ./usr/share/doc/testdisk-dbg/copyright drwxr-xr-x root/root 0 2013-06-20 01:06 ./usr/lib/ drwxr-xr-x root/root 0 2013-06-20 01:06 ./usr/lib/debug/ drwxr-xr-x root/root 0 2013-06-20 01:06 ./usr/lib/debug/usr/ drwxr-xr-x root/root 0 2013-06-20 01:06 ./usr/lib/debug/usr/bin/ -rw-r--r-- root/root 1189123 2013-06-20 01:06 ./usr/lib/debug/usr/bin/fidentify -rw-r--r-- root/root 2258718 2013-06-20 01:06 ./usr/lib/debug/usr/bin/photorec -rw-r--r-- root/root 1314187 2013-06-20 01:06 ./usr/lib/debug/usr/bin/testdisk lrwxrwxrwx root/root 0 2013-06-20 01:07 ./usr/share/doc/testdisk-dbg/changelog.Debian.gz -> ../testdisk/changelog.Debian.gz testdisk_6.13-1ubuntu3_armhf.changes: Format: 1.8 Date: Thu, 30 May 2013 15:11:18 +0100 Source: testdisk Binary: testdisk testdisk-dbg Architecture: armhf Version: 6.13-1ubuntu3 Distribution: saucy Urgency: low Maintainer: Ubuntu/armhf Build Daemon Changed-By: Dmitrijs Ledkovs Description: testdisk - Partition scanner and disk recovery tool testdisk-dbg - Partition scanner and disk recovery tool Changes: testdisk (6.13-1ubuntu3) saucy; urgency=low . * No change rebuild against ntfs-3g841. Checksums-Sha1: e67a5b29caa6589b39c3f3f65056ed9cf1a36669 439952 testdisk_6.13-1ubuntu3_armhf.deb aa41a6d07e9984960cbd7f415ebffb5a0d7380e2 1452178 testdisk-dbg_6.13-1ubuntu3_armhf.deb Checksums-Sha256: 28ca1f8b838c63c41fe80b8b75447069ba7e9abeb59fb3fa96062ef769016815 439952 testdisk_6.13-1ubuntu3_armhf.deb 37bc09b106f2dc106508e37599bce0d23e4f59569c0a20c55321d9fde4616d41 1452178 testdisk-dbg_6.13-1ubuntu3_armhf.deb Files: c67c6de1b8e997d826f59508bdcd7f5e 439952 admin optional testdisk_6.13-1ubuntu3_armhf.deb 34b5fc0113d96923d6425637a7798f09 1452178 debug extra testdisk-dbg_6.13-1ubuntu3_armhf.deb Original-Maintainer: Jean-Michel Kelbert ****************************************************************************** Built successfully ****************************************************************************** Finished at 20130620-0107 Build needed 00:07:37, 31444k disk space RUN: /usr/share/launchpad-buildd/slavebin/scan-for-processes ['/usr/share/launchpad-buildd/slavebin/scan-for-processes', '0bd00990cd89f4e62fe8e5fe914da5f551160d6b'] Scanning for processes to kill in build /home/buildd/build-0bd00990cd89f4e62fe8e5fe914da5f551160d6b/chroot-autobuild... RUN: /usr/share/launchpad-buildd/slavebin/umount-chroot ['umount-chroot', '0bd00990cd89f4e62fe8e5fe914da5f551160d6b'] Unmounting chroot for build 0bd00990cd89f4e62fe8e5fe914da5f551160d6b... RUN: /usr/share/launchpad-buildd/slavebin/remove-build ['remove-build', '0bd00990cd89f4e62fe8e5fe914da5f551160d6b'] Removing build 0bd00990cd89f4e62fe8e5fe914da5f551160d6b