DC-Build-Header: testdisk 6.13-1 / Sat Jun 23 16:33:47 +0000 2012 DC-Task: logfile:/tmp/testdisk_6.13-1_unstable_clang.log version:6.13-1 chroot:unstable modes:binary-only:clang source:testdisk architecture:any esttime:96 DC-Sbuild-call: su user -c 'sbuild -n --apt-update -d unstable -v --chroot-setup-commands=/tmp/switch-to-clang testdisk_6.13-1' sbuild (Debian sbuild) 0.62.5 (13 Jul 2011) on ip-10-28-211-111.ec2.internal ╔══════════════════════════════════════════════════════════════════════════════╗ ║ testdisk 6.13-1 (amd64) 23 Jun 2012 16:33 ║ ╚══════════════════════════════════════════════════════════════════════════════╝ Package: testdisk Version: 6.13-1 Source Version: 6.13-1 Distribution: unstable Architecture: amd64 I: NOTICE: Log filtering will replace 'build/testdisk-nJhibq/testdisk-6.13' with '«PKGBUILDDIR»' I: NOTICE: Log filtering will replace 'build/testdisk-nJhibq' with '«BUILDDIR»' I: NOTICE: Log filtering will replace 'var/lib/schroot/mount/unstable-amd64-sbuild-2725761a-ff84-44c0-a684-8ae606bc496c' with '«CHROOT»' ┌──────────────────────────────────────────────────────────────────────────────┐ │ Update chroot │ └──────────────────────────────────────────────────────────────────────────────┘ Ign http://localhost unstable InRelease Get:1 http://localhost unstable Release.gpg [836 B] Get:2 http://localhost unstable Release [233 kB] Get:3 http://localhost unstable/main Sources/DiffIndex [7876 B] Get:4 http://localhost unstable/main amd64 Packages/DiffIndex [7876 B] Get:5 http://localhost unstable/main Translation-en/DiffIndex [7876 B] Get:6 http://localhost unstable/main 2012-06-23-0814.36.pdiff [8967 B] Get:7 http://localhost unstable/main 2012-06-23-0814.36.pdiff [8967 B] Get:8 http://localhost unstable/main amd64 2012-06-23-0814.36.pdiff [6101 B] Get:9 http://localhost unstable/main 2012-06-23-0814.36.pdiff [1297 B] Get:10 http://localhost unstable/main amd64 2012-06-23-0814.36.pdiff [6101 B] Get:11 http://localhost unstable/main 2012-06-23-1414.42.pdiff [10.6 kB] Get:12 http://localhost unstable/main 2012-06-23-0814.36.pdiff [1297 B] Get:13 http://localhost unstable/main amd64 2012-06-23-1414.42.pdiff [11.3 kB] Get:14 http://localhost unstable/main 2012-06-23-1414.42.pdiff [10.6 kB] Get:15 http://localhost unstable/main 2012-06-23-1414.42.pdiff [696 B] Get:16 http://localhost unstable/main amd64 2012-06-23-1414.42.pdiff [11.3 kB] Get:17 http://localhost unstable/main 2012-06-23-1414.42.pdiff [696 B] Fetched 296 kB in 7s (40.5 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... The following packages will be upgraded: base-passwd bsdutils libblkid1 libmount1 libuuid1 mount util-linux 7 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 1300 kB of archives. After this operation, 308 kB disk space will be freed. Get:1 http://localhost/debian/ unstable/main mount amd64 2.20.1-5.1 [213 kB] Get:2 http://localhost/debian/ unstable/main util-linux amd64 2.20.1-5.1 [659 kB] Get:3 http://localhost/debian/ unstable/main base-passwd amd64 3.5.26 [46.3 kB] Get:4 http://localhost/debian/ unstable/main bsdutils amd64 1:2.20.1-5.1 [85.3 kB] Get:5 http://localhost/debian/ unstable/main libuuid1 amd64 2.20.1-5.1 [56.9 kB] Get:6 http://localhost/debian/ unstable/main libblkid1 amd64 2.20.1-5.1 [120 kB] Get:7 http://localhost/debian/ unstable/main libmount1 amd64 2.20.1-5.1 [120 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 1300 kB in 0s (13.5 MB/s) (Reading database ... 11730 files and directories currently installed.) Preparing to replace mount 2.20.1-5 (using .../mount_2.20.1-5.1_amd64.deb) ... Unpacking replacement mount ... Setting up mount (2.20.1-5.1) ... (Reading database ... 11730 files and directories currently installed.) Preparing to replace util-linux 2.20.1-5 (using .../util-linux_2.20.1-5.1_amd64.deb) ... Unpacking replacement util-linux ... Setting up util-linux (2.20.1-5.1) ... (Reading database ... 11730 files and directories currently installed.) Preparing to replace base-passwd 3.5.25 (using .../base-passwd_3.5.26_amd64.deb) ... Unpacking replacement base-passwd ... Setting up base-passwd (3.5.26) ... (Reading database ... 11730 files and directories currently installed.) Preparing to replace bsdutils 1:2.20.1-5 (using .../bsdutils_1%3a2.20.1-5.1_amd64.deb) ... Unpacking replacement bsdutils ... Setting up bsdutils (1:2.20.1-5.1) ... (Reading database ... 11730 files and directories currently installed.) Preparing to replace libuuid1:amd64 2.20.1-5 (using .../libuuid1_2.20.1-5.1_amd64.deb) ... Unpacking replacement libuuid1:amd64 ... Setting up libuuid1:amd64 (2.20.1-5.1) ... (Reading database ... 11730 files and directories currently installed.) Preparing to replace libblkid1:amd64 2.20.1-5 (using .../libblkid1_2.20.1-5.1_amd64.deb) ... Unpacking replacement libblkid1:amd64 ... Setting up libblkid1:amd64 (2.20.1-5.1) ... (Reading database ... 11730 files and directories currently installed.) Preparing to replace libmount1 2.20.1-5 (using .../libmount1_2.20.1-5.1_amd64.deb) ... Unpacking replacement libmount1 ... Setting up libmount1 (2.20.1-5.1) ... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Fetch source files │ └──────────────────────────────────────────────────────────────────────────────┘ Check APT ───────── Checking available source versions... Download source files with APT ────────────────────────────── Reading package lists... Building dependency tree... Reading state information... Need to get 566 kB of source archives. Get:1 http://localhost/debian/ unstable/main testdisk 6.13-1 (dsc) [1230 B] Get:2 http://localhost/debian/ unstable/main testdisk 6.13-1 (tar) [561 kB] Get:3 http://localhost/debian/ unstable/main testdisk 6.13-1 (diff) [4348 B] Fetched 566 kB in 0s (1645 kB/s) Download complete and in download only mode Check arch ────────── ┌──────────────────────────────────────────────────────────────────────────────┐ │ Chroot Setup Commands │ └──────────────────────────────────────────────────────────────────────────────┘ /tmp/switch-to-clang ──────────────────── + echo 'Entering customization script...' Entering customization script... + apt-get update Ign http://localhost unstable InRelease Hit http://localhost unstable Release.gpg Hit http://localhost unstable Release Hit http://localhost unstable/main Sources/DiffIndex Hit http://localhost unstable/main amd64 Packages/DiffIndex Hit http://localhost unstable/main Translation-en/DiffIndex Reading package lists... + echo 'Install of clang' Install of clang + apt-get update Ign http://localhost unstable InRelease Hit http://localhost unstable Release.gpg Hit http://localhost unstable Release Hit http://localhost unstable/main Sources/DiffIndex Hit http://localhost unstable/main amd64 Packages/DiffIndex Hit http://localhost unstable/main Translation-en/DiffIndex Reading package lists... + apt-get install --yes --no-install-recommends clang -t unstable Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: libclang-common-dev libffi5 libllvm3.1 Recommended packages: llvm-3.1-dev python The following NEW packages will be installed: clang libclang-common-dev libffi5 libllvm3.1 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. Need to get 13.1 MB of archives. After this operation, 35.6 MB of additional disk space will be used. Get:1 http://localhost/debian/ unstable/main libffi5 amd64 3.0.10-3 [24.8 kB] Get:2 http://localhost/debian/ unstable/main libllvm3.1 amd64 3.1-1 [7276 kB] Get:3 http://localhost/debian/ unstable/main libclang-common-dev amd64 3.1-6 [84.0 kB] Get:4 http://localhost/debian/ unstable/main clang amd64 3.1-6 [5755 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 13.1 MB in 0s (30.1 MB/s) Selecting previously unselected package libffi5:amd64. (Reading database ... 11730 files and directories currently installed.) Unpacking libffi5:amd64 (from .../libffi5_3.0.10-3_amd64.deb) ... Selecting previously unselected package libllvm3.1:amd64. Unpacking libllvm3.1:amd64 (from .../libllvm3.1_3.1-1_amd64.deb) ... Selecting previously unselected package libclang-common-dev. Unpacking libclang-common-dev (from .../libclang-common-dev_3.1-6_amd64.deb) ... Selecting previously unselected package clang. Unpacking clang (from .../archives/clang_3.1-6_amd64.deb) ... Setting up libffi5:amd64 (3.0.10-3) ... Setting up libllvm3.1:amd64 (3.1-1) ... Setting up libclang-common-dev (3.1-6) ... Setting up clang (3.1-6) ... + echo 'Replace gcc, g++ & cpp by clang' Replace gcc, g++ & cpp by clang + VERSION=4.7 + cd /usr/bin + rm g++-4.7 gcc-4.7 cpp-4.7 + ln -s clang++ g++-4.7 + ln -s clang gcc-4.7 + ln -s clang cpp-4.7 + cd - /«BUILDDIR» + echo 'Block the installation of new gcc version' Block the installation of new gcc version + dpkg --set-selections + echo 'gcc-4.6 hold' + dpkg --set-selections + echo 'cpp-4.6 hold' + dpkg --set-selections + echo 'g++-4.6 hold' + dpkg --set-selections + echo 'gcc-4.7 hold' + dpkg --set-selections + echo 'cpp-4.7 hold' + dpkg --set-selections + echo 'g++-4.7 hold' + echo 'Check if gcc, g++ & cpp are actually clang' Check if gcc, g++ & cpp are actually clang + grep clang + gcc --version I: Finished running '/tmp/switch-to-clang'. Finished processing commands. ──────────────────────────────────────────────────────────────────────────────── Merged Build-Depends: build-essential, fakeroot Filtered Build-Depends: build-essential, fakeroot dpkg-deb: building package `sbuild-build-depends-core-dummy' in `/«BUILDDIR»/resolver-JBc413/apt_archive/sbuild-build-depends-core-dummy.deb'. OK Reading package lists... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install core build dependencies (apt-based resolver) │ └──────────────────────────────────────────────────────────────────────────────┘ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: sbuild-build-depends-core-dummy debconf: delaying package configuration, since apt-utils is not installed 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/706 B of archives. After this operation, 0 B of additional disk space will be used. Selecting previously unselected package sbuild-build-depends-core-dummy. (Reading database ... 11810 files and directories currently installed.) Unpacking sbuild-build-depends-core-dummy (from .../sbuild-build-depends-core-dummy.deb) ... Setting up sbuild-build-depends-core-dummy (0.invalid.0) ... Merged Build-Depends: base-files, base-passwd, bash, coreutils, dash, debianutils, diffutils, dpkg, e2fsprogs, findutils, grep, gzip, hostname, ncurses-base, ncurses-bin, perl-base, sed, login, sysvinit-utils, sysvinit, tar, bsdutils, mount, util-linux, libc6-dev | libc-dev, gcc (>= 4:4.4.3), g++ (>= 4:4.4.3), make, dpkg-dev (>= 1.13.5), debhelper (>= 8.0.0), e2fslibs-dev (>= 1.35-3), libncurses5-dev, libncursesw5-dev, libntfs-dev (>= 1.11.2-3), libjpeg-dev, uuid-dev, zlib1g-dev Filtered Build-Depends: base-files, base-passwd, bash, coreutils, dash, debianutils, diffutils, dpkg, e2fsprogs, findutils, grep, gzip, hostname, ncurses-base, ncurses-bin, perl-base, sed, login, sysvinit-utils, sysvinit, tar, bsdutils, mount, util-linux, libc6-dev, gcc (>= 4:4.4.3), g++ (>= 4:4.4.3), make, dpkg-dev (>= 1.13.5), debhelper (>= 8.0.0), e2fslibs-dev (>= 1.35-3), libncurses5-dev, libncursesw5-dev, libntfs-dev (>= 1.11.2-3), libjpeg-dev, uuid-dev, zlib1g-dev dpkg-deb: building package `sbuild-build-depends-testdisk-dummy' in `/«BUILDDIR»/resolver-9d1E2r/apt_archive/sbuild-build-depends-testdisk-dummy.deb'. OK Reading package lists... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install testdisk build dependencies (apt-based resolver) │ └──────────────────────────────────────────────────────────────────────────────┘ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: bsdmainutils comerr-dev debhelper e2fslibs-dev file gettext gettext-base groff-base html2text intltool-debian libasprintf0c2 libcroco3 libgettextpo0 libglib2.0-0 libjpeg8 libjpeg8-dev libmagic1 libncurses5-dev libncursesw5 libncursesw5-dev libntfs-dev libntfs10 libpcre3 libpipeline1 libtinfo-dev libunistring0 libxml2 man-db po-debconf uuid-dev zlib1g-dev 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 autopoint libglib2.0-data shared-mime-info libgpm2 xml-core libmail-sendmail-perl The following NEW packages will be installed: bsdmainutils comerr-dev debhelper e2fslibs-dev file gettext gettext-base groff-base html2text intltool-debian libasprintf0c2 libcroco3 libgettextpo0 libglib2.0-0 libjpeg8 libjpeg8-dev libmagic1 libncurses5-dev libncursesw5 libncursesw5-dev libntfs-dev libntfs10 libpcre3 libpipeline1 libtinfo-dev libunistring0 libxml2 man-db po-debconf sbuild-build-depends-testdisk-dummy uuid-dev zlib1g-dev 0 upgraded, 32 newly installed, 0 to remove and 0 not upgraded. Need to get 11.9 MB/11.9 MB of archives. After this operation, 31.6 MB of additional disk space will be used. Get:1 http://localhost/debian/ unstable/main libncursesw5 amd64 5.9-9 [141 kB] Get:2 http://localhost/debian/ unstable/main libpipeline1 amd64 1.2.1-1 [39.2 kB] Get:3 http://localhost/debian/ unstable/main libasprintf0c2 amd64 0.18.1.1-9 [26.8 kB] Get:4 http://localhost/debian/ unstable/main libmagic1 amd64 5.11-1 [250 kB] Get:5 http://localhost/debian/ unstable/main libpcre3 amd64 1:8.30-5 [242 kB] Get:6 http://localhost/debian/ unstable/main libxml2 amd64 2.8.0+dfsg1-4 [903 kB] Get:7 http://localhost/debian/ unstable/main libglib2.0-0 amd64 2.32.3-1 [2081 kB] Get:8 http://localhost/debian/ unstable/main libcroco3 amd64 0.6.5-1 [151 kB] Get:9 http://localhost/debian/ unstable/main libunistring0 amd64 0.9.3-5 [434 kB] Get:10 http://localhost/debian/ unstable/main libgettextpo0 amd64 0.18.1.1-9 [145 kB] Get:11 http://localhost/debian/ unstable/main libjpeg8 amd64 8d-1 [134 kB] Get:12 http://localhost/debian/ unstable/main bsdmainutils amd64 9.0.3 [209 kB] Get:13 http://localhost/debian/ unstable/main groff-base amd64 1.21-8 [1152 kB] Get:14 http://localhost/debian/ unstable/main man-db amd64 2.6.2-1 [1061 kB] Get:15 http://localhost/debian/ unstable/main file amd64 5.11-1 [53.2 kB] Get:16 http://localhost/debian/ unstable/main gettext-base amd64 0.18.1.1-9 [154 kB] Get:17 http://localhost/debian/ unstable/main html2text amd64 1.3.2a-15 [103 kB] Get:18 http://localhost/debian/ unstable/main gettext amd64 0.18.1.1-9 [1975 kB] Get:19 http://localhost/debian/ unstable/main intltool-debian all 0.35.0+20060710.1 [30.8 kB] Get:20 http://localhost/debian/ unstable/main po-debconf all 1.0.16+nmu2 [224 kB] Get:21 http://localhost/debian/ unstable/main debhelper all 9.20120608 [700 kB] Get:22 http://localhost/debian/ unstable/main libjpeg8-dev amd64 8d-1 [242 kB] Get:23 http://localhost/debian/ unstable/main libtinfo-dev amd64 5.9-9 [105 kB] Get:24 http://localhost/debian/ unstable/main libncurses5-dev amd64 5.9-9 [220 kB] Get:25 http://localhost/debian/ unstable/main libncursesw5-dev amd64 5.9-9 [254 kB] Get:26 http://localhost/debian/ unstable/main libntfs10 amd64 2.0.0-1+b1 [117 kB] Get:27 http://localhost/debian/ unstable/main libntfs-dev amd64 2.0.0-1+b1 [197 kB] Get:28 http://localhost/debian/ unstable/main zlib1g-dev amd64 1:1.2.7.dfsg-13 [215 kB] Get:29 http://localhost/debian/ unstable/main comerr-dev amd64 2.1-1.42.4-3 [42.8 kB] Get:30 http://localhost/debian/ unstable/main e2fslibs-dev amd64 1.42.4-3 [245 kB] Get:31 http://localhost/debian/ unstable/main uuid-dev amd64 2.20.1-5.1 [72.2 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 11.9 MB in 0s (13.7 MB/s) Selecting previously unselected package libncursesw5:amd64. (Reading database ... 11810 files and directories currently installed.) Unpacking libncursesw5:amd64 (from .../libncursesw5_5.9-9_amd64.deb) ... Selecting previously unselected package libpipeline1:amd64. Unpacking libpipeline1:amd64 (from .../libpipeline1_1.2.1-1_amd64.deb) ... Selecting previously unselected package libasprintf0c2:amd64. Unpacking libasprintf0c2:amd64 (from .../libasprintf0c2_0.18.1.1-9_amd64.deb) ... Selecting previously unselected package libmagic1:amd64. Unpacking libmagic1:amd64 (from .../libmagic1_5.11-1_amd64.deb) ... Selecting previously unselected package libpcre3:amd64. Unpacking libpcre3:amd64 (from .../libpcre3_1%3a8.30-5_amd64.deb) ... Selecting previously unselected package libxml2:amd64. Unpacking libxml2:amd64 (from .../libxml2_2.8.0+dfsg1-4_amd64.deb) ... Selecting previously unselected package libglib2.0-0:amd64. Unpacking libglib2.0-0:amd64 (from .../libglib2.0-0_2.32.3-1_amd64.deb) ... Selecting previously unselected package libcroco3:amd64. Unpacking libcroco3:amd64 (from .../libcroco3_0.6.5-1_amd64.deb) ... Selecting previously unselected package libunistring0:amd64. Unpacking libunistring0:amd64 (from .../libunistring0_0.9.3-5_amd64.deb) ... Selecting previously unselected package libgettextpo0:amd64. Unpacking libgettextpo0:amd64 (from .../libgettextpo0_0.18.1.1-9_amd64.deb) ... Selecting previously unselected package libjpeg8:amd64. Unpacking libjpeg8:amd64 (from .../libjpeg8_8d-1_amd64.deb) ... Selecting previously unselected package bsdmainutils. Unpacking bsdmainutils (from .../bsdmainutils_9.0.3_amd64.deb) ... Selecting previously unselected package groff-base. Unpacking groff-base (from .../groff-base_1.21-8_amd64.deb) ... Selecting previously unselected package man-db. Unpacking man-db (from .../man-db_2.6.2-1_amd64.deb) ... Selecting previously unselected package file. Unpacking file (from .../archives/file_5.11-1_amd64.deb) ... Selecting previously unselected package gettext-base. Unpacking gettext-base (from .../gettext-base_0.18.1.1-9_amd64.deb) ... Selecting previously unselected package html2text. Unpacking html2text (from .../html2text_1.3.2a-15_amd64.deb) ... Selecting previously unselected package gettext. Unpacking gettext (from .../gettext_0.18.1.1-9_amd64.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+nmu2_all.deb) ... Selecting previously unselected package debhelper. Unpacking debhelper (from .../debhelper_9.20120608_all.deb) ... Selecting previously unselected package libjpeg8-dev:amd64. Unpacking libjpeg8-dev:amd64 (from .../libjpeg8-dev_8d-1_amd64.deb) ... Selecting previously unselected package libtinfo-dev:amd64. Unpacking libtinfo-dev:amd64 (from .../libtinfo-dev_5.9-9_amd64.deb) ... Selecting previously unselected package libncurses5-dev. Unpacking libncurses5-dev (from .../libncurses5-dev_5.9-9_amd64.deb) ... Selecting previously unselected package libncursesw5-dev. Unpacking libncursesw5-dev (from .../libncursesw5-dev_5.9-9_amd64.deb) ... Selecting previously unselected package libntfs10. Unpacking libntfs10 (from .../libntfs10_2.0.0-1+b1_amd64.deb) ... Selecting previously unselected package libntfs-dev. Unpacking libntfs-dev (from .../libntfs-dev_2.0.0-1+b1_amd64.deb) ... Selecting previously unselected package zlib1g-dev:amd64. Unpacking zlib1g-dev:amd64 (from .../zlib1g-dev_1%3a1.2.7.dfsg-13_amd64.deb) ... Selecting previously unselected package comerr-dev. Unpacking comerr-dev (from .../comerr-dev_2.1-1.42.4-3_amd64.deb) ... Selecting previously unselected package e2fslibs-dev. Unpacking e2fslibs-dev (from .../e2fslibs-dev_1.42.4-3_amd64.deb) ... Selecting previously unselected package uuid-dev. Unpacking uuid-dev (from .../uuid-dev_2.20.1-5.1_amd64.deb) ... Selecting previously unselected package sbuild-build-depends-testdisk-dummy. Unpacking sbuild-build-depends-testdisk-dummy (from .../sbuild-build-depends-testdisk-dummy.deb) ... Setting up libncursesw5:amd64 (5.9-9) ... Setting up libpipeline1:amd64 (1.2.1-1) ... Setting up libasprintf0c2:amd64 (0.18.1.1-9) ... Setting up libmagic1:amd64 (5.11-1) ... Setting up libpcre3:amd64 (1:8.30-5) ... Setting up libxml2:amd64 (2.8.0+dfsg1-4) ... Setting up libglib2.0-0:amd64 (2.32.3-1) ... No schema files found: doing nothing. Setting up libcroco3:amd64 (0.6.5-1) ... Setting up libunistring0:amd64 (0.9.3-5) ... Setting up libgettextpo0:amd64 (0.18.1.1-9) ... Setting up libjpeg8:amd64 (8d-1) ... Setting up bsdmainutils (9.0.3) ... 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 groff-base (1.21-8) ... Setting up man-db (2.6.2-1) ... Building database of manual pages ... Setting up file (5.11-1) ... Setting up gettext-base (0.18.1.1-9) ... Setting up html2text (1.3.2a-15) ... Setting up gettext (0.18.1.1-9) ... Setting up intltool-debian (0.35.0+20060710.1) ... Setting up po-debconf (1.0.16+nmu2) ... Setting up debhelper (9.20120608) ... Setting up libjpeg8-dev:amd64 (8d-1) ... Setting up libtinfo-dev:amd64 (5.9-9) ... Setting up libncurses5-dev (5.9-9) ... Setting up libncursesw5-dev (5.9-9) ... Setting up libntfs10 (2.0.0-1+b1) ... Setting up libntfs-dev (2.0.0-1+b1) ... Setting up zlib1g-dev:amd64 (1:1.2.7.dfsg-13) ... Setting up comerr-dev (2.1-1.42.4-3) ... Setting up e2fslibs-dev (1.42.4-3) ... Setting up uuid-dev (2.20.1-5.1) ... Setting up sbuild-build-depends-testdisk-dummy (0.invalid.0) ... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build environment │ └──────────────────────────────────────────────────────────────────────────────┘ Kernel: Linux 2.6.32-5-xen-amd64 amd64 (x86_64) Toolchain package versions: binutils_2.22-6.1 dpkg-dev_1.16.4.3 g++-4.6_4.6.3-7 g++-4.7_4.7.1-1 gcc-4.6_4.6.3-7 gcc-4.7_4.7.1-1 libc6-dev_2.13-33 libstdc++6_4.7.1-1 libstdc++6-4.6-dev_4.6.3-7 libstdc++6-4.7-dev_4.7.1-1 linux-libc-dev_3.2.20-1 Package versions: apt_0.9.7 base-files_6.11 base-passwd_3.5.26 bash_4.2-2 binutils_2.22-6.1 bsdmainutils_9.0.3 bsdutils_1:2.20.1-5.1 build-essential_11.5 bzip2_1.0.6-3 clang_3.1-6 comerr-dev_2.1-1.42.4-3 coreutils_8.13-3.2 cpp_4:4.7.0-6 cpp-4.6_4.6.3-7 cpp-4.7_4.7.1-1 dash_0.5.7-3 debconf_1.5.44 debconf-i18n_1.5.44 debfoster_2.7-1.1 debhelper_9.20120608 debian-archive-keyring_2012.4 debianutils_4.3.1 diffutils_1:3.2-6 dpkg_1.16.4.3 dpkg-dev_1.16.4.3 e2fslibs_1.42.4-3 e2fslibs-dev_1.42.4-3 e2fsprogs_1.42.4-3 fakeroot_1.18.4-2 file_5.11-1 findutils_4.4.2-4 g++_4:4.7.0-6 g++-4.6_4.6.3-7 g++-4.7_4.7.1-1 gcc_4:4.7.0-6 gcc-4.4-base_4.4.7-1 gcc-4.5-base_4.5.3-12 gcc-4.6_4.6.3-7 gcc-4.6-base_4.6.3-7 gcc-4.7_4.7.1-1 gcc-4.7-base_4.7.1-1 gettext_0.18.1.1-9 gettext-base_0.18.1.1-9 gnupg_1.4.12-4 gpgv_1.4.12-4 grep_2.12-2 groff-base_1.21-8 gzip_1.5-1.1 hostname_3.11 html2text_1.3.2a-15 initscripts_2.88dsf-27 insserv_1.14.0-3 intltool-debian_0.35.0+20060710.1 libacl1_2.2.51-8 libapt-pkg4.12_0.9.7 libasprintf0c2_0.18.1.1-9 libattr1_1:2.4.46-8 libblkid1_2.20.1-5.1 libbz2-1.0_1.0.6-3 libc-bin_2.13-33 libc-dev-bin_2.13-33 libc6_2.13-33 libc6-dev_2.13-33 libclang-common-dev_3.1-6 libclass-isa-perl_0.36-3 libcomerr2_1.42.4-3 libcroco3_0.6.5-1 libdb5.1_5.1.29-4 libdpkg-perl_1.16.4.3 libffi5_3.0.10-3 libfile-fcntllock-perl_0.14-2 libgc1c2_1:7.1-8 libgcc1_1:4.7.1-1 libgdbm3_1.8.3-11 libgettextpo0_0.18.1.1-9 libglib2.0-0_2.32.3-1 libgmp10_2:5.0.5+dfsg-2 libgomp1_4.7.1-1 libitm1_4.7.1-1 libjpeg8_8d-1 libjpeg8-dev_8d-1 libllvm3.1_3.1-1 liblocale-gettext-perl_1.05-7+b1 liblzma5_5.1.1alpha+20120614-1 libmagic1_5.11-1 libmount1_2.20.1-5.1 libmpc2_0.9-4 libmpfr4_3.1.0-5 libncurses5_5.9-9 libncurses5-dev_5.9-9 libncursesw5_5.9-9 libncursesw5-dev_5.9-9 libntfs-dev_2.0.0-1+b1 libntfs10_2.0.0-1+b1 libpam-modules_1.1.3-7.1 libpam-modules-bin_1.1.3-7.1 libpam-runtime_1.1.3-7.1 libpam0g_1.1.3-7.1 libpcre3_1:8.30-5 libpipeline1_1.2.1-1 libquadmath0_4.7.1-1 libreadline6_6.2-8 libselinux1_2.1.9-5 libsemanage-common_2.1.6-6 libsemanage1_2.1.6-6 libsepol1_2.1.4-3 libslang2_2.2.4-13 libss2_1.42.4-3 libstdc++6_4.7.1-1 libstdc++6-4.6-dev_4.6.3-7 libstdc++6-4.7-dev_4.7.1-1 libswitch-perl_2.16-2 libtext-charwidth-perl_0.04-7+b1 libtext-iconv-perl_1.7-5 libtext-wrapi18n-perl_0.06-7 libtimedate-perl_1.2000-1 libtinfo-dev_5.9-9 libtinfo5_5.9-9 libunistring0_0.9.3-5 libusb-0.1-4_2:0.1.12-23 libustr-1.0-1_1.0.4-3 libuuid1_2.20.1-5.1 libxml2_2.8.0+dfsg1-4 linux-libc-dev_3.2.20-1 login_1:4.1.5.1-1 lsb-base_4.1+Debian7 make_3.81-8.2 man-db_2.6.2-1 mawk_1.3.3-17 mount_2.20.1-5.1 multiarch-support_2.13-33 ncurses-base_5.9-9 ncurses-bin_5.9-9 passwd_1:4.1.5.1-1 patch_2.6.1-3 perl_5.14.2-12 perl-base_5.14.2-12 perl-modules_5.14.2-12 po-debconf_1.0.16+nmu2 readline-common_6.2-8 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-testdisk-dummy_0.invalid.0 sed_4.2.1-10 sensible-utils_0.0.7 sysv-rc_2.88dsf-27 sysvinit_2.88dsf-27 sysvinit-utils_2.88dsf-27 tar_1.26-4 tzdata_2012c-1 ucf_3.0025+nmu3 util-linux_2.20.1-5.1 uuid-dev_2.20.1-5.1 xz-utils_5.1.1alpha+20120614-1 zlib1g_1:1.2.7.dfsg-13 zlib1g-dev_1:1.2.7.dfsg-13 ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build │ └──────────────────────────────────────────────────────────────────────────────┘ Unpack source ───────────── gpgv: keyblock resource `/sbuild-nonexistent/.gnupg/trustedkeys.gpg': file open error gpgv: Signature made Mon Jan 16 23:08:21 2012 UTC using DSA key ID 1BF8DE0F gpgv: Can't check signature: public key not found dpkg-source: warning: failed to verify signature on ./testdisk_6.13-1.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-1.debian.tar.gz Check disc space ──────────────── Sufficient free space for build User Environment ──────────────── HOME=/sbuild-nonexistent LOGNAME=root PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11 SCHROOT_CHROOT_NAME=unstable-amd64-sbuild SCHROOT_COMMAND=env SCHROOT_GID=0 SCHROOT_GROUP=root SCHROOT_SESSION_ID=unstable-amd64-sbuild-2725761a-ff84-44c0-a684-8ae606bc496c SCHROOT_UID=0 SCHROOT_USER=root SHELL=/bin/sh USER=root dpkg-buildpackage ───────────────── dpkg-buildpackage: warning: using a gain-root-command while being root dpkg-buildpackage: source package testdisk dpkg-buildpackage: source version 6.13-1 dpkg-buildpackage: source changed by Roland Stigge dpkg-source --before-build testdisk-6.13 dpkg-buildpackage: host architecture amd64 fakeroot debian/rules clean dh clean dh_testdir debian/rules override_dh_auto_clean make[1]: Entering directory `/«PKGBUILDDIR»' dh_auto_clean rm -f src/*.d make[1]: Leaving directory `/«PKGBUILDDIR»' dh_clean debian/rules build-arch dh build-arch dh_testdir -a debian/rules override_dh_auto_configure make[1]: Entering directory `/«PKGBUILDDIR»' dh_auto_configure -- --enable-sudo --with-sudo-bin=/usr/bin/sudo --with-ncurses-includes=/usr/include/ncursesw --without-ewf configure: WARNING: unrecognized options: --disable-maintainer-mode checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking 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 configure: WARNING: Could not find a windres tool in your PATH. checking whether make sets $(MAKE)... (cached) yes checking for pkg-config... no checking for windres... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking byteswap.h usability... yes checking byteswap.h presence... yes checking for byteswap.h... yes checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking cygwin/fs.h usability... no checking cygwin/fs.h presence... no checking for cygwin/fs.h... no checking cygwin/version.h usability... no checking cygwin/version.h presence... no checking for cygwin/version.h... no checking dal/file_dal.h usability... no checking dal/file_dal.h presence... no checking for dal/file_dal.h... no checking dal/file.h usability... no checking dal/file.h presence... no checking for dal/file.h... no checking ddk/ntddstor.h usability... no checking ddk/ntddstor.h presence... no checking for ddk/ntddstor.h... no checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking endian.h usability... yes checking endian.h presence... yes checking for endian.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking features.h usability... yes checking features.h presence... yes checking for features.h... yes checking giconv.h usability... no checking giconv.h presence... no checking for giconv.h... no checking glob.h usability... yes checking glob.h presence... yes checking for glob.h... yes checking iconv.h usability... yes checking iconv.h presence... yes checking for iconv.h... yes checking io.h usability... no checking io.h presence... no checking for io.h... no checking libgen.h usability... yes checking libgen.h presence... yes checking for libgen.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking linux/fs.h usability... yes checking linux/fs.h presence... yes checking for linux/fs.h... yes checking linux/hdreg.h usability... yes checking linux/hdreg.h presence... yes checking for linux/hdreg.h... yes checking linux/types.h usability... yes checking linux/types.h presence... yes checking for linux/types.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking machine/endian.h usability... no checking machine/endian.h presence... no checking for machine/endian.h... no checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking ncurses.h usability... yes checking ncurses.h presence... yes checking for ncurses.h... yes checking ncurses/curses.h usability... no checking ncurses/curses.h presence... no checking for ncurses/curses.h... no checking ncurses/ncurses.h usability... no checking ncurses/ncurses.h presence... no checking for ncurses/ncurses.h... no checking ncursesw/curses.h usability... yes checking ncursesw/curses.h presence... yes checking for ncursesw/curses.h... yes checking ncursesw/ncurses.h usability... yes checking ncursesw/ncurses.h presence... yes checking for ncursesw/ncurses.h... yes checking ntfs/version.h usability... yes checking ntfs/version.h presence... yes checking for ntfs/version.h... yes 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 configure: WARNING: Disable use of ewf library checking libewf.h presence... no checking for libewf.h... no checking jpeglib.h usability... yes checking jpeglib.h presence... yes checking for jpeglib.h... yes checking ntfs/attrib.h usability... yes checking ntfs/attrib.h presence... yes checking for ntfs/attrib.h... yes checking ntfs/volume.h usability... yes checking ntfs/volume.h presence... yes checking for ntfs/volume.h... yes checking ntfs-3g/attrib.h usability... no configure: WARNING: Disable use of ntfs3g library checking ntfs-3g/attrib.h presence... no checking for ntfs-3g/attrib.h... no checking ntfs-3g/volume.h usability... no configure: WARNING: Disable use of ntfs3g library checking ntfs-3g/volume.h presence... no checking for ntfs-3g/volume.h... no checking libcarvpath.h usability... no configure: WARNING: Disable use of carvpath library checking libcarvpath.h presence... no checking for libcarvpath.h... no 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 configure: WARNING: Missing function: MD5_Init in library libcrypto checking for MD5_Init in -lcrypto... no checking for ext2fs_open in -lext2fs... yes checking for com_err in -lcom_err... yes checking for ext2fs_get_generic_bitmap_start... yes configure: WARNING: Use of ntfs3g library disabled checking for jpeg_std_error in -ljpeg... yes checking for ntfs_device_mount in -lntfs... yes configure: WARNING: No reiserfs library detected checking for libreiserfs_get_version in -lreiserfs... no 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... yes 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 `/«PKGBUILDDIR»' dh_auto_build -a make[1]: Entering directory `/«PKGBUILDDIR»' make all-recursive make[2]: Entering directory `/«PKGBUILDDIR»' Making all in src make[3]: Entering directory `/«PKGBUILDDIR»/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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:1201:42: warning: comparison of integers of different signs: 'int' and 'const uint64_t' (aka 'const unsigned long') [-Wsign-compare] if(file_pread(disk, buf, count, offset)==offset) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ ~~~~~~ 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:1483:41: warning: cast from 'unsigned char *' to 'unsigned long *' increases required alignment from 1 to 8 [-Wcast-align] if(memcmp(buffer,"DOSEMU",6)==0 && *(unsigned long*)(buffer+11)>0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ hdaccess.c:1486:33: warning: cast from 'unsigned char *' to 'unsigned long *' increases required alignment from 1 to 8 [-Wcast-align] disk_car->geom.cylinders=*(unsigned long*)(buffer+15); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ hdaccess.c:1487:42: warning: cast from 'unsigned char *' to 'unsigned long *' increases required alignment from 1 to 8 [-Wcast-align] disk_car->geom.heads_per_cylinder=*(unsigned long*)(buffer+7); ^~~~~~~~~~~~~~~~~~~~~~~~~~ hdaccess.c:1488:40: warning: cast from 'unsigned char *' to 'unsigned long *' increases required alignment from 1 to 8 [-Wcast-align] disk_car->geom.sectors_per_head=*(unsigned long*)(buffer+11); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ hdaccess.c:1490:25: warning: cast from 'unsigned char *' to 'unsigned long *' increases required alignment from 1 to 8 [-Wcast-align] disk_car->offset=*(unsigned long*)(buffer+19); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 9 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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:97:47: warning: comparison of integers of different signs: 'int' and 'const unsigned int' [-Wsign-compare] if(cache_pread(disk, buffer, count, offset) == count) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~ 1 warning generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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:143:24: warning: cast from 'unsigned char *' to 'const uint16_t *' (aka 'const unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] const uint16_t *word=(const uint16_t*)(sb + 10); ^~~~~~~~~~~~~~~~~~~~~~~~~~ hpa_dco.c:198:18: warning: cast from 'unsigned char (*)[512]' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] uint16_t *word=(uint16_t*)&data; ^~~~~~~~~~~~~~~~ hpa_dco.c:269:26: warning: cast from 'unsigned char *' to 'const uint16_t *' (aka 'const unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] const uint16_t *id_val=(const uint16_t *) & id_args[4]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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 gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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 list.c:40:27: warning: cast from 'char *' to 'alloc_list_t *' (aka 'struct alloc_list_s *') increases required alignment from 1 to 8 [-Wcast-align] alloc_list_t *element=td_list_entry(tmp, alloc_list_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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: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) ^ 2 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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:271:15: warning: cast from 'const char *' to 'const struct gpt_ent *' increases required alignment from 1 to 8 [-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 from 'uint8_t const (*)[72]' to 'const uint16_t *' (aka 'const unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] UCSle2str(new_partition->partname, (const uint16_t *)&gpt_entry->ent_name, sizeof(gpt_entry->ent_name)/2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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: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: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) ^ 5 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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:109:7: warning: cast from 'unsigned char *' to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-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: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: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: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: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:296:68: warning: unused parameter 'partition' [-Wunused-parameter] static const char *get_partition_typename_humax(const partition_t *partition) ^ 11 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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:119:26: warning: cast from 'unsigned char (*)[512]' to 'mac_Block0 *' (aka 'struct Block0 *') increases required alignment from 1 to 4 [-Wcast-align] mac_Block0 *maclabel=(mac_Block0*)&buffer; ^~~~~~~~~~~~~~~~~~~~ partmac.c:129:20: warning: cast from 'unsigned char *' to 'mac_DPME *' (aka 'struct dpme *') increases required alignment from 1 to 8 [-Wcast-align] mac_DPME *dpme=(mac_DPME *)buffer; ^~~~~~~~~~~~~~~~~~ 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: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: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: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) ^ 9 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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:114:33: warning: cast from 'const unsigned char *' to 'const sun_disklabel *' increases required alignment from 1 to 4 [-Wcast-align] const sun_disklabel *sunlabel=(const sun_disklabel*)buffer; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ partsun.c:137:12: warning: cast from 'unsigned char *' to 'sun_disklabel *' increases required alignment from 1 to 4 [-Wcast-align] sunlabel=(sun_disklabel*)buffer; ^~~~~~~~~~~~~~~~~~~~~~ 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: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: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) ^ 8 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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: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: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:299:45: warning: unused parameter 'list_part' [-Wunused-parameter] static int test_structure_none(list_part_t *list_part) ^ partnone.c:310:50: warning: unused parameter 'partition' [-Wunused-parameter] static int is_part_known_none(const partition_t *partition) ^ 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: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) ^ 9 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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: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: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: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) ^ 7 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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:224:49: warning: comparison of integers of different signs: 'int' and 'const unsigned int' [-Wsign-compare] if(io_redir_pread(disk, buffer, count, offset)==count) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ ~~~~~ 1 warning generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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: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) ^ 5 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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:47:11: warning: assigning to 'char *' from 'const char [14]' discards qualifiers [-Wincompatible-pointer-types] argv2[0]=SUDO_BIN; ^~~~~~~~~ 1 warning generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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:141:23: warning: cast from 'const unsigned char *' to 'const pv_disk_v2_t *' increases required alignment from 1 to 4 [-Wcast-align] const pv_disk_t *pv=(const pv_disk_t *)buffer; ^~~~~~~~~~~~~~~~~~~~~~~~~ analyse.c:143:44: warning: cast from 'const unsigned char *' to 'const struct disk_netware *' increases required alignment from 1 to 4 [-Wcast-align] const struct disk_netware *netware_block=(const struct disk_netware *)buffer; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analyse.c:146:32: warning: cast from 'const unsigned char *' to 'const struct luks_phdr *' increases required alignment from 1 to 4 [-Wcast-align] const struct luks_phdr *luks=(const struct luks_phdr *)buffer; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analyse.c:147:38: warning: cast from 'const unsigned char *' to 'const struct mdp_superblock_1 *' increases required alignment from 1 to 8 [-Wcast-align] const struct mdp_superblock_1 *sb1=(const struct mdp_superblock_1 *)buffer; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analyse.c:150:40: warning: cast from 'const unsigned char *' to 'const union swap_header *' increases required alignment from 1 to 4 [-Wcast-align] const union swap_header *swap_header=(const union swap_header *)buffer; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analyse.c:199:24: warning: cast from 'const unsigned char *' to 'const struct mdp_superblock_s *' increases required alignment from 1 to 4 [-Wcast-align] recover_MD(disk, (const struct mdp_superblock_s*)buffer, partition, verbose, dump_ind)==0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analyse.c:214:38: warning: cast from 'const unsigned char *' to 'const struct disklabel *' increases required alignment from 1 to 4 [-Wcast-align] const struct disklabel *bsd_header=(const struct disklabel *)(buffer+0x200); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analyse.c:215:44: warning: cast from 'const unsigned char *' to 'const struct disk_super_block *' increases required alignment from 1 to 8 [-Wcast-align] const struct disk_super_block*beos_block=(const struct disk_super_block*)(buffer+0x200); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analyse.c:216:37: warning: cast from 'const unsigned char *' to 'const struct cramfs_super *' increases required alignment from 1 to 4 [-Wcast-align] const struct cramfs_super *cramfs=(const struct cramfs_super *)(buffer+0x200); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analyse.c:254:28: warning: cast from 'const unsigned char *' to 'const struct hfsp_vh *' increases required alignment from 1 to 8 [-Wcast-align] const struct hfsp_vh *vh=(const struct hfsp_vh *)(buffer+0x400); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analyse.c:255:37: warning: cast from 'const unsigned char *' to 'const struct ext2_super_block *' increases required alignment from 1 to 4 [-Wcast-align] const struct ext2_super_block *sb=(const struct ext2_super_block*)(buffer+0x400); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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:49:25: warning: cast from 'unsigned char *' to 'struct disk_super_block *' increases required alignment from 1 to 8 [-Wcast-align] if(test_BeFS(disk_car,(struct disk_super_block*)buffer,partition,0)!=0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bfs.c:54:17: warning: cast from 'unsigned char *' to 'struct disk_super_block *' increases required alignment from 1 to 8 [-Wcast-align] set_BeFS_info((struct disk_super_block*)buffer, partition); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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:47:24: warning: cast from 'unsigned char *' to 'const struct disklabel *' increases required alignment from 1 to 4 [-Wcast-align] if(test_BSD(disk_car,(const struct disklabel*)buffer,partition,verbose,0,max_partitions)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bsd.c:52:28: warning: cast from 'unsigned char *' to 'const struct disklabel *' increases required alignment from 1 to 4 [-Wcast-align] set_part_name(partition,((const struct disklabel*)buffer)->d_packname,16); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 1 warning generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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:51:28: warning: cast from 'unsigned char *' to 'struct cramfs_super *' increases required alignment from 1 to 4 [-Wcast-align] if(test_cramfs(disk_car, (struct cramfs_super*)buffer, partition, verbose)==0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ cramfs.c:53:21: warning: cast from 'unsigned char *' to 'struct cramfs_super *' increases required alignment from 1 to 4 [-Wcast-align] set_cramfs_info((struct cramfs_super*)buffer, partition); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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 fat.c:255:32: warning: cast from 'unsigned char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] next_cluster=le16((*((uint16_t*)&buffer[offset_o])))>>4; ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./common.h:438:19: note: expanded from macro 'le16' #define le16(x) (x) /* x as little endian */ ^ fat.c:257:31: warning: cast from 'unsigned char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] next_cluster=le16(*((uint16_t*)&buffer[offset_o]))&0x0FFF; ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./common.h:438:19: note: expanded from macro 'le16' #define le16(x) (x) /* x as little endian */ ^ fat.c:265:29: warning: cast from 'unsigned char *' to 'const uint16_t *' (aka 'const unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] const uint16_t *p16=(const uint16_t*)buffer; ^~~~~~~~~~~~~~~~~~~~~~~ fat.c:283:29: warning: cast from 'unsigned char *' to 'const uint32_t *' (aka 'const unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] const uint32_t *p32=(const uint32_t*)buffer; ^~~~~~~~~~~~~~~~~~~~~~~ fat.c:347:12: warning: cast from 'unsigned char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] (*((uint16_t*)&buffer[offset_o]))=le16((next_cluster<<4) | (le16(*((uint16_t*)&buffer[offset_o]))&0xF)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ fat.c:347:76: warning: cast from 'unsigned char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] (*((uint16_t*)&buffer[offset_o]))=le16((next_cluster<<4) | (le16(*((uint16_t*)&buffer[offset_o]))&0xF)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./common.h:438:19: note: expanded from macro 'le16' #define le16(x) (x) /* x as little endian */ ^ ./common.h:438:19: note: expanded from macro 'le16' #define le16(x) (x) /* x as little endian */ ^ fat.c:349:12: warning: cast from 'unsigned char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] (*((uint16_t*)&buffer[offset_o]))=le16((next_cluster) | (le16(*((uint16_t*)&buffer[offset_o]))&0xF000)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ fat.c:349:74: warning: cast from 'unsigned char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] (*((uint16_t*)&buffer[offset_o]))=le16((next_cluster) | (le16(*((uint16_t*)&buffer[offset_o]))&0xF000)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./common.h:438:19: note: expanded from macro 'le16' #define le16(x) (x) /* x as little endian */ ^ ./common.h:438:19: note: expanded from macro 'le16' #define le16(x) (x) /* x as little endian */ ^ fat.c:353:23: warning: cast from 'unsigned char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] uint16_t *p16=(uint16_t*)buffer; ^~~~~~~~~~~~~~~~~ fat.c:359:23: warning: cast from 'unsigned char *' to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] uint32_t *p32=(uint32_t*)buffer; ^~~~~~~~~~~~~~~~~ fat.c:387:7: warning: cast from 'unsigned char *' to 'const uint32_t *' (aka 'const unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] p32=(const uint32_t*)buffer; ^~~~~~~~~~~~~~~~~~~~~~~ fat.c:1024:7: warning: cast from 'unsigned char *' to 'const uint32_t *' (aka 'const unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] p32=(const uint32_t*)buffer; ^~~~~~~~~~~~~~~~~~~~~~~ 12 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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:51:16: warning: cast from 'unsigned char *' to 'struct ext2_super_block *' increases required alignment from 1 to 4 [-Wcast-align] if(test_EXT2((struct ext2_super_block*)buffer, partition)!=0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ext2.c:56:17: warning: cast from 'unsigned char *' to 'struct ext2_super_block *' increases required alignment from 1 to 4 [-Wcast-align] set_EXT2_info((struct ext2_super_block*)buffer, partition, verbose); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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:51:25: warning: cast from 'unsigned char *' to 'struct jfs_superblock *' increases required alignment from 1 to 8 [-Wcast-align] if(test_JFS(disk_car, (struct jfs_superblock*)buffer, partition,0)!=0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jfs.c:56:16: warning: cast from 'unsigned char *' to 'struct jfs_superblock *' increases required alignment from 1 to 8 [-Wcast-align] set_JFS_info((struct jfs_superblock*)buffer, partition); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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:37:48: warning: unused parameter 'sb' [-Wunused-parameter] static int set_gfs2_info(const struct gfs2_sb *sb, partition_t *partition) ^ gfs2.c:70:22: warning: cast from 'unsigned char *' to 'const struct gfs2_sb *' increases required alignment from 1 to 8 [-Wcast-align] if(test_gfs2(disk, (const struct gfs2_sb *)buffer, partition,0)!=0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gfs2.c:75:17: warning: cast from 'unsigned char *' to 'const struct gfs2_sb *' increases required alignment from 1 to 8 [-Wcast-align] set_gfs2_info((const struct gfs2_sb *)buffer, partition); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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:49:25: warning: cast from 'unsigned char *' to 'struct hfsp_vh *' increases required alignment from 1 to 8 [-Wcast-align] if(test_HFSP(disk_car,(struct hfsp_vh *)buffer,partition,verbose,0)!=0) ^~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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:50:26: warning: cast from 'unsigned char *' to 'struct luks_phdr *' increases required alignment from 1 to 4 [-Wcast-align] if(test_LUKS(disk_car, (struct luks_phdr*)buffer, partition, 0)!=0) ^~~~~~~~~~~~~~~~~~~~~~~~~ luks.c:55:17: warning: cast from 'unsigned char *' to 'struct luks_phdr *' increases required alignment from 1 to 4 [-Wcast-align] set_LUKS_info((struct luks_phdr*)buffer, partition); ^~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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:54:24: warning: cast from 'unsigned char *' to 'pv_disk_v2_t *' increases required alignment from 1 to 4 [-Wcast-align] if(test_LVM(disk_car,(pv_disk_t *)buffer,partition,verbose,0)!=0) ^~~~~~~~~~~~~~~~~~~ 1 warning generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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:49:40: warning: cast from 'unsigned char *' to 'const struct mdp_superblock_1 *' increases required alignment from 1 to 8 [-Wcast-align] const struct mdp_superblock_1 *sb1=(const struct mdp_superblock_1 *)buffer; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ md.c:53:20: warning: cast from 'unsigned char *' to 'struct mdp_superblock_s *' increases required alignment from 1 to 4 [-Wcast-align] test_MD(disk_car, (struct mdp_superblock_s*)buffer, partition, 0)==0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ md.c:56:19: warning: cast from 'unsigned char *' to 'struct mdp_superblock_s *' increases required alignment from 1 to 4 [-Wcast-align] set_MD_info((struct mdp_superblock_s*)buffer, partition, verbose); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ md.c:63:30: warning: cast from 'unsigned char *' to 'struct mdp_superblock_s *' increases required alignment from 1 to 4 [-Wcast-align] test_MD_be(disk_car, (struct mdp_superblock_s*)buffer, partition, 0)==0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ md.c:66:22: warning: cast from 'unsigned char *' to 'struct mdp_superblock_s *' increases required alignment from 1 to 4 [-Wcast-align] set_MD_info_be((struct mdp_superblock_s*)buffer, partition, verbose); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ md.c:74:40: warning: cast from 'unsigned char *' to 'const struct mdp_superblock_1 *' increases required alignment from 1 to 8 [-Wcast-align] const struct mdp_superblock_1 *sb1=(const struct mdp_superblock_1 *)buffer; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ md.c:78:27: warning: cast from 'unsigned char *' to 'struct mdp_superblock_s *' increases required alignment from 1 to 4 [-Wcast-align] test_MD(disk_car, (struct mdp_superblock_s*)buffer, partition, 0)==0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ md.c:81:19: warning: cast from 'unsigned char *' to 'struct mdp_superblock_s *' increases required alignment from 1 to 4 [-Wcast-align] set_MD_info((struct mdp_superblock_s*)buffer, partition, verbose); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ md.c:88:30: warning: cast from 'unsigned char *' to 'struct mdp_superblock_s *' increases required alignment from 1 to 4 [-Wcast-align] test_MD_be(disk_car, (struct mdp_superblock_s*)buffer, partition, 0)==0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ md.c:91:22: warning: cast from 'unsigned char *' to 'struct mdp_superblock_s *' increases required alignment from 1 to 4 [-Wcast-align] set_MD_info_be((struct mdp_superblock_s*)buffer, partition, verbose); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ md.c:98:39: warning: cast from 'unsigned char *' to 'const struct mdp_superblock_s *' increases required alignment from 1 to 4 [-Wcast-align] const struct mdp_superblock_s *sb=(const struct mdp_superblock_s *)buffer; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ md.c:108:22: warning: cast from 'unsigned char *' to 'struct mdp_superblock_s *' increases required alignment from 1 to 4 [-Wcast-align] test_MD(disk_car, (struct mdp_superblock_s*)buffer, partition, 0)==0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ md.c:111:21: warning: cast from 'unsigned char *' to 'struct mdp_superblock_s *' increases required alignment from 1 to 4 [-Wcast-align] set_MD_info((struct mdp_superblock_s*)buffer, partition, verbose); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ md.c:117:25: warning: cast from 'unsigned char *' to 'struct mdp_superblock_s *' increases required alignment from 1 to 4 [-Wcast-align] test_MD_be(disk_car, (struct mdp_superblock_s*)buffer, partition, 0)==0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ md.c:120:24: warning: cast from 'unsigned char *' to 'struct mdp_superblock_s *' increases required alignment from 1 to 4 [-Wcast-align] set_MD_info_be((struct mdp_superblock_s*)buffer, partition, verbose); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ md.c:136:42: warning: cast from 'unsigned char *' to 'const struct mdp_superblock_1 *' increases required alignment from 1 to 8 [-Wcast-align] const struct mdp_superblock_1 *sb1=(const struct mdp_superblock_1 *)buffer; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ md.c:140:29: warning: cast from 'unsigned char *' to 'struct mdp_superblock_s *' increases required alignment from 1 to 4 [-Wcast-align] test_MD(disk_car, (struct mdp_superblock_s*)buffer, partition, 0)==0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ md.c:143:21: warning: cast from 'unsigned char *' to 'struct mdp_superblock_s *' increases required alignment from 1 to 4 [-Wcast-align] set_MD_info((struct mdp_superblock_s*)buffer, partition, verbose); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ md.c:150:32: warning: cast from 'unsigned char *' to 'struct mdp_superblock_s *' increases required alignment from 1 to 4 [-Wcast-align] test_MD_be(disk_car, (struct mdp_superblock_s*)buffer, partition, 0)==0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ md.c:153:24: warning: cast from 'unsigned char *' to 'struct mdp_superblock_s *' increases required alignment from 1 to 4 [-Wcast-align] set_MD_info_be((struct mdp_superblock_s*)buffer, partition, verbose); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ md.c:171:30: warning: cast from 'unsigned char *' to 'struct mdp_superblock_s *' increases required alignment from 1 to 4 [-Wcast-align] if(recover_MD(disk_car,(struct mdp_superblock_s*)buffer,partition,verbose,0)==0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ md.c:184:42: warning: cast from 'unsigned char *' to 'const struct mdp_superblock_1 *' increases required alignment from 1 to 8 [-Wcast-align] const struct mdp_superblock_1 *sb1=(const struct mdp_superblock_1 *)buffer; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ md.c:186:31: warning: cast from 'unsigned char *' to 'struct mdp_superblock_s *' increases required alignment from 1 to 4 [-Wcast-align] recover_MD(disk_car,(struct mdp_superblock_s*)buffer,partition,verbose,0)==0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ md.c:215:42: warning: cast from 'const struct mdp_superblock_s *' to 'const struct mdp_superblock_1 *' increases required alignment from 4 to 8 [-Wcast-align] const struct mdp_superblock_1 *sb1=(const struct mdp_superblock_1 *)sb; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ md.c:235:42: warning: cast from 'const struct mdp_superblock_s *' to 'const struct mdp_superblock_1 *' increases required alignment from 4 to 8 [-Wcast-align] const struct mdp_superblock_1 *sb1=(const struct mdp_superblock_1 *)sb; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ md.c:274:40: warning: cast from 'const struct mdp_superblock_s *' to 'const struct mdp_superblock_1 *' increases required alignment from 4 to 8 [-Wcast-align] const struct mdp_superblock_1 *sb1=(const struct mdp_superblock_1 *)sb; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ md.c:337:40: warning: cast from 'const struct mdp_superblock_s *' to 'const struct mdp_superblock_1 *' increases required alignment from 4 to 8 [-Wcast-align] const struct mdp_superblock_1 *sb1=(const struct mdp_superblock_1 *)sb; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 27 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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:55:19: warning: cast from 'unsigned char *' to 'const struct disk_netware *' increases required alignment from 1 to 4 [-Wcast-align] if(test_netware((const struct disk_netware *)buffer, partition)!=0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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 ntfs.c:193:6: warning: cast from 'const char *' to 'const uint16_t *' (aka 'const unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] if(NTFS_GETU16(mft_record + 0x14)%8!=0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ntfs.h:67:35: note: expanded from macro 'NTFS_GETU16' #define NTFS_GETU16(p) (le16(*(const uint16_t*)(p))) ^ ./common.h:438:19: note: expanded from macro 'le16' #define le16(x) (x) /* x as little endian */ ^ ntfs.c:195:6: warning: cast from 'const char *' to 'const uint16_t *' (aka 'const unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] if(NTFS_GETU16(mft_record + 0x14)<42) /* sizeof(MFT_RECORD)>=42 */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ntfs.h:67:35: note: expanded from macro 'NTFS_GETU16' #define NTFS_GETU16(p) (le16(*(const uint16_t*)(p))) ^ ./common.h:438:19: note: expanded from macro 'le16' #define le16(x) (x) /* x as little endian */ ^ ntfs.c:201:29: warning: cast from 'const char *' to 'const uint16_t *' (aka 'const unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] attr_record= mft_record + NTFS_GETU16(mft_record + 0x14); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ntfs.h:67:35: note: expanded from macro 'NTFS_GETU16' #define NTFS_GETU16(p) (le16(*(const uint16_t*)(p))) ^ ./common.h:438:19: note: expanded from macro 'le16' #define le16(x) (x) /* x as little endian */ ^ ntfs.c:220:15: warning: cast from 'const char *' to 'const uint32_t *' (aka 'const unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] attr_type=NTFS_GETU32(attr_record); ^~~~~~~~~~~~~~~~~~~~~~~~ ./ntfs.h:68:35: note: expanded from macro 'NTFS_GETU32' #define NTFS_GETU32(p) (le32(*(const uint32_t*)(p))) ^ ./common.h:442:19: note: expanded from macro 'le32' #define le32(x) (x) ^ ntfs.c:223:14: warning: cast from 'const char *' to 'const uint16_t *' (aka 'const unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] attr_len=NTFS_GETU16(attr_record+4); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./ntfs.h:67:35: note: expanded from macro 'NTFS_GETU16' #define NTFS_GETU16(p) (le16(*(const uint16_t*)(p))) ^ ./common.h:438:19: note: expanded from macro 'le16' #define le16(x) (x) /* x as little endian */ ^ ntfs.c:239:38: warning: cast from 'const char *' to 'const uint16_t *' (aka 'const unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] unsigned int attr_value_length=NTFS_GETU16(attr_record+0x10); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ntfs.h:67:35: note: expanded from macro 'NTFS_GETU16' #define NTFS_GETU16(p) (le16(*(const uint16_t*)(p))) ^ ./common.h:438:19: note: expanded from macro 'le16' #define le16(x) (x) /* x as little endian */ ^ ntfs.c:240:38: warning: cast from 'const char *' to 'const uint16_t *' (aka 'const unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] unsigned int attr_value_offset=NTFS_GETU16(attr_record+0x14); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ntfs.h:67:35: note: expanded from macro 'NTFS_GETU16' #define NTFS_GETU16(p) (le16(*(const uint16_t*)(p))) ^ ./common.h:438:19: note: expanded from macro 'le16' #define le16(x) (x) /* x as little endian */ ^ ntfs.c:317:20: warning: cast from 'const char *' to 'const uint32_t *' (aka 'const unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] return NTFS_GETU32(attr_td_list_entry+8); /* index_block_size */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ntfs.h:68:35: note: expanded from macro 'NTFS_GETU32' #define NTFS_GETU32(p) (le32(*(const uint32_t*)(p))) ^ ./common.h:442:19: note: expanded from macro 'le32' #define le32(x) (x) ^ ntfs.c:336:29: warning: cast from 'const char *' to 'const uint16_t *' (aka 'const unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] mapping_pairs_offset=NTFS_GETU16(attr_record+32); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ntfs.h:67:35: note: expanded from macro 'NTFS_GETU16' #define NTFS_GETU16(p) (le16(*(const uint16_t*)(p))) ^ ./common.h:438:19: note: expanded from macro 'le16' #define le16(x) (x) /* x as little endian */ ^ ntfs.c:434:19: warning: cast from 'char *' to 'const uint32_t *' (aka 'const unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] if((res>0)|| (NTFS_GETU32(attr + 0x1C)<0x30)) ^~~~~~~~~~~~~~~~~~~~~~~~ ./ntfs.h:68:35: note: expanded from macro 'NTFS_GETU32' #define NTFS_GETU32(p) (le32(*(const uint32_t*)(p))) ^ ./common.h:442:19: note: expanded from macro 'le32' #define le32(x) (x) ^ ntfs.c:439:12: warning: cast from 'char *' to 'const uint32_t *' (aka 'const unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] attr+= NTFS_GETU32(attr + 0x1C); ^~~~~~~~~~~~~~~~~~~~~~~~ ./ntfs.h:68:35: note: expanded from macro 'NTFS_GETU32' #define NTFS_GETU32(p) (le32(*(const uint32_t*)(p))) ^ ./common.h:442:19: note: expanded from macro 'le32' #define le32(x) (x) ^ 11 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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:47:22: warning: cast from 'unsigned char *' to 'union swap_header *' increases required alignment from 1 to 4 [-Wcast-align] if(test_Linux_SWAP((union swap_header*)buffer, partition)!=0) ^~~~~~~~~~~~~~~~~~~~~~~~~~ swap.c:52:23: warning: cast from 'unsigned char *' to 'union swap_header *' increases required alignment from 1 to 4 [-Wcast-align] set_Linux_SWAP_info((union swap_header*)buffer,partition); ^~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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:50:21: warning: cast from 'unsigned char *' to 'struct vdev_boot_header *' increases required alignment from 1 to 8 [-Wcast-align] if(test_ZFS(disk, (struct vdev_boot_header*)buffer, partition, 0)!=0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ zfs.c:55:16: warning: cast from 'unsigned char *' to 'struct vdev_boot_header *' increases required alignment from 1 to 8 [-Wcast-align] set_ZFS_info((struct vdev_boot_header*)buffer, partition); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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 askloc.c:310:25: warning: cast from 'char *' to 'file_info_t *' increases required alignment from 1 to 8 [-Wcast-align] file_info=td_list_entry(file_walker, file_info_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ askloc.c:334:21: warning: format string is not a string literal [-Wformat-nonliteral] aff_txt(2, window, msg, src_dir); ^~~ askloc.c:481:13: warning: cast from 'char *' to 'file_info_t *' increases required alignment from 1 to 8 [-Wcast-align] file_info=td_list_entry(current_file, file_info_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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 gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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:83:31: warning: cast from 'unsigned char *' to 'struct ext2_super_block *' increases required alignment from 1 to 4 [-Wcast-align] struct ext2_super_block *sb=(struct ext2_super_block *)buffer; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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:657:16: warning: cast from 'unsigned char *' to 'struct msdos_dir_entry *' increases required alignment from 1 to 4 [-Wcast-align] file2entry((struct msdos_dir_entry*)buffer+current_entry,current_file); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fat_adv.c:1428:25: warning: cast from 'const unsigned char *' to 'const uint16_t *' (aka 'const unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] const uint16_t *p16=(const uint16_t*)buffer; ^~~~~~~~~~~~~~~~~~~~~~~ fat_adv.c:1488:25: warning: cast from 'const unsigned char *' to 'const uint32_t *' (aka 'const unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] const uint32_t *p32=(const uint32_t*)buffer; ^~~~~~~~~~~~~~~~~~~~~~~ fat_adv.c:2589:27: warning: cast from 'unsigned char *' to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] uint32_t *p32=(uint32_t*)buffer_fat[fat_nbr]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fat_adv.c:2603:27: warning: cast from 'unsigned char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] uint16_t *p16=(uint16_t*)buffer_fat[fat_nbr]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fat_adv.c:2614:36: warning: cast from 'unsigned char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] next_cluster=le16((*((uint16_t*)&buffer_fat[fat_nbr][offset_o])))>>4; ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./common.h:438:19: note: expanded from macro 'le16' #define le16(x) (x) /* x as little endian */ ^ fat_adv.c:2616:35: warning: cast from 'unsigned char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] next_cluster=le16(*((uint16_t*)&buffer_fat[fat_nbr][offset_o]))&0x0FFF; ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./common.h:438:19: note: expanded from macro 'le16' #define le16(x) (x) /* x as little endian */ ^ fat_adv.c:2620:19: warning: cast from 'unsigned char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] *((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:2620:91: warning: cast from 'unsigned char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-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: expanded from macro 'le16' #define le16(x) (x) /* x as little endian */ ^ ./common.h:438:19: note: expanded from macro 'le16' #define le16(x) (x) /* x as little endian */ ^ fat_adv.c:2622:19: warning: cast from 'unsigned char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] *((uint16_t*)&buffer_fat[fat_nbr][offset_o])=le16(FAT12_EOC |(le16((*((uint16_t*)&buffer_fat[fat_nbr][offset_o])))&0xF000)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fat_adv.c:2622:91: warning: cast from 'unsigned char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-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: expanded from macro 'le16' #define le16(x) (x) /* x as little endian */ ^ ./common.h:438:19: note: expanded from macro 'le16' #define le16(x) (x) /* x as little endian */ ^ 11 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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:317:53: warning: comparison of integers of different signs: 'const int' and 'unsigned int' [-Wsign-compare] if(y_old==y_real && x_old <= x_real && x_real < x+(lenName < itemLength?itemLength:lenName) + MENU_SPACING) ~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ intrfn.c:604:14: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] if(nbr_line<=DUMP_MAX_LINES) ~~~~~~~~^ ~~~~~~~~~~~~~~ intrfn.c:615:39: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] for (i=pos; (iDUMP_MAX_LINES-1) ~~~^~~~~~~~~~~~~~~~~ intrfn.c:714:14: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] if(nbr_line<=DUMP_MAX_LINES) ~~~~~~~~^ ~~~~~~~~~~~~~~ intrfn.c:721:39: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] for (i=pos; (iDUMP_MAX_LINES-1) ~~~^~~~~~~~~~~~~~~~~ 7 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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:369:20: warning: cast from 'const char *' to 'const uint32_t *' (aka 'const unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] *mft_record_size=NTFS_GETU32(attr + 0x1C); ^~~~~~~~~~~~~~~~~~~~~~~~ ./ntfs.h:68:35: note: expanded from macro 'NTFS_GETU32' #define NTFS_GETU32(p) (le32(*(const uint32_t*)(p))) ^ ./common.h:442:19: note: expanded from macro 'le32' #define le32(x) (x) ^ ntfs_adv.c:376:10: warning: cast from 'const char *' to 'const uint32_t *' (aka 'const unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] attr+= NTFS_GETU32(attr + 0x1C); ^~~~~~~~~~~~~~~~~~~~~~~~ ./ntfs.h:68:35: note: expanded from macro 'NTFS_GETU32' #define NTFS_GETU32(p) (le32(*(const uint32_t*)(p))) ^ ./common.h:442:19: note: expanded from macro 'le32' #define le32(x) (x) ^ ntfs_adv.c:480:41: warning: cast from 'char *' to 'const uint16_t *' (aka 'const unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] if(memcmp(buffer,"FILE",4)==0 && (NTFS_GETU16(buffer+ 0x14)%8==0) && (NTFS_GETU16(buffer+ 0x14)>=42) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ntfs.h:67:35: note: expanded from macro 'NTFS_GETU16' #define NTFS_GETU16(p) (le16(*(const uint16_t*)(p))) ^ ./common.h:438:19: note: expanded from macro 'le16' #define le16(x) (x) /* x as little endian */ ^ ntfs_adv.c:480:77: warning: cast from 'char *' to 'const uint16_t *' (aka 'const unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] if(memcmp(buffer,"FILE",4)==0 && (NTFS_GETU16(buffer+ 0x14)%8==0) && (NTFS_GETU16(buffer+ 0x14)>=42) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ntfs.h:67:35: note: expanded from macro 'NTFS_GETU16' #define NTFS_GETU16(p) (le16(*(const uint16_t*)(p))) ^ ./common.h:438:19: note: expanded from macro 'le16' #define le16(x) (x) /* x as little endian */ ^ ntfs_adv.c:481:7: warning: cast from 'char *' to 'const uint16_t *' (aka 'const unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] &&(NTFS_GETU16(buffer+22)==1)) /* MFT_RECORD_IN_USE */ ^~~~~~~~~~~~~~~~~~~~~~ ./ntfs.h:67:35: note: expanded from macro 'NTFS_GETU16' #define NTFS_GETU16(p) (le16(*(const uint16_t*)(p))) ^ ./common.h:438:19: note: expanded from macro 'le16' #define le16(x) (x) /* x as little endian */ ^ ntfs_adv.c:488:112: warning: cast from 'char *' to 'const uint32_t *' (aka 'const unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 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); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./log.h:56:72: note: expanded from macro 'log_info' #define log_info(FORMAT, ARGS...) log_redirect(LOG_LEVEL_INFO,FORMAT,##ARGS) ^ ./ntfs.h:68:35: note: expanded from macro 'NTFS_GETU32' #define NTFS_GETU32(p) (le32(*(const uint32_t*)(p))) ^ ./common.h:442:19: note: expanded from macro 'le32' #define le32(x) (x) ^ ntfs_adv.c:535:41: warning: cast from 'char *' to 'const uint16_t *' (aka 'const unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] if(memcmp(buffer,"FILE",4)==0 && (NTFS_GETU16(buffer+ 0x14)%8==0) && (NTFS_GETU16(buffer+ 0x14)>=42)) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ntfs.h:67:35: note: expanded from macro 'NTFS_GETU16' #define NTFS_GETU16(p) (le16(*(const uint16_t*)(p))) ^ ./common.h:438:19: note: expanded from macro 'le16' #define le16(x) (x) /* x as little endian */ ^ ntfs_adv.c:535:77: warning: cast from 'char *' to 'const uint16_t *' (aka 'const unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] if(memcmp(buffer,"FILE",4)==0 && (NTFS_GETU16(buffer+ 0x14)%8==0) && (NTFS_GETU16(buffer+ 0x14)>=42)) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ntfs.h:67:35: note: expanded from macro 'NTFS_GETU16' #define NTFS_GETU16(p) (le16(*(const uint16_t*)(p))) ^ ./common.h:438:19: note: expanded from macro 'le16' #define le16(x) (x) /* x as little endian */ ^ ntfs_adv.c:542:112: warning: cast from 'char *' to 'const uint32_t *' (aka 'const unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] 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); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./log.h:56:72: note: expanded from macro 'log_info' #define log_info(FORMAT, ARGS...) log_redirect(LOG_LEVEL_INFO,FORMAT,##ARGS) ^ ./ntfs.h:68:35: note: expanded from macro 'NTFS_GETU32' #define NTFS_GETU32(p) (le32(*(const uint32_t*)(p))) ^ ./common.h:442:19: note: expanded from macro 'le32' #define le32(x) (x) ^ 9 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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 ntfs_udl.c:203:26: warning: cast from 'char *' to 'struct filename *' increases required alignment from 1 to 8 [-Wcast-align] struct filename *f = td_list_entry(item, struct filename, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntfs_udl.c:210:22: warning: cast from 'char *' to 'struct data *' increases required alignment from 1 to 8 [-Wcast-align] struct data *d = td_list_entry(item, struct data, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntfs_udl.c:494:22: warning: cast from 'char *' to 'ntfschar *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] data->uname = (ntfschar *) ((char *) rec + le16_to_cpu(rec->name_offset)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntfs_udl.c:651:11: warning: cast from 'char *' to 'struct data *' increases required alignment from 1 to 8 [-Wcast-align] data = td_list_entry(pos, struct data, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntfs_udl.c:917:20: warning: cast from 'char *' to 'struct data *' increases required alignment from 1 to 8 [-Wcast-align] struct data *d = td_list_entry(item, struct data, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntfs_udl.c:1194:33: warning: cast from 'char *' to 'struct data *' increases required alignment from 1 to 8 [-Wcast-align] const struct data *d = td_list_entry(item, struct data, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntfs_udl.c:1247:14: warning: cast from 'char *' to 'file_info_t *' increases required alignment from 1 to 8 [-Wcast-align] file_info=td_list_entry(file_walker, file_info_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntfs_udl.c:1394:16: warning: cast from 'char *' to 'file_info_t *' increases required alignment from 1 to 8 [-Wcast-align] file_info=td_list_entry(current_file, file_info_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntfs_udl.c:1398:18: warning: cast from 'char *' to 'file_info_t *' increases required alignment from 1 to 8 [-Wcast-align] file_info=td_list_entry(file_walker, file_info_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntfs_udl.c:1407:16: warning: cast from 'char *' to 'file_info_t *' increases required alignment from 1 to 8 [-Wcast-align] file_info=td_list_entry(current_file, file_info_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntfs_udl.c:1419:16: warning: cast from 'char *' to 'file_info_t *' increases required alignment from 1 to 8 [-Wcast-align] file_info=td_list_entry(current_file, file_info_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntfs_udl.c:1491:18: warning: cast from 'char *' to 'file_info_t *' increases required alignment from 1 to 8 [-Wcast-align] file_info=td_list_entry(file_walker, file_info_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 12 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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:118:87: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-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 of integers of different signs: 'int' and 'unsigned int' [-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 of integers of different signs: 'int' and 'unsigned int' [-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 of integers of different signs: 'int' and 'unsigned int' [-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) ^ 5 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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:124:34: warning: cast from 'unsigned char *' to 'const struct hfsp_vh *' increases required alignment from 1 to 8 [-Wcast-align] else if(test_HFSP(disk_car,(const struct hfsp_vh*)buffer_bs,partition,verbose,0)==0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ thfs.c:144:34: warning: cast from 'unsigned char *' to 'const struct hfsp_vh *' increases required alignment from 1 to 8 [-Wcast-align] else if(test_HFSP(disk_car,(const struct hfsp_vh*)buffer_backup_bs,partition,verbose,0)==0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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 tload.c:102:9: warning: cast from 'char *' to 'backup_disk_t *' increases required alignment from 1 to 8 [-Wcast-align] backup=td_list_entry(backup_walker, backup_disk_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tload.c:205:12: warning: cast from 'char *' to 'backup_disk_t *' increases required alignment from 1 to 8 [-Wcast-align] backup=td_list_entry(backup_walker, backup_disk_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tload.c:217:12: warning: cast from 'char *' to 'backup_disk_t *' increases required alignment from 1 to 8 [-Wcast-align] backup=td_list_entry(backup_current, backup_disk_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tload.c:230:14: warning: cast from 'char *' to 'backup_disk_t *' increases required alignment from 1 to 8 [-Wcast-align] backup=td_list_entry(backup_walker, backup_disk_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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 dir.c:222:18: warning: cast from 'char *' to 'file_info_t *' increases required alignment from 1 to 8 [-Wcast-align] current_file=td_list_entry(tmp, file_info_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dir.c:279:15: warning: cast from 'char *' to 'file_info_t *' increases required alignment from 1 to 8 [-Wcast-align] file_info=td_list_entry(file_walker, file_info_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dir.c:343:29: warning: cast from 'char *' to 'file_info_t *' increases required alignment from 1 to 8 [-Wcast-align] const file_info_t *file_a=td_list_entry(a, file_info_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dir.c:344:29: warning: cast from 'char *' to 'file_info_t *' increases required alignment from 1 to 8 [-Wcast-align] const file_info_t *file_b=td_list_entry(b, file_info_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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 gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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:73:9: warning: use of GNU old-style field designator extension [-Wgnu-designator] magic: EXT2_ET_MAGIC_IO_MANAGER, ^~~~~~ .magic = ext2_dir.c:74:9: warning: use of GNU old-style field designator extension [-Wgnu-designator] name: "TestDisk I/O Manager", ^~~~~ .name = ext2_dir.c:75:9: warning: use of GNU old-style field designator extension [-Wgnu-designator] open: my_open, ^~~~~ .open = ext2_dir.c:76:9: warning: use of GNU old-style field designator extension [-Wgnu-designator] close: my_close, ^~~~~~ .close = ext2_dir.c:77:9: warning: use of GNU old-style field designator extension [-Wgnu-designator] set_blksize: my_set_blksize, ^~~~~~~~~~~~ .set_blksize = ext2_dir.c:78:9: warning: use of GNU old-style field designator extension [-Wgnu-designator] read_blk: my_read_blk, ^~~~~~~~~ .read_blk = ext2_dir.c:79:9: warning: use of GNU old-style field designator extension [-Wgnu-designator] write_blk: my_write_blk, ^~~~~~~~~~ .write_blk = ext2_dir.c:80:9: warning: use of GNU old-style field designator extension [-Wgnu-designator] flush: my_flush, ^~~~~~ .flush = ext2_dir.c:81:2: warning: use of GNU old-style field designator extension [-Wgnu-designator] write_byte: NULL, ^~~~~~~~~~~ .write_byte = ext2_dir.c:83:2: warning: use of GNU old-style field designator extension [-Wgnu-designator] set_option: NULL ^~~~~~~~~~~ .set_option = 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: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:191:38: warning: unused parameter 'channel' [-Wunused-parameter] static errcode_t my_flush(io_channel channel) ^ 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: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: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) ^ 21 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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:77:36: warning: cast from 'const unsigned char *' to 'const struct msdos_dir_entry *' increases required alignment from 1 to 4 [-Wcast-align] const struct msdos_dir_entry *de=(const struct msdos_dir_entry*)buffer; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fat_dir.c:86:3: warning: ignoring return value of function declared with warn_unused_result attribute [-Wunused-result] wctomb(NULL, 0); ^~~~~~ ~~~~~~~ 2 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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:300:22: warning: cast from 'char *' to 'ntfschar *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-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: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: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) ^ 6 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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:88:13: warning: cast from 'uint8_t (*)[72]' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] str2UCSle((uint16_t *)&gpt_entry->ent_name, partition->partname, sizeof(gpt_entry->ent_name)/2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 4 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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 -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 photorec.c:73:33: warning: cast from 'char *' to 'alloc_list_t *' (aka 'struct alloc_list_s *') increases required alignment from 1 to 8 [-Wcast-align] const alloc_list_t *element=td_list_entry(tmp, alloc_list_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ photorec.c:103:26: warning: cast from 'char *' to 'alloc_data_t *' increases required alignment from 1 to 8 [-Wcast-align] current_search_space=td_list_entry(search_walker, alloc_data_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ photorec.c:138:26: warning: cast from 'char *' to 'alloc_data_t *' increases required alignment from 1 to 8 [-Wcast-align] current_search_space=td_list_entry(search_walker, alloc_data_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ photorec.c:146:30: warning: cast from 'char *' to 'alloc_list_t *' (aka 'struct alloc_list_s *') increases required alignment from 1 to 8 [-Wcast-align] const alloc_list_t *element=td_list_entry(tmp, alloc_list_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ photorec.c:174:26: warning: cast from 'char *' to 'alloc_data_t *' increases required alignment from 1 to 8 [-Wcast-align] current_search_space=td_list_entry(search_walker, alloc_data_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ photorec.c:202:35: warning: cast from 'char *' to 'alloc_data_t *' increases required alignment from 1 to 8 [-Wcast-align] *new_current_search_space=td_list_entry(current_search_space->list.next, alloc_data_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ photorec.c:221:37: warning: cast from 'char *' to 'alloc_data_t *' increases required alignment from 1 to 8 [-Wcast-align] *new_current_search_space=td_list_entry(current_search_space->list.next, alloc_data_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ photorec.c:231:35: warning: cast from 'char *' to 'alloc_data_t *' increases required alignment from 1 to 8 [-Wcast-align] *new_current_search_space=td_list_entry(current_search_space->list.next, alloc_data_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ photorec.c:296:26: warning: cast from 'char *' to 'alloc_data_t *' increases required alignment from 1 to 8 [-Wcast-align] current_search_space=td_list_entry(search_walker, alloc_data_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ photorec.c:357:16: warning: cast from 'char *' to 'alloc_data_t *' increases required alignment from 1 to 8 [-Wcast-align] file_space=td_list_entry(file_space->list.prev, alloc_data_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ photorec.c:386:11: warning: cast from 'char *' to 'alloc_data_t *' increases required alignment from 1 to 8 [-Wcast-align] tmp=td_list_entry(search_walker, alloc_data_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ photorec.c:425:26: warning: cast from 'char *' to 'alloc_data_t *' increases required alignment from 1 to 8 [-Wcast-align] current_search_space=td_list_entry(search_walker, alloc_data_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ photorec.c:523:12: warning: cast from 'char *' to 'alloc_data_t *' increases required alignment from 1 to 8 [-Wcast-align] *offset=(td_list_entry(list_search_space->list.next, alloc_data_t, list))->start % blocksize; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ photorec.c:530:11: warning: cast from 'char *' to 'alloc_data_t *' increases required alignment from 1 to 8 [-Wcast-align] tmp=td_list_entry(search_walker, alloc_data_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ photorec.c:552:26: warning: cast from 'char *' to 'alloc_data_t *' increases required alignment from 1 to 8 [-Wcast-align] current_search_space=td_list_entry(search_walker, alloc_data_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ photorec.c:571:21: warning: cast from 'char *' to 'alloc_list_t *' (aka 'struct alloc_list_s *') increases required alignment from 1 to 8 [-Wcast-align] allocated_space=td_list_entry(tmp, alloc_list_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ photorec.c:658:31: warning: cast from 'char *' to 'alloc_data_t *' increases required alignment from 1 to 8 [-Wcast-align] *current_search_space=td_list_entry((*current_search_space)->list.next, alloc_data_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ photorec.c:806:9: warning: cast from 'char *' to 'alloc_data_t *' increases required alignment from 1 to 8 [-Wcast-align] tmp=td_list_entry(search_walker, alloc_data_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ photorec.c:838:27: warning: cast from 'char *' to 'alloc_data_t *' increases required alignment from 1 to 8 [-Wcast-align] alloc_data_t *element=td_list_entry(tmp, alloc_data_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ photorec.c:892:27: warning: cast from 'char *' to 'alloc_data_t *' increases required alignment from 1 to 8 [-Wcast-align] alloc_data_t *element=td_list_entry(tmp, alloc_data_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ photorec.c:908:16: warning: cast from 'char *' to 'alloc_data_t *' increases required alignment from 1 to 8 [-Wcast-align] new_element=td_list_entry(next, alloc_data_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ photorec.c:944:26: warning: cast from 'char *' to 'alloc_data_t *' increases required alignment from 1 to 8 [-Wcast-align] current_search_space=td_list_entry(search_walker, alloc_data_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ photorec.c:976:26: warning: cast from 'char *' to 'alloc_data_t *' increases required alignment from 1 to 8 [-Wcast-align] current_search_space=td_list_entry(search_walker, alloc_data_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ photorec.c:990:20: warning: comparison of integers of different signs: 'uint64_t' (aka 'unsigned long') and 'int' [-Wsign-compare] if(params->offset!=-1) ~~~~~~~~~~~~~~^ ~~ 24 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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:60:39: warning: cast from 'unsigned char *' to 'const struct ext2_super_block *' increases required alignment from 1 to 4 [-Wcast-align] const struct ext2_super_block *sb=(const struct ext2_super_block *)buffer; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ext2grp.c:65:28: warning: cast from 'char *' to 'alloc_data_t *' increases required alignment from 1 to 8 [-Wcast-align] current_search_space=td_list_entry(search_walker, alloc_data_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ext2grp.c:97:39: warning: cast from 'unsigned char *' to 'const struct ext2_super_block *' increases required alignment from 1 to 4 [-Wcast-align] const struct ext2_super_block *sb=(const struct ext2_super_block *)buffer; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ext2grp.c:103:28: warning: cast from 'char *' to 'alloc_data_t *' increases required alignment from 1 to 8 [-Wcast-align] current_search_space=td_list_entry(search_walker, alloc_data_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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:52:7: warning: cast from 'unsigned char *' to 'const uint16_t *' (aka 'const unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] p16=(const uint16_t*)buffer; ^~~~~~~~~~~~~~~~~~~~~~~ fatp.c:70:28: warning: cast from 'unsigned char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] next_cluster=le16((*((uint16_t*)&buffer[offset_o])))>>4; ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./common.h:438:19: note: expanded from macro 'le16' #define le16(x) (x) /* x as little endian */ ^ fatp.c:72:27: warning: cast from 'unsigned char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] next_cluster=le16(*((uint16_t*)&buffer[offset_o]))&0x0FFF; ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./common.h:438:19: note: expanded from macro 'le16' #define le16(x) (x) /* x as little endian */ ^ fatp.c:102:7: warning: cast from 'unsigned char *' to 'const uint16_t *' (aka 'const unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] p16=(const uint16_t*)buffer; ^~~~~~~~~~~~~~~~~~~~~~~ fatp.c:146:7: warning: cast from 'unsigned char *' to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] p32=(uint32_t*)buffer; ^~~~~~~~~~~~~~~~~ 5 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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:242:53: warning: comparison of integers of different signs: 'uint64_t' (aka 'unsigned long') and 'int' [-Wsign-compare] if(params->status!=STATUS_QUIT && params->offset!=-1) ~~~~~~~~~~~~~~^ ~~ sessionp.c:249:26: warning: cast from 'char *' to 'alloc_data_t *' increases required alignment from 1 to 8 [-Wcast-align] current_free_space=td_list_entry(free_walker, alloc_data_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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 dfxml.c:314:33: warning: cast from 'char *' to 'alloc_list_t *' (aka 'struct alloc_list_s *') increases required alignment from 1 to 8 [-Wcast-align] const alloc_list_t *element=td_list_entry(tmp, alloc_list_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dfxml.c:335:33: warning: cast from 'char *' to 'alloc_data_t *' increases required alignment from 1 to 8 [-Wcast-align] const alloc_data_t *element=td_list_entry(tmp, alloc_data_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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 fat_unformat.c:52: ./pnext.h:37:27: warning: cast from 'char *' to 'alloc_data_t *' increases required alignment from 1 to 8 [-Wcast-align] *current_search_space=td_list_entry((*current_search_space)->list.next, alloc_data_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fat_unformat.c:64:24: warning: cast from 'char *' to 'alloc_data_t *' increases required alignment from 1 to 8 [-Wcast-align] current_search_space=td_list_entry(list_search_space->list.next, alloc_data_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fat_unformat.c:199:24: warning: cast from 'char *' to 'alloc_data_t *' increases required alignment from 1 to 8 [-Wcast-align] current_search_space=td_list_entry(list_search_space->list.prev, alloc_data_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fat_unformat.c:206:24: warning: cast from 'char *' to 'alloc_data_t *' increases required alignment from 1 to 8 [-Wcast-align] current_search_space=td_list_entry(list_search_space->list.next, alloc_data_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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 pdisksel.c:88:28: warning: cast from 'char *' to 'alloc_data_t *' increases required alignment from 1 to 8 [-Wcast-align] current_search_space=td_list_entry(search_walker, alloc_data_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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 phbf.c:67: ./pnext.h:37:27: warning: cast from 'char *' to 'alloc_data_t *' increases required alignment from 1 to 8 [-Wcast-align] *current_search_space=td_list_entry((*current_search_space)->list.next, alloc_data_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phbf.c:116:24: warning: cast from 'char *' to 'alloc_list_t *' (aka 'struct alloc_list_s *') increases required alignment from 1 to 8 [-Wcast-align] alloc_list_t *prev=td_list_entry(list->list.prev, alloc_list_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phbf.c:140:9: warning: cast from 'char *' to 'alloc_data_t *' increases required alignment from 1 to 8 [-Wcast-align] tmp=td_list_entry(tmp_walker, alloc_data_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phbf.c:176:28: warning: cast from 'char *' to 'alloc_data_t *' increases required alignment from 1 to 8 [-Wcast-align] current_search_space=td_list_entry(search_walker, alloc_data_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phbf.c:200:35: warning: cast from 'char *' to 'file_check_list_t *' increases required alignment from 1 to 8 [-Wcast-align] const file_check_list_t *pos=td_list_entry(tmpl, file_check_list_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phbf.c:203:39: warning: cast from 'char *' to 'file_check_t *' increases required alignment from 1 to 8 [-Wcast-align] const file_check_t *file_check=td_list_entry(tmp, file_check_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phbf.c:314:8: warning: cast from 'char *' to 'alloc_data_t *' increases required alignment from 1 to 8 [-Wcast-align] tmp=td_list_entry(tmp_walker, alloc_data_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phbf.c:322:25: warning: cast from 'char *' to 'alloc_data_t *' increases required alignment from 1 to 8 [-Wcast-align] current_search_space=td_list_entry(search_walker, alloc_data_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phbf.c:507:13: warning: comparison of integers of different signs: 'unsigned int' and 'const int' [-Wsign-compare] for(i=0; ilocation.list.prev, alloc_list_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phbf.c:651:31: warning: cast from 'char *' to 'alloc_data_t *' increases required alignment from 1 to 8 [-Wcast-align] extractblock_search_space=td_list_entry(list_search_space->list.next, alloc_data_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phbf.c:655:33: warning: cast from 'char *' to 'alloc_data_t *' increases required alignment from 1 to 8 [-Wcast-align] extractblock_search_space=td_list_entry(extractblock_search_space->list.next, alloc_data_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 13 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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 phbs.c:73: ./pnext.h:37:27: warning: cast from 'char *' to 'alloc_data_t *' increases required alignment from 1 to 8 [-Wcast-align] *current_search_space=td_list_entry((*current_search_space)->list.next, alloc_data_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phbs.c:114:24: warning: cast from 'char *' to 'alloc_data_t *' increases required alignment from 1 to 8 [-Wcast-align] current_search_space=td_list_entry(list_search_space->list.next, alloc_data_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phbs.c:141:33: warning: cast from 'char *' to 'file_check_list_t *' increases required alignment from 1 to 8 [-Wcast-align] const file_check_list_t *pos=td_list_entry(tmpl, file_check_list_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phbs.c:144:37: warning: cast from 'char *' to 'file_check_t *' increases required alignment from 1 to 8 [-Wcast-align] const file_check_t *file_check=td_list_entry(tmp, file_check_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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 phrecn.c:74: ./pnext.h:37:27: warning: cast from 'char *' to 'alloc_data_t *' increases required alignment from 1 to 8 [-Wcast-align] *current_search_space=td_list_entry((*current_search_space)->list.next, alloc_data_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phrecn.c:96:23: warning: cast from 'const unsigned char *' to 'const uint32_t *' (aka 'const unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] const uint32_t *p32=(const uint32_t *)buffer; ^~~~~~~~~~~~~~~~~~~~~~~~ phrecn.c:215:24: warning: cast from 'char *' to 'alloc_data_t *' increases required alignment from 1 to 8 [-Wcast-align] current_search_space=td_list_entry(list_search_space->list.next, alloc_data_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phrecn.c:267:33: warning: cast from 'char *' to 'file_check_list_t *' increases required alignment from 1 to 8 [-Wcast-align] const file_check_list_t *pos=td_list_entry(tmpl, file_check_list_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phrecn.c:270:37: warning: cast from 'char *' to 'file_check_t *' increases required alignment from 1 to 8 [-Wcast-align] const file_check_t *file_check=td_list_entry(tmp, file_check_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phrecn.c:613:26: warning: cast from 'char *' to 'alloc_data_t *' increases required alignment from 1 to 8 [-Wcast-align] current_search_space=td_list_entry(search_walker, alloc_data_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phrecn.c:854:18: warning: cast from 'char *' to 'alloc_data_t *' increases required alignment from 1 to 8 [-Wcast-align] start_offset=(td_list_entry(list_search_space->list.next, alloc_data_t, list))->start % params->blocksize; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phrecn.c:1014:28: warning: cast from 'char *' to 'alloc_data_t *' increases required alignment from 1 to 8 [-Wcast-align] current_search_space=td_list_entry(search_walker, alloc_data_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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 ppartsel.c:62:31: warning: cast from 'char *' to 'const alloc_data_t *' increases required alignment from 1 to 8 [-Wcast-align] const alloc_data_t *space_a=td_list_entry(a, const alloc_data_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ppartsel.c:63:31: warning: cast from 'char *' to 'const alloc_data_t *' increases required alignment from 1 to 8 [-Wcast-align] const alloc_data_t *space_b=td_list_entry(b, const alloc_data_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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 filegen.c:51:28: warning: cast from 'char *' to 'const file_check_t *' increases required alignment from 1 to 8 [-Wcast-align] const file_check_t *fc_a=td_list_entry(a, const file_check_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ filegen.c:52:28: warning: cast from 'char *' to 'const file_check_t *' increases required alignment from 1 to 8 [-Wcast-align] const file_check_t *fc_b=td_list_entry(b, const file_check_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ filegen.c:100:28: warning: cast from 'char *' to 'file_check_list_t *' increases required alignment from 1 to 8 [-Wcast-align] file_check_list_t *pos=td_list_entry(tmp, file_check_list_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ filegen.c:129:19: warning: cast from 'char *' to 'file_check_t *' increases required alignment from 1 to 8 [-Wcast-align] current_check=td_list_entry(tmp, file_check_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ filegen.c:146:28: warning: cast from 'char *' to 'file_check_list_t *' increases required alignment from 1 to 8 [-Wcast-align] file_check_list_t *pos=td_list_entry(tmpl, file_check_list_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ filegen.c:155:16: warning: cast from 'char *' to 'file_check_t *' increases required alignment from 1 to 8 [-Wcast-align] current_check=td_list_entry(tmp, file_check_t, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./list.h:232:3: note: expanded from macro 'td_list_entry' ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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) ^ 8 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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: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) ^ 6 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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:61:39: warning: cast from 'const unsigned char *' to 'const struct APE_COMMON_HEADER *' increases required alignment from 1 to 2 [-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) ^ 4 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 2 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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:67:35: warning: cast from 'const unsigned char *' to 'const struct class_header *' increases required alignment from 1 to 4 [-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) ^ 4 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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:92:32: warning: cast from 'const unsigned char *' to 'const QCowHeader_t *' increases required alignment from 1 to 8 [-Wcast-align] const QCowHeader_t *header=(const QCowHeader_t*)buffer; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ file_cow.c:102:33: warning: cast from 'const unsigned char *' to 'const QCowHeader2_t *' (aka 'const struct QCowHeader *') increases required alignment from 1 to 8 [-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) ^ 6 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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: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: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) ^ 9 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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:175:9: warning: cast from 'const struct OLE_HDR *' to 'const uint32_t *' (aka 'const unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] fat=(const uint32_t *)(header+1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ file_doc.c:180:26: warning: cast from 'const struct OLE_HDR *' to 'const uint32_t *' (aka 'const unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] const uint32_t *fati=(const uint32_t *)(header+1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ file_doc.c:182:9: warning: cast from 'const unsigned char *' to 'const uint32_t *' (aka 'const unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] fat=(const uint32_t *)&buffer[fat_offset]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:523:23: warning: cast from 'const unsigned char *' to 'const uint32_t *' (aka 'const unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] const uint32_t *val=(const uint32_t *)((const unsigned char *)buffer+offset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file_doc.c:529:23: warning: cast from 'const unsigned char *' to 'const uint64_t *' (aka 'const unsigned long *') increases required alignment from 1 to 8 [-Wcast-align] const uint64_t *val=(const uint64_t *)((const unsigned char *)buffer+offset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 2 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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:139:34: warning: cast from 'const unsigned char *' to 'const struct dump_struct *' increases required alignment from 1 to 8 [-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) ^ 4 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 2 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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:310:37: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] file_rename_unicode(old_filename, buffer, end, pt, NULL, force_ext); ^~~~~~ ./filegen.h:141:73: note: passing argument to parameter 'buffer' here 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); ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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:57:37: warning: cast from 'const unsigned char *' to 'const struct ext2_super_block *' increases required alignment from 1 to 4 [-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) ^ 4 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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:57:37: warning: cast from 'const unsigned char *' to 'const struct ext2_super_block *' increases required alignment from 1 to 4 [-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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 2 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 2 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 2 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 2 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 2 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 2 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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:91:22: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] for(i=0, p=dd; i < be16(ddh.size); i++,p++) ~ ^ ~~~~~~~~~~~~~~ file_hdf.c:97:20: warning: comparison of integers of different signs: 'uint64_t' (aka 'unsigned long') and 'long' [-Wsign-compare] if(file_size < be32(p->offset) + be32(p->length)) ~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~ 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) ^ 5 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 2 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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:188:39: warning: cast from 'const unsigned char *' to 'const TIFFHeader *' increases required alignment from 1 to 4 [-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:245:45: warning: unused parameter 'cinfo' [-Wunused-parameter] static void my_output_message (j_common_ptr cinfo) ^ file_jpg.c:436:47: warning: unused parameter 'cinfo' [-Wunused-parameter] static void jpg_term_source (j_decompress_ptr cinfo) ^ 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:1065:15: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] for(;i+1blocksize) ~~~^~~~~~~ file_jpg.c:1107:49: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-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 of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] while(offset + 4 < nbytes && (file_recovery->offset_error==0 || offset < file_recovery->offset_error)) ~~~~~~~~~~ ^ ~~~~~~ file_jpg.c:1147:12: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] if(i+0x0A < nbytes && 2+size > 0x0A) ~~~~~~ ^ ~~~~~~ file_jpg.c:1150:27: warning: cast from 'unsigned char *' to 'const TIFFHeader *' increases required alignment from 1 to 4 [-Wcast-align] const TIFFHeader *tiff=(const TIFFHeader*)&buffer[i+0x0A]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file_jpg.c:1172:22: warning: comparison of integers of different signs: 'uint64_t' (aka 'unsigned long') and 'int' [-Wsign-compare] if(thumb_offset < nbytes - 1) ~~~~~~~~~~~~ ^ ~~~~~~~~~~ file_jpg.c:1189:17: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] while(j+4 nbytes && nbytes < sizeof(buffer)) ~~~~~~ ^ ~~~~~~ file_jpg.c:1303:34: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] if(offset > nbytes && nbytes < sizeof(buffer)) ~~~~~~ ^ ~~~~~~~~~~~~~~ 17 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 2 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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: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:150:28: warning: passing 'const char [2]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] register_header_check(0, "G", 1, &header_check_m2t, file_stat); ^~~ ./filegen.h:135:76: note: passing argument to parameter 'value' here void register_header_check(const unsigned int offset, const unsigned char *value, const unsigned int length, ^ file_m2ts.c:151:28: warning: passing 'const char [2]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] register_header_check(4, "G", 1, &header_check_m2ts, file_stat); ^~~ ./filegen.h:135:76: note: passing argument to parameter 'value' here void register_header_check(const unsigned int offset, const unsigned char *value, const unsigned int length, ^ 4 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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:183:5: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free(doctype); ^ 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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 1 warning generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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: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) ^ 4 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 2 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 2 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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 file_par2.c:57:34: warning: cast from 'const unsigned char *' to 'const uint64_t *' (aka 'const unsigned long *') increases required alignment from 1 to 8 [-Wcast-align] const uint64_t length=le64((*(const uint64_t *)(&buffer[i+8]))); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./common.h:447:19: note: expanded from macro 'le64' #define le64(x) (x) ^ file_par2.c:89:19: warning: cast from 'unsigned char *' to 'const uint64_t *' (aka 'const unsigned long *') increases required alignment from 1 to 8 [-Wcast-align] length=le64((*(const uint64_t *)(&buffer[8]))); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./common.h:447:19: note: expanded from macro 'le64' #define le64(x) (x) ^ file_par2.c:99:12: warning: comparison of integers of different signs: 'uint64_t' (aka 'unsigned long') and 'int' [-Wsign-compare] (length < buffer_size ? length : buffer_size), ~~~~~~ ^ ~~~~~~~~~~~ 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) ^ 5 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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:115:13: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ file_sig.c:402:40: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'off_t' (aka 'long') [-Wsign-compare] if(fread(buffer,1,buffer_size,handle)!=buffer_size) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ ~~~~~~~~~~~ 4 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 2 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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:148:63: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] (const char*)(ifd+1) <= (const char*)tiff+tiff_size && jnbr_fields); ~^~~~~~~~~~~~~~~~~~~~~~~ file_tiff.c:153:27: warning: comparison of integers of different signs: 'int' and 'const unsigned int' [-Wsign-compare] if(be16(ifd->tdir_tag)==tag) ~~~~~~~~~~~~~~~~~~~^ ~~~ file_tiff.c:164:58: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] (const char*)(ifd+1) <= (const char*)tiff+tiff_size && jnbr_fields); ~^~~~~~~~~~~~~~~~~~~~~~~~~~ file_tiff.c:169:29: warning: comparison of integers of different signs: 'int' and 'const unsigned int' [-Wsign-compare] if(be16(ifd->tdir_tag)==tag) ~~~~~~~~~~~~~~~~~~~^ ~~~ file_tiff.c:181:58: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] (const char*)(ifd+1) <= (const char*)tiff+tiff_size && jnbr_fields); ~^~~~~~~~~~~~~~~~~~~~~~~ file_tiff.c:186:29: warning: comparison of integers of different signs: 'int' and 'const unsigned int' [-Wsign-compare] if(be16(ifd->tdir_tag)==tag) ~~~~~~~~~~~~~~~~~~~^ ~~~ file_tiff.c:313:39: warning: cast from 'const unsigned char *' to 'const TIFFHeader *' increases required alignment from 1 to 4 [-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 from 'const unsigned char *' to 'const TIFFHeader *' increases required alignment from 1 to 4 [-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 from 'const unsigned char *' to 'const TIFFHeader *' increases required alignment from 1 to 4 [-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:464:23: warning: cast from 'unsigned char *' to 'TIFFDirEntry *' increases required alignment from 1 to 4 [-Wcast-align] TIFFDirEntry *entry=(TIFFDirEntry *)&buffer[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~ file_tiff.c:777:23: warning: cast from 'unsigned char *' to 'TIFFDirEntry *' increases required alignment from 1 to 4 [-Wcast-align] TIFFDirEntry *entry=(TIFFDirEntry *)&buffer[2]; ^~~~~~~~~~~~~~~~~~~~~~~~~~ file_tiff.c:933:30: warning: cast from 'unsigned char *' to 'const TIFFHeader *' increases required alignment from 1 to 4 [-Wcast-align] const TIFFHeader *header=(const TIFFHeader *)buffer; ^~~~~~~~~~~~~~~~~~~~~~~~~~ 14 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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:88:38: warning: cast from 'const unsigned char *' to 'const struct ttf_offset_table *' increases required alignment from 1 to 4 [-Wcast-align] const struct ttf_offset_table *ttf=(const struct ttf_offset_table *)buffer; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file_ttf.c:97:26: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] if(td_ilog2(numTables) != be16(ttf->entrySelector)) ~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~ 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) ^ 4 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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:463:113: warning: unused parameter 'safe_header_only' [-Wunused-parameter] static int header_check_fasttxt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) ^ 1 warning generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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:92:27: warning: cast from 'const unsigned char *' to 'const VdiHeader *' increases required alignment from 1 to 8 [-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) ^ 4 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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:60:55: warning: cast from 'const unsigned char *' to 'const TIFFHeader *' increases required alignment from 1 to 4 [-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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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: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) ^ 6 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 2 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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:75:27: warning: cast from 'const unsigned char *' to 'const WavpackHeader *' increases required alignment from 1 to 4 [-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:92:29: warning: cast from 'const unsigned char *' to 'const WavpackHeader *' increases required alignment from 1 to 4 [-Wcast-align] const WavpackHeader *wv=(const WavpackHeader*)&buffer[i]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 3 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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:707:33: warning: passing 'char [256]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] file_rename(old_filename, first_filename, len, 0, "zip", 0); ^~~~~~~~~~~~~~ ./filegen.h:140:65: note: passing argument to parameter 'buffer' here 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: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) ^ 2 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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: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) ^ 4 warnings generated. gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/ncursesw -g -O2 -Wdeclaration-after-statement -Wall -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-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:14:34: warning: unused parameter 'cinfo' [-Wunused-parameter] void suspend_memory(j_common_ptr cinfo) { ^ suspend_no.c:17:32: warning: unused parameter 'cinfo' [-Wunused-parameter] int resume_memory(j_common_ptr cinfo) ^ 2 warnings generated. 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 -lext2fs -lcom_err ext2p.o: In function `ext2fs_div64_ceil': /usr/include/ext2fs/ext2fs.h:1692: multiple definition of `ext2fs_div64_ceil' ext2_dir.o:/usr/include/ext2fs/ext2fs.h:1692: first defined here ext2p.o: In function `ext2fs_div_ceil': /usr/include/ext2fs/ext2fs.h:1685: multiple definition of `ext2fs_div_ceil' ext2_dir.o:/usr/include/ext2fs/ext2fs.h:1685: first defined here ext2p.o: In function `ext2fs_fast_clear_bit': /usr/include/ext2fs/bitops.h:247: multiple definition of `ext2fs_fast_clear_bit' ext2_dir.o:/usr/include/ext2fs/bitops.h:247: first defined here ext2p.o: In function `ext2fs_fast_clear_bit64': /usr/include/ext2fs/bitops.h:264: multiple definition of `ext2fs_fast_clear_bit64' ext2_dir.o:/usr/include/ext2fs/bitops.h:264: first defined here ext2p.o: In function `ext2fs_fast_mark_block_bitmap': /usr/include/ext2fs/bitops.h:450: multiple definition of `ext2fs_fast_mark_block_bitmap' ext2_dir.o:/usr/include/ext2fs/bitops.h:450: first defined here ext2p.o: In function `ext2fs_fast_mark_block_bitmap2': /usr/include/ext2fs/bitops.h:569: multiple definition of `ext2fs_fast_mark_block_bitmap2' ext2_dir.o:/usr/include/ext2fs/bitops.h:569: first defined here ext2p.o: In function `ext2fs_fast_mark_block_bitmap_range': /usr/include/ext2fs/bitops.h:514: multiple definition of `ext2fs_fast_mark_block_bitmap_range' ext2_dir.o:/usr/include/ext2fs/bitops.h:514: first defined here ext2p.o: In function `ext2fs_fast_mark_block_bitmap_range2': /usr/include/ext2fs/bitops.h:664: multiple definition of `ext2fs_fast_mark_block_bitmap_range2' ext2_dir.o:/usr/include/ext2fs/bitops.h:664: first defined here ext2p.o: In function `ext2fs_fast_mark_inode_bitmap': /usr/include/ext2fs/bitops.h:469: multiple definition of `ext2fs_fast_mark_inode_bitmap' ext2_dir.o:/usr/include/ext2fs/bitops.h:469: first defined here ext2p.o: In function `ext2fs_fast_mark_inode_bitmap2': /usr/include/ext2fs/bitops.h:591: multiple definition of `ext2fs_fast_mark_inode_bitmap2' ext2_dir.o:/usr/include/ext2fs/bitops.h:591: first defined here ext2p.o: In function `ext2fs_fast_set_bit': /usr/include/ext2fs/bitops.h:240: multiple definition of `ext2fs_fast_set_bit' ext2_dir.o:/usr/include/ext2fs/bitops.h:240: first defined here ext2p.o: In function `ext2fs_fast_set_bit64': /usr/include/ext2fs/bitops.h:256: multiple definition of `ext2fs_fast_set_bit64' ext2_dir.o:/usr/include/ext2fs/bitops.h:256: first defined here ext2p.o: In function `ext2fs_fast_test_block_bitmap': /usr/include/ext2fs/bitops.h:462: multiple definition of `ext2fs_fast_test_block_bitmap' ext2_dir.o:/usr/include/ext2fs/bitops.h:462: first defined here ext2p.o: In function `ext2fs_fast_test_block_bitmap2': /usr/include/ext2fs/bitops.h:581: multiple definition of `ext2fs_fast_test_block_bitmap2' ext2_dir.o:/usr/include/ext2fs/bitops.h:581: first defined here ext2p.o: In function `ext2fs_fast_test_block_bitmap_range': /usr/include/ext2fs/bitops.h:508: multiple definition of `ext2fs_fast_test_block_bitmap_range' ext2_dir.o:/usr/include/ext2fs/bitops.h:508: first defined here ext2p.o: In function `ext2fs_fast_test_block_bitmap_range2': /usr/include/ext2fs/bitops.h:657: multiple definition of `ext2fs_fast_test_block_bitmap_range2' ext2_dir.o:/usr/include/ext2fs/bitops.h:657: first defined here ext2p.o: In function `ext2fs_fast_test_inode_bitmap': /usr/include/ext2fs/bitops.h:481: multiple definition of `ext2fs_fast_test_inode_bitmap' ext2_dir.o:/usr/include/ext2fs/bitops.h:481: first defined here ext2p.o: In function `ext2fs_fast_test_inode_bitmap2': /usr/include/ext2fs/bitops.h:603: multiple definition of `ext2fs_fast_test_inode_bitmap2' ext2_dir.o:/usr/include/ext2fs/bitops.h:603: first defined here ext2p.o: In function `ext2fs_fast_unmark_block_bitmap': /usr/include/ext2fs/bitops.h:456: multiple definition of `ext2fs_fast_unmark_block_bitmap' ext2_dir.o:/usr/include/ext2fs/bitops.h:456: first defined here ext2p.o: In function `ext2fs_fast_unmark_block_bitmap2': /usr/include/ext2fs/bitops.h:575: multiple definition of `ext2fs_fast_unmark_block_bitmap2' ext2_dir.o:/usr/include/ext2fs/bitops.h:575: first defined here ext2p.o: In function `ext2fs_fast_unmark_block_bitmap_range': /usr/include/ext2fs/bitops.h:520: multiple definition of `ext2fs_fast_unmark_block_bitmap_range' ext2_dir.o:/usr/include/ext2fs/bitops.h:520: first defined here ext2p.o: In function `ext2fs_fast_unmark_block_bitmap_range2': /usr/include/ext2fs/bitops.h:671: multiple definition of `ext2fs_fast_unmark_block_bitmap_range2' ext2_dir.o:/usr/include/ext2fs/bitops.h:671: first defined here ext2p.o: In function `ext2fs_fast_unmark_inode_bitmap': /usr/include/ext2fs/bitops.h:475: multiple definition of `ext2fs_fast_unmark_inode_bitmap' ext2_dir.o:/usr/include/ext2fs/bitops.h:475: first defined here ext2p.o: In function `ext2fs_fast_unmark_inode_bitmap2': /usr/include/ext2fs/bitops.h:597: multiple definition of `ext2fs_fast_unmark_inode_bitmap2' ext2_dir.o:/usr/include/ext2fs/bitops.h:597: first defined here ext2p.o: In function `ext2fs_find_first_zero_block_bitmap2': /usr/include/ext2fs/bitops.h:611: multiple definition of `ext2fs_find_first_zero_block_bitmap2' ext2_dir.o:/usr/include/ext2fs/bitops.h:611: first defined here ext2p.o: In function `ext2fs_find_first_zero_inode_bitmap2': /usr/include/ext2fs/bitops.h:626: multiple definition of `ext2fs_find_first_zero_inode_bitmap2' ext2_dir.o:/usr/include/ext2fs/bitops.h:626: first defined here ext2p.o: In function `ext2fs_free_mem': /usr/include/ext2fs/ext2fs.h:1535: multiple definition of `ext2fs_free_mem' ext2_dir.o:/usr/include/ext2fs/ext2fs.h:1535: first defined here ext2p.o: In function `ext2fs_get_array': /usr/include/ext2fs/ext2fs.h:1511: multiple definition of `ext2fs_get_array' ext2_dir.o:/usr/include/ext2fs/ext2fs.h:1511: first defined here ext2p.o: In function `ext2fs_get_arrayzero': /usr/include/ext2fs/ext2fs.h:1519: multiple definition of `ext2fs_get_arrayzero' ext2_dir.o:/usr/include/ext2fs/ext2fs.h:1519: first defined here ext2p.o: In function `ext2fs_get_block_bitmap_end': /usr/include/ext2fs/bitops.h:498: multiple definition of `ext2fs_get_block_bitmap_end' ext2_dir.o:/usr/include/ext2fs/bitops.h:498: first defined here ext2p.o: In function `ext2fs_get_block_bitmap_end2': /usr/include/ext2fs/bitops.h:647: multiple definition of `ext2fs_get_block_bitmap_end2' ext2_dir.o:/usr/include/ext2fs/bitops.h:647: first defined here ext2p.o: In function `ext2fs_get_block_bitmap_start': /usr/include/ext2fs/bitops.h:488: multiple definition of `ext2fs_get_block_bitmap_start' ext2_dir.o:/usr/include/ext2fs/bitops.h:488: first defined here ext2p.o: In function `ext2fs_get_block_bitmap_start2': /usr/include/ext2fs/bitops.h:637: multiple definition of `ext2fs_get_block_bitmap_start2' ext2_dir.o:/usr/include/ext2fs/bitops.h:637: first defined here ext2p.o: In function `ext2fs_get_inode_bitmap_end': /usr/include/ext2fs/bitops.h:503: multiple definition of `ext2fs_get_inode_bitmap_end' ext2_dir.o:/usr/include/ext2fs/bitops.h:503: first defined here ext2p.o: In function `ext2fs_get_inode_bitmap_end2': /usr/include/ext2fs/bitops.h:652: multiple definition of `ext2fs_get_inode_bitmap_end2' ext2_dir.o:/usr/include/ext2fs/bitops.h:652: first defined here ext2p.o: In function `ext2fs_get_inode_bitmap_start': /usr/include/ext2fs/bitops.h:493: multiple definition of `ext2fs_get_inode_bitmap_start' ext2_dir.o:/usr/include/ext2fs/bitops.h:493: first defined here ext2p.o: In function `ext2fs_get_inode_bitmap_start2': /usr/include/ext2fs/bitops.h:642: multiple definition of `ext2fs_get_inode_bitmap_start2' ext2_dir.o:/usr/include/ext2fs/bitops.h:642: first defined here ext2p.o: In function `ext2fs_get_mem': /usr/include/ext2fs/ext2fs.h:1488: multiple definition of `ext2fs_get_mem' ext2_dir.o:/usr/include/ext2fs/ext2fs.h:1488: first defined here ext2p.o: In function `ext2fs_get_memzero': /usr/include/ext2fs/ext2fs.h:1499: multiple definition of `ext2fs_get_memzero' ext2_dir.o:/usr/include/ext2fs/ext2fs.h:1499: first defined here ext2p.o: In function `ext2fs_group_first_block': /usr/include/ext2fs/ext2fs.h:1662: multiple definition of `ext2fs_group_first_block' ext2_dir.o:/usr/include/ext2fs/ext2fs.h:1662: first defined here ext2p.o: In function `ext2fs_group_last_block': /usr/include/ext2fs/ext2fs.h:1670: multiple definition of `ext2fs_group_last_block' ext2_dir.o:/usr/include/ext2fs/ext2fs.h:1670: first defined here ext2p.o: In function `ext2fs_group_of_blk': /usr/include/ext2fs/ext2fs.h:1649: multiple definition of `ext2fs_group_of_blk' ext2_dir.o:/usr/include/ext2fs/ext2fs.h:1649: first defined here ext2p.o: In function `ext2fs_group_of_ino': /usr/include/ext2fs/ext2fs.h:1656: multiple definition of `ext2fs_group_of_ino' ext2_dir.o:/usr/include/ext2fs/ext2fs.h:1656: first defined here ext2p.o: In function `ext2fs_inode_data_blocks': /usr/include/ext2fs/ext2fs.h:1675: multiple definition of `ext2fs_inode_data_blocks' ext2_dir.o:/usr/include/ext2fs/ext2fs.h:1675: first defined here ext2p.o: In function `ext2fs_mark_bb_dirty': /usr/include/ext2fs/ext2fs.h:1625: multiple definition of `ext2fs_mark_bb_dirty' ext2_dir.o:/usr/include/ext2fs/ext2fs.h:1625: first defined here ext2p.o: In function `ext2fs_mark_block_bitmap': /usr/include/ext2fs/bitops.h:408: multiple definition of `ext2fs_mark_block_bitmap' ext2_dir.o:/usr/include/ext2fs/bitops.h:408: first defined here ext2p.o: In function `ext2fs_mark_block_bitmap2': /usr/include/ext2fs/bitops.h:528: multiple definition of `ext2fs_mark_block_bitmap2' ext2_dir.o:/usr/include/ext2fs/bitops.h:528: first defined here ext2p.o: In function `ext2fs_mark_changed': /usr/include/ext2fs/ext2fs.h:1577: multiple definition of `ext2fs_mark_changed' ext2_dir.o:/usr/include/ext2fs/ext2fs.h:1577: first defined here ext2p.o: In function `ext2fs_mark_ib_dirty': /usr/include/ext2fs/ext2fs.h:1617: multiple definition of `ext2fs_mark_ib_dirty' ext2_dir.o:/usr/include/ext2fs/ext2fs.h:1617: first defined here ext2p.o: In function `ext2fs_mark_inode_bitmap': /usr/include/ext2fs/bitops.h:429: multiple definition of `ext2fs_mark_inode_bitmap' ext2_dir.o:/usr/include/ext2fs/bitops.h:429: first defined here ext2p.o: In function `ext2fs_mark_inode_bitmap2': /usr/include/ext2fs/bitops.h:551: multiple definition of `ext2fs_mark_inode_bitmap2' ext2_dir.o:/usr/include/ext2fs/bitops.h:551: first defined here ext2p.o: In function `ext2fs_mark_super_dirty': /usr/include/ext2fs/ext2fs.h:1569: multiple definition of `ext2fs_mark_super_dirty' ext2_dir.o:/usr/include/ext2fs/ext2fs.h:1569: first defined here ext2p.o: In function `ext2fs_mark_valid': /usr/include/ext2fs/ext2fs.h:1593: multiple definition of `ext2fs_mark_valid' ext2_dir.o:/usr/include/ext2fs/ext2fs.h:1593: first defined here ext2p.o: In function `ext2fs_resize_mem': /usr/include/ext2fs/ext2fs.h:1550: multiple definition of `ext2fs_resize_mem' ext2_dir.o:/usr/include/ext2fs/ext2fs.h:1550: first defined here ext2p.o: In function `ext2fs_swab16': /usr/include/ext2fs/bitops.h:391: multiple definition of `ext2fs_swab16' ext2_dir.o:/usr/include/ext2fs/bitops.h:391: first defined here ext2p.o: In function `ext2fs_swab32': /usr/include/ext2fs/bitops.h:396: multiple definition of `ext2fs_swab32' ext2_dir.o:/usr/include/ext2fs/bitops.h:396: first defined here ext2p.o: In function `ext2fs_swab64': /usr/include/ext2fs/bitops.h:403: multiple definition of `ext2fs_swab64' ext2_dir.o:/usr/include/ext2fs/bitops.h:403: first defined here ext2p.o: In function `ext2fs_test_bb_dirty': /usr/include/ext2fs/ext2fs.h:1641: multiple definition of `ext2fs_test_bb_dirty' ext2_dir.o:/usr/include/ext2fs/ext2fs.h:1641: first defined here ext2p.o: In function `ext2fs_test_block_bitmap': /usr/include/ext2fs/bitops.h:422: multiple definition of `ext2fs_test_block_bitmap' ext2_dir.o:/usr/include/ext2fs/bitops.h:422: first defined here ext2p.o: In function `ext2fs_test_block_bitmap2': /usr/include/ext2fs/bitops.h:541: multiple definition of `ext2fs_test_block_bitmap2' ext2_dir.o:/usr/include/ext2fs/bitops.h:541: first defined here ext2p.o: In function `ext2fs_test_changed': /usr/include/ext2fs/ext2fs.h:1585: multiple definition of `ext2fs_test_changed' ext2_dir.o:/usr/include/ext2fs/ext2fs.h:1585: first defined here ext2p.o: In function `ext2fs_test_ib_dirty': /usr/include/ext2fs/ext2fs.h:1633: multiple definition of `ext2fs_test_ib_dirty' ext2_dir.o:/usr/include/ext2fs/ext2fs.h:1633: first defined here ext2p.o: In function `ext2fs_test_inode_bitmap': /usr/include/ext2fs/bitops.h:443: multiple definition of `ext2fs_test_inode_bitmap' ext2_dir.o:/usr/include/ext2fs/bitops.h:443: first defined here ext2p.o: In function `ext2fs_test_inode_bitmap2': /usr/include/ext2fs/bitops.h:565: multiple definition of `ext2fs_test_inode_bitmap2' ext2_dir.o:/usr/include/ext2fs/bitops.h:565: first defined here ext2p.o: In function `ext2fs_test_valid': /usr/include/ext2fs/ext2fs.h:1609: multiple definition of `ext2fs_test_valid' ext2_dir.o:/usr/include/ext2fs/ext2fs.h:1609: first defined here ext2p.o: In function `ext2fs_unmark_block_bitmap': /usr/include/ext2fs/bitops.h:415: multiple definition of `ext2fs_unmark_block_bitmap' ext2_dir.o:/usr/include/ext2fs/bitops.h:415: first defined here ext2p.o: In function `ext2fs_unmark_block_bitmap2': /usr/include/ext2fs/bitops.h:535: multiple definition of `ext2fs_unmark_block_bitmap2' ext2_dir.o:/usr/include/ext2fs/bitops.h:535: first defined here ext2p.o: In function `ext2fs_unmark_inode_bitmap': /usr/include/ext2fs/bitops.h:436: multiple definition of `ext2fs_unmark_inode_bitmap' ext2_dir.o:/usr/include/ext2fs/bitops.h:436: first defined here ext2p.o: In function `ext2fs_unmark_inode_bitmap2': /usr/include/ext2fs/bitops.h:558: multiple definition of `ext2fs_unmark_inode_bitmap2' ext2_dir.o:/usr/include/ext2fs/bitops.h:558: first defined here ext2p.o: In function `ext2fs_unmark_valid': /usr/include/ext2fs/ext2fs.h:1601: multiple definition of `ext2fs_unmark_valid' ext2_dir.o:/usr/include/ext2fs/ext2fs.h:1601: first defined here clang: error: linker command failed with exit code 1 (use -v to see invocation) make[3]: *** [photorec] Error 1 make[3]: Leaving directory `/«PKGBUILDDIR»/src' make[2]: *** [all-recursive] Error 1 make[1]: *** [all] Error 2 dh_auto_build: make -j1 returned exit code 2 make: *** [build-arch] Error 2 dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2 make[2]: Leaving directory `/«PKGBUILDDIR»' make[1]: Leaving directory `/«PKGBUILDDIR»' ──────────────────────────────────────────────────────────────────────────────── Build finished at 20120623-1635 Finished ──────── E: Build failure (dpkg-buildpackage died) ┌──────────────────────────────────────────────────────────────────────────────┐ │ Cleanup │ └──────────────────────────────────────────────────────────────────────────────┘ Purging /«BUILDDIR» Not cleaning session: cloned chroot in use ┌──────────────────────────────────────────────────────────────────────────────┐ │ Summary │ └──────────────────────────────────────────────────────────────────────────────┘ Architecture: amd64 Build-Space: 16240 Build-Time: 60 Distribution: unstable Fail-Stage: build Install-Time: 8 Job: testdisk_6.13-1 Package: testdisk Package-Time: 95 Source-Version: 6.13-1 Space: 16240 Status: attempted Version: 6.13-1 ──────────────────────────────────────────────────────────────────────────────── Finished at 20120623-1635 Build needed 00:01:35, 16240k disc space DC-Status: Failed 95.545863s