sbuild (Debian sbuild) 0.85.0 (04 January 2023) on debian-ci-siliconvalley +==============================================================================+ | testdisk 7.2-0.1 (riscv64) Thu, 17 Oct 2024 13:28:47 +0000 | +==============================================================================+ Package: testdisk Version: 7.2-0.1 Source Version: 7.2-0.1 Distribution: unstable Machine Architecture: amd64 Host Architecture: riscv64 Build Architecture: amd64 Build Profiles: cross nocheck Build Type: any I: NOTICE: Log filtering will replace 'var/run/schroot/mount/sid-amd64-sbuild-bc7b98de-1586-4f4c-bb6a-c98a464e2889' with '<>' I: NOTICE: Log filtering will replace 'build/testdisk-Tkq3wz/resolver-hi9NiA' with '<>' +------------------------------------------------------------------------------+ | Update chroot | +------------------------------------------------------------------------------+ Get:1 http://localhost:3142/debian unstable InRelease [202 kB] Get:2 http://localhost:3142/debian unstable/main Sources [10.9 MB] Get:3 http://localhost:3142/debian unstable/non-free Sources [84.0 kB] Get:4 http://localhost:3142/debian unstable/non-free-firmware Sources [7068 B] Get:5 http://localhost:3142/debian unstable/contrib Sources [62.1 kB] Get:6 http://localhost:3142/debian unstable/main riscv64 Packages [9630 kB] Get:7 http://localhost:3142/debian unstable/main amd64 Packages [10.0 MB] Fetched 30.9 MB in 3s (11.6 MB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. +------------------------------------------------------------------------------+ | Fetch source files | +------------------------------------------------------------------------------+ Check APT --------- Checking available source versions... Download source files with APT ------------------------------ Reading package lists... Need to get 862 kB of source archives. Get:1 http://localhost:3142/debian unstable/main testdisk 7.2-0.1 (dsc) [1835 B] Get:2 http://localhost:3142/debian unstable/main testdisk 7.2-0.1 (tar) [856 kB] Get:3 http://localhost:3142/debian unstable/main testdisk 7.2-0.1 (diff) [4648 B] Fetched 862 kB in 0s (16.3 MB/s) Download complete and in download only mode I: NOTICE: Log filtering will replace 'build/testdisk-Tkq3wz/testdisk-7.2' with '<>' I: NOTICE: Log filtering will replace 'build/testdisk-Tkq3wz' with '<>' +------------------------------------------------------------------------------+ | Install package build dependencies | +------------------------------------------------------------------------------+ Setup apt archive ----------------- Merged Build-Depends: debhelper (>= 9.20160114), libext2fs-dev, libncurses-dev, ntfs-3g-dev, libjpeg-dev, uuid-dev, zlib1g-dev, dh-autoreconf, pkgconf, libc-dev, libstdc++-dev, build-essential:amd64, fakeroot:amd64, crossbuild-essential-riscv64:amd64, libc-dev:riscv64, libstdc++-dev:riscv64 Filtered Build-Depends: debhelper (>= 9.20160114), libext2fs-dev, libncurses-dev, ntfs-3g-dev, libjpeg-dev, uuid-dev, zlib1g-dev, dh-autoreconf, pkgconf, libc-dev, libstdc++-dev, build-essential:amd64, fakeroot:amd64, crossbuild-essential-riscv64:amd64, libc-dev:riscv64, libstdc++-dev:riscv64 dpkg-deb: building package 'sbuild-build-depends-main-dummy' in '/<>/apt_archive/sbuild-build-depends-main-dummy.deb'. Ign:1 copy:/<>/apt_archive ./ InRelease Get:2 copy:/<>/apt_archive ./ Release [609 B] Ign:3 copy:/<>/apt_archive ./ Release.gpg Get:4 copy:/<>/apt_archive ./ Sources [838 B] Get:5 copy:/<>/apt_archive ./ Packages [870 B] Fetched 2317 B in 0s (0 B/s) Reading package lists... Reading package lists... Install main build dependencies (apt-based resolver) ---------------------------------------------------- Installing build dependencies Reading package lists... Building dependency tree... Reading state information... Execute external solver... The following additional packages will be installed: adduser autoconf automake autopoint autotools-dev binutils-riscv64-linux-gnu bsdextrautils comerr-dev:riscv64 cpp-14-riscv64-linux-gnu cpp-riscv64-linux-gnu crossbuild-essential-riscv64 debhelper dh-autoreconf dh-strip-nondeterminism dwz fakeroot file fuse3:riscv64 g++-14-riscv64-linux-gnu g++-riscv64-linux-gnu gcc-14-base:riscv64 gcc-14-cross-base gcc-14-riscv64-linux-gnu gcc-14-riscv64-linux-gnu-base gcc-riscv64-linux-gnu gettext gettext-base groff-base intltool-debian libarchive-zip-perl libasan8:riscv64 libasan8-riscv64-cross libatomic1:riscv64 libatomic1-riscv64-cross libc6:riscv64 libc6-dev:riscv64 libc6-dev-riscv64-cross libc6-riscv64-cross libcom-err2:riscv64 libcrypt-dev:riscv64 libcrypt1:riscv64 libdebhelper-perl libelf1t64 libext2fs-dev:riscv64 libext2fs2t64:riscv64 libfakeroot libffi8:riscv64 libfile-stripnondeterminism-perl libfuse3-3:riscv64 libgcc-14-dev:riscv64 libgcc-14-dev-riscv64-cross libgcc-s1:riscv64 libgcc-s1-riscv64-cross libgcrypt20:riscv64 libgmp10:riscv64 libgnutls30t64:riscv64 libgomp1:riscv64 libgomp1-riscv64-cross libgpg-error0:riscv64 libhogweed6t64:riscv64 libicu72 libidn2-0:riscv64 libitm1:riscv64 libitm1-riscv64-cross libjpeg-dev:riscv64 libjpeg62-turbo:riscv64 libjpeg62-turbo-dev:riscv64 liblsan0:riscv64 liblsan0-riscv64-cross libmagic-mgc libmagic1t64 libncurses-dev:riscv64 libncurses6:riscv64 libncursesw6:riscv64 libnettle8t64:riscv64 libntfs-3g89t64:riscv64 libp11-kit0:riscv64 libpipeline1 libpkgconf3 libstdc++-14-dev:riscv64 libstdc++-14-dev-riscv64-cross libstdc++6:riscv64 libstdc++6-riscv64-cross libtasn1-6:riscv64 libtinfo6:riscv64 libtool libtsan2:riscv64 libtsan2-riscv64-cross libubsan1:riscv64 libubsan1-riscv64-cross libuchardet0 libunistring5:riscv64 libuuid1:riscv64 libxml2 linux-libc-dev-riscv64-cross m4 man-db ntfs-3g:riscv64 ntfs-3g-dev:riscv64 pkgconf:riscv64 pkgconf-bin po-debconf sensible-utils uuid-dev:riscv64 zlib1g:riscv64 zlib1g-dev:riscv64 Suggested packages: liblocale-gettext-perl cron quota autoconf-archive gnu-standards autoconf-doc binutils-doc doc-base:riscv64 gcc-14-locales cpp-14-doc cpp-doc dh-make gcc-14-doc manpages-dev flex bison gdb-riscv64-linux-gnu gcc-doc gettext-doc libasprintf-dev libgettextpo-dev groff glibc-doc:riscv64 libc-l10n:riscv64 locales:riscv64 libnss-nis:riscv64 libnss-nisplus:riscv64 manpages-dev:riscv64 rng-tools:riscv64 gnutls-bin:riscv64 ncurses-doc:riscv64 libstdc++-14-doc:riscv64 libtool-doc gfortran | fortran95-compiler gcj-jdk uuid-runtime:riscv64 m4-doc apparmor less www-browser fdisk:riscv64 libmail-box-perl Recommended packages: curl | wget | lynx libarchive-cpio-perl libgpg-error-l10n:riscv64 libgpm2:riscv64 libltdl-dev libmail-sendmail-perl The following NEW packages will be installed: adduser autoconf automake autopoint autotools-dev binutils-riscv64-linux-gnu bsdextrautils comerr-dev:riscv64 cpp-14-riscv64-linux-gnu cpp-riscv64-linux-gnu crossbuild-essential-riscv64 debhelper dh-autoreconf dh-strip-nondeterminism dwz fakeroot file fuse3:riscv64 g++-14-riscv64-linux-gnu g++-riscv64-linux-gnu gcc-14-base:riscv64 gcc-14-cross-base gcc-14-riscv64-linux-gnu gcc-14-riscv64-linux-gnu-base gcc-riscv64-linux-gnu gettext gettext-base groff-base intltool-debian libarchive-zip-perl libasan8:riscv64 libasan8-riscv64-cross libatomic1:riscv64 libatomic1-riscv64-cross libc6:riscv64 libc6-dev:riscv64 libc6-dev-riscv64-cross libc6-riscv64-cross libcom-err2:riscv64 libcrypt-dev:riscv64 libcrypt1:riscv64 libdebhelper-perl libelf1t64 libext2fs-dev:riscv64 libext2fs2t64:riscv64 libfakeroot libffi8:riscv64 libfile-stripnondeterminism-perl libfuse3-3:riscv64 libgcc-14-dev:riscv64 libgcc-14-dev-riscv64-cross libgcc-s1:riscv64 libgcc-s1-riscv64-cross libgcrypt20:riscv64 libgmp10:riscv64 libgnutls30t64:riscv64 libgomp1:riscv64 libgomp1-riscv64-cross libgpg-error0:riscv64 libhogweed6t64:riscv64 libicu72 libidn2-0:riscv64 libitm1:riscv64 libitm1-riscv64-cross libjpeg-dev:riscv64 libjpeg62-turbo:riscv64 libjpeg62-turbo-dev:riscv64 liblsan0:riscv64 liblsan0-riscv64-cross libmagic-mgc libmagic1t64 libncurses-dev:riscv64 libncurses6:riscv64 libncursesw6:riscv64 libnettle8t64:riscv64 libntfs-3g89t64:riscv64 libp11-kit0:riscv64 libpipeline1 libpkgconf3 libstdc++-14-dev:riscv64 libstdc++-14-dev-riscv64-cross libstdc++6:riscv64 libstdc++6-riscv64-cross libtasn1-6:riscv64 libtinfo6:riscv64 libtool libtsan2:riscv64 libtsan2-riscv64-cross libubsan1:riscv64 libubsan1-riscv64-cross libuchardet0 libunistring5:riscv64 libuuid1:riscv64 libxml2 linux-libc-dev-riscv64-cross m4 man-db ntfs-3g:riscv64 ntfs-3g-dev:riscv64 pkgconf:riscv64 pkgconf-bin po-debconf sbuild-build-depends-main-dummy:riscv64 sensible-utils uuid-dev:riscv64 zlib1g:riscv64 zlib1g-dev:riscv64 0 upgraded, 107 newly installed, 0 to remove and 0 not upgraded. Need to get 133 MB of archives. After this operation, 689 MB of additional disk space will be used. Get:1 copy:/<>/apt_archive ./ sbuild-build-depends-main-dummy 0.invalid.0 [972 B] Get:2 http://localhost:3142/debian unstable/main amd64 adduser all 3.137 [140 kB] Get:3 http://localhost:3142/debian unstable/main amd64 sensible-utils all 0.0.24 [24.8 kB] Get:4 http://localhost:3142/debian unstable/main amd64 libmagic-mgc amd64 1:5.45-3 [314 kB] Get:5 http://localhost:3142/debian unstable/main amd64 libmagic1t64 amd64 1:5.45-3 [105 kB] Get:6 http://localhost:3142/debian unstable/main amd64 file amd64 1:5.45-3 [42.9 kB] Get:7 http://localhost:3142/debian unstable/main amd64 gettext-base amd64 0.22.5-2 [200 kB] Get:8 http://localhost:3142/debian unstable/main amd64 libuchardet0 amd64 0.0.8-1+b1 [68.8 kB] Get:9 http://localhost:3142/debian unstable/main amd64 groff-base amd64 1.23.0-5 [1181 kB] Get:10 http://localhost:3142/debian unstable/main amd64 bsdextrautils amd64 2.40.2-9 [97.2 kB] Get:11 http://localhost:3142/debian unstable/main amd64 libpipeline1 amd64 1.5.8-1 [42.0 kB] Get:12 http://localhost:3142/debian unstable/main amd64 man-db amd64 2.13.0-1 [1420 kB] Get:13 http://localhost:3142/debian unstable/main amd64 m4 amd64 1.4.19-4 [287 kB] Get:14 http://localhost:3142/debian unstable/main amd64 autoconf all 2.72-3 [493 kB] Get:15 http://localhost:3142/debian unstable/main amd64 autotools-dev all 20220109.1 [51.6 kB] Get:16 http://localhost:3142/debian unstable/main amd64 automake all 1:1.16.5-1.3 [823 kB] Get:17 http://localhost:3142/debian unstable/main amd64 autopoint all 0.22.5-2 [723 kB] Get:18 http://localhost:3142/debian unstable/main amd64 binutils-riscv64-linux-gnu amd64 2.43.1-5 [1400 kB] Get:19 http://localhost:3142/debian unstable/main riscv64 gcc-14-base riscv64 14.2.0-6 [46.7 kB] Get:20 http://localhost:3142/debian unstable/main riscv64 libgcc-s1 riscv64 14.2.0-6 [56.6 kB] Get:21 http://localhost:3142/debian unstable/main riscv64 libc6 riscv64 2.40-3 [2436 kB] Get:22 http://localhost:3142/debian unstable/main riscv64 libcrypt1 riscv64 1:4.4.36-5 [105 kB] Get:23 http://localhost:3142/debian unstable/main riscv64 libcrypt-dev riscv64 1:4.4.36-5 [221 kB] Get:24 http://localhost:3142/debian unstable/main riscv64 libc6-dev riscv64 2.40-3 [3092 kB] Get:25 http://localhost:3142/debian unstable/main riscv64 libcom-err2 riscv64 1.47.1-1 [22.4 kB] Get:26 http://localhost:3142/debian unstable/main riscv64 comerr-dev riscv64 2.1-1.47.1-1 [57.7 kB] Get:27 http://localhost:3142/debian unstable/main amd64 gcc-14-riscv64-linux-gnu-base amd64 14.2.0-6cross1 [47.0 kB] Get:28 http://localhost:3142/debian unstable/main amd64 cpp-14-riscv64-linux-gnu amd64 14.2.0-6cross1 [13.3 MB] Get:29 http://localhost:3142/debian unstable/main amd64 cpp-riscv64-linux-gnu amd64 4:14.2.0-1 [4848 B] Get:30 http://localhost:3142/debian unstable/main amd64 gcc-14-cross-base all 14.2.0-6cross1 [42.2 kB] Get:31 http://localhost:3142/debian unstable/main amd64 libc6-riscv64-cross all 2.40-3cross1 [1141 kB] Get:32 http://localhost:3142/debian unstable/main amd64 libgcc-s1-riscv64-cross all 14.2.0-6cross1 [56.7 kB] Get:33 http://localhost:3142/debian unstable/main amd64 libgomp1-riscv64-cross all 14.2.0-6cross1 [129 kB] Get:34 http://localhost:3142/debian unstable/main amd64 libitm1-riscv64-cross all 14.2.0-6cross1 [25.2 kB] Get:35 http://localhost:3142/debian unstable/main amd64 libatomic1-riscv64-cross all 14.2.0-6cross1 [8304 B] Get:36 http://localhost:3142/debian unstable/main amd64 libasan8-riscv64-cross all 14.2.0-6cross1 [2356 kB] Get:37 http://localhost:3142/debian unstable/main amd64 liblsan0-riscv64-cross all 14.2.0-6cross1 [1077 kB] Get:38 http://localhost:3142/debian unstable/main amd64 libtsan2-riscv64-cross all 14.2.0-6cross1 [2231 kB] Get:39 http://localhost:3142/debian unstable/main amd64 libstdc++6-riscv64-cross all 14.2.0-6cross1 [660 kB] Get:40 http://localhost:3142/debian unstable/main amd64 libubsan1-riscv64-cross all 14.2.0-6cross1 [978 kB] Get:41 http://localhost:3142/debian unstable/main amd64 libgcc-14-dev-riscv64-cross all 14.2.0-6cross1 [5170 kB] Get:42 http://localhost:3142/debian unstable/main amd64 gcc-14-riscv64-linux-gnu amd64 14.2.0-6cross1 [25.7 MB] Get:43 http://localhost:3142/debian unstable/main amd64 gcc-riscv64-linux-gnu amd64 4:14.2.0-1 [1444 B] Get:44 http://localhost:3142/debian unstable/main amd64 linux-libc-dev-riscv64-cross all 6.11.2-1cross1 [2236 kB] Get:45 http://localhost:3142/debian unstable/main amd64 libc6-dev-riscv64-cross all 2.40-3cross1 [3085 kB] Get:46 http://localhost:3142/debian unstable/main amd64 libstdc++-14-dev-riscv64-cross all 14.2.0-6cross1 [4939 kB] Get:47 http://localhost:3142/debian unstable/main amd64 g++-14-riscv64-linux-gnu amd64 14.2.0-6cross1 [14.3 MB] Get:48 http://localhost:3142/debian unstable/main amd64 g++-riscv64-linux-gnu amd64 4:14.2.0-1 [1200 B] Get:49 http://localhost:3142/debian unstable/main amd64 crossbuild-essential-riscv64 all 12.12 [3544 B] Get:50 http://localhost:3142/debian unstable/main amd64 libdebhelper-perl all 13.20 [89.7 kB] Get:51 http://localhost:3142/debian unstable/main amd64 libtool all 2.4.7-7 [517 kB] Get:52 http://localhost:3142/debian unstable/main amd64 dh-autoreconf all 20 [17.1 kB] Get:53 http://localhost:3142/debian unstable/main amd64 libarchive-zip-perl all 1.68-1 [104 kB] Get:54 http://localhost:3142/debian unstable/main amd64 libfile-stripnondeterminism-perl all 1.14.0-1 [19.5 kB] Get:55 http://localhost:3142/debian unstable/main amd64 dh-strip-nondeterminism all 1.14.0-1 [8448 B] Get:56 http://localhost:3142/debian unstable/main amd64 libelf1t64 amd64 0.191-2 [188 kB] Get:57 http://localhost:3142/debian unstable/main amd64 dwz amd64 0.15-1+b1 [110 kB] Get:58 http://localhost:3142/debian unstable/main amd64 libicu72 amd64 72.1-5 [9396 kB] Get:59 http://localhost:3142/debian unstable/main amd64 libxml2 amd64 2.12.7+dfsg+really2.9.14-0.1 [699 kB] Get:60 http://localhost:3142/debian unstable/main amd64 gettext amd64 0.22.5-2 [1601 kB] Get:61 http://localhost:3142/debian unstable/main amd64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get:62 http://localhost:3142/debian unstable/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get:63 http://localhost:3142/debian unstable/main amd64 debhelper all 13.20 [915 kB] Get:64 http://localhost:3142/debian unstable/main amd64 libfakeroot amd64 1.36-1 [29.1 kB] Get:65 http://localhost:3142/debian unstable/main amd64 fakeroot amd64 1.36-1 [75.1 kB] Get:66 http://localhost:3142/debian unstable/main riscv64 libfuse3-3 riscv64 3.14.0-10 [88.5 kB] Get:67 http://localhost:3142/debian unstable/main riscv64 fuse3 riscv64 3.14.0-10 [35.9 kB] Get:68 http://localhost:3142/debian unstable/main riscv64 libasan8 riscv64 14.2.0-6 [2366 kB] Get:69 http://localhost:3142/debian unstable/main riscv64 libatomic1 riscv64 14.2.0-6 [8604 B] Get:70 http://localhost:3142/debian unstable/main riscv64 libext2fs2t64 riscv64 1.47.1-1 [225 kB] Get:71 http://localhost:3142/debian unstable/main riscv64 libext2fs-dev riscv64 1.47.1-1 [578 kB] Get:72 http://localhost:3142/debian unstable/main riscv64 libffi8 riscv64 3.4.6-1 [21.4 kB] Get:73 http://localhost:3142/debian unstable/main riscv64 libgomp1 riscv64 14.2.0-6 [131 kB] Get:74 http://localhost:3142/debian unstable/main riscv64 libitm1 riscv64 14.2.0-6 [25.8 kB] Get:75 http://localhost:3142/debian unstable/main riscv64 liblsan0 riscv64 14.2.0-6 [1078 kB] Get:76 http://localhost:3142/debian unstable/main riscv64 libtsan2 riscv64 14.2.0-6 [2242 kB] Get:77 http://localhost:3142/debian unstable/main riscv64 libstdc++6 riscv64 14.2.0-6 [708 kB] Get:78 http://localhost:3142/debian unstable/main riscv64 libubsan1 riscv64 14.2.0-6 [980 kB] Get:79 http://localhost:3142/debian unstable/main riscv64 libgcc-14-dev riscv64 14.2.0-6 [5182 kB] Get:80 http://localhost:3142/debian unstable/main riscv64 libgpg-error0 riscv64 1.50-4 [82.6 kB] Get:81 http://localhost:3142/debian unstable/main riscv64 libgcrypt20 riscv64 1.11.0-6 [826 kB] Get:82 http://localhost:3142/debian unstable/main riscv64 libgmp10 riscv64 2:6.3.0+dfsg-2+b1 [556 kB] Get:83 http://localhost:3142/debian unstable/main riscv64 libnettle8t64 riscv64 3.10-1 [338 kB] Get:84 http://localhost:3142/debian unstable/main riscv64 libhogweed6t64 riscv64 3.10-1 [335 kB] Get:85 http://localhost:3142/debian unstable/main riscv64 libunistring5 riscv64 1.2-1 [417 kB] Get:86 http://localhost:3142/debian unstable/main riscv64 libidn2-0 riscv64 2.3.7-2 [129 kB] Get:87 http://localhost:3142/debian unstable/main riscv64 libp11-kit0 riscv64 0.25.5-2 [441 kB] Get:88 http://localhost:3142/debian unstable/main riscv64 libtasn1-6 riscv64 4.19.0-3+b2 [50.3 kB] Get:89 http://localhost:3142/debian unstable/main riscv64 libgnutls30t64 riscv64 3.8.6-2 [1425 kB] Get:90 http://localhost:3142/debian unstable/main riscv64 libjpeg62-turbo riscv64 1:2.1.5-3 [155 kB] Get:91 http://localhost:3142/debian unstable/main riscv64 libjpeg62-turbo-dev riscv64 1:2.1.5-3 [417 kB] Get:92 http://localhost:3142/debian unstable/main riscv64 libjpeg-dev riscv64 1:2.1.5-3 [71.9 kB] Get:93 http://localhost:3142/debian unstable/main riscv64 libtinfo6 riscv64 6.5-2 [343 kB] Get:94 http://localhost:3142/debian unstable/main riscv64 libncurses6 riscv64 6.5-2 [105 kB] Get:95 http://localhost:3142/debian unstable/main riscv64 libncursesw6 riscv64 6.5-2 [140 kB] Get:96 http://localhost:3142/debian unstable/main riscv64 libncurses-dev riscv64 6.5-2 [831 kB] Get:97 http://localhost:3142/debian unstable/main riscv64 libntfs-3g89t64 riscv64 1:2022.10.3-5 [180 kB] Get:98 http://localhost:3142/debian unstable/main amd64 libpkgconf3 amd64 1.8.1-3 [36.2 kB] Get:99 http://localhost:3142/debian unstable/main riscv64 libstdc++-14-dev riscv64 14.2.0-6 [5238 kB] Get:100 http://localhost:3142/debian unstable/main riscv64 libuuid1 riscv64 2.40.2-9 [37.8 kB] Get:101 http://localhost:3142/debian unstable/main riscv64 ntfs-3g riscv64 1:2022.10.3-5 [419 kB] Get:102 http://localhost:3142/debian unstable/main riscv64 ntfs-3g-dev riscv64 1:2022.10.3-5 [492 kB] Get:103 http://localhost:3142/debian unstable/main amd64 pkgconf-bin amd64 1.8.1-3 [29.9 kB] Get:104 http://localhost:3142/debian unstable/main riscv64 pkgconf riscv64 1.8.1-3 [26.1 kB] Get:105 http://localhost:3142/debian unstable/main riscv64 uuid-dev riscv64 2.40.2-9 [62.0 kB] Get:106 http://localhost:3142/debian unstable/main riscv64 zlib1g riscv64 1:1.3.dfsg+really1.3.1-1 [84.7 kB] Get:107 http://localhost:3142/debian unstable/main riscv64 zlib1g-dev riscv64 1:1.3.dfsg+really1.3.1-1 [979 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 133 MB in 3s (44.2 MB/s) Selecting previously unselected package adduser. (Reading database ... 13004 files and directories currently installed.) Preparing to unpack .../archives/adduser_3.137_all.deb ... Unpacking adduser (3.137) ... Setting up adduser (3.137) ... Selecting previously unselected package sensible-utils. (Reading database ... 13075 files and directories currently installed.) Preparing to unpack .../000-sensible-utils_0.0.24_all.deb ... Unpacking sensible-utils (0.0.24) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../001-libmagic-mgc_1%3a5.45-3_amd64.deb ... Unpacking libmagic-mgc (1:5.45-3) ... Selecting previously unselected package libmagic1t64:amd64. Preparing to unpack .../002-libmagic1t64_1%3a5.45-3_amd64.deb ... Unpacking libmagic1t64:amd64 (1:5.45-3) ... Selecting previously unselected package file. Preparing to unpack .../003-file_1%3a5.45-3_amd64.deb ... Unpacking file (1:5.45-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../004-gettext-base_0.22.5-2_amd64.deb ... Unpacking gettext-base (0.22.5-2) ... Selecting previously unselected package libuchardet0:amd64. Preparing to unpack .../005-libuchardet0_0.0.8-1+b1_amd64.deb ... Unpacking libuchardet0:amd64 (0.0.8-1+b1) ... Selecting previously unselected package groff-base. Preparing to unpack .../006-groff-base_1.23.0-5_amd64.deb ... Unpacking groff-base (1.23.0-5) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../007-bsdextrautils_2.40.2-9_amd64.deb ... Unpacking bsdextrautils (2.40.2-9) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../008-libpipeline1_1.5.8-1_amd64.deb ... Unpacking libpipeline1:amd64 (1.5.8-1) ... Selecting previously unselected package man-db. Preparing to unpack .../009-man-db_2.13.0-1_amd64.deb ... Unpacking man-db (2.13.0-1) ... Selecting previously unselected package m4. Preparing to unpack .../010-m4_1.4.19-4_amd64.deb ... Unpacking m4 (1.4.19-4) ... Selecting previously unselected package autoconf. Preparing to unpack .../011-autoconf_2.72-3_all.deb ... Unpacking autoconf (2.72-3) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../012-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../013-automake_1%3a1.16.5-1.3_all.deb ... Unpacking automake (1:1.16.5-1.3) ... Selecting previously unselected package autopoint. Preparing to unpack .../014-autopoint_0.22.5-2_all.deb ... Unpacking autopoint (0.22.5-2) ... Selecting previously unselected package binutils-riscv64-linux-gnu. Preparing to unpack .../015-binutils-riscv64-linux-gnu_2.43.1-5_amd64.deb ... Unpacking binutils-riscv64-linux-gnu (2.43.1-5) ... Selecting previously unselected package gcc-14-base:riscv64. Preparing to unpack .../016-gcc-14-base_14.2.0-6_riscv64.deb ... Unpacking gcc-14-base:riscv64 (14.2.0-6) ... Selecting previously unselected package libgcc-s1:riscv64. Preparing to unpack .../017-libgcc-s1_14.2.0-6_riscv64.deb ... Unpacking libgcc-s1:riscv64 (14.2.0-6) ... Selecting previously unselected package libc6:riscv64. Preparing to unpack .../018-libc6_2.40-3_riscv64.deb ... Unpacking libc6:riscv64 (2.40-3) ... Selecting previously unselected package libcrypt1:riscv64. Preparing to unpack .../019-libcrypt1_1%3a4.4.36-5_riscv64.deb ... Unpacking libcrypt1:riscv64 (1:4.4.36-5) ... Selecting previously unselected package libcrypt-dev:riscv64. Preparing to unpack .../020-libcrypt-dev_1%3a4.4.36-5_riscv64.deb ... Unpacking libcrypt-dev:riscv64 (1:4.4.36-5) ... Selecting previously unselected package libc6-dev:riscv64. Preparing to unpack .../021-libc6-dev_2.40-3_riscv64.deb ... Unpacking libc6-dev:riscv64 (2.40-3) ... Selecting previously unselected package libcom-err2:riscv64. Preparing to unpack .../022-libcom-err2_1.47.1-1_riscv64.deb ... Unpacking libcom-err2:riscv64 (1.47.1-1) ... Selecting previously unselected package comerr-dev:riscv64. Preparing to unpack .../023-comerr-dev_2.1-1.47.1-1_riscv64.deb ... Unpacking comerr-dev:riscv64 (2.1-1.47.1-1) ... Selecting previously unselected package gcc-14-riscv64-linux-gnu-base:amd64. Preparing to unpack .../024-gcc-14-riscv64-linux-gnu-base_14.2.0-6cross1_amd64.deb ... Unpacking gcc-14-riscv64-linux-gnu-base:amd64 (14.2.0-6cross1) ... Selecting previously unselected package cpp-14-riscv64-linux-gnu. Preparing to unpack .../025-cpp-14-riscv64-linux-gnu_14.2.0-6cross1_amd64.deb ... Unpacking cpp-14-riscv64-linux-gnu (14.2.0-6cross1) ... Selecting previously unselected package cpp-riscv64-linux-gnu. Preparing to unpack .../026-cpp-riscv64-linux-gnu_4%3a14.2.0-1_amd64.deb ... Unpacking cpp-riscv64-linux-gnu (4:14.2.0-1) ... Selecting previously unselected package gcc-14-cross-base. Preparing to unpack .../027-gcc-14-cross-base_14.2.0-6cross1_all.deb ... Unpacking gcc-14-cross-base (14.2.0-6cross1) ... Selecting previously unselected package libc6-riscv64-cross. Preparing to unpack .../028-libc6-riscv64-cross_2.40-3cross1_all.deb ... Unpacking libc6-riscv64-cross (2.40-3cross1) ... Selecting previously unselected package libgcc-s1-riscv64-cross. Preparing to unpack .../029-libgcc-s1-riscv64-cross_14.2.0-6cross1_all.deb ... Unpacking libgcc-s1-riscv64-cross (14.2.0-6cross1) ... Selecting previously unselected package libgomp1-riscv64-cross. Preparing to unpack .../030-libgomp1-riscv64-cross_14.2.0-6cross1_all.deb ... Unpacking libgomp1-riscv64-cross (14.2.0-6cross1) ... Selecting previously unselected package libitm1-riscv64-cross. Preparing to unpack .../031-libitm1-riscv64-cross_14.2.0-6cross1_all.deb ... Unpacking libitm1-riscv64-cross (14.2.0-6cross1) ... Selecting previously unselected package libatomic1-riscv64-cross. Preparing to unpack .../032-libatomic1-riscv64-cross_14.2.0-6cross1_all.deb ... Unpacking libatomic1-riscv64-cross (14.2.0-6cross1) ... Selecting previously unselected package libasan8-riscv64-cross. Preparing to unpack .../033-libasan8-riscv64-cross_14.2.0-6cross1_all.deb ... Unpacking libasan8-riscv64-cross (14.2.0-6cross1) ... Selecting previously unselected package liblsan0-riscv64-cross. Preparing to unpack .../034-liblsan0-riscv64-cross_14.2.0-6cross1_all.deb ... Unpacking liblsan0-riscv64-cross (14.2.0-6cross1) ... Selecting previously unselected package libtsan2-riscv64-cross. Preparing to unpack .../035-libtsan2-riscv64-cross_14.2.0-6cross1_all.deb ... Unpacking libtsan2-riscv64-cross (14.2.0-6cross1) ... Selecting previously unselected package libstdc++6-riscv64-cross. Preparing to unpack .../036-libstdc++6-riscv64-cross_14.2.0-6cross1_all.deb ... Unpacking libstdc++6-riscv64-cross (14.2.0-6cross1) ... Selecting previously unselected package libubsan1-riscv64-cross. Preparing to unpack .../037-libubsan1-riscv64-cross_14.2.0-6cross1_all.deb ... Unpacking libubsan1-riscv64-cross (14.2.0-6cross1) ... Selecting previously unselected package libgcc-14-dev-riscv64-cross. Preparing to unpack .../038-libgcc-14-dev-riscv64-cross_14.2.0-6cross1_all.deb ... Unpacking libgcc-14-dev-riscv64-cross (14.2.0-6cross1) ... Selecting previously unselected package gcc-14-riscv64-linux-gnu. Preparing to unpack .../039-gcc-14-riscv64-linux-gnu_14.2.0-6cross1_amd64.deb ... Unpacking gcc-14-riscv64-linux-gnu (14.2.0-6cross1) ... Selecting previously unselected package gcc-riscv64-linux-gnu. Preparing to unpack .../040-gcc-riscv64-linux-gnu_4%3a14.2.0-1_amd64.deb ... Unpacking gcc-riscv64-linux-gnu (4:14.2.0-1) ... Selecting previously unselected package linux-libc-dev-riscv64-cross. Preparing to unpack .../041-linux-libc-dev-riscv64-cross_6.11.2-1cross1_all.deb ... Unpacking linux-libc-dev-riscv64-cross (6.11.2-1cross1) ... Selecting previously unselected package libc6-dev-riscv64-cross. Preparing to unpack .../042-libc6-dev-riscv64-cross_2.40-3cross1_all.deb ... Unpacking libc6-dev-riscv64-cross (2.40-3cross1) ... Selecting previously unselected package libstdc++-14-dev-riscv64-cross. Preparing to unpack .../043-libstdc++-14-dev-riscv64-cross_14.2.0-6cross1_all.deb ... Unpacking libstdc++-14-dev-riscv64-cross (14.2.0-6cross1) ... Selecting previously unselected package g++-14-riscv64-linux-gnu. Preparing to unpack .../044-g++-14-riscv64-linux-gnu_14.2.0-6cross1_amd64.deb ... Unpacking g++-14-riscv64-linux-gnu (14.2.0-6cross1) ... Selecting previously unselected package g++-riscv64-linux-gnu. Preparing to unpack .../045-g++-riscv64-linux-gnu_4%3a14.2.0-1_amd64.deb ... Unpacking g++-riscv64-linux-gnu (4:14.2.0-1) ... Selecting previously unselected package crossbuild-essential-riscv64. Preparing to unpack .../046-crossbuild-essential-riscv64_12.12_all.deb ... Unpacking crossbuild-essential-riscv64 (12.12) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../047-libdebhelper-perl_13.20_all.deb ... Unpacking libdebhelper-perl (13.20) ... Selecting previously unselected package libtool. Preparing to unpack .../048-libtool_2.4.7-7_all.deb ... Unpacking libtool (2.4.7-7) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../049-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../050-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../051-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../052-dh-strip-nondeterminism_1.14.0-1_all.deb ... Unpacking dh-strip-nondeterminism (1.14.0-1) ... Selecting previously unselected package libelf1t64:amd64. Preparing to unpack .../053-libelf1t64_0.191-2_amd64.deb ... Unpacking libelf1t64:amd64 (0.191-2) ... Selecting previously unselected package dwz. Preparing to unpack .../054-dwz_0.15-1+b1_amd64.deb ... Unpacking dwz (0.15-1+b1) ... Selecting previously unselected package libicu72:amd64. Preparing to unpack .../055-libicu72_72.1-5_amd64.deb ... Unpacking libicu72:amd64 (72.1-5) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../056-libxml2_2.12.7+dfsg+really2.9.14-0.1_amd64.deb ... Unpacking libxml2:amd64 (2.12.7+dfsg+really2.9.14-0.1) ... Selecting previously unselected package gettext. Preparing to unpack .../057-gettext_0.22.5-2_amd64.deb ... Unpacking gettext (0.22.5-2) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../058-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../059-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../060-debhelper_13.20_all.deb ... Unpacking debhelper (13.20) ... Selecting previously unselected package libfakeroot:amd64. Preparing to unpack .../061-libfakeroot_1.36-1_amd64.deb ... Unpacking libfakeroot:amd64 (1.36-1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../062-fakeroot_1.36-1_amd64.deb ... Unpacking fakeroot (1.36-1) ... Selecting previously unselected package libfuse3-3:riscv64. Preparing to unpack .../063-libfuse3-3_3.14.0-10_riscv64.deb ... Unpacking libfuse3-3:riscv64 (3.14.0-10) ... Selecting previously unselected package fuse3:riscv64. Preparing to unpack .../064-fuse3_3.14.0-10_riscv64.deb ... Adding 'diversion of /bin/fusermount to /bin/fusermount.usr-is-merged by fuse3' Adding 'diversion of /sbin/mount.fuse to /sbin/mount.fuse.usr-is-merged by fuse3' Unpacking fuse3:riscv64 (3.14.0-10) ... Selecting previously unselected package libasan8:riscv64. Preparing to unpack .../065-libasan8_14.2.0-6_riscv64.deb ... Unpacking libasan8:riscv64 (14.2.0-6) ... Selecting previously unselected package libatomic1:riscv64. Preparing to unpack .../066-libatomic1_14.2.0-6_riscv64.deb ... Unpacking libatomic1:riscv64 (14.2.0-6) ... Selecting previously unselected package libext2fs2t64:riscv64. Preparing to unpack .../067-libext2fs2t64_1.47.1-1_riscv64.deb ... Adding 'diversion of /lib/riscv64-linux-gnu/libe2p.so.2 to /lib/riscv64-linux-gnu/libe2p.so.2.usr-is-merged by libext2fs2t64' Adding 'diversion of /lib/riscv64-linux-gnu/libe2p.so.2.3 to /lib/riscv64-linux-gnu/libe2p.so.2.3.usr-is-merged by libext2fs2t64' Adding 'diversion of /lib/riscv64-linux-gnu/libext2fs.so.2 to /lib/riscv64-linux-gnu/libext2fs.so.2.usr-is-merged by libext2fs2t64' Adding 'diversion of /lib/riscv64-linux-gnu/libext2fs.so.2.4 to /lib/riscv64-linux-gnu/libext2fs.so.2.4.usr-is-merged by libext2fs2t64' Unpacking libext2fs2t64:riscv64 (1.47.1-1) ... Selecting previously unselected package libext2fs-dev:riscv64. Preparing to unpack .../068-libext2fs-dev_1.47.1-1_riscv64.deb ... Unpacking libext2fs-dev:riscv64 (1.47.1-1) ... Selecting previously unselected package libffi8:riscv64. Preparing to unpack .../069-libffi8_3.4.6-1_riscv64.deb ... Unpacking libffi8:riscv64 (3.4.6-1) ... Selecting previously unselected package libgomp1:riscv64. Preparing to unpack .../070-libgomp1_14.2.0-6_riscv64.deb ... Unpacking libgomp1:riscv64 (14.2.0-6) ... Selecting previously unselected package libitm1:riscv64. Preparing to unpack .../071-libitm1_14.2.0-6_riscv64.deb ... Unpacking libitm1:riscv64 (14.2.0-6) ... Selecting previously unselected package liblsan0:riscv64. Preparing to unpack .../072-liblsan0_14.2.0-6_riscv64.deb ... Unpacking liblsan0:riscv64 (14.2.0-6) ... Selecting previously unselected package libtsan2:riscv64. Preparing to unpack .../073-libtsan2_14.2.0-6_riscv64.deb ... Unpacking libtsan2:riscv64 (14.2.0-6) ... Selecting previously unselected package libstdc++6:riscv64. Preparing to unpack .../074-libstdc++6_14.2.0-6_riscv64.deb ... Unpacking libstdc++6:riscv64 (14.2.0-6) ... Selecting previously unselected package libubsan1:riscv64. Preparing to unpack .../075-libubsan1_14.2.0-6_riscv64.deb ... Unpacking libubsan1:riscv64 (14.2.0-6) ... Selecting previously unselected package libgcc-14-dev:riscv64. Preparing to unpack .../076-libgcc-14-dev_14.2.0-6_riscv64.deb ... Unpacking libgcc-14-dev:riscv64 (14.2.0-6) ... Selecting previously unselected package libgpg-error0:riscv64. Preparing to unpack .../077-libgpg-error0_1.50-4_riscv64.deb ... Unpacking libgpg-error0:riscv64 (1.50-4) ... Selecting previously unselected package libgcrypt20:riscv64. Preparing to unpack .../078-libgcrypt20_1.11.0-6_riscv64.deb ... Unpacking libgcrypt20:riscv64 (1.11.0-6) ... Selecting previously unselected package libgmp10:riscv64. Preparing to unpack .../079-libgmp10_2%3a6.3.0+dfsg-2+b1_riscv64.deb ... Unpacking libgmp10:riscv64 (2:6.3.0+dfsg-2+b1) ... Selecting previously unselected package libnettle8t64:riscv64. Preparing to unpack .../080-libnettle8t64_3.10-1_riscv64.deb ... Unpacking libnettle8t64:riscv64 (3.10-1) ... Selecting previously unselected package libhogweed6t64:riscv64. Preparing to unpack .../081-libhogweed6t64_3.10-1_riscv64.deb ... Unpacking libhogweed6t64:riscv64 (3.10-1) ... Selecting previously unselected package libunistring5:riscv64. Preparing to unpack .../082-libunistring5_1.2-1_riscv64.deb ... Unpacking libunistring5:riscv64 (1.2-1) ... Selecting previously unselected package libidn2-0:riscv64. Preparing to unpack .../083-libidn2-0_2.3.7-2_riscv64.deb ... Unpacking libidn2-0:riscv64 (2.3.7-2) ... Selecting previously unselected package libp11-kit0:riscv64. Preparing to unpack .../084-libp11-kit0_0.25.5-2_riscv64.deb ... Unpacking libp11-kit0:riscv64 (0.25.5-2) ... Selecting previously unselected package libtasn1-6:riscv64. Preparing to unpack .../085-libtasn1-6_4.19.0-3+b2_riscv64.deb ... Unpacking libtasn1-6:riscv64 (4.19.0-3+b2) ... Selecting previously unselected package libgnutls30t64:riscv64. Preparing to unpack .../086-libgnutls30t64_3.8.6-2_riscv64.deb ... Unpacking libgnutls30t64:riscv64 (3.8.6-2) ... Selecting previously unselected package libjpeg62-turbo:riscv64. Preparing to unpack .../087-libjpeg62-turbo_1%3a2.1.5-3_riscv64.deb ... Unpacking libjpeg62-turbo:riscv64 (1:2.1.5-3) ... Selecting previously unselected package libjpeg62-turbo-dev:riscv64. Preparing to unpack .../088-libjpeg62-turbo-dev_1%3a2.1.5-3_riscv64.deb ... Unpacking libjpeg62-turbo-dev:riscv64 (1:2.1.5-3) ... Selecting previously unselected package libjpeg-dev:riscv64. Preparing to unpack .../089-libjpeg-dev_1%3a2.1.5-3_riscv64.deb ... Unpacking libjpeg-dev:riscv64 (1:2.1.5-3) ... Selecting previously unselected package libtinfo6:riscv64. Preparing to unpack .../090-libtinfo6_6.5-2_riscv64.deb ... Unpacking libtinfo6:riscv64 (6.5-2) ... Selecting previously unselected package libncurses6:riscv64. Preparing to unpack .../091-libncurses6_6.5-2_riscv64.deb ... Unpacking libncurses6:riscv64 (6.5-2) ... Selecting previously unselected package libncursesw6:riscv64. Preparing to unpack .../092-libncursesw6_6.5-2_riscv64.deb ... Unpacking libncursesw6:riscv64 (6.5-2) ... Selecting previously unselected package libncurses-dev:riscv64. Preparing to unpack .../093-libncurses-dev_6.5-2_riscv64.deb ... Unpacking libncurses-dev:riscv64 (6.5-2) ... Selecting previously unselected package libntfs-3g89t64:riscv64. Preparing to unpack .../094-libntfs-3g89t64_1%3a2022.10.3-5_riscv64.deb ... Adding 'diversion of /lib/riscv64-linux-gnu/libntfs-3g.so.89 to /lib/riscv64-linux-gnu/libntfs-3g.so.89.usr-is-merged by libntfs-3g89t64' Adding 'diversion of /lib/riscv64-linux-gnu/libntfs-3g.so.89.0.0 to /lib/riscv64-linux-gnu/libntfs-3g.so.89.0.0.usr-is-merged by libntfs-3g89t64' Unpacking libntfs-3g89t64:riscv64 (1:2022.10.3-5) ... Selecting previously unselected package libpkgconf3:amd64. Preparing to unpack .../095-libpkgconf3_1.8.1-3_amd64.deb ... Unpacking libpkgconf3:amd64 (1.8.1-3) ... Selecting previously unselected package libstdc++-14-dev:riscv64. Preparing to unpack .../096-libstdc++-14-dev_14.2.0-6_riscv64.deb ... Unpacking libstdc++-14-dev:riscv64 (14.2.0-6) ... Selecting previously unselected package libuuid1:riscv64. Preparing to unpack .../097-libuuid1_2.40.2-9_riscv64.deb ... Unpacking libuuid1:riscv64 (2.40.2-9) ... Selecting previously unselected package ntfs-3g:riscv64. Preparing to unpack .../098-ntfs-3g_1%3a2022.10.3-5_riscv64.deb ... Unpacking ntfs-3g:riscv64 (1:2022.10.3-5) ... Selecting previously unselected package ntfs-3g-dev:riscv64. Preparing to unpack .../099-ntfs-3g-dev_1%3a2022.10.3-5_riscv64.deb ... Unpacking ntfs-3g-dev:riscv64 (1:2022.10.3-5) ... Selecting previously unselected package pkgconf-bin. Preparing to unpack .../100-pkgconf-bin_1.8.1-3_amd64.deb ... Unpacking pkgconf-bin (1.8.1-3) ... Selecting previously unselected package pkgconf:riscv64. Preparing to unpack .../101-pkgconf_1.8.1-3_riscv64.deb ... Unpacking pkgconf:riscv64 (1.8.1-3) ... Selecting previously unselected package uuid-dev:riscv64. Preparing to unpack .../102-uuid-dev_2.40.2-9_riscv64.deb ... Unpacking uuid-dev:riscv64 (2.40.2-9) ... Selecting previously unselected package zlib1g:riscv64. Preparing to unpack .../103-zlib1g_1%3a1.3.dfsg+really1.3.1-1_riscv64.deb ... Unpacking zlib1g:riscv64 (1:1.3.dfsg+really1.3.1-1) ... Selecting previously unselected package zlib1g-dev:riscv64. Preparing to unpack .../104-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1_riscv64.deb ... Unpacking zlib1g-dev:riscv64 (1:1.3.dfsg+really1.3.1-1) ... Selecting previously unselected package sbuild-build-depends-main-dummy:riscv64. Preparing to unpack .../105-sbuild-build-depends-main-dummy_0.invalid.0_riscv64.deb ... Unpacking sbuild-build-depends-main-dummy:riscv64 (0.invalid.0) ... Setting up libpipeline1:amd64 (1.5.8-1) ... Setting up libicu72:amd64 (72.1-5) ... Setting up bsdextrautils (2.40.2-9) ... Setting up libmagic-mgc (1:5.45-3) ... Setting up gcc-14-base:riscv64 (14.2.0-6) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.20) ... Setting up libmagic1t64:amd64 (1:5.45-3) ... Setting up gettext-base (0.22.5-2) ... Setting up binutils-riscv64-linux-gnu (2.43.1-5) ... Setting up m4 (1.4.19-4) ... Setting up gcc-14-cross-base (14.2.0-6cross1) ... Setting up file (1:5.45-3) ... Setting up libfakeroot:amd64 (1.36-1) ... Setting up libelf1t64:amd64 (0.191-2) ... Setting up fakeroot (1.36-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Setting up autotools-dev (20220109.1) ... Setting up libpkgconf3:amd64 (1.8.1-3) ... Setting up gcc-14-riscv64-linux-gnu-base:amd64 (14.2.0-6cross1) ... Setting up autopoint (0.22.5-2) ... Setting up pkgconf-bin (1.8.1-3) ... Setting up autoconf (2.72-3) ... Setting up dwz (0.15-1+b1) ... Setting up sensible-utils (0.0.24) ... Setting up libuchardet0:amd64 (0.0.8-1+b1) ... Setting up linux-libc-dev-riscv64-cross (6.11.2-1cross1) ... Setting up libc6-riscv64-cross (2.40-3cross1) ... Setting up libgomp1-riscv64-cross (14.2.0-6cross1) ... Setting up libatomic1-riscv64-cross (14.2.0-6cross1) ... Setting up libxml2:amd64 (2.12.7+dfsg+really2.9.14-0.1) ... Setting up automake (1:1.16.5-1.3) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.14.0-1) ... Setting up gettext (0.22.5-2) ... Setting up libtool (2.4.7-7) ... Setting up libitm1-riscv64-cross (14.2.0-6cross1) ... Setting up cpp-14-riscv64-linux-gnu (14.2.0-6cross1) ... Setting up pkgconf:riscv64 (1.8.1-3) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up libgcc-s1-riscv64-cross (14.2.0-6cross1) ... Setting up dh-strip-nondeterminism (1.14.0-1) ... Setting up groff-base (1.23.0-5) ... Setting up libc6-dev-riscv64-cross (2.40-3cross1) ... Setting up libasan8-riscv64-cross (14.2.0-6cross1) ... Setting up cpp-riscv64-linux-gnu (4:14.2.0-1) ... Setting up libstdc++6-riscv64-cross (14.2.0-6cross1) ... Setting up libubsan1-riscv64-cross (14.2.0-6cross1) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up liblsan0-riscv64-cross (14.2.0-6cross1) ... Setting up libtsan2-riscv64-cross (14.2.0-6cross1) ... Setting up man-db (2.13.0-1) ... Not building database; man-db/auto-update is not 'true'. Setting up libgcc-14-dev-riscv64-cross (14.2.0-6cross1) ... Setting up libstdc++-14-dev-riscv64-cross (14.2.0-6cross1) ... Setting up debhelper (13.20) ... Setting up gcc-14-riscv64-linux-gnu (14.2.0-6cross1) ... Setting up g++-14-riscv64-linux-gnu (14.2.0-6cross1) ... Setting up gcc-riscv64-linux-gnu (4:14.2.0-1) ... Setting up g++-riscv64-linux-gnu (4:14.2.0-1) ... Setting up crossbuild-essential-riscv64 (12.12) ... Setting up libgcc-s1:riscv64 (14.2.0-6) ... Setting up libc6:riscv64 (2.40-3) ... Setting up libffi8:riscv64 (3.4.6-1) ... Setting up libasan8:riscv64 (14.2.0-6) ... Setting up libtasn1-6:riscv64 (4.19.0-3+b2) ... Setting up libext2fs2t64:riscv64 (1.47.1-1) ... Setting up libtsan2:riscv64 (14.2.0-6) ... Setting up libstdc++6:riscv64 (14.2.0-6) ... Setting up liblsan0:riscv64 (14.2.0-6) ... Setting up libitm1:riscv64 (14.2.0-6) ... Setting up libtinfo6:riscv64 (6.5-2) ... Setting up libgpg-error0:riscv64 (1.50-4) ... Setting up libntfs-3g89t64:riscv64 (1:2022.10.3-5) ... Removing 'diversion of /lib/riscv64-linux-gnu/libntfs-3g.so.89 to /lib/riscv64-linux-gnu/libntfs-3g.so.89.usr-is-merged by libntfs-3g89t64' Removing 'diversion of /lib/riscv64-linux-gnu/libntfs-3g.so.89.0.0 to /lib/riscv64-linux-gnu/libntfs-3g.so.89.0.0.usr-is-merged by libntfs-3g89t64' Setting up libgcrypt20:riscv64 (1.11.0-6) ... Setting up zlib1g:riscv64 (1:1.3.dfsg+really1.3.1-1) ... Setting up libcrypt1:riscv64 (1:4.4.36-5) ... Setting up libcom-err2:riscv64 (1.47.1-1) ... Setting up libgomp1:riscv64 (14.2.0-6) ... Setting up libnettle8t64:riscv64 (3.10-1) ... Setting up libjpeg62-turbo:riscv64 (1:2.1.5-3) ... Setting up libgmp10:riscv64 (2:6.3.0+dfsg-2+b1) ... Setting up libncurses6:riscv64 (6.5-2) ... Setting up libp11-kit0:riscv64 (0.25.5-2) ... Setting up libunistring5:riscv64 (1.2-1) ... Setting up libatomic1:riscv64 (14.2.0-6) ... Setting up libuuid1:riscv64 (2.40.2-9) ... Setting up libncursesw6:riscv64 (6.5-2) ... Setting up libfuse3-3:riscv64 (3.14.0-10) ... Setting up libubsan1:riscv64 (14.2.0-6) ... Setting up libhogweed6t64:riscv64 (3.10-1) ... Setting up libcrypt-dev:riscv64 (1:4.4.36-5) ... Setting up libc6-dev:riscv64 (2.40-3) ... Setting up libgcc-14-dev:riscv64 (14.2.0-6) ... Setting up libstdc++-14-dev:riscv64 (14.2.0-6) ... Setting up libncurses-dev:riscv64 (6.5-2) ... Setting up libidn2-0:riscv64 (2.3.7-2) ... Setting up fuse3:riscv64 (3.14.0-10) ... Removing 'diversion of /bin/fusermount to /bin/fusermount.usr-is-merged by fuse3' Removing 'diversion of /sbin/mount.fuse to /sbin/mount.fuse.usr-is-merged by fuse3' Setting up libjpeg62-turbo-dev:riscv64 (1:2.1.5-3) ... Setting up uuid-dev:riscv64 (2.40.2-9) ... Setting up comerr-dev:riscv64 (2.1-1.47.1-1) ... Setting up zlib1g-dev:riscv64 (1:1.3.dfsg+really1.3.1-1) ... Setting up libext2fs-dev:riscv64 (1.47.1-1) ... Setting up libgnutls30t64:riscv64 (3.8.6-2) ... Setting up libjpeg-dev:riscv64 (1:2.1.5-3) ... Setting up ntfs-3g:riscv64 (1:2022.10.3-5) ... Setting up ntfs-3g-dev:riscv64 (1:2022.10.3-5) ... Setting up sbuild-build-depends-main-dummy:riscv64 (0.invalid.0) ... Processing triggers for libc-bin (2.40-3) ... +------------------------------------------------------------------------------+ | Check architectures | +------------------------------------------------------------------------------+ Arch check ok (riscv64 included in any) +------------------------------------------------------------------------------+ | Build environment | +------------------------------------------------------------------------------+ Kernel: Linux 6.1.0-26-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.112-1 (2024-09-30) amd64 (x86_64) Toolchain package versions: binutils_2.43.1-5 dpkg-dev_1.22.11 g++-14_14.2.0-6 gcc-14_14.2.0-6 libc6-dev_2.40-3 libstdc++-14-dev_14.2.0-6 libstdc++-14-dev-riscv64-cross_14.2.0-6cross1 libstdc++6_14.2.0-6 libstdc++6-riscv64-cross_14.2.0-6cross1 linux-libc-dev_6.11.2-1 Package versions: adduser_3.137 apt_2.9.8 autoconf_2.72-3 automake_1:1.16.5-1.3 autopoint_0.22.5-2 autotools-dev_20220109.1 base-files_13.5 base-passwd_3.6.4 bash_5.2.32-1+b1 binutils_2.43.1-5 binutils-common_2.43.1-5 binutils-riscv64-linux-gnu_2.43.1-5 binutils-x86-64-linux-gnu_2.43.1-5 bsdextrautils_2.40.2-9 bsdutils_1:2.40.2-9 build-essential_12.12 bzip2_1.0.8-6 comerr-dev_2.1-1.47.1-1 coreutils_9.4-3.1 cpp_4:14.2.0-1 cpp-14_14.2.0-6 cpp-14-riscv64-linux-gnu_14.2.0-6cross1 cpp-14-x86-64-linux-gnu_14.2.0-6 cpp-riscv64-linux-gnu_4:14.2.0-1 cpp-x86-64-linux-gnu_4:14.2.0-1 crossbuild-essential-riscv64_12.12 dash_0.5.12-9 debconf_1.5.87 debhelper_13.20 debian-archive-keyring_2023.4 debianutils_5.20 dh-autoreconf_20 dh-strip-nondeterminism_1.14.0-1 diffutils_1:3.10-1 dpkg_1.22.11 dpkg-dev_1.22.11 dwz_0.15-1+b1 e2fsprogs_1.47.1-1 fakeroot_1.36-1 file_1:5.45-3 findutils_4.10.0-3 fuse3_3.14.0-10 g++_4:14.2.0-1 g++-14_14.2.0-6 g++-14-riscv64-linux-gnu_14.2.0-6cross1 g++-14-x86-64-linux-gnu_14.2.0-6 g++-riscv64-linux-gnu_4:14.2.0-1 g++-x86-64-linux-gnu_4:14.2.0-1 gcc_4:14.2.0-1 gcc-14_14.2.0-6 gcc-14-base_14.2.0-6 gcc-14-cross-base_14.2.0-6cross1 gcc-14-riscv64-linux-gnu_14.2.0-6cross1 gcc-14-riscv64-linux-gnu-base_14.2.0-6cross1 gcc-14-x86-64-linux-gnu_14.2.0-6 gcc-riscv64-linux-gnu_4:14.2.0-1 gcc-x86-64-linux-gnu_4:14.2.0-1 gettext_0.22.5-2 gettext-base_0.22.5-2 gpgv_2.2.44-1 grep_3.11-4 groff-base_1.23.0-5 gzip_1.12-1.1 hostname_3.25 init-system-helpers_1.67 intltool-debian_0.35.0+20060710.6 libacl1_2.3.2-2 libapt-pkg6.0t64_2.9.8 libarchive-zip-perl_1.68-1 libasan8_14.2.0-6 libasan8-riscv64-cross_14.2.0-6cross1 libatomic1_14.2.0-6 libatomic1-riscv64-cross_14.2.0-6cross1 libattr1_1:2.5.2-2 libaudit-common_1:4.0.1-1 libaudit1_1:4.0.1-1 libbinutils_2.43.1-5 libblkid1_2.40.2-9 libbsd0_0.12.2-2 libbz2-1.0_1.0.8-6 libc-bin_2.40-3 libc-dev-bin_2.40-3 libc6_2.40-3 libc6-dev_2.40-3 libc6-dev-riscv64-cross_2.40-3cross1 libc6-riscv64-cross_2.40-3cross1 libcap-ng0_0.8.5-2 libcap2_1:2.66-5 libcc1-0_14.2.0-6 libcom-err2_1.47.1-1 libcrypt-dev_1:4.4.36-5 libcrypt1_1:4.4.36-5 libctf-nobfd0_2.43.1-5 libctf0_2.43.1-5 libdb5.3t64_5.3.28+dfsg2-9 libdebconfclient0_0.272 libdebhelper-perl_13.20 libdpkg-perl_1.22.11 libelf1t64_0.191-2 libext2fs-dev_1.47.1-1 libext2fs2t64_1.47.1-1 libfakeroot_1.36-1 libffi8_3.4.6-1 libfile-stripnondeterminism-perl_1.14.0-1 libfuse3-3_3.14.0-10 libgcc-14-dev_14.2.0-6 libgcc-14-dev-riscv64-cross_14.2.0-6cross1 libgcc-s1_14.2.0-6 libgcc-s1-riscv64-cross_14.2.0-6cross1 libgcrypt20_1.11.0-6 libgdbm-compat4t64_1.24-2 libgdbm6t64_1.24-2 libgmp10_2:6.3.0+dfsg-2+b1 libgnutls30t64_3.8.6-2 libgomp1_14.2.0-6 libgomp1-riscv64-cross_14.2.0-6cross1 libgpg-error0_1.50-4 libgprofng0_2.43.1-5 libhogweed6t64_3.10-1 libhwasan0_14.2.0-6 libicu72_72.1-5 libidn2-0_2.3.7-2 libisl23_0.27-1 libitm1_14.2.0-6 libitm1-riscv64-cross_14.2.0-6cross1 libjansson4_2.14-2+b2 libjpeg-dev_1:2.1.5-3 libjpeg62-turbo_1:2.1.5-3 libjpeg62-turbo-dev_1:2.1.5-3 liblsan0_14.2.0-6 liblsan0-riscv64-cross_14.2.0-6cross1 liblz4-1_1.9.4-3 liblzma5_5.6.2-2 libmagic-mgc_1:5.45-3 libmagic1t64_1:5.45-3 libmd0_1.1.0-2 libmount1_2.40.2-9 libmpc3_1.3.1-1+b2 libmpfr6_4.2.1-1+b1 libncurses-dev_6.5-2 libncurses6_6.5-2 libncursesw6_6.5-2 libnettle8t64_3.10-1 libntfs-3g89t64_1:2022.10.3-5 libp11-kit0_0.25.5-2 libpam-modules_1.5.3-7 libpam-modules-bin_1.5.3-7 libpam-runtime_1.5.3-7 libpam0g_1.5.3-7 libpcre2-8-0_10.42-4+b1 libperl5.40_5.40.0-6 libpipeline1_1.5.8-1 libpkgconf3_1.8.1-3 libquadmath0_14.2.0-6 libseccomp2_2.5.5-1+b1 libselinux1_3.7-3 libsemanage-common_3.7-2 libsemanage2_3.7-2 libsepol2_3.7-1 libsframe1_2.43.1-5 libsmartcols1_2.40.2-9 libss2_1.47.1-1 libssl3t64_3.3.2-1 libstdc++-14-dev_14.2.0-6 libstdc++-14-dev-riscv64-cross_14.2.0-6cross1 libstdc++6_14.2.0-6 libstdc++6-riscv64-cross_14.2.0-6cross1 libsystemd0_256.7-1 libtasn1-6_4.19.0-3+b2 libtinfo6_6.5-2 libtool_2.4.7-7 libtsan2_14.2.0-6 libtsan2-riscv64-cross_14.2.0-6cross1 libubsan1_14.2.0-6 libubsan1-riscv64-cross_14.2.0-6cross1 libuchardet0_0.0.8-1+b1 libudev1_256.7-1 libunistring5_1.2-1 libuuid1_2.40.2-9 libxml2_2.12.7+dfsg+really2.9.14-0.1 libxxhash0_0.8.2-2+b1 libzstd1_1.5.6+dfsg-1 linux-libc-dev_6.11.2-1 linux-libc-dev-riscv64-cross_6.11.2-1cross1 login_1:4.16.0-2+really2.40.2-9 login.defs_1:4.16.0-4 logsave_1.47.1-1 m4_1.4.19-4 make_4.3-4.1 man-db_2.13.0-1 mawk_1.3.4.20240905-1 mount_2.40.2-9 ncurses-base_6.5-2 ncurses-bin_6.5-2 ntfs-3g_1:2022.10.3-5 ntfs-3g-dev_1:2022.10.3-5 openssl-provider-legacy_3.3.2-1 passwd_1:4.16.0-4 patch_2.7.6-7 perl_5.40.0-6 perl-base_5.40.0-6 perl-modules-5.40_5.40.0-6 pkgconf_1.8.1-3 pkgconf-bin_1.8.1-3 po-debconf_1.0.21+nmu1 rpcsvc-proto_1.4.3-1 sbuild-build-depends-main-dummy_0.invalid.0 sed_4.9-2 sensible-utils_0.0.24 sysvinit-utils_3.10-3 tar_1.35+dfsg-3 tzdata_2024b-3 util-linux_2.40.2-9 uuid-dev_2.40.2-9 xz-utils_5.6.2-2 zlib1g_1:1.3.dfsg+really1.3.1-1 zlib1g-dev_1:1.3.dfsg+really1.3.1-1 +------------------------------------------------------------------------------+ | Build | +------------------------------------------------------------------------------+ Unpack source ------------- -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 3.0 (quilt) Source: testdisk Binary: testdisk Architecture: any Version: 7.2-0.1 Maintainer: Jean-Michel Kelbert Uploaders: Roland Stigge Standards-Version: 4.3.0 Build-Depends: debhelper (>= 9.20160114), libext2fs-dev, libncurses-dev, ntfs-3g-dev [!hurd-i386], libjpeg-dev, uuid-dev, zlib1g-dev, dh-autoreconf, pkgconf Package-List: testdisk deb admin optional arch=any Checksums-Sha1: 56cc6692537798a437944a459287caf3d9f3c40a 855781 testdisk_7.2.orig.tar.bz2 8c5199ae62dd6b449960ca8f441a496e67353415 4648 testdisk_7.2-0.1.debian.tar.xz Checksums-Sha256: f8343be20cb4001c5d91a2e3bcd918398f00ae6d8310894a5a9f2feb813c283f 855781 testdisk_7.2.orig.tar.bz2 6bae59daa0801b7b9002d2e470f4052898bb567173be93394b27cd1edc09cda6 4648 testdisk_7.2-0.1.debian.tar.xz Files: c6809b6fd06b5022467c8faa32d49a27 855781 testdisk_7.2.orig.tar.bz2 e1ca716f2636b5626fd71b4b5f125266 4648 testdisk_7.2-0.1.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEfRrP+tnggGycTNOSXBPW25MFLgMFAmbYLv4ACgkQXBPW25MF LgN2gA//TELoNuQzvaGv7qTX2uIdJwPfIplCcqEOMjo6skxMYFuqB/FBGp3lqA16 XX2pFEofghtDLfnTENF/+J5qso8UopB/1sXyVK96jxHOXvn8mebHHDEJmdwhTOKV q64TMlAqsp8uItAPxUOgmDrtobhjGx1RYdzzwNPDZORb/RpbveUH6SRdO+M5oFoB CrOD/Ia+Q6RH/tYBBpMfFKubHP4+ZnMXZUbx39X8tjZap5P/26M6RIgKVnARqFSg tzrJ53VR16WMrLqVzuFiz2qRZ2Ei8ga1fNdMy+7pBNrq3ZIEaVqcf9UUf3/leOYz 18r3bsmkTkfWdGu6k6SglZ3qWB446T1EyE+0rYRH2qyLum7hoh2m3XZe4Uv0YCl9 su99ZStevplRgIhLsDWencfd3o0V87kqsvmNHF2AqXZ3iEOmxtdN7aqxhHDIIm6H YhA/uZ9GR2IUp9oJshZcwxdsFwnBmoWYCKe5mU8VYHR5nOOFX4QptXJ4vNYQlrMK BzyR/bGClIuzO8WKYBAkzyEPGPmoX1o+UtLS6D5W4nO90EW15A5H85f27VVmrFZg 2Sb9LW9zZ9B4GW5MkUCVRdBJgw5BvijYbdLReRKy04UBQkSG9bk5ORPE68o4jOkf jg0khK2sk0rUe8lY5Ia2ekACOWcJR0GmO4FcJfgQfmKWbFCPE9U= =28Rr -----END PGP SIGNATURE----- gpgv: Signature made Wed Sep 4 09:57:18 2024 UTC gpgv: using RSA key 7D1ACFFAD9E0806C9C4CD3925C13D6DB93052E03 gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./testdisk_7.2-0.1.dsc: no acceptable signature found dpkg-source: info: extracting testdisk in /<> dpkg-source: info: unpacking testdisk_7.2.orig.tar.bz2 dpkg-source: info: unpacking testdisk_7.2-0.1.debian.tar.xz Check disk space ---------------- Sufficient free space for build User Environment ---------------- APT_CONFIG=/var/lib/sbuild/apt.conf CONFIG_SITE=/etc/dpkg-cross/cross-config.riscv64 DEB_BUILD_OPTIONS=nocheck HOME=/sbuild-nonexistent LANG=en_US.UTF-8 LC_ALL=C.UTF-8 LOGNAME=crossqa OLDPWD=/home/crossqa PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games SBUILD_CONFIG=/tmp/tmp.QEzH9ehul6/sbuild.conf SCHROOT_ALIAS_NAME=unstable-amd64-sbuild SCHROOT_CHROOT_NAME=sid-amd64-sbuild SCHROOT_COMMAND=env SCHROOT_GID=1000 SCHROOT_GROUP=crossqa SCHROOT_SESSION_ID=sid-amd64-sbuild-bc7b98de-1586-4f4c-bb6a-c98a464e2889 SCHROOT_UID=1000 SCHROOT_USER=crossqa SHELL=/bin/sh USER=crossqa dpkg-buildpackage ----------------- Command: dpkg-buildpackage --sanitize-env -ariscv64 -Pcross,nocheck -us -uc -B -rfakeroot --jobs-try=1 dpkg-buildpackage: info: source package testdisk dpkg-buildpackage: info: source version 7.2-0.1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Chris Hofstaedtler dpkg-architecture: warning: specified GNU system type riscv64-linux-gnu does not match CC system type x86_64-linux-gnu, try setting a correct CC environment variable dpkg-source --before-build . dpkg-buildpackage: info: host architecture riscv64 fakeroot debian/rules clean dh clean --with autoreconf dh: warning: Compatibility levels before 10 are deprecated (level 9 in use) debian/rules override_dh_auto_clean make[1]: Entering directory '/<>' dh_auto_clean dh_auto_clean: warning: Compatibility levels before 10 are deprecated (level 9 in use) rm -f src/*.d make[1]: Leaving directory '/<>' dh_clean dh_clean: warning: Compatibility levels before 10 are deprecated (level 9 in use) debian/rules build-arch dh build-arch --with autoreconf dh: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_update_autotools_config -a cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead dh_autoreconf -a configure.ac:330: warning: The macro 'AC_HEADER_STDC' is obsolete. configure.ac:330: You should run autoupdate. ./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from... configure.ac:330: the top level configure.ac:512: warning: The macro 'AC_PROG_GCC_TRADITIONAL' is obsolete. configure.ac:512: You should run autoupdate. ./lib/autoconf/c.m4:1676: AC_PROG_GCC_TRADITIONAL is expanded from... configure.ac:512: the top level Makefile.am:71: warning: '%'-style pattern rules are a GNU make extension Makefile.am:74: warning: '%'-style pattern rules are a GNU make extension src/Makefile.am:462: warning: '%'-style pattern rules are a GNU make extension src/Makefile.am:471: warning: frama-c -print-path: non-POSIX variable name src/Makefile.am:471: (probably a GNU make extension) src/Makefile.am:489: warning: '%'-style pattern rules are a GNU make extension src/Makefile.am:493: warning: '%'-style pattern rules are a GNU make extension src/Makefile.am:501: warning: '%'-style pattern rules are a GNU make extension src/Makefile.am:517: warning: >' dh_auto_configure -- --enable-sudo --with-sudo-bin=/usr/bin/sudo --with-ncurses-includes=/usr/include/ncursesw --without-ewf dh_auto_configure: warning: Compatibility levels before 10 are deprecated (level 9 in use) ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/riscv64-linux-gnu --libexecdir=\${prefix}/lib/riscv64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking --host=riscv64-linux-gnu --enable-sudo --with-sudo-bin=/usr/bin/sudo --with-ncurses-includes=/usr/include/ncursesw --without-ewf checking build system type... x86_64-pc-linux-gnu checking host system type... riscv64-unknown-linux-gnu checking target system type... riscv64-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for riscv64-linux-gnu-strip... riscv64-linux-gnu-strip checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for riscv64-linux-gnu-gcc... riscv64-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... yes checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether riscv64-linux-gnu-gcc accepts -g... yes checking for riscv64-linux-gnu-gcc option to enable C11 features... none needed checking whether riscv64-linux-gnu-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of riscv64-linux-gnu-gcc... none checking for riscv64-linux-gnu-g++... riscv64-linux-gnu-g++ checking whether the compiler supports GNU C++... yes checking whether riscv64-linux-gnu-g++ accepts -g... yes checking for riscv64-linux-gnu-g++ option to enable C++11 features... none needed checking dependency style of riscv64-linux-gnu-g++... none checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for riscv64-linux-gnu-pkg-config... /usr/bin/riscv64-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for riscv64-linux-gnu-windres... no checking for windres... no configure: WARNING: Could not find a windres tool in your PATH. checking for riscv64-linux-gnu-gcc option to enable large file support... none needed checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for sys/wait.h that is POSIX.1 compatible... yes checking for byteswap.h... yes checking for curses.h... yes checking for cygwin/fs.h... no checking for cygwin/version.h... no checking for dal/file_dal.h... no checking for dal/file.h... no checking for ddk/ntddstor.h... no checking for dirent.h... yes checking for endian.h... yes checking for errno.h... yes checking for fcntl.h... yes checking for features.h... yes checking for giconv.h... no checking for glob.h... yes checking for iconv.h... yes checking for io.h... no checking for libgen.h... yes checking for limits.h... yes checking for linux/fs.h... yes checking for linux/hdreg.h... yes checking for linux/types.h... yes checking for locale.h... yes checking for machine/endian.h... no checking for malloc.h... yes checking for ncurses.h... yes checking for ncurses/curses.h... no checking for ncurses/ncurses.h... no checking for ncursesw/curses.h... yes checking for ncursesw/ncurses.h... yes checking for ntfs/version.h... no checking for pwd.h... yes checking for scsi/scsi.h... yes checking for scsi/scsi_ioctl.h... yes checking for scsi/sg.h... yes checking for setjmp.h... yes checking for signal.h... yes checking for stdarg.h... yes checking for sys/cygwin.h... no checking for sys/disk.h... no checking for sys/disklabel.h... no checking for sys/dkio.h... no checking for sys/endian.h... no checking for sys/ioctl.h... yes checking for sys/sysmacros.h... yes checking for sys/param.h... yes checking for sys/select.h... yes checking for sys/time.h... yes checking for sys/utsname.h... yes checking for sys/vtoc.h... no checking for time.h... yes checking for utime.h... yes checking for w32api/ddk/ntdddisk.h... no checking for windef.h... no checking for windows.h... no checking for zlib.h... yes checking iconv support... yes, in libc checking for sys/mount.h... yes checking for winbase.h... no checking for winioctl.h... no checking for w32api/winioctl.h... no checking for ext2fs/ext2_fs.h... yes checking for ext2fs/ext2fs.h... yes checking for off64_t... yes checking for libewf.h... no configure: WARNING: Disable use of ewf library checking for jpeglib.h... yes checking for ntfs/attrib.h... no configure: WARNING: Disable use of ntfs library checking for ntfs/volume.h... no configure: WARNING: Disable use of ntfs library checking for ntfs-3g/attrib.h... yes checking for ntfs-3g/volume.h... yes checking for an ANSI C-conforming const... yes checking whether byte ordering is bigendian... no checking for inline... inline checking for off_t... yes checking for size_t... yes checking for struct stat.st_blocks... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct stat.st_blksize... yes checking for struct stat.st_rdev... yes checking for dal_t.block_size... no checking for dal_t.error... no checking for dal_t.entity... no checking for dal_t.name... no checking for struct dal_ops.dev... no checking for struct struct_io_manager.set_option... yes checking for struct struct_io_manager.read_blk64... yes checking for struct struct_io_manager.write_blk64... yes checking for struct tm.tm_gmtoff... no checking for initscr in -lncursesw... yes checking for keypad in -ltinfow... no checking for keypad in -ltinfo... yes checking for assume_default_colors... yes checking for com_err in -lcom_err... yes checking for ext2fs_open in -lext2fs... yes checking for ext2fs_get_generic_bitmap_start... yes checking for jpeg_std_error in -ljpeg... yes checking for ntfs_device_mount in -lntfs-3g... yes checking for libreiserfs_get_version in -lreiserfs... no configure: WARNING: No reiserfs library detected checking for sys/uuid.h... no checking for uuid/uuid.h... yes checking for uuid.h... no checking for uuidgen... no checking for uuid in -luuid_generate... no checking for uuid in -luuid_create... no checking for uuid_create... no checking for uuid_generate... no checking for compress2 in -lz... yes checking whether gcc understands -Wdeclaration-after-statement... yes checking whether gcc understands -Wall... yes checking whether gcc understands -Wextra... yes checking whether gcc understands -MD... yes checking whether gcc understands -Wpointer-arith... yes checking whether gcc understands -Wmissing-declarations... yes checking whether gcc understands -Wmissing-prototypes... yes checking whether gcc understands -Wstrict-prototypes... yes checking whether gcc understands -Wshadow... yes checking whether gcc understands -Wwrite-strings... yes checking whether gcc understands -W... yes checking whether gcc understands -Wcast-align... yes checking whether gcc understands -Waggregate-return... yes checking whether gcc understands -Wbad-function-cast... yes checking whether gcc understands -Wcast-qual... yes checking whether gcc understands -Wundef... yes checking whether gcc understands -Wredundant-decls... yes checking whether gcc understands -Wsign-compare... yes checking whether gcc understands -Wnested-externs... yes checking whether gcc understands -Winline... yes checking whether gcc understands -Wdisabled-optimization... yes checking whether gcc understands -Wfloat-equal... yes checking whether gcc understands -Wmissing-format-attribute... yes checking whether gcc understands -Wmultichar... yes checking whether gcc understands -Wc++-compat... yes checking whether gcc understands -Wformat=2... yes checking whether gcc understands -Wtrampolines... yes checking whether gcc understands -Wunreachable-code... yes checking whether gcc understands -Wvla... yes checking whether g++ understands -Wall... yes checking whether g++ understands -MD... yes checking whether g++ understands -Wpointer-arith... yes checking whether g++ understands -Wmissing-declarations... yes checking whether g++ understands -Wshadow... yes checking whether g++ understands -Wwrite-strings... yes checking whether g++ understands -W... yes checking whether g++ understands -Wcast-align... yes checking whether g++ understands -Wcast-qual... yes checking whether g++ understands -Wundef... yes checking whether g++ understands -Wredundant-decls... yes checking whether g++ understands -Wsign-compare... yes checking whether g++ understands -Wdisabled-optimization... yes checking whether g++ understands -Wmissing-format-attribute... yes checking whether g++ understands -Wmultichar... yes checking whether g++ understands -Wformat=2... yes checking whether g++ understands -fvisibility=hidden... yes checking whether g++ understands -fvisibility-inlines-hidden... yes checking whether g++ understands -fPIC... yes checking whether g++ understands -Wtrampolines... yes checking whether g++ understands -Wvla... yes checking for pread... yes checking for atexit... yes checking for atoll... yes checking for chdir... yes checking for chmod... yes checking for delscreen... no checking for dirname... yes checking for dup2... yes checking for execv... yes checking for fdatasync... yes checking for fseeko... yes checking for fsync... yes checking for ftello... yes checking for ftruncate... yes checking for getcwd... yes checking for geteuid... yes checking for getpwuid... yes checking for libewf_handle_read_buffer_at_offset... no checking for libewf_handle_write_buffer_at_offset... no checking for localtime_r... yes checking for lstat... yes checking for memalign... yes checking for memchr... yes checking for memset... yes checking for mkdir... yes checking for posix_fadvise... yes checking for posix_memalign... yes checking for pwrite... yes checking for readlink... yes checking for setenv... yes checking for setlocale... yes checking for sigaction... yes checking for signal... yes checking for sleep... yes checking for snprintf... yes checking for strcasecmp... yes checking for strcasestr... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strncasecmp... yes checking for strptime... yes checking for strrchr... yes checking for strstr... yes checking for strtol... yes checking for strtoul... yes checking for strtoull... yes checking for touchwin... no checking for uname... yes checking for utime... yes checking for vsnprintf... yes checking for wctomb... yes checking for reiserfs_fs_open_fast... no checking for ntfs_libntfs_version... no checking for ntfs_volume_startup... no checking for Qt5Gui >= 5.0.0... no checking for Qt5Widgets >= 5.0.0... no checking whether Qt5 is using --std=c++14... no checking whether Qt5 is using --std=c++11... no checking for riscv64-linux-gnu-moc-qt5... no checking for riscv64-linux-gnu-moc... no checking for moc-qt5... no checking for moc... no configure: WARNING: Could not find a moc-qt5 or moc tool in your PATH. checking for riscv64-linux-gnu-rcc-qt5... no checking for riscv64-linux-gnu-rcc... no checking for rcc-qt5... no checking for rcc... no configure: WARNING: Could not find a rcc-qt5 or rcc tool in your PATH. checking for riscv64-linux-gnu-lrelease-qt5... no checking for riscv64-linux-gnu-lrelease... no checking for lrelease-qt5... no checking for lrelease... no configure: WARNING: Could not find a lrelease-qt5 or lrelease tool in your PATH. checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking whether stack protection works with gcc... yes checking whether stack protection works with g++... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating icons/Makefile config.status: creating src/Makefile config.status: creating man/Makefile config.status: creating man/testdisk.8 config.status: creating man/photorec.8 config.status: creating man/qphotorec.8 config.status: creating man/fidentify.8 config.status: creating man/zh_CN/Makefile config.status: creating man/zh_CN/testdisk.8 config.status: creating man/zh_CN/photorec.8 config.status: creating man/zh_CN/qphotorec.8 config.status: creating man/zh_CN/fidentify.8 config.status: creating linux/testdisk.spec config.status: creating config.h config.status: executing depfiles commands make[1]: Leaving directory '/<>' dh_auto_build -a dh_auto_build: warning: Compatibility levels before 10 are deprecated (level 9 in use) make -j1 make[1]: Entering directory '/<>' make all-recursive make[2]: Entering directory '/<>' Making all in icons make[3]: Entering directory '/<>/icons' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/<>/icons' Making all in man make[3]: Entering directory '/<>/man' Making all in zh_CN make[4]: Entering directory '/<>/man/zh_CN' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/<>/man/zh_CN' make[4]: Entering directory '/<>/man' make[4]: Nothing to be done for 'all-am'. make[4]: Leaving directory '/<>/man' make[3]: Leaving directory '/<>/man' Making all in src make[3]: Entering directory '/<>/src' riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o common.o common.c In file included from common.c:55: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o crc.o crc.c In file included from crc.c:29: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o ext2_common.o ext2_common.c In file included from ext2_common.c:34: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o fat_common.o fat_common.c In file included from fat_common.c:30: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from fat_common.c:31: fat_common.h:96:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 96 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat_common.h:106:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 106 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat_common.h:122:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 122 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o log.o log.c In file included from log.c:47: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o misc.o misc.c In file included from misc.c:54: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o setdate.o setdate.c riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o apfs_common.o apfs_common.c In file included from apfs_common.c:34: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from apfs_common.c:35: apfs_common.h:34:3: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 34 | } __attribute__((gcc_struct, __packed__)); | ^ apfs_common.h:42:3: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__((gcc_struct, __packed__)); | ^ apfs_common.c: In function ‘test_APFS’: apfs_common.c:78:61: warning: unused parameter ‘partition’ [-Wunused-parameter] 78 | int test_APFS(const nx_superblock_t *sb, const partition_t *partition) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o autoset.o autoset.c In file included from autoset.c:27: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o ewf.o ewf.c riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o fnctdsk.o fnctdsk.c In file included from fnctdsk.c:35: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o hdaccess.o hdaccess.c In file included from hdaccess.c:60: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ hdaccess.c:163:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 163 | } __attribute__ ((gcc_struct, __packed__)); | ^ hdaccess.c:1068:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 1068 | } __attribute__((gcc_struct,__packed__)) scsi_inquiry_data_t; | ^ hdaccess.c: In function ‘disk_get_model’: hdaccess.c:1137:76: warning: unused parameter ‘verbose’ [-Wunused-parameter] 1137 | static void disk_get_model(const int hd_h, disk_t *dev, const unsigned int verbose) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ hdaccess.c: In function ‘file_nopwrite’: hdaccess.c:1616:56: warning: unused parameter ‘buf’ [-Wunused-parameter] 1616 | static int file_nopwrite(disk_t *disk_car, const void *buf, const unsigned int count, const uint64_t offset) | ~~~~~~~~~~~~^~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o hdcache.o hdcache.c In file included from hdcache.c:34: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o hdwin32.o hdwin32.c riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o hidden.o hidden.c In file included from hidden.c:28: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o hpa_dco.o hpa_dco.c In file included from hpa_dco.c:49: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ hpa_dco.c: In function ‘sg_read_native_max_ext’: hpa_dco.c:149:24: warning: cast increases required alignment of target type [-Wcast-align] 149 | const uint16_t *word=(const uint16_t*)(sb + 10); | ^ hpa_dco.c: In function ‘sg_device_configuration_identify’: hpa_dco.c:204:18: warning: cast increases required alignment of target type [-Wcast-align] 204 | uint16_t *word=(uint16_t*)&data; | ^ hpa_dco.c: In function ‘disk_get_hpa_dco’: hpa_dco.c:275:26: warning: cast increases required alignment of target type [-Wcast-align] 275 | const uint16_t *id_val=(const uint16_t *) & id_args[4]; | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o intrf.o intrf.c In file included from intrf.c:58: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o iso.o iso.c In file included from iso.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from iso.c:34: iso9660.h:64:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 64 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o list_sort.o list_sort.c riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o log_part.o log_part.c In file included from log_part.c:28: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o msdos.o msdos.c riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o parti386.o parti386.c In file included from parti386.c:39: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from parti386.c:49: exfat.h:52:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 52 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:72:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 72 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:86:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:95:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 95 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from fat.h:29, from parti386.c:50: fat_common.h:96:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 96 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat_common.h:106:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 106 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat_common.h:122:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 122 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from parti386.c:51: hfs.h:34:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 34 | } __attribute__ ((gcc_struct, __packed__)); | ^ hfs.h:77:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 77 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from ntfs.h:24, from parti386.c:56: ntfs_struct.h:59:9: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 59 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs_struct.h:78:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 78 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs_struct.h:149:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 149 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; | ^ ntfs_struct.h:193:17: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 193 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs_struct.h:198:9: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 198 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs_struct.h:205:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 205 | } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; | ^ ntfs_struct.h:245:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 245 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; | ^ In file included from parti386.c:57: sun.h:77:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 77 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from parti386.c:62: partgpt.h:48:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 48 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from parti386.c:63: partxbox.h:35:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 35 | } __attribute__ ((gcc_struct, __packed__)); | ^ parti386.c: In function ‘init_part_order_i386’: parti386.c:503:56: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 503 | static list_part_t *init_part_order_i386(const disk_t *disk_car, list_part_t *list_part) | ~~~~~~~~~~~~~~^~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o partgpt.o partgpt.c In file included from partgpt.c:51: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partgpt.c:59: partgpt.h:48:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 48 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from apfs.h:24, from partgpt.c:62: apfs_common.h:34:3: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 34 | } __attribute__((gcc_struct, __packed__)); | ^ apfs_common.h:42:3: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__((gcc_struct, __packed__)); | ^ In file included from partgpt.c:64: exfat.h:52:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 52 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:72:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 72 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:86:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:95:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 95 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from fat.h:29, from partgpt.c:65: fat_common.h:96:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 96 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat_common.h:106:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 106 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat_common.h:122:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 122 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partgpt.c:66: hfs.h:34:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 34 | } __attribute__ ((gcc_struct, __packed__)); | ^ hfs.h:77:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 77 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from ntfs.h:24, from partgpt.c:70: ntfs_struct.h:59:9: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 59 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs_struct.h:78:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 78 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs_struct.h:149:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 149 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; | ^ ntfs_struct.h:193:17: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 193 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs_struct.h:198:9: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 198 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs_struct.h:205:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 205 | } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; | ^ ntfs_struct.h:245:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 245 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; | ^ In file included from partgpt.c:71: refs.h:39:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 39 | } __attribute__ ((gcc_struct, __packed__)); | ^ partgpt.c: In function ‘read_part_gpt_aux’: partgpt.c:348:15: warning: cast increases required alignment of target type [-Wcast-align] 348 | gpt_entry=(const struct gpt_ent*)((const char*)gpt_entries + (unsigned long)i*le32(gpt->hdr_entsz)); | ^ partgpt.c:361:42: warning: cast increases required alignment of target type [-Wcast-align] 361 | UCSle2str(new_partition->partname, (const uint16_t *)&gpt_entry->ent_name, sizeof(gpt_entry->ent_name)/2); | ^ partgpt.c: In function ‘init_part_order_gpt’: partgpt.c:391:55: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 391 | static list_part_t *init_part_order_gpt(const disk_t *disk_car, list_part_t *list_part) | ~~~~~~~~~~~~~~^~~~~~~~ partgpt.c: In function ‘set_next_status_gpt’: partgpt.c:472:47: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 472 | static void set_next_status_gpt(const disk_t *disk_car, partition_t *partition) | ~~~~~~~~~~~~~~^~~~~~~~ partgpt.c: In function ‘init_structure_gpt’: partgpt.c:495:46: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 495 | static void init_structure_gpt(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~~~~~^~~~~~~~ partgpt.c:495:89: warning: unused parameter ‘verbose’ [-Wunused-parameter] 495 | static void init_structure_gpt(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~^~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o parthumax.o parthumax.c In file included from parthumax.c:38: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ parthumax.c:118:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 118 | } __attribute__ ((gcc_struct, __packed__)); | ^ parthumax.c:124:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 124 | } __attribute__ ((gcc_struct, __packed__)); | ^ parthumax.c: In function ‘read_part_humax’: parthumax.c:171:7: warning: cast increases required alignment of target type [-Wcast-align] 171 | p32=(uint32_t*)buffer; | ^ parthumax.c:158:65: warning: unused parameter ‘verbose’ [-Wunused-parameter] 158 | static list_part_t *read_part_humax(disk_t *disk_car, const int verbose, const int saveheader) | ~~~~~~~~~~^~~~~~~ parthumax.c:158:84: warning: unused parameter ‘saveheader’ [-Wunused-parameter] 158 | static list_part_t *read_part_humax(disk_t *disk_car, const int verbose, const int saveheader) | ~~~~~~~~~~^~~~~~~~~~ parthumax.c: In function ‘write_part_humax’: parthumax.c:212:37: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 212 | static int write_part_humax(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~^~~~~~~~ parthumax.c:212:66: warning: unused parameter ‘list_part’ [-Wunused-parameter] 212 | static int write_part_humax(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ parthumax.c:212:101: warning: unused parameter ‘verbose’ [-Wunused-parameter] 212 | static int write_part_humax(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~^~~~~~~ parthumax.c: In function ‘init_part_order_humax’: parthumax.c:220:57: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 220 | static list_part_t *init_part_order_humax(const disk_t *disk_car, list_part_t *list_part) | ~~~~~~~~~~~~~~^~~~~~~~ parthumax.c: In function ‘set_next_status_humax’: parthumax.c:299:49: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 299 | static void set_next_status_humax(const disk_t *disk_car, partition_t *partition) | ~~~~~~~~~~~~~~^~~~~~~~ parthumax.c: In function ‘init_structure_humax’: parthumax.c:327:48: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 327 | static void init_structure_humax(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~~~~~^~~~~~~~ parthumax.c:327:91: warning: unused parameter ‘verbose’ [-Wunused-parameter] 327 | static void init_structure_humax(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~^~~~~~~ parthumax.c: In function ‘get_partition_typename_humax’: parthumax.c:361:68: warning: unused parameter ‘partition’ [-Wunused-parameter] 361 | static const char *get_partition_typename_humax(const partition_t *partition) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o partmac.o partmac.c In file included from partmac.c:38: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partmac.c:46: partmac.h:94:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 94 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from fat.h:29, from partmac.c:48: fat_common.h:96:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 96 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat_common.h:106:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 106 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat_common.h:122:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 122 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partmac.c:49: hfs.h:34:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 34 | } __attribute__ ((gcc_struct, __packed__)); | ^ hfs.h:77:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 77 | } __attribute__ ((gcc_struct, __packed__)); | ^ partmac.c: In function ‘read_part_mac’: partmac.c:181:26: warning: cast increases required alignment of target type [-Wcast-align] 181 | mac_Block0 *maclabel=(mac_Block0*)&buffer; | ^ partmac.c: In function ‘write_part_mac’: partmac.c:263:35: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 263 | static int write_part_mac(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~^~~~~~~~ partmac.c:263:64: warning: unused parameter ‘list_part’ [-Wunused-parameter] 263 | static int write_part_mac(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ partmac.c:263:99: warning: unused parameter ‘verbose’ [-Wunused-parameter] 263 | static int write_part_mac(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~^~~~~~~ partmac.c: In function ‘init_part_order_mac’: partmac.c:271:55: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 271 | static list_part_t *init_part_order_mac(const disk_t *disk_car, list_part_t *list_part) | ~~~~~~~~~~~~~~^~~~~~~~ partmac.c: In function ‘set_next_status_mac’: partmac.c:343:47: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 343 | static void set_next_status_mac(const disk_t *disk_car, partition_t *partition) | ~~~~~~~~~~~~~~^~~~~~~~ partmac.c: In function ‘init_structure_mac’: partmac.c:376:46: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 376 | static void init_structure_mac(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~~~~~^~~~~~~~ partmac.c:376:89: warning: unused parameter ‘verbose’ [-Wunused-parameter] 376 | static void init_structure_mac(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~^~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o partsun.o partsun.c In file included from partsun.c:38: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partsun.c:46: sun.h:77:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 77 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partsun.c:51: ufs.h:292:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 292 | } __attribute__ ((gcc_struct, __packed__)); | ^ ufs.h:299:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 299 | } __attribute__ ((gcc_struct, __packed__)); | ^ ufs.h:308:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 308 | } __attribute__ ((gcc_struct, __packed__)); | ^ ufs.h:317:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 317 | } __attribute__ ((gcc_struct, __packed__)); | ^ ufs.h:341:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 341 | } __attribute__ ((gcc_struct, __packed__)); | ^ ufs.h:460:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 460 | } __attribute__ ((gcc_struct, __packed__)); | ^ partsun.c: In function ‘get_geometry_from_sunmbr’: partsun.c:180:33: warning: cast increases required alignment of target type [-Wcast-align] 180 | const sun_disklabel *sunlabel=(const sun_disklabel*)buffer; | ^ partsun.c: In function ‘read_part_sun’: partsun.c:211:12: warning: cast increases required alignment of target type [-Wcast-align] 211 | sunlabel=(sun_disklabel*)buffer; | ^ partsun.c: In function ‘write_part_sun’: partsun.c:252:35: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 252 | static int write_part_sun(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~^~~~~~~~ partsun.c:252:64: warning: unused parameter ‘list_part’ [-Wunused-parameter] 252 | static int write_part_sun(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ partsun.c:252:99: warning: unused parameter ‘verbose’ [-Wunused-parameter] 252 | static int write_part_sun(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~^~~~~~~ partsun.c: In function ‘set_next_status_sun’: partsun.c:351:47: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 351 | static void set_next_status_sun(const disk_t *disk_car, partition_t *partition) | ~~~~~~~~~~~~~~^~~~~~~~ partsun.c: In function ‘init_structure_sun’: partsun.c:383:46: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 383 | static void init_structure_sun(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~~~~~^~~~~~~~ partsun.c:383:89: warning: unused parameter ‘verbose’ [-Wunused-parameter] 383 | static void init_structure_sun(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~^~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o partnone.o partnone.c In file included from partnone.c:37: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partnone.c:44: fat_common.h:96:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 96 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat_common.h:106:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 106 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat_common.h:122:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 122 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from apfs.h:24, from partnone.c:46: apfs_common.h:34:3: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 34 | } __attribute__((gcc_struct, __packed__)); | ^ apfs_common.h:42:3: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__((gcc_struct, __packed__)); | ^ In file included from partnone.c:49: btrfs.h:99:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 99 | } __attribute__ ((gcc_struct, __packed__)); | ^ btrfs.h:141:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 141 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partnone.c:51: exfat.h:52:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 52 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:72:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 72 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:86:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:95:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 95 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partnone.c:54: fatx.h:35:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 35 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partnone.c:55: f2fs_fs.h:61:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 61 | } __attribute__ ((gcc_struct, __packed__)); | ^ f2fs_fs.h:105:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 105 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partnone.c:57: iso9660.h:64:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 64 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partnone.c:60: hfs.h:34:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 34 | } __attribute__ ((gcc_struct, __packed__)); | ^ hfs.h:77:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 77 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from ntfs.h:24, from partnone.c:69: ntfs_struct.h:59:9: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 59 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs_struct.h:78:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 78 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs_struct.h:149:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 149 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; | ^ ntfs_struct.h:193:17: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 193 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs_struct.h:198:9: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 198 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs_struct.h:205:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 205 | } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; | ^ ntfs_struct.h:245:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 245 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; | ^ In file included from partnone.c:70: refs.h:39:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 39 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partnone.c:71: rfs.h:75:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 75 | } __attribute__ ((gcc_struct, __packed__)); | ^ rfs.h:88:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 88 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partnone.c:72: sun.h:77:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 77 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partnone.c:73: sysv.h:121:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 121 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partnone.c:75: ufs.h:292:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 292 | } __attribute__ ((gcc_struct, __packed__)); | ^ ufs.h:299:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 299 | } __attribute__ ((gcc_struct, __packed__)); | ^ ufs.h:308:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 308 | } __attribute__ ((gcc_struct, __packed__)); | ^ ufs.h:317:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 317 | } __attribute__ ((gcc_struct, __packed__)); | ^ ufs.h:341:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 341 | } __attribute__ ((gcc_struct, __packed__)); | ^ ufs.h:460:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 460 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from xfs.h:25, from partnone.c:76: xfs_struct.h:110:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 110 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partnone.c:77: vmfs.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ vmfs.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partnone.c:78: wbfs.h:41:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 41 | } __attribute__ ((gcc_struct, __packed__)); | ^ partnone.c: In function ‘get_geometry_from_nonembr’: partnone.c:238:77: warning: unused parameter ‘verbose’ [-Wunused-parameter] 238 | static int get_geometry_from_nonembr(const unsigned char *buffer, const int verbose, CHSgeometry_t *geometry) | ~~~~~~~~~~^~~~~~~ partnone.c: In function ‘read_part_none’: partnone.c:343:43: warning: cast increases required alignment of target type [-Wcast-align] 343 | const struct ext2_super_block *sb=(const struct ext2_super_block*)buffer_disk; | ^ partnone.c: In function ‘init_part_order_none’: partnone.c:374:56: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 374 | static list_part_t *init_part_order_none(const disk_t *disk_car, list_part_t *list_part) | ~~~~~~~~~~~~~~^~~~~~~~ partnone.c: In function ‘set_next_status_none’: partnone.c:380:48: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 380 | static void set_next_status_none(const disk_t *disk_car, partition_t *partition) | ~~~~~~~~~~~~~~^~~~~~~~ partnone.c:380:71: warning: unused parameter ‘partition’ [-Wunused-parameter] 380 | static void set_next_status_none(const disk_t *disk_car, partition_t *partition) | ~~~~~~~~~~~~~^~~~~~~~~ partnone.c: In function ‘test_structure_none’: partnone.c:384:51: warning: unused parameter ‘list_part’ [-Wunused-parameter] 384 | static int test_structure_none(const list_part_t *list_part) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ partnone.c: In function ‘is_part_known_none’: partnone.c:395:50: warning: unused parameter ‘partition’ [-Wunused-parameter] 395 | static int is_part_known_none(const partition_t *partition) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ partnone.c: In function ‘init_structure_none’: partnone.c:400:47: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 400 | static void init_structure_none(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~~~~~^~~~~~~~ partnone.c:400:90: warning: unused parameter ‘verbose’ [-Wunused-parameter] 400 | static void init_structure_none(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~^~~~~~~ partnone.c: In function ‘check_part_none’: partnone.c:411:97: warning: unused parameter ‘saveheader’ [-Wunused-parameter] 411 | static int check_part_none(disk_t *disk_car,const int verbose,partition_t *partition, const int saveheader) | ~~~~~~~~~~^~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o partxbox.o partxbox.c In file included from partxbox.c:38: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partxbox.c:43: partxbox.h:35:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 35 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partxbox.c:45: fatx.h:35:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 35 | } __attribute__ ((gcc_struct, __packed__)); | ^ partxbox.c: In function ‘write_part_xbox’: partxbox.c:202:36: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 202 | static int write_part_xbox(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~^~~~~~~~ partxbox.c:202:65: warning: unused parameter ‘list_part’ [-Wunused-parameter] 202 | static int write_part_xbox(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ partxbox.c:202:100: warning: unused parameter ‘verbose’ [-Wunused-parameter] 202 | static int write_part_xbox(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~^~~~~~~ partxbox.c: In function ‘init_part_order_xbox’: partxbox.c:210:56: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 210 | static list_part_t *init_part_order_xbox(const disk_t *disk_car, list_part_t *list_part) | ~~~~~~~~~~~~~~^~~~~~~~ partxbox.c: In function ‘set_next_status_xbox’: partxbox.c:282:48: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 282 | static void set_next_status_xbox(const disk_t *disk_car, partition_t *partition) | ~~~~~~~~~~~~~~^~~~~~~~ partxbox.c: In function ‘init_structure_xbox’: partxbox.c:315:47: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 315 | static void init_structure_xbox(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~~~~~^~~~~~~~ partxbox.c:315:90: warning: unused parameter ‘verbose’ [-Wunused-parameter] 315 | static void init_structure_xbox(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~^~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o ntfs_io.o ntfs_io.c In file included from ntfs_io.c:61: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs_io.c: In function ‘ntfs_device_testdisk_io_stat’: ntfs_io.c:153:61: warning: unused parameter ‘dev’ [-Wunused-parameter] 153 | static int ntfs_device_testdisk_io_stat(struct ntfs_device *dev, struct stat *buf) | ~~~~~~~~~~~~~~~~~~~~^~~ ntfs_io.c:153:79: warning: unused parameter ‘buf’ [-Wunused-parameter] 153 | static int ntfs_device_testdisk_io_stat(struct ntfs_device *dev, struct stat *buf) | ~~~~~~~~~~~~~^~~ ntfs_io.c: In function ‘ntfs_device_testdisk_io_ioctl’: ntfs_io.c:173:62: warning: unused parameter ‘dev’ [-Wunused-parameter] 173 | static int ntfs_device_testdisk_io_ioctl(struct ntfs_device *dev, unsigned long request, | ~~~~~~~~~~~~~~~~~~~~^~~ ntfs_io.c:173:81: warning: unused parameter ‘request’ [-Wunused-parameter] 173 | static int ntfs_device_testdisk_io_ioctl(struct ntfs_device *dev, unsigned long request, | ~~~~~~~~~~~~~~^~~~~~~ ntfs_io.c:174:23: warning: unused parameter ‘argp’ [-Wunused-parameter] 174 | void *argp) | ~~~~~~^~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o ntfs_utl.o ntfs_utl.c In file included from ntfs_utl.c:67: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o partauto.o partauto.c In file included from partauto.c:31: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o sudo.o sudo.c In file included from sudo.c:44: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o unicode.o unicode.c In file included from unicode.c:28: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o win32.o win32.c riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o analyse.o analyse.c In file included from analyse.c:31: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from fat.h:29, from analyse.c:33: fat_common.h:96:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 96 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat_common.h:106:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 106 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat_common.h:122:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 122 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from analyse.c:34: exfat.h:52:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 52 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:72:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 72 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:86:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:95:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 95 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from apfs.h:24, from analyse.c:36: apfs_common.h:34:3: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 34 | } __attribute__((gcc_struct, __packed__)); | ^ apfs_common.h:42:3: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__((gcc_struct, __packed__)); | ^ In file included from analyse.c:39: btrfs.h:99:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 99 | } __attribute__ ((gcc_struct, __packed__)); | ^ btrfs.h:141:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 141 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from analyse.c:42: fatx.h:35:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 35 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from analyse.c:43: f2fs_fs.h:61:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 61 | } __attribute__ ((gcc_struct, __packed__)); | ^ f2fs_fs.h:105:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 105 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from analyse.c:46: hfs.h:34:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 34 | } __attribute__ ((gcc_struct, __packed__)); | ^ hfs.h:77:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 77 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from ntfs.h:24, from analyse.c:55: ntfs_struct.h:59:9: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 59 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs_struct.h:78:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 78 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs_struct.h:149:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 149 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; | ^ ntfs_struct.h:193:17: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 193 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs_struct.h:198:9: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 198 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs_struct.h:205:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 205 | } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; | ^ ntfs_struct.h:245:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 245 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; | ^ In file included from analyse.c:56: refs.h:39:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 39 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from analyse.c:57: rfs.h:75:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 75 | } __attribute__ ((gcc_struct, __packed__)); | ^ rfs.h:88:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 88 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from analyse.c:58: sun.h:77:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 77 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from analyse.c:60: sysv.h:121:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 121 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from analyse.c:61: ufs.h:292:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 292 | } __attribute__ ((gcc_struct, __packed__)); | ^ ufs.h:299:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 299 | } __attribute__ ((gcc_struct, __packed__)); | ^ ufs.h:308:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 308 | } __attribute__ ((gcc_struct, __packed__)); | ^ ufs.h:317:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 317 | } __attribute__ ((gcc_struct, __packed__)); | ^ ufs.h:341:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 341 | } __attribute__ ((gcc_struct, __packed__)); | ^ ufs.h:460:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 460 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from analyse.c:62: vmfs.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ vmfs.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from analyse.c:63: wbfs.h:41:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 41 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from xfs.h:25, from analyse.c:64: xfs_struct.h:110:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 110 | } __attribute__ ((gcc_struct, __packed__)); | ^ analyse.c: In function ‘search_HFS_backup’: analyse.c:93:30: warning: cast increases required alignment of target type [-Wcast-align] 93 | const struct hfsp_vh *vh=(const struct hfsp_vh *)buffer; | ^ analyse.c: In function ‘search_type_0’: analyse.c:147:23: warning: cast increases required alignment of target type [-Wcast-align] 147 | const pv_disk_t *pv=(const pv_disk_t *)buffer; | ^ analyse.c:148:37: warning: cast increases required alignment of target type [-Wcast-align] 148 | const struct cramfs_super *cramfs=(const struct cramfs_super *)buffer; | ^ analyse.c:150:44: warning: cast increases required alignment of target type [-Wcast-align] 150 | const struct disk_netware *netware_block=(const struct disk_netware *)buffer; | ^ analyse.c:153:32: warning: cast increases required alignment of target type [-Wcast-align] 153 | const struct luks_phdr *luks=(const struct luks_phdr *)buffer; | ^ analyse.c:154:38: warning: cast increases required alignment of target type [-Wcast-align] 154 | const struct mdp_superblock_1 *sb1=(const struct mdp_superblock_1 *)buffer; | ^ analyse.c:158:40: warning: cast increases required alignment of target type [-Wcast-align] 158 | const union swap_header *swap_header=(const union swap_header *)buffer; | ^ analyse.c:160:31: warning: cast increases required alignment of target type [-Wcast-align] 160 | const nx_superblock_t *apfs=(const nx_superblock_t *)buffer; | ^ analyse.c:216:24: warning: cast increases required alignment of target type [-Wcast-align] 216 | recover_MD(disk, (const struct mdp_superblock_s*)buffer, partition, verbose, dump_ind)==0) | ^ analyse.c: In function ‘search_type_1’: analyse.c:241:38: warning: cast increases required alignment of target type [-Wcast-align] 241 | const struct disklabel *bsd_header=(const struct disklabel *)(buffer+0x200); | ^ analyse.c:242:45: warning: cast increases required alignment of target type [-Wcast-align] 242 | const struct disk_super_block *beos_block=(const struct disk_super_block*)(buffer+0x200); | ^ analyse.c:243:37: warning: cast increases required alignment of target type [-Wcast-align] 243 | const struct cramfs_super *cramfs=(const struct cramfs_super *)(buffer+0x200); | ^ analyse.c: In function ‘search_type_2’: analyse.c:283:28: warning: cast increases required alignment of target type [-Wcast-align] 283 | const struct hfsp_vh *vh=(const struct hfsp_vh *)(buffer+0x400); | ^ analyse.c:284:37: warning: cast increases required alignment of target type [-Wcast-align] 284 | const struct ext2_super_block *sb=(const struct ext2_super_block*)(buffer+0x400); | ^ analyse.c: In function ‘search_type_8’: analyse.c:322:40: warning: cast increases required alignment of target type [-Wcast-align] 322 | const struct mdp_superblock_1 *sb1=(const struct mdp_superblock_1 *)buffer; | ^ analyse.c:324:26: warning: cast increases required alignment of target type [-Wcast-align] 324 | recover_MD(disk, (const struct mdp_superblock_s*)buffer, partition, verbose, dump_ind)==0) | ^ analyse.c: In function ‘search_type_16’: analyse.c:347:40: warning: cast increases required alignment of target type [-Wcast-align] 347 | const struct vdev_boot_header *zfs=(const struct vdev_boot_header*)buffer; | ^ analyse.c: In function ‘search_type_64’: analyse.c:373:38: warning: cast increases required alignment of target type [-Wcast-align] 373 | const struct jfs_superblock* jfs=(const struct jfs_superblock*)(buffer+0x200); | ^ analyse.c: In function ‘search_type_128’: analyse.c:399:32: warning: cast increases required alignment of target type [-Wcast-align] 399 | const struct gfs2_sb *gfs2=(const struct gfs2_sb *)buffer_1024; | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o apfs.o apfs.c In file included from apfs.c:35: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from apfs.h:24, from apfs.c:36: apfs_common.h:34:3: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 34 | } __attribute__((gcc_struct, __packed__)); | ^ apfs_common.h:42:3: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__((gcc_struct, __packed__)); | ^ apfs.c: In function ‘set_APFS_info’: apfs.c:41:50: warning: unused parameter ‘sb’ [-Wunused-parameter] 41 | static void set_APFS_info(const nx_superblock_t *sb, partition_t *partition) | ~~~~~~~~~~~~~~~~~~~~~~~^~ apfs.c: In function ‘check_APFS’: apfs.c:49:29: warning: cast increases required alignment of target type [-Wcast-align] 49 | const nx_superblock_t* sb=(const nx_superblock_t *)buffer; | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o bfs.o bfs.c In file included from bfs.c:32: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ bfs.c: In function ‘check_BeFS’: bfs.c:72:25: warning: cast increases required alignment of target type [-Wcast-align] 72 | if(test_BeFS(disk_car,(struct disk_super_block*)buffer,partition,0)!=0) | ^ bfs.c:77:17: warning: cast increases required alignment of target type [-Wcast-align] 77 | set_BeFS_info((struct disk_super_block*)buffer, partition); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o bsd.o bsd.c In file included from bsd.c:32: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ bsd.c: In function ‘check_BSD’: bsd.c:117:24: warning: cast increases required alignment of target type [-Wcast-align] 117 | if(test_BSD(disk_car,(const struct disklabel*)buffer,partition,verbose,0,max_partitions)) | ^ bsd.c:122:28: warning: cast increases required alignment of target type [-Wcast-align] 122 | set_part_name(partition,((const struct disklabel*)buffer)->d_packname,16); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o btrfs.o btrfs.c In file included from btrfs.c:34: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from btrfs.c:35: btrfs.h:99:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 99 | } __attribute__ ((gcc_struct, __packed__)); | ^ btrfs.h:141:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 141 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o cramfs.o cramfs.c In file included from cramfs.c:35: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ cramfs.c: In function ‘check_cramfs’: cramfs.c:48:30: warning: cast increases required alignment of target type [-Wcast-align] 48 | if(test_cramfs(disk_car, (struct cramfs_super*)buffer, partition, verbose)==0) | ^ cramfs.c:50:23: warning: cast increases required alignment of target type [-Wcast-align] 50 | set_cramfs_info((struct cramfs_super*)buffer, partition); | ^ cramfs.c:57:30: warning: cast increases required alignment of target type [-Wcast-align] 57 | if(test_cramfs(disk_car, (struct cramfs_super*)buffer, partition, verbose)==0) | ^ cramfs.c:59:23: warning: cast increases required alignment of target type [-Wcast-align] 59 | set_cramfs_info((struct cramfs_super*)buffer, partition); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o exfat.o exfat.c In file included from exfat.c:34: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from exfat.c:35: exfat.h:52:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 52 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:72:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 72 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:86:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:95:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 95 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o ext2.o ext2.c In file included from ext2.c:35: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ ext2.c: In function ‘check_EXT2’: ext2.c:51:16: warning: cast increases required alignment of target type [-Wcast-align] 51 | if(test_EXT2((struct ext2_super_block*)buffer, partition)!=0) | ^ ext2.c:56:17: warning: cast increases required alignment of target type [-Wcast-align] 56 | set_EXT2_info((struct ext2_super_block*)buffer, partition, verbose); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o fat.o fat.c In file included from fat.c:39: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from fat.h:29, from fat.c:40: fat_common.h:96:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 96 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat_common.h:106:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 106 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat_common.h:122:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 122 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat.c: In function ‘get_next_cluster_fat12’: fat.c:340:26: warning: cast increases required alignment of target type [-Wcast-align] 340 | next_cluster=le16((*((uint16_t*)&buffer[offset_o])))>>4; | ^ common.h:603:19: note: in definition of macro ‘le16’ 603 | #define le16(x) (x) /* x as little endian */ | ^ fat.c:342:25: warning: cast increases required alignment of target type [-Wcast-align] 342 | next_cluster=le16(*((uint16_t*)&buffer[offset_o]))&0x0FFF; | ^ common.h:603:19: note: in definition of macro ‘le16’ 603 | #define le16(x) (x) /* x as little endian */ | ^ fat.c: In function ‘get_next_cluster_fat16’: fat.c:361:23: warning: cast increases required alignment of target type [-Wcast-align] 361 | const uint16_t *p16=(const uint16_t*)buffer; | ^ fat.c: In function ‘get_next_cluster_fat32’: fat.c:392:23: warning: cast increases required alignment of target type [-Wcast-align] 392 | const uint32_t *p32=(const uint32_t*)buffer; | ^ fat.c: In function ‘set_next_cluster’: fat.c:475:12: warning: cast increases required alignment of target type [-Wcast-align] 475 | (*((uint16_t*)&buffer[offset_o]))=le16((next_cluster<<4) | (le16(*((uint16_t*)&buffer[offset_o]))&0xF)); | ^ fat.c:475:76: warning: cast increases required alignment of target type [-Wcast-align] 475 | (*((uint16_t*)&buffer[offset_o]))=le16((next_cluster<<4) | (le16(*((uint16_t*)&buffer[offset_o]))&0xF)); | ^ common.h:603:19: note: in definition of macro ‘le16’ 603 | #define le16(x) (x) /* x as little endian */ | ^ fat.c:475:69: note: in expansion of macro ‘le16’ 475 | (*((uint16_t*)&buffer[offset_o]))=le16((next_cluster<<4) | (le16(*((uint16_t*)&buffer[offset_o]))&0xF)); | ^~~~ fat.c:477:12: warning: cast increases required alignment of target type [-Wcast-align] 477 | (*((uint16_t*)&buffer[offset_o]))=le16((next_cluster) | (le16(*((uint16_t*)&buffer[offset_o]))&0xF000)); | ^ fat.c:477:74: warning: cast increases required alignment of target type [-Wcast-align] 477 | (*((uint16_t*)&buffer[offset_o]))=le16((next_cluster) | (le16(*((uint16_t*)&buffer[offset_o]))&0xF000)); | ^ common.h:603:19: note: in definition of macro ‘le16’ 603 | #define le16(x) (x) /* x as little endian */ | ^ fat.c:477:67: note: in expansion of macro ‘le16’ 477 | (*((uint16_t*)&buffer[offset_o]))=le16((next_cluster) | (le16(*((uint16_t*)&buffer[offset_o]))&0xF000)); | ^~~~ fat.c:481:23: warning: cast increases required alignment of target type [-Wcast-align] 481 | uint16_t *p16=(uint16_t*)buffer; | ^ fat.c:487:23: warning: cast increases required alignment of target type [-Wcast-align] 487 | uint32_t *p32=(uint32_t*)buffer; | ^ fat.c: In function ‘fat32_get_prev_cluster’: fat.c:517:7: warning: cast increases required alignment of target type [-Wcast-align] 517 | p32=(const uint32_t*)buffer; | ^ In file included from dir_common.h:30, from dir.h:27, from fat.c:46: fat.c: In function ‘fat_has_EFI_entry’: list.h:378:10: warning: cast increases required alignment of target type [-Wcast-align] 378 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ fat.c:976:37: note: in expansion of macro ‘td_list_entry_const’ 976 | const file_info_t *current_file=td_list_entry_const(file_walker, const file_info_t, list); | ^~~~~~~~~~~~~~~~~~~ fat.c: In function ‘fat32_free_info’: fat.c:1244:7: warning: cast increases required alignment of target type [-Wcast-align] 1244 | p32=(const uint32_t*)buffer; | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o fatx.o fatx.c In file included from fatx.c:30: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from fatx.c:31: fatx.h:35:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 35 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o f2fs.o f2fs.c In file included from f2fs.c:34: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from f2fs.c:35: f2fs_fs.h:61:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 61 | } __attribute__ ((gcc_struct, __packed__)); | ^ f2fs_fs.h:105:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 105 | } __attribute__ ((gcc_struct, __packed__)); | ^ f2fs.c: In function ‘recover_f2fs’: f2fs.c:90:32: warning: unused parameter ‘disk’ [-Wunused-parameter] 90 | int recover_f2fs(const disk_t *disk, const struct f2fs_super_block *hdr, partition_t *partition) | ~~~~~~~~~~~~~~^~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o jfs.o jfs.c In file included from jfs.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ jfs.c: In function ‘check_JFS’: jfs.c:85:25: warning: cast increases required alignment of target type [-Wcast-align] 85 | if(test_JFS(disk_car, (struct jfs_superblock*)buffer, partition,0)!=0) | ^ jfs.c:90:16: warning: cast increases required alignment of target type [-Wcast-align] 90 | set_JFS_info((struct jfs_superblock*)buffer, partition); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o gfs2.o gfs2.c In file included from gfs2.c:32: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ gfs2.c: In function ‘check_gfs2’: gfs2.c:71:22: warning: cast increases required alignment of target type [-Wcast-align] 71 | if(test_gfs2(disk, (const struct gfs2_sb *)buffer, partition,0)!=0) | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o hfs.o hfs.c In file included from hfs.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from hfs.c:34: hfs.h:34:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 34 | } __attribute__ ((gcc_struct, __packed__)); | ^ hfs.h:77:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 77 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o hfsp.o hfsp.c In file included from hfsp.c:34: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ hfsp.c: In function ‘check_HFSP’: hfsp.c:63:25: warning: cast increases required alignment of target type [-Wcast-align] 63 | if(test_HFSP(disk_car,(struct hfsp_vh *)buffer,partition,verbose,0)!=0) | ^ hfsp.c:68:28: warning: cast increases required alignment of target type [-Wcast-align] 68 | set_HFSP_info(partition, (const struct hfsp_vh *)buffer); | ^ hfsp.c:71:26: warning: cast increases required alignment of target type [-Wcast-align] 71 | test_HFSP(disk_car,(struct hfsp_vh *)buffer,partition,verbose,0)==0) | ^ hfsp.c: In function ‘recover_HFSP’: hfsp.c:102:28: warning: cast increases required alignment of target type [-Wcast-align] 102 | test_HFSP(disk_car,(struct hfsp_vh *)buffer,partition,verbose,0)==0) | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o hpfs.o hpfs.c In file included from hpfs.c:35: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from fat.h:29, from hpfs.c:36: fat_common.h:96:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 96 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat_common.h:106:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 106 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat_common.h:122:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 122 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o luks.o luks.c In file included from luks.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ luks.c: In function ‘check_LUKS’: luks.c:74:26: warning: cast increases required alignment of target type [-Wcast-align] 74 | if(test_LUKS(disk_car, (struct luks_phdr*)buffer, partition, 0)!=0) | ^ luks.c:79:17: warning: cast increases required alignment of target type [-Wcast-align] 79 | set_LUKS_info((struct luks_phdr*)buffer, partition); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o lvm.o lvm.c In file included from lvm.c:34: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ lvm.c: In function ‘check_LVM’: lvm.c:95:24: warning: cast increases required alignment of target type [-Wcast-align] 95 | if(test_LVM(disk_car,(pv_disk_t *)buffer,partition,verbose,0)!=0) | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o md.o md.c In file included from md.c:34: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ md.c: In function ‘set_MD_info’: md.c:123:40: warning: cast increases required alignment of target type [-Wcast-align] 123 | const struct mdp_superblock_1 *sb1=(const struct mdp_superblock_1 *)sb; | ^ md.c: In function ‘set_MD_info_be’: md.c:191:40: warning: cast increases required alignment of target type [-Wcast-align] 191 | const struct mdp_superblock_1 *sb1=(const struct mdp_superblock_1 *)sb; | ^ md.c: In function ‘check_MD’: md.c:236:40: warning: cast increases required alignment of target type [-Wcast-align] 236 | const struct mdp_superblock_1 *sb1=(const struct mdp_superblock_1 *)buffer; | ^ md.c:240:27: warning: cast increases required alignment of target type [-Wcast-align] 240 | test_MD(disk_car, (struct mdp_superblock_s*)buffer, partition, 0)==0) | ^ md.c:245:19: warning: cast increases required alignment of target type [-Wcast-align] 245 | set_MD_info((struct mdp_superblock_s*)buffer, partition, verbose); | ^ md.c:252:30: warning: cast increases required alignment of target type [-Wcast-align] 252 | test_MD_be(disk_car, (struct mdp_superblock_s*)buffer, partition, 0)==0) | ^ md.c:257:22: warning: cast increases required alignment of target type [-Wcast-align] 257 | set_MD_info_be((struct mdp_superblock_s*)buffer, partition, verbose); | ^ md.c:265:40: warning: cast increases required alignment of target type [-Wcast-align] 265 | const struct mdp_superblock_1 *sb1=(const struct mdp_superblock_1 *)buffer; | ^ md.c:269:27: warning: cast increases required alignment of target type [-Wcast-align] 269 | test_MD(disk_car, (struct mdp_superblock_s*)buffer, partition, 0)==0) | ^ md.c:274:19: warning: cast increases required alignment of target type [-Wcast-align] 274 | set_MD_info((struct mdp_superblock_s*)buffer, partition, verbose); | ^ md.c:281:30: warning: cast increases required alignment of target type [-Wcast-align] 281 | test_MD_be(disk_car, (struct mdp_superblock_s*)buffer, partition, 0)==0) | ^ md.c:286:22: warning: cast increases required alignment of target type [-Wcast-align] 286 | set_MD_info_be((struct mdp_superblock_s*)buffer, partition, verbose); | ^ md.c:293:39: warning: cast increases required alignment of target type [-Wcast-align] 293 | const struct mdp_superblock_s *sb=(const struct mdp_superblock_s *)buffer; | ^ md.c:305:29: warning: cast increases required alignment of target type [-Wcast-align] 305 | test_MD(disk_car, (struct mdp_superblock_s*)buffer, partition, 0)==0) | ^ md.c:310:21: warning: cast increases required alignment of target type [-Wcast-align] 310 | set_MD_info((struct mdp_superblock_s*)buffer, partition, verbose); | ^ md.c:316:32: warning: cast increases required alignment of target type [-Wcast-align] 316 | test_MD_be(disk_car, (struct mdp_superblock_s*)buffer, partition, 0)==0) | ^ md.c:321:24: warning: cast increases required alignment of target type [-Wcast-align] 321 | set_MD_info_be((struct mdp_superblock_s*)buffer, partition, verbose); | ^ md.c:339:42: warning: cast increases required alignment of target type [-Wcast-align] 339 | const struct mdp_superblock_1 *sb1=(const struct mdp_superblock_1 *)buffer; | ^ md.c:343:29: warning: cast increases required alignment of target type [-Wcast-align] 343 | test_MD(disk_car, (struct mdp_superblock_s*)buffer, partition, 0)==0) | ^ md.c:348:21: warning: cast increases required alignment of target type [-Wcast-align] 348 | set_MD_info((struct mdp_superblock_s*)buffer, partition, verbose); | ^ md.c:355:32: warning: cast increases required alignment of target type [-Wcast-align] 355 | test_MD_be(disk_car, (struct mdp_superblock_s*)buffer, partition, 0)==0) | ^ md.c:360:24: warning: cast increases required alignment of target type [-Wcast-align] 360 | set_MD_info_be((struct mdp_superblock_s*)buffer, partition, verbose); | ^ md.c: In function ‘recover_MD_from_partition’: md.c:380:30: warning: cast increases required alignment of target type [-Wcast-align] 380 | if(recover_MD(disk_car,(struct mdp_superblock_s*)buffer,partition,verbose,0)==0) | ^ md.c:393:42: warning: cast increases required alignment of target type [-Wcast-align] 393 | const struct mdp_superblock_1 *sb1=(const struct mdp_superblock_1 *)buffer; | ^ md.c:395:31: warning: cast increases required alignment of target type [-Wcast-align] 395 | recover_MD(disk_car,(struct mdp_superblock_s*)buffer,partition,verbose,0)==0) | ^ md.c: In function ‘recover_MD’: md.c:426:42: warning: cast increases required alignment of target type [-Wcast-align] 426 | const struct mdp_superblock_1 *sb1=(const struct mdp_superblock_1 *)sb; | ^ md.c:446:42: warning: cast increases required alignment of target type [-Wcast-align] 446 | const struct mdp_superblock_1 *sb1=(const struct mdp_superblock_1 *)sb; | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o netware.o netware.c In file included from netware.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ netware.c: In function ‘check_netware’: netware.c:53:19: warning: cast increases required alignment of target type [-Wcast-align] 53 | if(test_netware((const struct disk_netware *)buffer)!=0) | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o ntfs.o ntfs.c In file included from ntfs.c:40: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from ntfs.h:24, from ntfs.c:42: ntfs_struct.h:59:9: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 59 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs_struct.h:78:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 78 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs_struct.h:149:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 149 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; | ^ ntfs_struct.h:193:17: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 193 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs_struct.h:198:9: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 198 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs_struct.h:205:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 205 | } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; | ^ ntfs_struct.h:245:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 245 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; | ^ ntfs.c: In function ‘ntfs_getattributeheaders’: ntfs.c:219:10: warning: cast increases required alignment of target type [-Wcast-align] 219 | return (const ntfs_attribheader *)location; | ^ ntfs.c: In function ‘ntfs_searchattribute’: ntfs.c:246:12: warning: cast increases required alignment of target type [-Wcast-align] 246 | attrib=(const ntfs_attribheader*)((const char*)attrib + attr_len); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o refs.o refs.c In file included from refs.c:34: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from refs.c:35: refs.h:39:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 39 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o rfs.o rfs.c In file included from rfs.c:35: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from rfs.c:36: rfs.h:75:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 75 | } __attribute__ ((gcc_struct, __packed__)); | ^ rfs.h:88:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 88 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o savehdr.o savehdr.c In file included from savehdr.c:41: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o sun.o sun.c In file included from sun.c:35: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from sun.c:36: sun.h:77:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 77 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o swap.o swap.c In file included from swap.c:34: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ swap.c: In function ‘check_Linux_SWAP’: swap.c:50:22: warning: cast increases required alignment of target type [-Wcast-align] 50 | if(test_Linux_SWAP((union swap_header*)buffer)!=0) | ^ swap.c:55:23: warning: cast increases required alignment of target type [-Wcast-align] 55 | set_Linux_SWAP_info((union swap_header*)buffer,partition); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o sysv.o sysv.c In file included from sysv.c:35: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from sysv.c:36: sysv.h:121:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 121 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o ufs.o ufs.c In file included from ufs.c:35: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from ufs.c:36: ufs.h:292:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 292 | } __attribute__ ((gcc_struct, __packed__)); | ^ ufs.h:299:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 299 | } __attribute__ ((gcc_struct, __packed__)); | ^ ufs.h:308:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 308 | } __attribute__ ((gcc_struct, __packed__)); | ^ ufs.h:317:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 317 | } __attribute__ ((gcc_struct, __packed__)); | ^ ufs.h:341:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 341 | } __attribute__ ((gcc_struct, __packed__)); | ^ ufs.h:460:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 460 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o vmfs.o vmfs.c In file included from vmfs.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from vmfs.c:36: vmfs.h:37:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ vmfs.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o wbfs.o wbfs.c In file included from wbfs.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from wbfs.c:36: wbfs.h:41:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 41 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o xfs.o xfs.c In file included from xfs.c:35: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from xfs.h:25, from xfs.c:36: xfs_struct.h:110:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 110 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o zfs.o zfs.c In file included from zfs.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ zfs.c: In function ‘check_ZFS’: zfs.c:69:21: warning: cast increases required alignment of target type [-Wcast-align] 69 | if(test_ZFS(disk, (struct vdev_boot_header*)buffer, partition, 0)!=0) | ^ zfs.c:74:16: warning: cast increases required alignment of target type [-Wcast-align] 74 | set_ZFS_info((struct vdev_boot_header*)buffer, partition); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o addpart.o addpart.c In file included from addpart.c:30: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from addpart.c:32: partgpt.h:48:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 48 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from addpart.c:34: partmac.h:94:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 94 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from addpart.c:36: partxbox.h:35:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 35 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o addpartn.o addpartn.c In file included from addpartn.c:34: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from addpartn.c:36: partgpt.h:48:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 48 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from addpartn.c:37: partmac.h:94:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 94 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from addpartn.c:39: partxbox.h:35:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 35 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o adv.o adv.c In file included from adv.c:39: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from fat.h:29, from adv.c:47: fat_common.h:96:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 96 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat_common.h:106:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 106 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat_common.h:122:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 122 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from ntfs.h:24, from adv.c:48: ntfs_struct.h:59:9: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 59 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs_struct.h:78:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 78 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs_struct.h:149:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 149 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; | ^ ntfs_struct.h:193:17: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 193 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs_struct.h:198:9: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 198 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs_struct.h:205:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 205 | } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; | ^ ntfs_struct.h:245:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 245 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o askloc.o askloc.c In file included from askloc.c:57: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ askloc.c: In function ‘ask_location’: askloc.c:319:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 319 | line_directory=aff_txt(2, window, msg, src_dir); | ^~~~~~~~~~~~~~ In file included from askloc.c:60: list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ askloc.c:354:25: note: in expansion of macro ‘td_list_entry’ 354 | file_info=td_list_entry(file_walker, file_info_t, list); | ^~~~~~~~~~~~~ list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ askloc.c:487:27: note: in expansion of macro ‘td_list_entry’ 487 | file_info=td_list_entry(current_file, file_info_t, list); | ^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o chgarch.o chgarch.c In file included from chgarch.c:34: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o chgarchn.o chgarchn.c In file included from chgarchn.c:39: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o chgtype.o chgtype.c In file included from chgtype.c:32: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o chgtypen.o chgtypen.c In file included from chgtypen.c:39: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from chgtypen.c:49: partgpt.h:48:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 48 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o dimage.o dimage.c In file included from dimage.c:48: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o dirn.o dirn.c In file included from dirn.c:42: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from dir_common.h:30, from dir.h:27, from dirn.c:45: dirn.c: In function ‘dir_aff_ncurses’: list.h:378:10: warning: cast increases required alignment of target type [-Wcast-align] 378 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ dirn.c:140:41: note: in expansion of macro ‘td_list_entry_const’ 140 | const file_info_t *current_file=td_list_entry_const(file_walker, const file_info_t, list); | ^~~~~~~~~~~~~~~~~~~ list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ dirn.c:325:29: note: in expansion of macro ‘td_list_entry’ 325 | selected_file=td_list_entry(pos, file_info_t, list); | ^~~~~~~~~~~~~ list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ dirn.c:341:34: note: in expansion of macro ‘td_list_entry’ 341 | file_info_t *tmp=td_list_entry(tmpw, file_info_t, list); | ^~~~~~~~~~~~~ list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ dirn.c:369:32: note: in expansion of macro ‘td_list_entry’ 369 | file_info_t *tmp=td_list_entry(pos, file_info_t, list); | ^~~~~~~~~~~~~ list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ dirn.c:406:32: note: in expansion of macro ‘td_list_entry’ 406 | file_info_t *tmp=td_list_entry(pos, file_info_t, list); | ^~~~~~~~~~~~~ list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ dirn.c:522:19: note: in expansion of macro ‘td_list_entry’ 522 | tmp=td_list_entry(pos, file_info_t, list); | ^~~~~~~~~~~~~ list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ dirn.c:527:21: note: in expansion of macro ‘td_list_entry’ 527 | tmp=td_list_entry(pos, file_info_t, list); | ^~~~~~~~~~~~~ list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ dirn.c:544:19: note: in expansion of macro ‘td_list_entry’ 544 | tmp=td_list_entry(pos, file_info_t, list); | ^~~~~~~~~~~~~ list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ dirn.c:550:21: note: in expansion of macro ‘td_list_entry’ 550 | tmp=td_list_entry(pos, file_info_t, list); | ^~~~~~~~~~~~~ list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ dirn.c:567:19: note: in expansion of macro ‘td_list_entry’ 567 | tmp=td_list_entry(pos, file_info_t, list); | ^~~~~~~~~~~~~ list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ dirn.c:573:21: note: in expansion of macro ‘td_list_entry’ 573 | tmp=td_list_entry(pos, file_info_t, list); | ^~~~~~~~~~~~~ list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ dirn.c:591:36: note: in expansion of macro ‘td_list_entry’ 591 | file_info_t *tmp=td_list_entry(tmpw, file_info_t, list); | ^~~~~~~~~~~~~ dirn.c: In function ‘copy_dir’: list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ dirn.c:697:18: note: in expansion of macro ‘td_list_entry’ 697 | current_file=td_list_entry(file_walker, file_info_t, list); | ^~~~~~~~~~~~~ dirn.c: In function ‘copy_selection’: list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ dirn.c:753:22: note: in expansion of macro ‘td_list_entry’ 753 | file_info_t *tmp=td_list_entry(tmpw, file_info_t, list); | ^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o dirpart.o dirpart.c In file included from dirpart.c:34: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from fat.h:29, from dirpart.c:35: fat_common.h:96:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 96 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat_common.h:106:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 106 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat_common.h:122:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 122 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from ntfs.h:24, from dirpart.c:48: ntfs_struct.h:59:9: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 59 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs_struct.h:78:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 78 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs_struct.h:149:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 149 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; | ^ ntfs_struct.h:193:17: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 193 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs_struct.h:198:9: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 198 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs_struct.h:205:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 205 | } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; | ^ ntfs_struct.h:245:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 245 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o diskacc.o diskacc.c In file included from diskacc.c:31: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o diskcapa.o diskcapa.c In file included from diskcapa.c:28: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o edit.o edit.c In file included from edit.c:35: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o ext2_sb.o ext2_sb.c In file included from ext2_sb.c:31: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o ext2_sbn.o ext2_sbn.c In file included from ext2_sbn.c:31: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ ext2_sbn.c: In function ‘search_superblock’: ext2_sbn.c:88:31: warning: cast increases required alignment of target type [-Wcast-align] 88 | struct ext2_super_block *sb=(struct ext2_super_block *)buffer; | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o fat1x.o fat1x.c In file included from fat1x.c:34: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from fat.h:29, from fat1x.c:39: fat_common.h:96:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 96 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat_common.h:106:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 106 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat_common.h:122:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 122 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o fat32.o fat32.c In file included from fat32.c:35: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from fat.h:29, from fat32.c:40: fat_common.h:96:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 96 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat_common.h:106:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 106 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat_common.h:122:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 122 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o fat_adv.o fat_adv.c In file included from fat_adv.c:42: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from fat.h:29, from fat_adv.c:43: fat_common.h:96:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 96 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat_common.h:106:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 106 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat_common.h:122:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 122 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from dir_common.h:30, from dir.h:27, from fat_adv.c:49: fat_adv.c: In function ‘ask_root_directory’: list.h:378:10: warning: cast increases required alignment of target type [-Wcast-align] 378 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ fat_adv.c:206:39: note: in expansion of macro ‘td_list_entry_const’ 206 | const file_info_t *current_file=td_list_entry_const(file_walker, const file_info_t, list); | ^~~~~~~~~~~~~~~~~~~ fat_adv.c: In function ‘is_root_cluster_candidat’: list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ list.h:486:9: note: in expansion of macro ‘td_list_entry’ 486 | td_list_entry((ptr)->next, type, member) | ^~~~~~~~~~~~~ fat_adv.c:302:28: note: in expansion of macro ‘td_list_first_entry’ 302 | const file_info_t *file1=td_list_first_entry(&dir_list->list, const file_info_t, list); | ^~~~~~~~~~~~~~~~~~~ list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ list.h:507:9: note: in expansion of macro ‘td_list_entry’ 507 | td_list_entry((pos)->member.next, typeof(*(pos)), member) | ^~~~~~~~~~~~~ fat_adv.c:303:28: note: in expansion of macro ‘td_list_next_entry’ 303 | const file_info_t *file2=td_list_next_entry(file1, list); | ^~~~~~~~~~~~~~~~~~ fat_adv.c: In function ‘fat32_find_root_cluster’: list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ list.h:486:9: note: in expansion of macro ‘td_list_entry’ 486 | td_list_entry((ptr)->next, type, member) | ^~~~~~~~~~~~~ fat_adv.c:372:46: note: in expansion of macro ‘td_list_first_entry’ 372 | const file_info_t *first_entry=td_list_first_entry(&dir_list.list, const file_info_t, list); | ^~~~~~~~~~~~~~~~~~~ fat_adv.c: In function ‘file2entry’: fat_adv.c:625:44: warning: taking address of packed member of ‘struct msdos_dir_entry’ may result in an unaligned pointer value [-Waddress-of-packed-member] 625 | fat_date_unix2dos(current_file->td_mtime,&de->time,&de->date); | ^~~~~~~~~ fat_adv.c:625:54: warning: taking address of packed member of ‘struct msdos_dir_entry’ may result in an unaligned pointer value [-Waddress-of-packed-member] 625 | fat_date_unix2dos(current_file->td_mtime,&de->time,&de->date); | ^~~~~~~~~ fat_adv.c: In function ‘fat32_create_rootdir’: list.h:378:10: warning: cast increases required alignment of target type [-Wcast-align] 378 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ fat_adv.c:649:37: note: in expansion of macro ‘td_list_entry_const’ 649 | const file_info_t *current_file=td_list_entry_const(file_walker, const file_info_t, list); | ^~~~~~~~~~~~~~~~~~~ fat_adv.c: In function ‘analyse_dir_entries2’: list.h:378:10: warning: cast increases required alignment of target type [-Wcast-align] 378 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ fat_adv.c:839:37: note: in expansion of macro ‘td_list_entry_const’ 839 | const file_info_t *current_file=td_list_entry_const(file_walker, const file_info_t, list); | ^~~~~~~~~~~~~~~~~~~ fat_adv.c: In function ‘fat_find_fat_start’: fat_adv.c:1442:25: warning: cast increases required alignment of target type [-Wcast-align] 1442 | const uint16_t *p16=(const uint16_t*)buffer; | ^ fat_adv.c:1502:25: warning: cast increases required alignment of target type [-Wcast-align] 1502 | const uint32_t *p32=(const uint32_t*)buffer; | ^ fat_adv.c: In function ‘repair_FAT_table’: fat_adv.c:2618:27: warning: cast increases required alignment of target type [-Wcast-align] 2618 | uint32_t *p32=(uint32_t*)buffer_fat[fat_nbr]; | ^ fat_adv.c:2632:27: warning: cast increases required alignment of target type [-Wcast-align] 2632 | uint16_t *p16=(uint16_t*)buffer_fat[fat_nbr]; | ^ fat_adv.c:2643:36: warning: cast increases required alignment of target type [-Wcast-align] 2643 | next_cluster=le16((*((uint16_t*)&buffer_fat[fat_nbr][offset_o])))>>4; | ^ common.h:603:19: note: in definition of macro ‘le16’ 603 | #define le16(x) (x) /* x as little endian */ | ^ fat_adv.c:2645:35: warning: cast increases required alignment of target type [-Wcast-align] 2645 | next_cluster=le16(*((uint16_t*)&buffer_fat[fat_nbr][offset_o]))&0x0FFF; | ^ common.h:603:19: note: in definition of macro ‘le16’ 603 | #define le16(x) (x) /* x as little endian */ | ^ fat_adv.c:2649:19: warning: cast increases required alignment of target type [-Wcast-align] 2649 | *((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:2649:91: warning: cast increases required alignment of target type [-Wcast-align] 2649 | *((uint16_t*)&buffer_fat[fat_nbr][offset_o])=le16((FAT12_EOC<<4)|(le16((*((uint16_t*)&buffer_fat[fat_nbr][offset_o])))&0x0F)); | ^ common.h:603:19: note: in definition of macro ‘le16’ 603 | #define le16(x) (x) /* x as little endian */ | ^ fat_adv.c:2649:83: note: in expansion of macro ‘le16’ 2649 | *((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:2651:19: warning: cast increases required alignment of target type [-Wcast-align] 2651 | *((uint16_t*)&buffer_fat[fat_nbr][offset_o])=le16(FAT12_EOC |(le16((*((uint16_t*)&buffer_fat[fat_nbr][offset_o])))&0xF000)); | ^ fat_adv.c:2651:91: warning: cast increases required alignment of target type [-Wcast-align] 2651 | *((uint16_t*)&buffer_fat[fat_nbr][offset_o])=le16(FAT12_EOC |(le16((*((uint16_t*)&buffer_fat[fat_nbr][offset_o])))&0xF000)); | ^ common.h:603:19: note: in definition of macro ‘le16’ 603 | #define le16(x) (x) /* x as little endian */ | ^ fat_adv.c:2651:83: note: in expansion of macro ‘le16’ 2651 | *((uint16_t*)&buffer_fat[fat_nbr][offset_o])=le16(FAT12_EOC |(le16((*((uint16_t*)&buffer_fat[fat_nbr][offset_o])))&0xF000)); | ^~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o fat_cluster.o fat_cluster.c In file included from fat_cluster.c:35: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from fat.h:29, from fat_cluster.c:40: fat_common.h:96:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 96 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat_common.h:106:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 106 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat_common.h:122:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 122 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o fatn.o fatn.c In file included from fatn.c:34: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from fat.h:29, from fatn.c:37: fat_common.h:96:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 96 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat_common.h:106:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 106 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat_common.h:122:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 122 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o geometry.o geometry.c In file included from geometry.c:34: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o geometryn.o geometryn.c In file included from geometryn.c:39: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o godmode.o godmode.c In file included from godmode.c:32: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from ntfs.h:24, from godmode.c:42: ntfs_struct.h:59:9: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 59 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs_struct.h:78:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 78 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs_struct.h:149:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 149 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; | ^ ntfs_struct.h:193:17: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 193 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs_struct.h:198:9: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 198 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs_struct.h:205:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 205 | } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; | ^ ntfs_struct.h:245:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 245 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; | ^ In file included from godmode.c:50: partgpt.h:48:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 48 | } __attribute__ ((gcc_struct, __packed__)); | ^ godmode.c: In function ‘search_part’: godmode.c:680:39: warning: cast increases required alignment of target type [-Wcast-align] 680 | if(recover_MD(disk_car, (const struct mdp_superblock_s*)buffer_disk, partition, verbose, dump_ind)==0) | ^ godmode.c:682:52: warning: cast increases required alignment of target type [-Wcast-align] 682 | const struct mdp_superblock_1 *sb1=(const struct mdp_superblock_1 *)buffer_disk; | ^ godmode.c:772:53: warning: cast increases required alignment of target type [-Wcast-align] 772 | const struct ext2_super_block *sb=(const struct ext2_super_block*)buffer_disk; | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o hiddenn.o hiddenn.c In file included from hiddenn.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o intrface.o intrface.c In file included from intrface.c:31: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o intrfn.o intrfn.c In file included from intrfn.c:63: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o io_redir.o io_redir.c In file included from io_redir.c:35: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o nodisk.o nodisk.c In file included from nodisk.c:40: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o ntfs_adv.o ntfs_adv.c In file included from ntfs_adv.c:35: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from ntfs.h:24, from ntfs_adv.c:39: ntfs_struct.h:59:9: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 59 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs_struct.h:78:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 78 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs_struct.h:149:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 149 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; | ^ ntfs_struct.h:193:17: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 193 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs_struct.h:198:9: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 198 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs_struct.h:205:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 205 | } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; | ^ ntfs_struct.h:245:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 245 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; | ^ ntfs_adv.c: In function ‘create_ntfs_boot_sector’: ntfs_adv.c:295:40: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare] 295 | mft_record_size / cluster_size : -(testdisk_ffs(mft_record_size) - 1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntfs_adv.c:297:41: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare] 297 | index_block_size / cluster_size : -(testdisk_ffs(index_block_size) - 1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntfs_adv.c: In function ‘read_mft_info’: ntfs_adv.c:352:10: warning: cast increases required alignment of target type [-Wcast-align] 352 | attr80=(const ntfs_attribnonresident *)ntfs_findattribute(record, 0x80, buffer+sizeof(buffer)); | ^ ntfs_adv.c:364:10: warning: cast increases required alignment of target type [-Wcast-align] 364 | attr80=(const ntfs_attribnonresident *)ntfs_findattribute(record, 0x80, buffer+sizeof(buffer)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o ntfs_fix.o ntfs_fix.c In file included from ntfs_fix.c:38: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from ntfs.h:24, from ntfs_fix.c:40: ntfs_struct.h:59:9: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 59 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs_struct.h:78:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 78 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs_struct.h:149:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 149 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; | ^ ntfs_struct.h:193:17: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 193 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs_struct.h:198:9: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 198 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs_struct.h:205:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 205 | } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; | ^ ntfs_struct.h:245:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 245 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o ntfs_udl.o ntfs_udl.c In file included from ntfs_udl.c:50: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from ntfs_udl.c:74: ntfs_udl.c: In function ‘free_file’: list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ ntfs_udl.c:189:26: note: in expansion of macro ‘td_list_entry’ 189 | struct filename *f = td_list_entry(item, struct filename, list); | ^~~~~~~~~~~~~ list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ ntfs_udl.c:196:22: note: in expansion of macro ‘td_list_entry’ 196 | struct data *d = td_list_entry(item, struct data, list); | ^~~~~~~~~~~~~ ntfs_udl.c: In function ‘get_parent_name’: ntfs_udl.c:310:40: warning: taking address of packed member of ‘struct ’ may result in an unaligned pointer value [-Waddress-of-packed-member] 310 | if (ntfs_ucstombs(filename_attr->file_name, | ~~~~~~~~~~~~~^~~~~~~~~~~ ntfs_udl.c: In function ‘get_filenames’: ntfs_udl.c:399:36: warning: taking address of packed member of ‘struct ’ may result in an unaligned pointer value [-Waddress-of-packed-member] 399 | name->uname = attr->file_name; | ^~~~ ntfs_udl.c: In function ‘get_data’: ntfs_udl.c:480:43: warning: cast increases required alignment of target type [-Wcast-align] 480 | data->uname = (ntfschar *) ((char *) rec + le16_to_cpu(rec->name_offset)); | ^ ntfs_udl.c: In function ‘calc_percentage’: list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ ntfs_udl.c:636:13: note: in expansion of macro ‘td_list_entry’ 636 | data = td_list_entry(pos, struct data, list); | ^~~~~~~~~~~~~ ntfs_udl.c: In function ‘undelete_file’: list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ ntfs_udl.c:898:22: note: in expansion of macro ‘td_list_entry’ 898 | struct data *d = td_list_entry(item, struct data, list); | ^~~~~~~~~~~~~ ntfs_udl.c: In function ‘scan_disk’: list.h:378:10: warning: cast increases required alignment of target type [-Wcast-align] 378 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ ntfs_udl.c:1173:36: note: in expansion of macro ‘td_list_entry_const’ 1173 | const struct data *d = td_list_entry_const(item, const struct data, list); | ^~~~~~~~~~~~~~~~~~~ ntfs_udl.c: In function ‘ntfs_next_non_deleted’: list.h:378:10: warning: cast increases required alignment of target type [-Wcast-align] 378 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ ntfs_udl.c:1204:15: note: in expansion of macro ‘td_list_entry_const’ 1204 | file_info=td_list_entry_const(walker, const file_info_t, list); | ^~~~~~~~~~~~~~~~~~~ ntfs_udl.c: In function ‘ntfs_prev_non_deleted’: list.h:378:10: warning: cast increases required alignment of target type [-Wcast-align] 378 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ ntfs_udl.c:1218:15: note: in expansion of macro ‘td_list_entry_const’ 1218 | file_info=td_list_entry_const(walker, const file_info_t, list); | ^~~~~~~~~~~~~~~~~~~ ntfs_udl.c: In function ‘ntfs_undelete_menu_ncurses’: list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ ntfs_udl.c:1255:19: note: in expansion of macro ‘td_list_entry’ 1255 | file_info=td_list_entry(file_walker, file_info_t, list); | ^~~~~~~~~~~~~ list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ ntfs_udl.c:1405:23: note: in expansion of macro ‘td_list_entry’ 1405 | file_info=td_list_entry(current_file, file_info_t, list); | ^~~~~~~~~~~~~ list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ ntfs_udl.c:1409:25: note: in expansion of macro ‘td_list_entry’ 1409 | file_info=td_list_entry(file_walker, file_info_t, list); | ^~~~~~~~~~~~~ list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ ntfs_udl.c:1424:27: note: in expansion of macro ‘td_list_entry’ 1424 | file_info=td_list_entry(file_walker, file_info_t, list); | ^~~~~~~~~~~~~ list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ ntfs_udl.c:1438:23: note: in expansion of macro ‘td_list_entry’ 1438 | file_info=td_list_entry(file_walker, file_info_t, list); | ^~~~~~~~~~~~~ list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ ntfs_udl.c:1452:27: note: in expansion of macro ‘td_list_entry’ 1452 | file_info=td_list_entry(file_walker, file_info_t, list); | ^~~~~~~~~~~~~ list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ ntfs_udl.c:1465:23: note: in expansion of macro ‘td_list_entry’ 1465 | file_info=td_list_entry(current_file, file_info_t, list); | ^~~~~~~~~~~~~ list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ ntfs_udl.c:1478:23: note: in expansion of macro ‘td_list_entry’ 1478 | file_info=td_list_entry(current_file, file_info_t, list); | ^~~~~~~~~~~~~ list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ ntfs_udl.c:1554:25: note: in expansion of macro ‘td_list_entry’ 1554 | file_info=td_list_entry(file_walker, file_info_t, list); | ^~~~~~~~~~~~~ ntfs_udl.c: In function ‘ntfs_undelete_cli’: list.h:378:10: warning: cast increases required alignment of target type [-Wcast-align] 378 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ ntfs_udl.c:1612:34: note: in expansion of macro ‘td_list_entry_const’ 1612 | const file_info_t *file_info=td_list_entry_const(file_walker, const file_info_t, list); | ^~~~~~~~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o parti386n.o parti386n.c In file included from parti386n.c:38: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o partgptn.o partgptn.c In file included from partgptn.c:48: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o partmacn.o partmacn.c In file included from partmacn.c:38: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partmacn.c:44: partmac.h:94:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 94 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o partsunn.o partsunn.c In file included from partsunn.c:38: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o partxboxn.o partxboxn.c In file included from partxboxn.c:38: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o tanalyse.o tanalyse.c In file included from tanalyse.c:31: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o tbanner.o tbanner.c In file included from tbanner.c:29: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o tdelete.o tdelete.c In file included from tdelete.c:28: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o tdiskop.o tdiskop.c In file included from tdiskop.c:31: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o tdisksel.o tdisksel.c In file included from tdisksel.c:37: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o testdisk.o testdisk.c In file included from testdisk.c:51: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o texfat.o texfat.c In file included from texfat.c:35: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from texfat.c:39: exfat.h:52:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 52 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:72:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 72 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:86:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:95:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 95 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o thfs.o thfs.c In file included from thfs.c:35: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from thfs.c:39: hfs.h:34:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 34 | } __attribute__ ((gcc_struct, __packed__)); | ^ hfs.h:77:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 77 | } __attribute__ ((gcc_struct, __packed__)); | ^ thfs.c: In function ‘HFS_HFSP_boot_sector_rescan’: thfs.c:117:30: warning: cast increases required alignment of target type [-Wcast-align] 117 | else if(test_HFSP(disk_car,(const struct hfsp_vh*)buffer_bs,partition,verbose,0)==0) | ^ thfs.c:135:30: warning: cast increases required alignment of target type [-Wcast-align] 135 | else if(test_HFSP(disk_car,(const struct hfsp_vh*)buffer_backup_bs,partition,verbose,0)==0) | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o tload.o tload.c In file included from tload.c:40: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from savehdr.h:28, from tload.c:46: tload.c: In function ‘interface_load_ncurses’: list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ tload.c:102:16: note: in expansion of macro ‘td_list_entry’ 102 | backup=td_list_entry(backup_walker, backup_disk_t, list); | ^~~~~~~~~~~~~ tload.c: In function ‘interface_load’: list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ tload.c:204:12: note: in expansion of macro ‘td_list_entry’ 204 | backup=td_list_entry(backup_walker, backup_disk_t, list); | ^~~~~~~~~~~~~ list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ tload.c:215:12: note: in expansion of macro ‘td_list_entry’ 215 | backup=td_list_entry(backup_current, backup_disk_t, list); | ^~~~~~~~~~~~~ list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ tload.c:228:14: note: in expansion of macro ‘td_list_entry’ 228 | backup=td_list_entry(backup_walker, backup_disk_t, list); | ^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o tlog.o tlog.c In file included from tlog.c:28: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o tmbrcode.o tmbrcode.c In file included from tmbrcode.c:31: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o tntfs.o tntfs.c In file included from tntfs.c:34: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from ntfs.h:24, from tntfs.c:39: ntfs_struct.h:59:9: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 59 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs_struct.h:78:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 78 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs_struct.h:149:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 149 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; | ^ ntfs_struct.h:193:17: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 193 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs_struct.h:198:9: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 198 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs_struct.h:205:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 205 | } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; | ^ ntfs_struct.h:245:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 245 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o toptions.o toptions.c In file included from toptions.c:30: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o tpartwr.o tpartwr.c In file included from tpartwr.c:31: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o dir.o dir.c In file included from dir.c:51: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from dir_common.h:30, from dir.h:27, from dir.c:52: dir.c: In function ‘dir_aff_log’: list.h:378:10: warning: cast increases required alignment of target type [-Wcast-align] 378 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ dir.c:205:37: note: in expansion of macro ‘td_list_entry_const’ 205 | const file_info_t *current_file=td_list_entry_const(file_walker, const file_info_t, list); | ^~~~~~~~~~~~~~~~~~~ dir.c: In function ‘log_list_file’: list.h:378:10: warning: cast increases required alignment of target type [-Wcast-align] 378 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ dir.c:247:37: note: in expansion of macro ‘td_list_entry_const’ 247 | const file_info_t *current_file=td_list_entry_const(tmp, const file_info_t, list); | ^~~~~~~~~~~~~~~~~~~ dir.c: In function ‘delete_list_file’: list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ dir.c:272:9: note: in expansion of macro ‘td_list_entry’ 272 | tmp=td_list_entry(file_walker, file_info_t, list); | ^~~~~~~~~~~~~ dir.c: In function ‘dir_whole_partition_log_aux’: list.h:378:10: warning: cast increases required alignment of target type [-Wcast-align] 378 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ dir.c:332:37: note: in expansion of macro ‘td_list_entry_const’ 332 | const file_info_t *current_file=td_list_entry_const(file_walker, const file_info_t, list); | ^~~~~~~~~~~~~~~~~~~ dir.c: In function ‘dir_whole_partition_copy_aux’: list.h:378:10: warning: cast increases required alignment of target type [-Wcast-align] 378 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ dir.c:382:37: note: in expansion of macro ‘td_list_entry_const’ 382 | const file_info_t *current_file=td_list_entry_const(file_walker, const file_info_t, list); | ^~~~~~~~~~~~~~~~~~~ dir.c: In function ‘filesort’: list.h:378:10: warning: cast increases required alignment of target type [-Wcast-align] 378 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ dir.c:433:29: note: in expansion of macro ‘td_list_entry_const’ 433 | const file_info_t *file_a=td_list_entry_const(a, const file_info_t, list); | ^~~~~~~~~~~~~~~~~~~ list.h:378:10: warning: cast increases required alignment of target type [-Wcast-align] 378 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ dir.c:435:29: note: in expansion of macro ‘td_list_entry_const’ 435 | const file_info_t *file_b=td_list_entry_const(b, const file_info_t, list); | ^~~~~~~~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o exfat_dir.o exfat_dir.c In file included from exfat_dir.c:45: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from exfat_dir.c:46: exfat.h:52:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 52 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:72:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 72 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:86:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:95:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 95 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from fat.h:29, from exfat_dir.c:53: fat_common.h:96:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 96 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat_common.h:106:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 106 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat_common.h:122:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 122 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat_dir.c: In function ‘exfat_ucstoutf8’: exfat_dir.c:93:17: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 93 | if (iconv(cd, (char **)&inp, &inb_left, &outp, &outb_left) == (size_t)(-1)) | ^ exfat_dir.c: In function ‘exfat_get_next_cluster’: exfat_dir.c:181:23: warning: cast increases required alignment of target type [-Wcast-align] 181 | const uint32_t *p32=(const uint32_t*)buffer; | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o ext2_dir.o ext2_dir.c In file included from ext2_dir.c:48: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ ext2_dir.c: In function ‘alloc_io_channel’: ext2_dir.c:112:50: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 112 | static io_channel alloc_io_channel(const disk_t *disk_car,my_data_t *my_data) | ~~~~~~~~~~~~~~^~~~~~~~ ext2_dir.c: In function ‘my_open’: ext2_dir.c:139:38: warning: unused parameter ‘dev’ [-Wunused-parameter] 139 | static errcode_t my_open(const char *dev, int flags, io_channel *channel) | ~~~~~~~~~~~~^~~ ext2_dir.c:139:47: warning: unused parameter ‘flags’ [-Wunused-parameter] 139 | static errcode_t my_open(const char *dev, int flags, io_channel *channel) | ~~~~^~~~~ ext2_dir.c: In function ‘my_flush’: ext2_dir.c:213:38: warning: unused parameter ‘channel’ [-Wunused-parameter] 213 | static errcode_t my_flush(io_channel channel) | ~~~~~~~~~~~^~~~~~~ ext2_dir.c: In function ‘list_dir_proc2’: ext2_dir.c:218:38: warning: unused parameter ‘dir’ [-Wunused-parameter] 218 | static int list_dir_proc2(ext2_ino_t dir, | ~~~~~~~~~~~^~~ ext2_dir.c:221:33: warning: unused parameter ‘offset’ [-Wunused-parameter] 221 | int offset, | ~~~~~~~^~~~~~ ext2_dir.c:222:33: warning: unused parameter ‘blocksize’ [-Wunused-parameter] 222 | int blocksize, | ~~~~~~~^~~~~~~~~ ext2_dir.c:223:34: warning: unused parameter ‘buf’ [-Wunused-parameter] 223 | char *buf, | ~~~~~~~~^~~ ext2_dir.c: In function ‘ext2_dir’: ext2_dir.c:271:29: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 271 | static int ext2_dir(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const unsigned long int cluster, file_info_t *dir_list) | ~~~~~~~~^~~~~~~~ ext2_dir.c:271:58: warning: unused parameter ‘partition’ [-Wunused-parameter] 271 | static int ext2_dir(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const unsigned long int cluster, file_info_t *dir_list) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ext2_dir.c: In function ‘ext2_copy’: ext2_dir.c:292:38: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 292 | static copy_file_t ext2_copy(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const file_info_t *file) | ~~~~~~~~^~~~~~~~ ext2_dir.c:292:67: warning: unused parameter ‘partition’ [-Wunused-parameter] 292 | static copy_file_t ext2_copy(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const file_info_t *file) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o fat_dir.o fat_dir.c In file included from fat_dir.c:42: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from fat.h:29, from fat_dir.c:43: fat_common.h:96:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 96 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat_common.h:106:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 106 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat_common.h:122:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 122 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat_dir.c: In function ‘dir_fat_aux’: fat_dir.c:134:10: warning: cast increases required alignment of target type [-Wcast-align] 134 | ds = (const struct msdos_dir_slot *) de; | ^ fat_dir.c:141:12: warning: cast increases required alignment of target type [-Wcast-align] 141 | ds = (const struct msdos_dir_slot *) de; | ^ fat_dir.c:158:12: warning: cast increases required alignment of target type [-Wcast-align] 158 | ds = (const struct msdos_dir_slot *) de_initial; | ^ fat_dir.c:192:10: warning: cast increases required alignment of target type [-Wcast-align] 192 | ds = (const struct msdos_dir_slot *) de; | ^ fat_dir.c:223:14: warning: cast increases required alignment of target type [-Wcast-align] 223 | ds = (const struct msdos_dir_slot *) de; | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o ntfs_dir.o ntfs_dir.c In file included from ntfs_dir.c:77: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs_dir.c: In function ‘ntfs_ucstoutf8’: ntfs_dir.c:156:19: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 156 | if (iconv(cd, (char**)&inp, &inb_left, &outp, &outb_left) == (size_t)(-1)) | ^ ntfs_dir.c: In function ‘ntfs_td_list_entry’: ntfs_dir.c:270:27: warning: cast increases required alignment of target type [-Wcast-align] 270 | if (ntfs_ucstombs((ntfschar *) ((char *) rec + le16_to_cpu(rec->name_offset)), | ^ ntfs_dir.c:172:68: warning: unused parameter ‘pos’ [-Wunused-parameter] 172 | const int name_len, const int name_type, const s64 pos, | ~~~~~~~~~~^~~ ntfs_dir.c: In function ‘ntfs_dir’: ntfs_dir.c:304:29: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 304 | static int ntfs_dir(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const unsigned long int cluster, file_info_t *dir_list) | ~~~~~~~~^~~~~~~~ ntfs_dir.c:304:58: warning: unused parameter ‘partition’ [-Wunused-parameter] 304 | static int ntfs_dir(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const unsigned long int cluster, file_info_t *dir_list) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ntfs_dir.c: In function ‘ntfs_copy’: ntfs_dir.c:339:38: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 339 | static copy_file_t ntfs_copy(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const file_info_t *file) | ~~~~~~~~^~~~~~~~ ntfs_dir.c:339:67: warning: unused parameter ‘partition’ [-Wunused-parameter] 339 | static copy_file_t ntfs_copy(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const file_info_t *file) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o partgptw.o partgptw.c In file included from partgptw.c:43: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partgptw.c:45: partgpt.h:48:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 48 | } __attribute__ ((gcc_struct, __packed__)); | ^ partgptw.c: In function ‘efi_generate_uuid’: partgptw.c:77:2: warning: #warning "You need a uuid_generate, uuidgen or uuid_create function" [-Wcpp] 77 | #warning "You need a uuid_generate, uuidgen or uuid_create function" | ^~~~~~~ partgptw.c: In function ‘partition_generate_gpt_entry’: partgptw.c:108:13: warning: cast increases required alignment of target type [-Wcast-align] 108 | str2UCSle((uint16_t *)&gpt_entry->ent_name, partition->partname, sizeof(gpt_entry->ent_name)/2); | ^ partgptw.c: In function ‘write_part_gpt’: partgptw.c:243:87: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 243 | if(disk_car->pread(disk_car, gpt_org, disk_car->sector_size, disk_car->sector_size) == disk_car->sector_size) | ^~ partgptw.c:218:92: warning: unused parameter ‘verbose’ [-Wunused-parameter] 218 | int write_part_gpt(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~^~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o rfs_dir.o rfs_dir.c In file included from rfs_dir.c:44: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from rfs_dir.c:46: rfs.h:75:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 75 | } __attribute__ ((gcc_struct, __packed__)); | ^ rfs.h:88:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 88 | } __attribute__ ((gcc_struct, __packed__)); | ^ rfs_dir.c: In function ‘dir_partition_reiser_init’: rfs_dir.c:548:51: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 548 | dir_partition_t dir_partition_reiser_init(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const int verbose) | ~~~~~~~~^~~~~~~~ rfs_dir.c:548:80: warning: unused parameter ‘partition’ [-Wunused-parameter] 548 | dir_partition_t dir_partition_reiser_init(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const int verbose) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ rfs_dir.c:548:103: warning: unused parameter ‘dir_data’ [-Wunused-parameter] 548 | dir_partition_t dir_partition_reiser_init(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const int verbose) | ~~~~~~~~~~~~^~~~~~~~ rfs_dir.c:548:123: warning: unused parameter ‘verbose’ [-Wunused-parameter] 548 | dir_partition_t dir_partition_reiser_init(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const int verbose) | ~~~~~~~~~~^~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o next.o next.c In file included from next.c:32: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -Wl,-z,relro -o testdisk common.o crc.o ext2_common.o fat_common.o log.o misc.o setdate.o apfs_common.o autoset.o ewf.o fnctdsk.o hdaccess.o hdcache.o hdwin32.o hidden.o hpa_dco.o intrf.o iso.o list_sort.o log_part.o msdos.o parti386.o partgpt.o parthumax.o partmac.o partsun.o partnone.o partxbox.o ntfs_io.o ntfs_utl.o partauto.o sudo.o unicode.o win32.o analyse.o apfs.o bfs.o bsd.o btrfs.o cramfs.o exfat.o ext2.o fat.o fatx.o f2fs.o jfs.o gfs2.o hfs.o hfsp.o hpfs.o luks.o lvm.o md.o netware.o ntfs.o refs.o rfs.o savehdr.o sun.o swap.o sysv.o ufs.o vmfs.o wbfs.o xfs.o zfs.o addpart.o addpartn.o adv.o askloc.o chgarch.o chgarchn.o chgtype.o chgtypen.o dimage.o dirn.o dirpart.o diskacc.o diskcapa.o edit.o ext2_sb.o ext2_sbn.o fat1x.o fat32.o fat_adv.o fat_cluster.o fatn.o geometry.o geometryn.o godmode.o hiddenn.o intrface.o intrfn.o io_redir.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 next.o -lntfs-3g -lext2fs -lcom_err -lncursesw -ltinfo -lz riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o photorec.o photorec.c In file included from photorec.c:57: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from dir_common.h:30, from dir.h:27, from photorec.c:59: photorec.c: In function ‘file_block_log’: list.h:378:10: warning: cast increases required alignment of target type [-Wcast-align] 378 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ photorec.c:100:33: note: in expansion of macro ‘td_list_entry_const’ 100 | const alloc_list_t *element=td_list_entry_const(tmp, const alloc_list_t, list); | ^~~~~~~~~~~~~~~~~~~ photorec.c: In function ‘update_search_space_aux’: list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ photorec.c:140:26: note: in expansion of macro ‘td_list_entry’ 140 | current_search_space=td_list_entry(search_walker, alloc_data_t, list); | ^~~~~~~~~~~~~ list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ list.h:507:9: note: in expansion of macro ‘td_list_entry’ 507 | td_list_entry((pos)->member.next, typeof(*(pos)), member) | ^~~~~~~~~~~~~ photorec.c:170:35: note: in expansion of macro ‘td_list_next_entry’ 170 | *new_current_search_space=td_list_next_entry(current_search_space, list); | ^~~~~~~~~~~~~~~~~~ list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ list.h:507:9: note: in expansion of macro ‘td_list_entry’ 507 | td_list_entry((pos)->member.next, typeof(*(pos)), member) | ^~~~~~~~~~~~~ photorec.c:190:37: note: in expansion of macro ‘td_list_next_entry’ 190 | *new_current_search_space=td_list_next_entry(current_search_space, list); | ^~~~~~~~~~~~~~~~~~ list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ list.h:507:9: note: in expansion of macro ‘td_list_entry’ 507 | td_list_entry((pos)->member.next, typeof(*(pos)), member) | ^~~~~~~~~~~~~ photorec.c:201:35: note: in expansion of macro ‘td_list_next_entry’ 201 | *new_current_search_space=td_list_next_entry(current_search_space, list); | ^~~~~~~~~~~~~~~~~~ photorec.c: In function ‘free_list_search_space’: list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ photorec.c:276:26: note: in expansion of macro ‘td_list_entry’ 276 | current_search_space=td_list_entry(search_walker, alloc_data_t, list); | ^~~~~~~~~~~~~ photorec.c: In function ‘get_prev_file_header’: list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ list.h:515:9: note: in expansion of macro ‘td_list_entry’ 515 | td_list_entry((pos)->member.prev, typeof(*(pos)), member) | ^~~~~~~~~~~~~ photorec.c:356:16: note: in expansion of macro ‘td_list_prev_entry’ 356 | file_space=td_list_prev_entry(file_space, list); | ^~~~~~~~~~~~~~~~~~ photorec.c: In function ‘forget’: list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ photorec.c:391:11: note: in expansion of macro ‘td_list_entry’ 391 | tmp=td_list_entry(search_walker, alloc_data_t, list); | ^~~~~~~~~~~~~ photorec.c: In function ‘update_stats’: list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ photorec.c:440:26: note: in expansion of macro ‘td_list_entry’ 440 | current_search_space=td_list_entry(search_walker, alloc_data_t, list); | ^~~~~~~~~~~~~ photorec.c: In function ‘find_blocksize’: list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ list.h:486:9: note: in expansion of macro ‘td_list_entry’ 486 | td_list_entry((ptr)->next, type, member) | ^~~~~~~~~~~~~ photorec.c:525:29: note: in expansion of macro ‘td_list_first_entry’ 525 | const alloc_data_t *tmp=td_list_first_entry(&list_search_space->list, alloc_data_t, list); | ^~~~~~~~~~~~~~~~~~~ list.h:378:10: warning: cast increases required alignment of target type [-Wcast-align] 378 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ photorec.c:546:31: note: in expansion of macro ‘td_list_entry_const’ 546 | const alloc_data_t *tmp=td_list_entry_const(search_walker, const alloc_data_t, list); | ^~~~~~~~~~~~~~~~~~~ photorec.c: In function ‘update_blocksize’: list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ photorec.c:572:26: note: in expansion of macro ‘td_list_entry’ 572 | current_search_space=td_list_entry(search_walker, alloc_data_t, list); | ^~~~~~~~~~~~~ list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ photorec.c:579:40: note: in expansion of macro ‘td_list_entry’ 579 | alloc_data_t *current_search_space=td_list_entry(search_walker, alloc_data_t, list); | ^~~~~~~~~~~~~ list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ photorec.c:585:39: note: in expansion of macro ‘td_list_entry’ 585 | alloc_data_t *prev_search_space=td_list_entry(search_walker_prev, alloc_data_t, list); | ^~~~~~~~~~~~~ list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ photorec.c:610:40: note: in expansion of macro ‘td_list_entry’ 610 | alloc_data_t *current_search_space=td_list_entry(search_walker, alloc_data_t, list); | ^~~~~~~~~~~~~ photorec.c: In function ‘file_block_free’: list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ photorec.c:636:21: note: in expansion of macro ‘td_list_entry’ 636 | allocated_space=td_list_entry(tmp, alloc_list_t, list); | ^~~~~~~~~~~~~ photorec.c: In function ‘info_list_search_space’: list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ photorec.c:813:9: note: in expansion of macro ‘td_list_entry’ 813 | tmp=td_list_entry(search_walker, alloc_data_t, list); | ^~~~~~~~~~~~~ photorec.c: In function ‘free_search_space’: list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ photorec.c:846:26: note: in expansion of macro ‘td_list_entry’ 846 | current_search_space=td_list_entry(search_walker, alloc_data_t, list); | ^~~~~~~~~~~~~ photorec.c: In function ‘set_search_start_aux’: list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ photorec.c:890:26: note: in expansion of macro ‘td_list_entry’ 890 | current_search_space=td_list_entry(search_walker, alloc_data_t, list); | ^~~~~~~~~~~~~ list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ photorec.c:900:29: note: in expansion of macro ‘td_list_entry’ 900 | *new_current_search_space=td_list_entry(search_walker, alloc_data_t, list); | ^~~~~~~~~~~~~ photorec.c: In function ‘file_block_remove_from_sp_aux’: list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ list.h:507:9: note: in expansion of macro ‘td_list_entry’ 507 | td_list_entry((pos)->member.next, typeof(*(pos)), member) | ^~~~~~~~~~~~~ photorec.c:1078:31: note: in expansion of macro ‘td_list_next_entry’ 1078 | *new_current_search_space=td_list_next_entry(tmp, list); | ^~~~~~~~~~~~~~~~~~ list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ list.h:507:9: note: in expansion of macro ‘td_list_entry’ 507 | td_list_entry((pos)->member.next, typeof(*(pos)), member) | ^~~~~~~~~~~~~ photorec.c:1088:31: note: in expansion of macro ‘td_list_next_entry’ 1088 | *new_current_search_space=td_list_next_entry(tmp, list); | ^~~~~~~~~~~~~~~~~~ photorec.c: In function ‘file_block_remove_from_sp’: list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ photorec.c:1123:9: note: in expansion of macro ‘td_list_entry’ 1123 | tmp=td_list_entry(search_walker, alloc_data_t, list); | ^~~~~~~~~~~~~ list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ photorec.c:1133:9: note: in expansion of macro ‘td_list_entry’ 1133 | tmp=td_list_entry(search_walker, alloc_data_t, list); | ^~~~~~~~~~~~~ photorec.c: In function ‘file_block_add_to_file’: list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ list.h:498:9: note: in expansion of macro ‘td_list_entry’ 498 | td_list_entry((ptr)->prev, type, member) | ^~~~~~~~~~~~~ photorec.c:1156:24: note: in expansion of macro ‘td_list_last_entry’ 1156 | alloc_list_t *prev=td_list_last_entry(&list->list, alloc_list_t, list); | ^~~~~~~~~~~~~~~~~~ photorec.c: In function ‘file_block_truncate_aux’: list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ photorec.c:1192:9: note: in expansion of macro ‘td_list_entry’ 1192 | tmp=td_list_entry(search_walker, alloc_data_t, list); | ^~~~~~~~~~~~~ photorec.c: In function ‘file_block_truncate_zero_aux’: list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ photorec.c:1248:9: note: in expansion of macro ‘td_list_entry’ 1248 | tmp=td_list_entry(search_walker, alloc_data_t, list); | ^~~~~~~~~~~~~ photorec.c: In function ‘file_block_truncate_zero’: list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ photorec.c:1294:27: note: in expansion of macro ‘td_list_entry’ 1294 | alloc_list_t *element=td_list_entry(tmp, alloc_list_t, list); | ^~~~~~~~~~~~~ photorec.c: In function ‘file_block_truncate’: list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ photorec.c:1317:27: note: in expansion of macro ‘td_list_entry’ 1317 | alloc_list_t *element=td_list_entry(tmp, alloc_list_t, list); | ^~~~~~~~~~~~~ photorec.c: In function ‘file_offset_end’: list.h:378:10: warning: cast increases required alignment of target type [-Wcast-align] 378 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ photorec.c:1351:31: note: in expansion of macro ‘td_list_entry_const’ 1351 | const alloc_list_t *element=td_list_entry_const(tmp, const alloc_list_t, list); | ^~~~~~~~~~~~~~~~~~~ photorec.c: In function ‘file_block_move’: list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ photorec.c:1372:27: note: in expansion of macro ‘td_list_entry’ 1372 | alloc_data_t *element=td_list_entry(tmp, alloc_data_t, list); | ^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o phcfg.o phcfg.c In file included from phcfg.c:41: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o exfatp.o exfatp.c In file included from exfatp.c:31: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from exfatp.c:36: exfat.h:52:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 52 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:72:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 72 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:86:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:95:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 95 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from fat.h:29, from exfatp.c:38: fat_common.h:96:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 96 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat_common.h:106:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 106 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat_common.h:122:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 122 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o ext2grp.o ext2grp.c In file included from ext2grp.c:30: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ ext2grp.c: In function ‘ext2_fix_group’: ext2grp.c:60:39: warning: cast increases required alignment of target type [-Wcast-align] 60 | const struct ext2_super_block *sb=(const struct ext2_super_block *)buffer; | ^ In file included from ext2grp.c:31: list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ ext2grp.c:65:28: note: in expansion of macro ‘td_list_entry’ 65 | current_search_space=td_list_entry(search_walker, alloc_data_t, list); | ^~~~~~~~~~~~~ ext2grp.c: In function ‘ext2_fix_inode’: ext2grp.c:97:39: warning: cast increases required alignment of target type [-Wcast-align] 97 | const struct ext2_super_block *sb=(const struct ext2_super_block *)buffer; | ^ list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ ext2grp.c:103:28: note: in expansion of macro ‘td_list_entry’ 103 | current_search_space=td_list_entry(search_walker, alloc_data_t, list); | ^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o ext2p.o ext2p.c In file included from ext2p.c:39: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o fatp.o fatp.c In file included from fatp.c:31: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from fat.h:29, from fatp.c:36: fat_common.h:96:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 96 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat_common.h:106:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 106 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat_common.h:122:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 122 | } __attribute__ ((gcc_struct, __packed__)); | ^ fatp.c: In function ‘fat12_remove_used_space’: fatp.c:76:28: warning: cast increases required alignment of target type [-Wcast-align] 76 | next_cluster=le16((*((uint16_t*)&buffer[offset_o])))>>4; | ^ common.h:603:19: note: in definition of macro ‘le16’ 603 | #define le16(x) (x) /* x as little endian */ | ^ fatp.c:78:27: warning: cast increases required alignment of target type [-Wcast-align] 78 | next_cluster=le16(*((uint16_t*)&buffer[offset_o]))&0x0FFF; | ^ common.h:603:19: note: in definition of macro ‘le16’ 603 | #define le16(x) (x) /* x as little endian */ | ^ fatp.c: In function ‘fat16_remove_used_space’: fatp.c:117:7: warning: cast increases required alignment of target type [-Wcast-align] 117 | p16=(const uint16_t*)buffer; | ^ fatp.c: In function ‘fat32_remove_used_space’: fatp.c:170:7: warning: cast increases required alignment of target type [-Wcast-align] 170 | p32=(uint32_t*)buffer; | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_found.o file_found.c In file included from file_found.c:35: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o ntfsp.o ntfsp.c In file included from ntfsp.c:44: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from ntfs.h:24, from ntfsp.c:57: ntfs_struct.h:59:9: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 59 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs_struct.h:78:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 78 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs_struct.h:149:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 149 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; | ^ ntfs_struct.h:193:17: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 193 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs_struct.h:198:9: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 198 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs_struct.h:205:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 205 | } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; | ^ ntfs_struct.h:245:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 245 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o pdisksel.o pdisksel.c In file included from pdisksel.c:32: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from pdisksel.c:33: pdisksel.c: In function ‘photorec_disk_selection_cli’: list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ pdisksel.c:61:28: note: in expansion of macro ‘td_list_entry’ 61 | current_search_space=td_list_entry(search_walker, alloc_data_t, list); | ^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o poptions.o poptions.c In file included from poptions.c:31: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o sessionp.o sessionp.c In file included from sessionp.c:49: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from filegen.h:31, from sessionp.c:51: sessionp.c: In function ‘session_save’: list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ sessionp.c:344:26: note: in expansion of macro ‘td_list_entry’ 344 | current_free_space=td_list_entry(free_walker, alloc_data_t, list); | ^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o dfxml.o dfxml.c In file included from dfxml.c:59: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from dir_common.h:30, from dir.h:27, from dfxml.c:60: dfxml.c: In function ‘xml_log_file_recovered’: list.h:378:10: warning: cast increases required alignment of target type [-Wcast-align] 378 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ dfxml.c:335:33: note: in expansion of macro ‘td_list_entry_const’ 335 | const alloc_list_t *element=td_list_entry_const(tmp, const alloc_list_t, list); | ^~~~~~~~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o partgptro.o partgptro.c In file included from partgptro.c:30: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partgptro.c:31: partgpt.h:48:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 48 | } __attribute__ ((gcc_struct, __packed__)); | ^ partgptro.c: In function ‘write_part_gpt’: partgptro.c:33:28: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 33 | int write_part_gpt(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~^~~~~~~~ partgptro.c:33:57: warning: unused parameter ‘list_part’ [-Wunused-parameter] 33 | int write_part_gpt(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ partgptro.c:33:92: warning: unused parameter ‘verbose’ [-Wunused-parameter] 33 | int write_part_gpt(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~^~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o filegen.o filegen.c In file included from filegen.c:45: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ filegen.c:54:20: warning: redundant redeclaration of ‘td_list_add_sorted’ [-Wredundant-decls] 54 | static inline void td_list_add_sorted(struct td_list_head *newe, struct td_list_head *head, | ^~~~~~~~~~~~~~~~~~ In file included from filegen.c:52: list_add_sorted.h:41:20: note: previous definition of ‘td_list_add_sorted’ with type ‘void(struct td_list_head *, struct td_list_head *, int (*)(const struct td_list_head *, const struct td_list_head *))’ 41 | static inline void td_list_add_sorted(struct td_list_head *newe, struct td_list_head *head, | ^~~~~~~~~~~~~~~~~~ In file included from filegen.h:31, from filegen.c:46: filegen.c: In function ‘file_check_cmp’: list.h:378:10: warning: cast increases required alignment of target type [-Wcast-align] 378 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ filegen.c:121:28: note: in expansion of macro ‘td_list_entry_const’ 121 | const file_check_t *fc_a=td_list_entry_const(a, const file_check_t, list); | ^~~~~~~~~~~~~~~~~~~ list.h:378:10: warning: cast increases required alignment of target type [-Wcast-align] 378 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ filegen.c:122:28: note: in expansion of macro ‘td_list_entry_const’ 122 | const file_check_t *fc_b=td_list_entry_const(b, const file_check_t, list); | ^~~~~~~~~~~~~~~~~~~ filegen.c: In function ‘index_header_check_aux’: list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ filegen.c:242:30: note: in expansion of macro ‘td_list_entry’ 242 | file_check_list_t *pos=td_list_entry(tmp, file_check_list_t, list); | ^~~~~~~~~~~~~ filegen.c: In function ‘index_header_check’: list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ filegen.c:279:19: note: in expansion of macro ‘td_list_entry’ 279 | current_check=td_list_entry(tmp, file_check_t, list); | ^~~~~~~~~~~~~ filegen.c: In function ‘free_header_check’: list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ filegen.c:298:28: note: in expansion of macro ‘td_list_entry’ 298 | file_check_list_t *pos=td_list_entry(tmpl, file_check_list_t, list); | ^~~~~~~~~~~~~ list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ filegen.c:316:23: note: in expansion of macro ‘td_list_entry’ 316 | current_check=td_list_entry(tmp, file_check_t, list); | ^~~~~~~~~~~~~ filegen.c: In function ‘data_check_size’: filegen.c:450:51: warning: unused parameter ‘buffer’ [-Wunused-parameter] 450 | data_check_t data_check_size(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ filegen.c: In function ‘get_prev_location_smart’: list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ list.h:515:9: note: in expansion of macro ‘td_list_entry’ 515 | td_list_entry((pos)->member.prev, typeof(*(pos)), member) | ^~~~~~~~~~~~~ filegen.c:1069:16: note: in expansion of macro ‘td_list_prev_entry’ 1069 | file_space=td_list_prev_entry(file_space, list); | ^~~~~~~~~~~~~~~~~~ list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ list.h:515:9: note: in expansion of macro ‘td_list_entry’ 515 | td_list_entry((pos)->member.prev, typeof(*(pos)), member) | ^~~~~~~~~~~~~ filegen.c:1095:16: note: in expansion of macro ‘td_list_prev_entry’ 1095 | file_space=td_list_prev_entry(file_space, list); | ^~~~~~~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_list.o file_list.c riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_1cd.o file_1cd.c In file included from file_1cd.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_1cd.c:52:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 52 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_1cd.c: In function ‘header_check_1cd’: file_1cd.c:61:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 61 | 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:61:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 61 | 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:61:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 61 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_3dm.o file_3dm.c file_3dm.c: In function ‘header_check_3dm’: file_3dm.c:53:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 53 | static int header_check_3dm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_3dm.c:53:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 53 | static int header_check_3dm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_3ds.o file_3ds.c In file included from file_3ds.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_3ds.c:51:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 51 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_3ds.c: In function ‘header_check_3ds’: file_3ds.c:60:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 60 | static int header_check_3ds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_3ds.c:60:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 60 | static int header_check_3ds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_7z.o file_7z.c In file included from file_7z.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_7z.c:55:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 55 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_7z.c: In function ‘header_check_7z’: file_7z.c:64:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 64 | 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:64:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 64 | 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:64:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 64 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_DB.o file_DB.c file_DB.c: In function ‘header_check_DB’: file_DB.c:51:49: warning: unused parameter ‘buffer’ [-Wunused-parameter] 51 | 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:51:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 51 | 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:51:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 51 | 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:51:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 51 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_a.o file_a.c file_a.c:55:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 55 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_a.c: In function ‘header_check_a’: file_a.c:64:75: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 64 | 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:64:107: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 64 | 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:64:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 64 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ab.o file_ab.c In file included from file_ab.c:29: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ab.c:49:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 49 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ab.c: In function ‘header_check_addressbook’: file_ab.c:95:85: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 95 | 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:95:117: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 95 | 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:95:158: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 95 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_abr.o file_abr.c In file included from file_abr.c:34: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_abr.c:44:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 44 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_abr.c: In function ‘header_check_abr’: file_abr.c:91:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 91 | static int header_check_abr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_abr.c:91:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 91 | static int header_check_abr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_acb.o file_acb.c file_acb.c: In function ‘header_check_acb’: file_acb.c:52:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | static int header_check_acb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_acb.c:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_acb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_acb.c:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_acb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_acb.c:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_acb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ace.o file_ace.c In file included from file_ace.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ace.c:66:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 66 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ace.c: In function ‘header_check_ace’: file_ace.c:214:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 214 | 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:214:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 214 | 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:214:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 214 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ado.o file_ado.c file_ado.c: In function ‘header_check_ado’: file_ado.c:53:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 53 | static int header_check_ado(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ado.c:53:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 53 | static int header_check_ado(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ado.c:53:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 53 | static int header_check_ado(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_afdesign.o file_afdesign.c In file included from file_afdesign.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_afdesign.c: In function ‘header_check_afdesign’: file_afdesign.c:74:37: warning: cast increases required alignment of target type [-Wcast-align] 74 | const struct afdesign_header *hdr=(const struct afdesign_header*)buffer; | ^ file_afdesign.c:72:82: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 72 | static int header_check_afdesign(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_afdesign.c:72:114: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 72 | static int header_check_afdesign(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_afdesign.c:72:155: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 72 | static int header_check_afdesign(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ahn.o file_ahn.c file_ahn.c: In function ‘header_check_ahn’: file_ahn.c:53:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 53 | 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:53:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 53 | 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:53:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 53 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_aif.o file_aif.c In file included from file_aif.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_aif.c:52:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 52 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_aif.c: In function ‘header_check_aif’: file_aif.c:61:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 61 | 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:61:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 61 | 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:61:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 61 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_all.o file_all.c file_all.c: In function ‘header_check_all’: file_all.c:53:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 53 | 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:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 53 | 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] 53 | 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] 53 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_als.o file_als.c file_als.c: In function ‘header_check_als’: file_als.c:71:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 71 | 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:71:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 71 | 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:71:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 71 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_amd.o file_amd.c In file included from file_amd.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_amd.c: In function ‘header_check_amd’: file_amd.c:54:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 54 | 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:54:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 54 | 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:54:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 54 | static int header_check_amd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_amd.c: In function ‘header_check_amt’: file_amd.c:72:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 72 | 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:72:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 72 | 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:72:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 72 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_amr.o file_amr.c file_amr.c: In function ‘header_check_amr’: file_amr.c:97:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 97 | 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:97:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 97 | 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:97:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 97 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_apa.o file_apa.c In file included from file_apa.c:32: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_apa.c: In function ‘header_check_apa’: file_apa.c:54:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 54 | 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:54:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 54 | 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:54:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 54 | 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:54:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 54 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ape.o file_ape.c In file included from file_ape.c:32: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ape.c:86:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ape.c: In function ‘header_check_ape’: file_ape.c:112:36: warning: cast increases required alignment of target type [-Wcast-align] 112 | const struct APE_HEADER_OLD *ape=(const struct APE_HEADER_OLD*)buffer; | ^ file_ape.c:127:37: warning: cast increases required alignment of target type [-Wcast-align] 127 | const struct APE_HEADER *apeh=(const struct APE_HEADER*)&buffer[nDescriptorBytes]; | ^ file_ape.c:110:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 110 | 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:110:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 110 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_apple.o file_apple.c file_apple.c: In function ‘header_check_apple’: file_apple.c:51:52: warning: unused parameter ‘buffer’ [-Wunused-parameter] 51 | 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:51:79: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 51 | 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:51:111: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 51 | 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:51:152: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 51 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ari.o file_ari.c In file included from file_ari.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ari.c:57:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 57 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ari.c: In function ‘header_check_ari’: file_ari.c:66:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 66 | static int header_check_ari(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ari.c:66:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 66 | static int header_check_ari(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ari.c:66:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 66 | static int header_check_ari(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_arj.o file_arj.c In file included from file_arj.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_arj.c:119:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 119 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_arj.c: In function ‘header_check_arj’: file_arj.c:141:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 141 | 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:141:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 141 | 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:141:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 141 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_asf.o file_asf.c In file included from file_asf.c:32: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_asf.c:54:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 54 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_asf.c:62:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 62 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_asf.c:68:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 68 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_asf.c: In function ‘header_check_asf’: file_asf.c:80:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 80 | 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:80:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 80 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_asl.o file_asl.c file_asl.c: In function ‘header_check_asl’: file_asl.c:52:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | static int header_check_asl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_asl.c:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_asl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_asl.c:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_asl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_asl.c:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_asl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_asm.o file_asm.c file_asm.c: In function ‘header_check_asm’: file_asm.c:69:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 69 | 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:69:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 69 | 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:69:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 69 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_atd.o file_atd.c file_atd.c: In function ‘header_check_atd’: file_atd.c:52:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | 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:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | 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:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | 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:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_au.o file_au.c In file included from file_au.c:32: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_au.c:56:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 56 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_au.c: In function ‘header_check_au’: file_au.c:65:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 65 | 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] 65 | 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] 65 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_axp.o file_axp.c file_axp.c: In function ‘header_check_axp’: file_axp.c:102:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 102 | static int header_check_axp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_axp.c:102:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 102 | static int header_check_axp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_axp.c:102:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 102 | static int header_check_axp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_axp.c:102:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 102 | static int header_check_axp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_axx.o file_axx.c In file included from file_axx.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_axx.c:52:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 52 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_axx.c: In function ‘file_check_axx’: file_axx.c:93:33: warning: cast increases required alignment of target type [-Wcast-align] 93 | const uint64_t *fsize_ptr=(const uint64_t *)&buf; | ^ file_axx.c: In function ‘header_check_axx’: file_axx.c:121:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 121 | static int header_check_axx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_axx.c:121:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 121 | static int header_check_axx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_axx.c:121:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 121 | static int header_check_axx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_bac.o file_bac.c In file included from file_bac.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_bac.c:58:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 58 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_bac.c: In function ‘header_check_bac’: file_bac.c:120:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 120 | 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:120:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 120 | 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:120:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 120 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_bdm.o file_bdm.c file_bdm.c: In function ‘header_check_bdm’: file_bdm.c:52:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | static int header_check_bdm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_bdm.c:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_bdm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_bdm.c:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_bdm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_bdm.c:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_bdm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_berkeley.o file_berkeley.c file_berkeley.c: In function ‘header_check_berkeley_le’: file_berkeley.c:52:58: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | static int header_check_berkeley_le(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_berkeley.c:52:85: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_berkeley_le(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_berkeley.c:52:117: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_berkeley_le(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_berkeley.c:52:158: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_berkeley_le(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_bfa.o file_bfa.c In file included from file_bfa.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_bfa.c:57:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 57 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_bfa.c: In function ‘header_check_bfa’: file_bfa.c:66:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 66 | static int header_check_bfa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_bfa.c:66:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 66 | static int header_check_bfa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_bfa.c:66:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 66 | static int header_check_bfa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_bim.o file_bim.c file_bim.c: In function ‘header_check_bim’: file_bim.c:52:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | 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:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | 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:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | 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:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_bin.o file_bin.c In file included from file_bin.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_bin.c:54:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 54 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_bin.c: In function ‘header_check_bin’: file_bin.c:63:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 63 | static int header_check_bin(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_bin.c:63:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 63 | static int header_check_bin(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_bin.c:63:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 63 | static int header_check_bin(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_binvox.o file_binvox.c file_binvox.c: In function ‘header_check_binvox’: file_binvox.c:52:53: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | static int header_check_binvox(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_binvox.c:52:80: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_binvox(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_binvox.c:52:112: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_binvox(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_binvox.c:52:153: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_binvox(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_bkf.o file_bkf.c In file included from file_bkf.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_bkf.c:67:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 67 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_bkf.c: In function ‘header_check_bkf’: file_bkf.c:95:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 95 | 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:95:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 95 | 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:95:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 95 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_bld.o file_bld.c In file included from file_bld.c:32: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_bld.c:59:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 59 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_bld.c:68:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 68 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_bld.c: In function ‘header_check_blend’: file_bld.c:243:79: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 243 | 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:243:111: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 243 | 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:243:152: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 243 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_bmp.o file_bmp.c In file included from file_bmp.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_bmp.c:61:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 61 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_bmp.c: In function ‘header_check_bmp’: file_bmp.c:102:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 102 | 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:102:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 102 | 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:102:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 102 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_bpg.o file_bpg.c file_bpg.c: In function ‘header_check_bpg’: file_bpg.c:96:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 96 | static int header_check_bpg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_bpg.c:96:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 96 | static int header_check_bpg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_bvr.o file_bvr.c file_bvr.c: In function ‘data_check_bvr’: file_bvr.c:66:26: warning: cast increases required alignment of target type [-Wcast-align] 66 | const uint32_t *valp=(const uint32_t *)&buffer[i+12]; | ^ file_bvr.c: In function ‘header_check_bvr’: file_bvr.c:82:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 82 | static int header_check_bvr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_bvr.c:82:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 82 | static int header_check_bvr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_bvr.c:82:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 82 | static int header_check_bvr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_bz2.o file_bz2.c file_bz2.c: In function ‘header_check_bz2’: file_bz2.c:53:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 53 | 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] 53 | 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] 53 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_c4d.o file_c4d.c file_c4d.c: In function ‘header_check_c4d’: file_c4d.c:52:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | static int header_check_c4d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_c4d.c:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_c4d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_c4d.c:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_c4d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_c4d.c:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_c4d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_cab.o file_cab.c In file included from file_cab.c:32: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_cab.c:60:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 60 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_cab.c: In function ‘header_check_cab’: file_cab.c:69:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 69 | 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:69:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 69 | 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:69:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 69 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_caf.o file_caf.c In file included from file_caf.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_caf.c:58:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 58 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_caf.c: In function ‘header_check_caf’: file_caf.c:122:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 122 | 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:122:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 122 | 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:122:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 122 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_cam.o file_cam.c file_cam.c: In function ‘header_check_cam’: file_cam.c:52:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | 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:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | 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:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | 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:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_catdrawing.o file_catdrawing.c file_catdrawing.c: In function ‘header_check_catdrawing’: file_catdrawing.c:52:57: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | 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:52:84: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | 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:52:116: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | 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:52:157: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_cdt.o file_cdt.c file_cdt.c: In function ‘header_check_cdt’: file_cdt.c:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | 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:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | 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:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_che.o file_che.c In file included from file_che.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_che.c:54:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 54 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_che.c: In function ‘header_check_che’: file_che.c:110:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 110 | static int header_check_che(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_che.c:110:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 110 | static int header_check_che(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_che.c:110:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 110 | static int header_check_che(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_che.c:110:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 110 | static int header_check_che(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_chm.o file_chm.c file_chm.c: In function ‘header_check_chm’: file_chm.c:53:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 53 | 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:53:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 53 | 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:53:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 53 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_class.o file_class.c In file included from file_class.c:32: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_class.c: In function ‘header_check_class’: file_class.c:63:35: warning: cast increases required alignment of target type [-Wcast-align] 63 | const struct class_header *cafe=(const struct class_header *)buffer; | ^ file_class.c:61:79: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 61 | static int header_check_class(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_class.c:61:111: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 61 | static int header_check_class(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_class.c:61:152: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 61 | static int header_check_class(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_clip.o file_clip.c In file included from file_clip.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_clip.c:51:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 51 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_clip.c:58:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 58 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_clip.c: In function ‘header_check_clip’: file_clip.c:98:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 98 | static int header_check_clip(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_clip.c:98:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 98 | static int header_check_clip(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_clip.c:98:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 98 | static int header_check_clip(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_cm.o file_cm.c file_cm.c: In function ‘header_check_cm’: file_cm.c:52:49: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | 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:52:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | 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:52:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | 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:52:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_compress.o file_compress.c file_compress.c: In function ‘header_check_compress’: file_compress.c:52:55: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | 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:52:82: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | 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:52:114: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | 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:52:155: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_cow.o file_cow.c In file included from file_cow.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_cow.c:61:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 61 | } __attribute__ ((gcc_struct, __packed__)) QCowHeader_t; | ^ file_cow.c: In function ‘header_check_qcow1’: file_cow.c:86:79: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 86 | static int header_check_qcow1(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_cow.c:86:111: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 86 | static int header_check_qcow1(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_cow.c:86:152: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 86 | static int header_check_qcow1(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_cow.c: In function ‘header_check_qcow2’: file_cow.c:108:31: warning: cast increases required alignment of target type [-Wcast-align] 108 | const QCowHeader2_t *header=(const QCowHeader2_t*)buffer; | ^ file_cow.c:106:79: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 106 | static int header_check_qcow2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_cow.c:106:111: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 106 | static int header_check_qcow2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_cow.c:106:152: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 106 | static int header_check_qcow2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_cpi.o file_cpi.c file_cpi.c: In function ‘header_check_cpi’: file_cpi.c:52:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | static int header_check_cpi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_cpi.c:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_cpi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_cpi.c:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_cpi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_cpi.c:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_cpi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_crw.o file_crw.c file_crw.c: In function ‘header_check_crw’: file_crw.c:66:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 66 | 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:66:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 66 | 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:66:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 66 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_csh.o file_csh.c file_csh.c: In function ‘header_check_csh’: file_csh.c:52:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | static int header_check_csh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_csh.c:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_csh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_csh.c:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_csh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_csh.c:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_csh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ctg.o file_ctg.c file_ctg.c: In function ‘header_check_ctg’: file_ctg.c:52:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | 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:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | 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:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | 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:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_cwk.o file_cwk.c In file included from file_cwk.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_cwk.c:65:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 65 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_cwk.c: In function ‘header_check_cwk’: file_cwk.c:88:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 88 | 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:88:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 88 | 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:88:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 88 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_d2s.o file_d2s.c In file included from file_d2s.c:31: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_d2s.c:52:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 52 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_d2s.c: In function ‘header_check_d2s’: file_d2s.c:78:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 78 | 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:78:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 78 | 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:78:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 78 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dad.o file_dad.c In file included from file_dad.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_dad.c:54:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 54 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_dad.c: In function ‘header_check_dad’: file_dad.c:98:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 98 | static int header_check_dad(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dad.c:98:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 98 | static int header_check_dad(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dar.o file_dar.c file_dar.c: In function ‘header_check_dar’: file_dar.c:53:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 53 | 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:53:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 53 | 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:53:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 53 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dat.o file_dat.c file_dat.c: In function ‘header_check_dat’: file_dat.c:52:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | 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:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | 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:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | 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:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_dat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_dat.c: In function ‘header_check_datIE’: file_dat.c:67:79: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 67 | 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:67:111: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 67 | 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:67:152: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 67 | static int header_check_datIE(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_dat.c: In function ‘header_check_dat_history4’: file_dat.c:88:86: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 88 | static int header_check_dat_history4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dat.c:88:118: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 88 | static int header_check_dat_history4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dat.c:88:159: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 88 | static int header_check_dat_history4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_dat.c: In function ‘header_check_dat_history10’: file_dat.c:105:87: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 105 | static int header_check_dat_history10(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dat.c:105:119: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 105 | static int header_check_dat_history10(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dat.c:105:160: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 105 | static int header_check_dat_history10(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dbf.o file_dbf.c file_dbf.c: In function ‘header_check_dbf’: file_dbf.c:53:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 53 | 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] 53 | 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] 53 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dbn.o file_dbn.c file_dbn.c: In function ‘header_check_dbn’: file_dbn.c:54:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 54 | 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:54:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 54 | 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:54:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 54 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dcm.o file_dcm.c file_dcm.c: In function ‘header_check_dcm’: file_dcm.c:52:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | static int header_check_dcm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_dcm.c:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_dcm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dcm.c:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_dcm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dcm.c:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_dcm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ddf.o file_ddf.c In file included from file_ddf.c:36: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ddf.c:82:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 82 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ddf.c: In function ‘header_check_ddf3’: file_ddf.c:111:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 111 | static int header_check_ddf3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ddf.c:111:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 111 | static int header_check_ddf3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ddf.c:111:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 111 | static int header_check_ddf3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_ddf.c: In function ‘header_check_ddf4’: file_ddf.c:128:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 128 | static int header_check_ddf4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ddf.c:128:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 128 | static int header_check_ddf4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ddf.c:128:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 128 | static int header_check_ddf4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_ddf.c: In function ‘header_check_ddf5’: file_ddf.c:145:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 145 | static int header_check_ddf5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ddf.c:145:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 145 | static int header_check_ddf5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ddf.c:145:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 145 | static int header_check_ddf5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dex.o file_dex.c In file included from file_dex.c:34: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_dex.c:74:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 74 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_dex.c: In function ‘header_check_dex’: file_dex.c:83:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 83 | 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:83:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 83 | 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:83:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 83 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dim.o file_dim.c file_dim.c: In function ‘header_check_dim’: file_dim.c:51:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 51 | 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:51:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 51 | 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:51:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 51 | 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:51:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 51 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dir.o file_dir.c In file included from file_dir.c:36: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from file_dir.c:37: fat_common.h:96:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 96 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat_common.h:106:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 106 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat_common.h:122:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 122 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_dir.c: In function ‘data_check_fatdir’: file_dir.c:87:60: warning: unused parameter ‘buffer’ [-Wunused-parameter] 87 | static data_check_t data_check_fatdir(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_dir.c: In function ‘header_check_dir’: file_dir.c:101:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 101 | 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:101:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 101 | 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:101:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 101 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_djv.o file_djv.c In file included from file_djv.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_djv.c:52:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 52 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_djv.c: In function ‘header_check_djv’: file_djv.c:61:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 61 | 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:61:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 61 | 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:61:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 61 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dmp.o file_dmp.c file_dmp.c: In function ‘header_check_dmp’: file_dmp.c:53:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 53 | 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:53:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 53 | 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:53:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 53 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_doc.o file_doc.c In file included from file_doc.c:36: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from file_doc.c:38: ole.h:62:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 62 | } __attribute__ ((gcc_struct, __packed__)); | ^ ole.h:83:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 83 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_doc.c: In function ‘OLE_load_FAT’: file_doc.c:153:7: warning: cast increases required alignment of target type [-Wcast-align] 153 | dif=(const uint32_t*)data; | ^ file_doc.c: In function ‘ole_get_file_extension’: file_doc.c:657:28: warning: cast increases required alignment of target type [-Wcast-align] 657 | const uint32_t *fati=(const uint32_t *)(header+1); | ^ file_doc.c:668:17: warning: cast increases required alignment of target type [-Wcast-align] 668 | val32_ptr=(const uint32_t *)&buffer[fat_test_size]; | ^ file_doc.c: In function ‘OLE_load_MiniFAT’: file_doc.c:783:10: warning: cast increases required alignment of target type [-Wcast-align] 783 | return (uint32_t *)minifat; | ^ file_doc.c: In function ‘get32u’: file_doc.c:799:23: warning: cast increases required alignment of target type [-Wcast-align] 799 | const uint32_t *val=(const uint32_t *)ptr; | ^ file_doc.c: In function ‘get64u’: file_doc.c:815:23: warning: cast increases required alignment of target type [-Wcast-align] 815 | const uint64_t *val=(const uint64_t *)ptr; | ^ file_doc.c: In function ‘OLE_parse_PropertySet’: file_doc.c:1258:39: warning: cast increases required alignment of target type [-Wcast-align] 1258 | const struct summary_entry *entries=(const struct summary_entry *)&buffer[8]; | ^ file_doc.c:1322:11: warning: cast increases required alignment of target type [-Wcast-align] 1322 | entry=(const struct summary_entry *)entry_ptr; | ^ file_doc.c: In function ‘header_check_doc’: file_doc.c:1812:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 1812 | 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:1812:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 1812 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from file_doc.c:41: In function ‘header_check_doc’, inlined from ‘header_check_doc’ at file_doc.c:1812:12: memmem.h:35:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ file_doc.c:1875:11: note: called from here 1875 | else if(td_memmem(buffer,buffer_size,"StarCalc",8)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ memmem.h:35:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ file_doc.c:1879:11: note: called from here 1879 | else if(td_memmem(buffer,buffer_size,"StarImpress",11)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ memmem.h:35:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ file_doc.c:1883:11: note: called from here 1883 | else if(td_memmem(buffer,buffer_size,"Worksheet",9)!=NULL || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ memmem.h:35:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ file_doc.c:1884:7: note: called from here 1884 | td_memmem(buffer,buffer_size,"Book",4)!=NULL || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ memmem.h:35:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ file_doc.c:1885:7: note: called from here 1885 | td_memmem(buffer,buffer_size,"Workbook",8)!=NULL || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ memmem.h:35:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ file_doc.c:1886:7: note: called from here 1886 | td_memmem(buffer,buffer_size,"Calc",4)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ memmem.h:35:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ file_doc.c:1890:11: note: called from here 1890 | else if(td_memmem(buffer,buffer_size,"Power",5)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ memmem.h:35:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ file_doc.c:1894:11: note: called from here 1894 | else if(td_memmem(buffer,buffer_size,"AccessObjSiteData",17)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ memmem.h:35:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ file_doc.c:1898:11: note: called from here 1898 | else if(td_memmem(buffer,buffer_size,"Visio",5)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ memmem.h:35:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ file_doc.c:1902:11: note: called from here 1902 | else if(td_memmem(buffer,buffer_size,"SfxDocument",11)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ memmem.h:35:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ file_doc.c:1906:11: note: called from here 1906 | else if(td_memmem(buffer,buffer_size,"CPicPage",8)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ memmem.h:35:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ file_doc.c:1910:11: note: called from here 1910 | else if(td_memmem(buffer,buffer_size,"Microsoft Publisher",19)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ memmem.h:35:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ file_doc.c:1914:11: note: called from here 1914 | else if(td_memmem(buffer, buffer_size, "Microsoft Works Database", 24)!=NULL | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ memmem.h:35:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ file_doc.c:1915:10: note: called from here 1915 | || td_memmem( buffer, buffer_size, "MSWorksDBDoc", 12)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ memmem.h:35:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 35 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ file_doc.c:1919:11: note: called from here 1919 | else if(td_memmem(buffer,buffer_size,"MetaStock",9)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dovecot.o file_dovecot.c file_dovecot.c: In function ‘header_check_dovecot’: file_dovecot.c:108:54: warning: unused parameter ‘buffer’ [-Wunused-parameter] 108 | static int header_check_dovecot(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_dovecot.c:108:81: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 108 | static int header_check_dovecot(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dovecot.c:108:113: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 108 | static int header_check_dovecot(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dpx.o file_dpx.c In file included from file_dpx.c:36: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_dpx.c:68:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 68 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_dpx.c: In function ‘header_check_dpx’: file_dpx.c:91:66: warning: pointer targets in passing argument 1 of ‘get_time_from_YYYY_MM_DD_HH_MM_SS’ differ in signedness [-Wpointer-sign] 91 | file_recovery_new->time=get_time_from_YYYY_MM_DD_HH_MM_SS(dpx->create_time); | ~~~^~~~~~~~~~~~~ | | | const char * In file included from file_dpx.c:35: filegen.h:452:63: note: expected ‘const unsigned char *’ but argument is of type ‘const char *’ 452 | time_t get_time_from_YYYY_MM_DD_HH_MM_SS(const unsigned char *date_asc); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ file_dpx.c:77:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 77 | 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] 77 | 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] 77 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_drw.o file_drw.c file_drw.c: In function ‘header_check_drw’: file_drw.c:69:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 69 | 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:69:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 69 | 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:69:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 69 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_drw2.o file_drw2.c file_drw2.c: In function ‘header_check_drw2’: file_drw2.c:53:51: warning: unused parameter ‘buffer’ [-Wunused-parameter] 53 | static int header_check_drw2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_drw2.c:53:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 53 | static int header_check_drw2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_drw2.c:53:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 53 | static int header_check_drw2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_drw2.c:53:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 53 | static int header_check_drw2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ds2.o file_ds2.c file_ds2.c: In function ‘header_check_ds2’: file_ds2.c:81:54: warning: pointer targets in passing argument 1 of ‘get_time_from_YYMMDDHHMMSS’ differ in signedness [-Wpointer-sign] 81 | file_recovery_new->time=get_time_from_YYMMDDHHMMSS(date_asc); | ^~~~~~~~ | | | const unsigned char * In file included from file_ds2.c:35: filegen.h:446:47: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’ 446 | time_t get_time_from_YYMMDDHHMMSS(const char *date_asc); | ~~~~~~~~~~~~^~~~~~~~ file_ds2.c:67:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 67 | 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:67:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 67 | 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:67:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 67 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ds_store.o file_ds_store.c In file included from file_ds_store.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ds_store.c: In function ‘header_check_ds_store’: file_ds_store.c:66:37: warning: cast increases required alignment of target type [-Wcast-align] 66 | const struct ds_store_header *hdr=(const struct ds_store_header *)buffer; | ^ file_ds_store.c:64:82: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 64 | static int header_check_ds_store(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ds_store.c:64:114: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 64 | static int header_check_ds_store(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ds_store.c:64:155: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 64 | static int header_check_ds_store(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dsc.o file_dsc.c file_dsc.c: In function ‘header_check_dsc’: file_dsc.c:51:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 51 | 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:51:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 51 | 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:51:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 51 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dss.o file_dss.c file_dss.c: In function ‘header_check_dss’: file_dss.c:69:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 69 | 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:69:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 69 | 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:69:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 69 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dst.o file_dst.c file_dst.c: In function ‘header_check_dst’: file_dst.c:53:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 53 | static int header_check_dst(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dst.c:53:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 53 | static int header_check_dst(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dst.c:53:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 53 | static int header_check_dst(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dta.o file_dta.c file_dta.c: In function ‘header_check_dta’: file_dta.c:52:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | 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:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | 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:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | 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:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dump.o file_dump.c In file included from file_dump.c:32: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_dump.c: In function ‘header_check_dump’: file_dump.c:137:34: warning: cast increases required alignment of target type [-Wcast-align] 137 | const struct dump_struct *dump=(const struct dump_struct*)buffer; | ^ file_dump.c:135:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 135 | 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:135:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 135 | 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:135:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 135 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dv.o file_dv.c file_dv.c: In function ‘header_check_dv’: file_dv.c:219:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 219 | 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:219:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 219 | 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dvi.o file_dvi.c file_dvi.c: In function ‘header_check_dvi’: file_dvi.c:53:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 53 | static int header_check_dvi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dvi.c:53:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 53 | static int header_check_dvi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dvi.c:53:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 53 | static int header_check_dvi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dvr.o file_dvr.c file_dvr.c: In function ‘header_check_dvr’: file_dvr.c:53:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 53 | static int header_check_dvr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dvr.c:53:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 53 | static int header_check_dvr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dwg.o file_dwg.c file_dwg.c: In function ‘header_check_dwg’: file_dwg.c:52:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | 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:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | 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:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | 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:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dxf.o file_dxf.c In file included from file_dxf.c:32: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_dxf.c: In function ‘header_check_dxf’: file_dxf.c:96:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 96 | 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:96:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 96 | 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:96:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 96 | 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:96:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 96 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_e01.o file_e01.c In file included from file_e01.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_e01.c:70:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 70 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_e01.c: In function ‘header_check_e01’: file_e01.c:104:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 104 | 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:104:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 104 | 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:104:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 104 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_edb.o file_edb.c In file included from file_edb.c:32: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_edb.c: In function ‘header_check_edb’: file_edb.c:53:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 53 | 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:53:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 53 | 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:53:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 53 | 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ecryptfs.o file_ecryptfs.c In file included from file_ecryptfs.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ecryptfs.c:57:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 57 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ecryptfs.c: In function ‘header_check_ecryptfs’: file_ecryptfs.c:80:82: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 80 | 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:80:114: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 80 | 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:80:155: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 80 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_elf.o file_elf.c In file included from file_elf.c:32: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_elf.c: In function ‘header_check_elf32_lsb’: file_elf.c:131:25: warning: cast increases required alignment of target type [-Wcast-align] 131 | const Elf32_Ehdr *hdr=(const Elf32_Ehdr *)buffer; | ^ file_elf.c:129:83: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 129 | static int header_check_elf32_lsb(const unsigned char *buffer, 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:129:115: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 129 | static int header_check_elf32_lsb(const unsigned char *buffer, 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:129:156: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 129 | static int header_check_elf32_lsb(const unsigned char *buffer, 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: In function ‘header_check_elf32_msb’: file_elf.c:155:25: warning: cast increases required alignment of target type [-Wcast-align] 155 | const Elf32_Ehdr *hdr=(const Elf32_Ehdr *)buffer; | ^ file_elf.c:153:83: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 153 | static int header_check_elf32_msb(const unsigned char *buffer, 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:153:115: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 153 | static int header_check_elf32_msb(const unsigned char *buffer, 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:153:156: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 153 | static int header_check_elf32_msb(const unsigned char *buffer, 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: In function ‘header_check_elf64_lsb’: file_elf.c:179:25: warning: cast increases required alignment of target type [-Wcast-align] 179 | const Elf64_Ehdr *hdr=(const Elf64_Ehdr *)buffer; | ^ file_elf.c:177:83: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 177 | static int header_check_elf64_lsb(const unsigned char *buffer, 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:177:115: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 177 | static int header_check_elf64_lsb(const unsigned char *buffer, 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:177:156: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 177 | static int header_check_elf64_lsb(const unsigned char *buffer, 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: In function ‘header_check_elf64_msb’: file_elf.c:203:25: warning: cast increases required alignment of target type [-Wcast-align] 203 | const Elf64_Ehdr *hdr=(const Elf64_Ehdr *)buffer; | ^ file_elf.c:201:83: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 201 | static int header_check_elf64_msb(const unsigned char *buffer, 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:201:115: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 201 | static int header_check_elf64_msb(const unsigned char *buffer, 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:201:156: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 201 | static int header_check_elf64_msb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_emf.o file_emf.c In file included from file_emf.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_emf.c:83:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 83 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_emf.c: In function ‘data_check_emf’: file_emf.c:228:22: warning: cast increases required alignment of target type [-Wcast-align] 228 | const U_EMR *hdr=(const U_EMR *)&buffer[i]; | ^ file_emf.c: In function ‘header_check_emf’: file_emf.c:383:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 383 | 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:383:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 383 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ess.o file_ess.c file_ess.c: In function ‘header_check_ess’: file_ess.c:52:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | static int header_check_ess(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_ess.c:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_ess(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ess.c:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_ess(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ess.c:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_ess(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_evt.o file_evt.c In file included from file_evt.c:32: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_evt.c:51:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 51 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_evt.c: In function ‘header_check_evt’: file_evt.c:106:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 106 | 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:106:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 106 | 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:106:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 106 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_evtx.o file_evtx.c In file included from file_evtx.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_evtx.c:49:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 49 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_evtx.c: In function ‘header_check_evtx’: file_evtx.c:70:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 70 | static int header_check_evtx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_evtx.c:70:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 70 | static int header_check_evtx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_evtx.c:70:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 70 | static int header_check_evtx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_exe.o file_exe.c In file included from file_exe.c:35: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from file_exe.c:37: pe.h:50:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 50 | } __attribute__ ((gcc_struct, __packed__)); | ^ pe.h:55:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 55 | } __attribute__ ((gcc_struct, __packed__)); | ^ pe.h:66:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 66 | } __attribute__ ((gcc_struct, __packed__)); | ^ pe.h:71:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 71 | } __attribute__ ((gcc_struct, __packed__)); | ^ pe.h:105:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 105 | } __attribute__ ((gcc_struct, __packed__)); | ^ pe.h:138:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 138 | } __attribute__ ((gcc_struct, __packed__)); | ^ pe.h:157:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 157 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_exe.c:62:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 62 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_exe.c:68:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 68 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_exe.c:75:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 75 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_exe.c: In function ‘header_check_exe’: file_exe.c:746:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 746 | 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:746:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 746 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_exr.o file_exr.c file_exr.c: In function ‘header_check_exr’: file_exr.c:53:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 53 | static int header_check_exr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_exr.c:53:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 53 | static int header_check_exr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_exr.c:53:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 53 | static int header_check_exr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_exr.c:53:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 53 | static int header_check_exr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_exs.o file_exs.c file_exs.c: In function ‘header_check_exs’: file_exs.c:72:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 72 | 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:72:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 72 | 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:72:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 72 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ext.o file_ext.c In file included from file_ext.c:32: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ext.c: In function ‘file_rename_ext’: file_ext.c:59:37: warning: cast increases required alignment of target type [-Wcast-align] 59 | const struct ext2_super_block *sb=(const struct ext2_super_block *)&buffer; | ^ file_ext.c: In function ‘header_check_ext2_sb’: file_ext.c:90:37: warning: cast increases required alignment of target type [-Wcast-align] 90 | const struct ext2_super_block *sb=(const struct ext2_super_block *)buffer; | ^ file_ext.c:88:81: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 88 | 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:88:113: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 88 | 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:88:154: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 88 | static int header_check_ext2_sb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_ext.c: In function ‘data_check_extdir’: file_ext.c:109:60: warning: unused parameter ‘buffer’ [-Wunused-parameter] 109 | static data_check_t data_check_extdir(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_ext.c: In function ‘file_rename_extdir’: file_ext.c:126:25: warning: cast increases required alignment of target type [-Wcast-align] 126 | const uint32_t *inode=(const uint32_t *)&buffer[0]; | ^ file_ext.c: In function ‘header_check_ext2_dir’: file_ext.c:152:82: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 152 | static int header_check_ext2_dir(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ext.c:152:114: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 152 | static int header_check_ext2_dir(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ext.c:152:155: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 152 | static int header_check_ext2_dir(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ext2.o file_ext2.c In file included from file_ext2.c:32: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ext2.c: In function ‘header_check_ext2_fs’: file_ext2.c:56:37: warning: cast increases required alignment of target type [-Wcast-align] 56 | const struct ext2_super_block *sb=(const struct ext2_super_block *)&buffer[0x400]; | ^ file_ext2.c:54:81: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 54 | 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:54:113: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 54 | 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fat.o file_fat.c In file included from file_fat.c:35: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from file_fat.c:38: fat_common.h:96:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 96 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat_common.h:106:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 106 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat_common.h:122:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 122 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_fat.c: In function ‘header_check_fat’: file_fat.c:77:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 77 | 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:77:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 77 | 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:77:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 77 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fbf.o file_fbf.c file_fbf.c: In function ‘header_check_fbf’: file_fbf.c:52:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | static int header_check_fbf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_fbf.c:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_fbf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fbf.c:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_fbf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fbf.c:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_fbf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fbk.o file_fbk.c file_fbk.c: In function ‘header_check_fbk’: file_fbk.c:52:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | 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:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | 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:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | 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:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fbx.o file_fbx.c file_fbx.c: In function ‘header_check_fbx’: file_fbx.c:65:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 65 | static int header_check_fbx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_fbx.c:65:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 65 | static int header_check_fbx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fbx.c:65:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 65 | static int header_check_fbx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fbx.c:65:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 65 | static int header_check_fbx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fcp.o file_fcp.c file_fcp.c: In function ‘header_check_fcp’: file_fcp.c:57:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 57 | 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:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 57 | 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] 57 | 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] 57 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fcs.o file_fcs.c file_fcs.c:59:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 59 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_fcs.c: In function ‘header_check_fcs’: file_fcs.c:137:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 137 | 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:137:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 137 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fdb.o file_fdb.c file_fdb.c: In function ‘header_check_fdb’: file_fdb.c:52:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | 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:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | 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:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fds.o file_fds.c In file included from file_fds.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_fds.c:51:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 51 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_fds.c: In function ‘header_check_fds’: file_fds.c:59:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 59 | static int header_check_fds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fds.c:59:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 59 | static int header_check_fds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fds.c:59:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 59 | static int header_check_fds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fh10.o file_fh10.c file_fh10.c: In function ‘header_check_fh10’: file_fh10.c:54:51: warning: unused parameter ‘buffer’ [-Wunused-parameter] 54 | 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:54:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 54 | 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:54:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 54 | 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:54:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 54 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fh5.o file_fh5.c In file included from file_fh5.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_fh5.c:40:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 40 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_fh5.c: In function ‘header_check_fh5’: file_fh5.c:76:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 76 | 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:76:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 76 | 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:76:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 76 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_filevault.o file_filevault.c file_filevault.c: In function ‘header_check_filevault’: file_filevault.c:52:56: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | 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:52:83: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | 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:52:115: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | 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:52:156: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fits.o file_fits.c file_fits.c: In function ‘header_check_fits’: file_fits.c:228:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 228 | 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:228:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 228 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fit.o file_fit.c In file included from file_fit.c:34: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_fit.c:55:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 55 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_fit.c: In function ‘header_check_fit’: file_fit.c:64:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 64 | static int header_check_fit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fit.c:64:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 64 | static int header_check_fit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fit.c:64:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 64 | static int header_check_fit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_flac.o file_flac.c In file included from file_flac.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_flac.c: In function ‘data_check_flac_metadata’: file_flac.c:70:25: warning: cast increases required alignment of target type [-Wcast-align] 70 | const uint32_t *p32=(const uint32_t *)&buffer[i]; | ^ file_flac.c: In function ‘header_check_flac’: file_flac.c:98:23: warning: cast increases required alignment of target type [-Wcast-align] 98 | const uint32_t *p32=(const uint32_t *)&buffer[4]; | ^ file_flac.c:96:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 96 | 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:96:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 96 | 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:96:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 96 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_flp.o file_flp.c In file included from file_flp.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_flp.c:56:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 56 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_flp.c: In function ‘header_check_flp’: file_flp.c:65:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 65 | 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:65:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 65 | 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:65:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 65 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_flv.o file_flv.c In file included from file_flv.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_flv.c:54:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 54 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_flv.c:64:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 64 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_flv.c: In function ‘header_check_flv’: file_flv.c:119:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 119 | 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:119:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 119 | 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:119:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 119 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fm.o file_fm.c In file included from file_fm.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_fm.c:51:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 51 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_fm.c: In function ‘header_check_fm’: file_fm.c:60:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 60 | static int header_check_fm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fm.c:60:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 60 | static int header_check_fm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fm.c:60:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 60 | static int header_check_fm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fob.o file_fob.c file_fob.c: In function ‘header_check_fob’: file_fob.c:53:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 53 | 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:53:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 53 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fos.o file_fos.c file_fos.c: In function ‘header_check_fos’: file_fos.c:52:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | static int header_check_fos(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_fos.c:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_fos(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fos.c:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_fos(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fos.c:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_fos(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fp5.o file_fp5.c file_fp5.c: In function ‘header_check_fp5’: file_fp5.c:51:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 51 | 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:51:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 51 | 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:51:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 51 | 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:51:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 51 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fp7.o file_fp7.c file_fp7.c: In function ‘header_check_fp7’: file_fp7.c:61:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 61 | 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:61:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 61 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_freeway.o file_freeway.c file_freeway.c: In function ‘header_check_freeway’: file_freeway.c:52:54: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | 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:52:81: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | 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:52:113: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | 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:52:154: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_frm.o file_frm.c file_frm.c: In function ‘header_check_frm’: file_frm.c:69:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 69 | 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:69:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 69 | 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:69:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 69 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fs.o file_fs.c In file included from file_fs.c:32: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_fs.c:58:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 58 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_fs.c: In function ‘header_check_fs’: file_fs.c:107:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 107 | 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:107:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 107 | 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:107:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 107 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fwd.o file_fwd.c file_fwd.c: In function ‘header_check_fwd’: file_fwd.c:52:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | static int header_check_fwd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_fwd.c:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_fwd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fwd.c:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_fwd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fwd.c:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_fwd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fxp.o file_fxp.c In file included from file_fxp.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_fxp.c:58:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 58 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_fxp.c: In function ‘header_check_fxp’: file_fxp.c:64:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 64 | static int header_check_fxp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fxp.c:64:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 64 | static int header_check_fxp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fxp.c:64:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 64 | static int header_check_fxp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gam.o file_gam.c file_gam.c: In function ‘header_check_gam’: file_gam.c:52:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | 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:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | 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:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | 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:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gct.o file_gct.c file_gct.c: In function ‘header_check_gct’: file_gct.c:52:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | 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:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | 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:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | 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:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gho.o file_gho.c file_gho.c: In function ‘header_check_ghost’: file_gho.c:53:79: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 53 | static int header_check_ghost(const unsigned char *buffer, 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:53:111: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 53 | static int header_check_ghost(const unsigned char *buffer, 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:53:152: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 53 | static int header_check_ghost(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gi.o file_gi.c In file included from file_gi.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_gi.c:51:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 51 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_gi.c: In function ‘header_check_gi’: file_gi.c:60:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 60 | static int header_check_gi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_gi.c:60:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 60 | static int header_check_gi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_gi.c:60:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 60 | static int header_check_gi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gif.o file_gif.c file_gif.c: In function ‘header_check_gif’: file_gif.c:200:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 200 | 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:200:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 200 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gm6.o file_gm6.c file_gm6.c: In function ‘header_check_gm81’: file_gm6.c:53:51: warning: unused parameter ‘buffer’ [-Wunused-parameter] 53 | static int header_check_gm81(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_gm6.c:53:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 53 | static int header_check_gm81(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_gm6.c:53:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 53 | static int header_check_gm81(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_gm6.c:53:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 53 | static int header_check_gm81(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_gm6.c: In function ‘header_check_gmk’: file_gm6.c:67:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 67 | static int header_check_gmk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_gm6.c:67:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 67 | static int header_check_gmk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_gm6.c:67:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 67 | static int header_check_gmk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_gm6.c:67:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 67 | static int header_check_gmk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_gm6.c: In function ‘header_check_gm6’: file_gm6.c:81:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 81 | 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:81:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 81 | 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:81:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 81 | 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:81:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 81 | static int header_check_gm6(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_gm6.c: In function ‘header_check_gmd’: file_gm6.c:95:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 95 | static int header_check_gmd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_gm6.c:95:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 95 | static int header_check_gmd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_gm6.c:95:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 95 | static int header_check_gmd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_gm6.c:95:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 95 | static int header_check_gmd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gp2.o file_gp2.c file_gp2.c: In function ‘header_check_gp2’: file_gp2.c:67:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 67 | static int header_check_gp2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_gp2.c:67:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 67 | static int header_check_gp2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_gp2.c:67:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 67 | static int header_check_gp2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_gp2.c:67:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 67 | static int header_check_gp2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gp5.o file_gp5.c file_gp5.c: In function ‘header_check_gp5’: file_gp5.c:69:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 69 | 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:69:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 69 | 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:69:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 69 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gpg.o file_gpg.c In file included from file_gpg.c:32: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_gpg.c: In function ‘old_format_packet_length’: file_gpg.c:124:35: warning: cast increases required alignment of target type [-Wcast-align] 124 | const uint32_t *tmp32_ptr=(const uint32_t *)&buf[1]; | ^ file_gpg.c: In function ‘new_format_packet_length’: file_gpg.c:170:27: warning: cast increases required alignment of target type [-Wcast-align] 170 | const uint32_t *tmp32=(const uint32_t *)&buf[1]; | ^ file_gpg.c: In function ‘file_check_gpg_pubkey’: file_gpg.c:302:28: warning: cast increases required alignment of target type [-Wcast-align] 302 | const uint16_t *mpi2_ptr=(uint16_t *)&buffer; | ^ file_gpg.c: In function ‘file_check_gpg’: file_gpg.c:412:33: warning: cast increases required alignment of target type [-Wcast-align] 412 | const uint16_t *mpi_ptr=(const uint16_t *)&buffer[i+1+8+1]; | ^ file_gpg.c: In function ‘header_check_gpg’: file_gpg.c:602:33: warning: cast increases required alignment of target type [-Wcast-align] 602 | const uint16_t *mpi_ptr=(const uint16_t *)&buffer[i+1+8+1]; | ^ file_gpg.c:626:21: warning: cast increases required alignment of target type [-Wcast-align] 626 | mpi_ptr=(const uint16_t *)&buffer[offset_mpi]; | ^ file_gpg.c:540:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 540 | 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:540:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 540 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gpx.o file_gpx.c file_gpx.c: In function ‘header_check_gpx’: file_gpx.c:53:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 53 | static int header_check_gpx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_gpx.c:53:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 53 | static int header_check_gpx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_gpx.c:53:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 53 | static int header_check_gpx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gsm.o file_gsm.c In file included from file_gsm.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_gsm.c:52:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 52 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_gsm.c: In function ‘header_check_gsm’: file_gsm.c:88:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 88 | static int header_check_gsm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_gsm.c:88:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 88 | static int header_check_gsm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gz.o file_gz.c In file included from file_gz.c:44: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_gz.c:69:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 69 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_gz.c: In function ‘file_check_bgzf’: file_gz.c:126:46: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 126 | static void file_check_bgzf(file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_gz.c: In function ‘header_check_bgzf’: file_gz.c:141:115: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 141 | static int header_check_bgzf(const unsigned char *buffer, const unsigned char *buffer_uncompr, const unsigned int buffer_size, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_gz.c: In function ‘header_check_gz’: file_gz.c:251:25: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 251 | d_stream.next_in = (Bytef*)buffer_compr; | ^ file_gz.c:182:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 182 | 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_hdf.o file_hdf.c In file included from file_hdf.c:36: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_hdf.c:57:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 57 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_hdf.c:65:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 65 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_hdf.c: In function ‘header_check_hdf’: file_hdf.c:170:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 170 | 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:170:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 170 | 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:170:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 170 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_hdf5.o file_hdf5.c In file included from file_hdf5.c:36: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_hdf5.c: In function ‘header_check_hdf5’: file_hdf5.c:66:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 66 | static int header_check_hdf5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_hdf5.c:66:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 66 | static int header_check_hdf5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_hdf5.c:66:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 66 | static int header_check_hdf5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_hdr.o file_hdr.c In file included from file_hdr.c:32: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_hdr.c:58:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 58 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_hdr.c: In function ‘header_check_hdr’: file_hdr.c:67:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 67 | static int header_check_hdr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_hdr.c:67:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 67 | static int header_check_hdr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_hdr.c:67:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 67 | static int header_check_hdr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_hds.o file_hds.c In file included from file_hds.c:32: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_hds.c:56:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 56 | } __attribute__((gcc_struct,__packed__)); | ^ file_hds.c: In function ‘header_check_hds’: file_hds.c:65:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 65 | 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:65:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 65 | 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:65:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 65 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_hfsp.o file_hfsp.c In file included from file_hfsp.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_hfsp.c: In function ‘header_check_hfsp’: file_hfsp.c:57:28: warning: cast increases required alignment of target type [-Wcast-align] 57 | const struct hfsp_vh *vh=(const struct hfsp_vh *)buffer; | ^ file_hfsp.c:55:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 55 | static int header_check_hfsp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_hfsp.c:55:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 55 | static int header_check_hfsp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_hfsp.c:55:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 55 | static int header_check_hfsp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_hm.o file_hm.c file_hm.c: In function ‘header_check_hm’: file_hm.c:52:49: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | static int header_check_hm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_hm.c:52:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_hm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_hm.c:52:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_hm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_hm.c:52:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_hm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_hr9.o file_hr9.c file_hr9.c: In function ‘header_check_hr9’: file_hr9.c:63:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 63 | 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:63:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 63 | 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:63:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 63 | 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:63:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 63 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_http.o file_http.c file_http.c: In function ‘header_check_http’: file_http.c:52:51: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | 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:52:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | 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:52:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | 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:52:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ibd.o file_ibd.c In file included from file_ibd.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ibd.c:71:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 71 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ibd.c: In function ‘header_check_ibd’: file_ibd.c:84:29: warning: cast increases required alignment of target type [-Wcast-align] 84 | const uint32_t *flags_ptr=(const uint32_t *)&buffer[FSP_HEADER_OFFSET + FSP_SPACE_FLAGS]; | ^ file_ibd.c:81:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 81 | static int header_check_ibd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ibd.c:81:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 81 | static int header_check_ibd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_icc.o file_icc.c file_icc.c: In function ‘header_check_icc’: file_icc.c:53:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 53 | 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:53:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 53 | 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:53:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 53 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_icns.o file_icns.c In file included from file_icns.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_icns.c: In function ‘header_check_icns’: file_icns.c:114:33: warning: cast increases required alignment of target type [-Wcast-align] 114 | const struct icns_header *hdr=(const struct icns_header *)buffer; | ^ file_icns.c:115:32: warning: cast increases required alignment of target type [-Wcast-align] 115 | const struct icon_data *icon=(const struct icon_data *)&buffer[8]; | ^ file_icns.c:112:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 112 | static int header_check_icns(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_icns.c:112:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 112 | static int header_check_icns(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_icns.c:112:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 112 | static int header_check_icns(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ico.o file_ico.c In file included from file_ico.c:32: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ico.c:67:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 67 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ico.c:79:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 79 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ico.c: In function ‘header_check_ico’: file_ico.c:89:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 89 | 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:89:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 89 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ifo.o file_ifo.c In file included from file_ifo.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ifo.c:52:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 52 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ifo.c: In function ‘header_check_ifo’: file_ifo.c:61:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 61 | 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:61:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 61 | 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:61:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 61 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_idx.o file_idx.c file_idx.c: In function ‘header_check_idx’: file_idx.c:79:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 79 | static int header_check_idx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_idx.c:79:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 79 | static int header_check_idx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_imb.o file_imb.c file_imb.c: In function ‘header_check_imb’: file_imb.c:52:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | 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:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | 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:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | 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:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_indd.o file_indd.c In file included from file_indd.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_indd.c:66:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 66 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_indd.c:74:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 74 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_indd.c: In function ‘header_check_indd’: file_indd.c:144:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 144 | 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:144:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 144 | 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_info.o file_info.c file_info.c: In function ‘header_check_info’: file_info.c:52:51: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | static int header_check_info(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_info.c:52:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_info(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_info.c:52:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_info(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_info.c:52:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_info(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_iso.o file_iso.c In file included from file_iso.c:32: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from file_iso.c:34: iso9660.h:64:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 64 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_iso.c: In function ‘header_check_iso’: file_iso.c:54:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 54 | static int header_check_iso(const unsigned char *buffer, 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:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 54 | static int header_check_iso(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_it.o file_it.c file_it.c:71:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 71 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_it.c: In function ‘header_check_it’: file_it.c:80:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 80 | 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:80:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 80 | 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:80:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 80 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_itu.o file_itu.c file_itu.c: In function ‘header_check_itunes’: file_itu.c:53:80: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 53 | 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:53:112: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 53 | 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:53:153: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 53 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_jks.o file_jks.c In file included from file_jks.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_jks.c:53:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 53 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_jks.c: In function ‘header_check_jks’: file_jks.c:62:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 62 | static int header_check_jks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_jks.c:62:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 62 | static int header_check_jks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_jks.c:62:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 62 | static int header_check_jks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_jpg.o file_jpg.c In file included from file_jpg.c:55: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from file_jpg.c:61: file_tiff.h:71:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 71 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_jpg.c:148:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 148 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_jpg.c:157:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 157 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_jpg.c: In function ‘file_check_mpo_be’: file_jpg.c:171:25: warning: cast increases required alignment of target type [-Wcast-align] 171 | const uint32_t *tmp32=(const uint32_t *)(&mpo[4]); | ^ file_jpg.c:185:9: warning: cast increases required alignment of target type [-Wcast-align] 185 | tmp16=(const uint16_t*)(&mpo[offset]); | ^ file_jpg.c:220:31: warning: cast increases required alignment of target type [-Wcast-align] 220 | const uint32_t *tmp=(const uint32_t *)&field->value[0]; | ^ file_jpg.c:233:31: warning: cast increases required alignment of target type [-Wcast-align] 233 | const uint32_t *tmp=(const uint32_t *)&field->value[0]; | ^ file_jpg.c: In function ‘file_check_mpo_le’: file_jpg.c:300:25: warning: cast increases required alignment of target type [-Wcast-align] 300 | const uint32_t *tmp32=(const uint32_t *)(&mpo[4]); | ^ file_jpg.c:313:9: warning: cast increases required alignment of target type [-Wcast-align] 313 | tmp16=(const uint16_t*)(&mpo[offset]); | ^ file_jpg.c:346:31: warning: cast increases required alignment of target type [-Wcast-align] 346 | const uint32_t *tmp=(const uint32_t *)&field->value[0]; | ^ file_jpg.c:358:31: warning: cast increases required alignment of target type [-Wcast-align] 358 | const uint32_t *tmp=(const uint32_t *)&field->value[0]; | ^ file_jpg.c: In function ‘check_mpo_be’: file_jpg.c:423:25: warning: cast increases required alignment of target type [-Wcast-align] 423 | const uint32_t *tmp32=(const uint32_t *)(&mpo[4]); | ^ file_jpg.c:437:9: warning: cast increases required alignment of target type [-Wcast-align] 437 | tmp16=(const uint16_t*)(&mpo[offset]); | ^ file_jpg.c:472:31: warning: cast increases required alignment of target type [-Wcast-align] 472 | const uint32_t *tmp=(const uint32_t *)&field->value[0]; | ^ file_jpg.c:485:31: warning: cast increases required alignment of target type [-Wcast-align] 485 | const uint32_t *tmp=(const uint32_t *)&field->value[0]; | ^ file_jpg.c: In function ‘check_mpo_le’: file_jpg.c:537:25: warning: cast increases required alignment of target type [-Wcast-align] 537 | const uint32_t *tmp32=(const uint32_t *)(&mpo[4]); | ^ file_jpg.c:550:9: warning: cast increases required alignment of target type [-Wcast-align] 550 | tmp16=(const uint16_t*)(&mpo[offset]); | ^ file_jpg.c:583:31: warning: cast increases required alignment of target type [-Wcast-align] 583 | const uint32_t *tmp=(const uint32_t *)&field->value[0]; | ^ file_jpg.c:595:31: warning: cast increases required alignment of target type [-Wcast-align] 595 | const uint32_t *tmp=(const uint32_t *)&field->value[0]; | ^ file_jpg.c: In function ‘header_check_jpg’: file_jpg.c:882:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 882 | static int header_check_jpg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_jpg.c: In function ‘my_output_message’: file_jpg.c:1083:45: warning: unused parameter ‘cinfo’ [-Wunused-parameter] 1083 | static void my_output_message (j_common_ptr cinfo) | ~~~~~~~~~~~~~^~~~~ file_jpg.c: In function ‘jpg_term_source’: file_jpg.c:1274:47: warning: unused parameter ‘cinfo’ [-Wunused-parameter] 1274 | static void jpg_term_source (j_decompress_ptr cinfo) | ~~~~~~~~~~~~~~~~~^~~~~ file_jpg.c: In function ‘jpg_find_error’: file_jpg.c:1600:118: warning: unused parameter ‘checkpoint_offset’ [-Wunused-parameter] 1600 | static uint64_t jpg_find_error(struct jpeg_session_struct *jpeg_session, const unsigned int *offsets, const uint64_t checkpoint_offset) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ file_jpg.c: At top level: file_jpg.c:1925:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 1925 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_jpg.c: In function ‘jpg_check_sof0’: file_jpg.c:1951:15: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 1951 | if(length < 8+h->nbr*3) | ^ file_jpg.c: In function ‘jpg_save_thumbnail’: file_jpg.c:2058:105: warning: unused parameter ‘nbytes’ [-Wunused-parameter] 2058 | static void jpg_save_thumbnail(const file_recovery_t *file_recovery, const char *buffer, const uint64_t nbytes, const uint64_t thumb_offset, const unsigned int thumb_size) | ~~~~~~~~~~~~~~~^~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_jsonlz4.o file_jsonlz4.c In file included from file_jsonlz4.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_jsonlz4.c: In function ‘header_check_jsonlz4’: file_jsonlz4.c:56:37: warning: cast increases required alignment of target type [-Wcast-align] 56 | const uint32_t *uncompressed_size=(const uint32_t *)&buffer[8]; | ^ file_jsonlz4.c:54:81: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 54 | static int header_check_jsonlz4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_jsonlz4.c:54:113: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 54 | static int header_check_jsonlz4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_jsonlz4.c:54:154: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 54 | static int header_check_jsonlz4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_kdb.o file_kdb.c file_kdb.c: In function ‘header_check_kdb’: file_kdb.c:52:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | 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:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | 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] 52 | 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] 52 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_kdbx.o file_kdbx.c file_kdbx.c: In function ‘header_check_kdbx’: file_kdbx.c:52:51: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | static int header_check_kdbx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_kdbx.c:52:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_kdbx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_kdbx.c:52:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_kdbx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_kdbx.c:52:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_kdbx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_key.o file_key.c file_key.c: In function ‘header_check_key’: file_key.c:52:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | static int header_check_key(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_key.c:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_key(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_key.c:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_key(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_key.c:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_key(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ldf.o file_ldf.c file_ldf.c: In function ‘header_check_ldf’: file_ldf.c:53:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 53 | static int header_check_ldf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ldf.c:53:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 53 | static int header_check_ldf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ldf.c:53:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 53 | static int header_check_ldf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_lit.o file_lit.c file_lit.c: In function ‘header_check_lit’: file_lit.c:52:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | static int header_check_lit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_lit.c:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_lit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_lit.c:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_lit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_lit.c:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_lit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_lnk.o file_lnk.c In file included from file_lnk.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_lnk.c:66:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 66 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_lnk.c: In function ‘lnk_get_size’: file_lnk.c:96:25: warning: cast increases required alignment of target type [-Wcast-align] 96 | const uint16_t *ptr=(const uint16_t *)&buffer[i]; | ^ file_lnk.c:110:25: warning: cast increases required alignment of target type [-Wcast-align] 110 | const uint32_t *ptr=(const uint32_t *)&buffer[i]; | ^ file_lnk.c:125:25: warning: cast increases required alignment of target type [-Wcast-align] 125 | const uint16_t *ptr=(const uint16_t *)&buffer[i]; | ^ file_lnk.c:140:25: warning: cast increases required alignment of target type [-Wcast-align] 140 | const uint16_t *ptr=(const uint16_t *)&buffer[i]; | ^ file_lnk.c:155:25: warning: cast increases required alignment of target type [-Wcast-align] 155 | const uint16_t *ptr=(const uint16_t *)&buffer[i]; | ^ file_lnk.c:170:25: warning: cast increases required alignment of target type [-Wcast-align] 170 | const uint16_t *ptr=(const uint16_t *)&buffer[i]; | ^ file_lnk.c:185:25: warning: cast increases required alignment of target type [-Wcast-align] 185 | const uint16_t *ptr=(const uint16_t *)&buffer[i]; | ^ file_lnk.c:208:9: warning: cast increases required alignment of target type [-Wcast-align] 208 | ptr=(const uint16_t *)&buffer[i]; | ^ file_lnk.c: In function ‘header_check_lnk’: file_lnk.c:234:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 234 | 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:234:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 234 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_logic.o file_logic.c file_logic.c: In function ‘header_check_logic’: file_logic.c:52:52: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | 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:52:79: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | 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:52:111: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | 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:52:152: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_lso.o file_lso.c file_lso.c: In function ‘header_check_lso’: file_lso.c:65:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 65 | 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:65:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 65 | 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:65:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 65 | 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:65:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 65 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_luks.o file_luks.c In file included from file_luks.c:34: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_luks.c: In function ‘header_check_luks’: file_luks.c:58:31: warning: cast increases required alignment of target type [-Wcast-align] 58 | const struct luks_phdr *hdr=(const struct luks_phdr *)buffer; | ^ file_luks.c:56:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 56 | static int header_check_luks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_luks.c:56:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 56 | static int header_check_luks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_luks.c:56:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 56 | static int header_check_luks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_lxo.o file_lxo.c In file included from file_lxo.c:32: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_lxo.c:52:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 52 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_lxo.c: In function ‘header_check_lxo’: file_lxo.c:61:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 61 | 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:61:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 61 | 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:61:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 61 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_lz.o file_lz.c file_lz.c: In function ‘header_check_lz’: file_lz.c:52:49: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | static int header_check_lz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_lz.c:52:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_lz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_lz.c:52:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_lz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_lz.c:52:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_lz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_lzh.o file_lzh.c file_lzh.c:63:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 63 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_lzh.c:79:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 79 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_lzh.c:93:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 93 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_lzh.c: In function ‘header_check_lzh’: file_lzh.c:136:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 136 | static int header_check_lzh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_lzh.c:136:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 136 | static int header_check_lzh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_lzh.c:136:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 136 | static int header_check_lzh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_lzo.o file_lzo.c file_lzo.c: In function ‘header_check_lzo’: file_lzo.c:52:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | 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:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | 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:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | 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:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_m2ts.o file_m2ts.c file_m2ts.c: In function ‘header_check_m2ts’: file_m2ts.c:157:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 157 | static int header_check_m2ts(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_m2ts.c: In function ‘header_check_m2t’: file_m2ts.c:240:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 240 | 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mat.o file_mat.c file_mat.c: In function ‘header_check_mat’: file_mat.c:53:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 53 | 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] 53 | 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] 53 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_max.o file_max.c In file included from file_max.c:32: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_max.c: In function ‘header_check_max’: file_max.c:54:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 54 | 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:54:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 54 | 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:54:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 54 | 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:54:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 54 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mb.o file_mb.c In file included from file_mb.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_mb.c:52:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 52 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_mb.c: In function ‘header_check_mb’: file_mb.c:61:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 61 | 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:61:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 61 | 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:61:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 61 | static int header_check_mb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_mb.c: In function ‘header_check_mp’: file_mb.c:83:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 83 | static int header_check_mp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mb.c:83:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 83 | static int header_check_mp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mb.c:83:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 83 | static int header_check_mp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mcd.o file_mcd.c file_mcd.c: In function ‘header_check_mcd’: file_mcd.c:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | 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] 52 | 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] 52 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mdb.o file_mdb.c file_mdb.c: In function ‘header_check_accdb’: file_mdb.c:63:52: warning: unused parameter ‘buffer’ [-Wunused-parameter] 63 | static int header_check_accdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_mdb.c:63:79: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 63 | static int header_check_accdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mdb.c:63:111: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 63 | static int header_check_accdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mdb.c:63:152: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 63 | static int header_check_accdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_mdb.c: In function ‘header_check_mdb’: file_mdb.c:76:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 76 | static int header_check_mdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_mdb.c:76:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 76 | static int header_check_mdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mdb.c:76:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 76 | static int header_check_mdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mdb.c:76:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 76 | static int header_check_mdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mdf.o file_mdf.c file_mdf.c: In function ‘header_check_mdf’: file_mdf.c:54:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 54 | 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] 54 | 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] 54 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mdp.o file_mdp.c In file included from file_mdp.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_mdp.c:53:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 53 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_mdp.c: In function ‘header_check_mdp’: file_mdp.c:62:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 62 | static int header_check_mdp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mdp.c:62:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 62 | static int header_check_mdp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mdp.c:62:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 62 | static int header_check_mdp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mfa.o file_mfa.c file_mfa.c: In function ‘header_check_mfa’: file_mfa.c:64:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 64 | 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:64:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 64 | 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:64:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 64 | 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:64:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 64 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mfg.o file_mfg.c file_mfg.c: In function ‘header_check_mfg’: file_mfg.c:68:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 68 | 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:68:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 68 | 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:68:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 68 | 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:68:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 68 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mft.o file_mft.c In file included from file_mft.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from file_mft.c:34: ntfs_struct.h:59:9: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 59 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs_struct.h:78:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 78 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs_struct.h:149:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 149 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; | ^ ntfs_struct.h:193:17: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 193 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs_struct.h:198:9: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 198 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs_struct.h:205:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 205 | } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; | ^ ntfs_struct.h:245:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 245 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; | ^ file_mft.c: In function ‘header_check_mft’: file_mft.c:83:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 83 | static int header_check_mft(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mft.c:83:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 83 | static int header_check_mft(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mft.c:83:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 83 | static int header_check_mft(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mid.o file_mid.c In file included from file_mid.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_mid.c:57:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 57 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_mid.c: In function ‘header_check_mid’: file_mid.c:147:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 147 | 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:147:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 147 | 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:147:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 147 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mig.o file_mig.c In file included from file_mig.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_mig.c:61:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 61 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_mig.c: In function ‘header_check_mig’: file_mig.c:123:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 123 | static int header_check_mig(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mig.c:123:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 123 | static int header_check_mig(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mig.c:123:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 123 | static int header_check_mig(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mk5.o file_mk5.c file_mk5.c: In function ‘header_check_mk5’: file_mk5.c:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | 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:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | 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:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mkv.o file_mkv.c In file included from file_mkv.c:37: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_mkv.c: In function ‘header_check_mkv’: file_mkv.c:193:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 193 | 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:193:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 193 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mlv.o file_mlv.c In file included from file_mlv.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_mlv.c:66:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 66 | } __attribute__ ((gcc_struct, __packed__)) mlv_file_hdr_t; | ^ file_mlv.c:72:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 72 | } __attribute__ ((gcc_struct, __packed__)) mlv_hdr_t; | ^ file_mlv.c: In function ‘header_check_mlv’: file_mlv.c:203:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 203 | static int header_check_mlv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mlv.c:203:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 203 | static int header_check_mlv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mlv.c:203:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 203 | static int header_check_mlv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mobi.o file_mobi.c file_mobi.c: In function ‘header_check_mobi’: file_mobi.c:74:51: warning: unused parameter ‘buffer’ [-Wunused-parameter] 74 | static int header_check_mobi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_mobi.c:74:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 74 | static int header_check_mobi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mobi.c:74:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 74 | static int header_check_mobi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mobi.c:74:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 74 | static int header_check_mobi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mov.o file_mov.c In file included from file_mov.c:34: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_mov.c:75:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 75 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_mov.c:82:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 82 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_mov.c: In function ‘header_check_mov_aux’: file_mov.c:246:113: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 246 | static int header_check_mov_aux(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mp3.o file_mp3.c In file included from file_mp3.c:32: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_mp3.c: In function ‘search_MMT’: file_mp3.c:199:22: warning: cast increases required alignment of target type [-Wcast-align] 199 | image_size_ptr = (const uint32_t *)&buffer[tmp+4]; | ^ file_mp3.c: In function ‘header_check_id3’: file_mp3.c:462:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 462 | 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:462:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 462 | 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:462:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 462 | static int header_check_id3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_mp3.c: In function ‘header_check_mp3’: file_mp3.c:509:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 509 | 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mpg.o file_mpg.c In file included from file_mpg.c:32: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_mpg.c: In function ‘header_check_mpg_Pack’: file_mpg.c:227:114: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 227 | static int header_check_mpg_Pack(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mpg.c: In function ‘header_check_mpg_System’: file_mpg.c:295:116: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 295 | static int header_check_mpg_System(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mpg.c: In function ‘header_check_mpg_Sequence’: file_mpg.c:339:118: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 339 | static int header_check_mpg_Sequence(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mpg.c: In function ‘header_check_mpg4_ElemVideo’: file_mpg.c:376:120: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 376 | static int header_check_mpg4_ElemVideo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mpl.o file_mpl.c file_mpl.c: In function ‘header_check_mpl’: file_mpl.c:52:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | static int header_check_mpl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_mpl.c:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_mpl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mpl.c:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_mpl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mpl.c:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_mpl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mrw.o file_mrw.c In file included from file_mrw.c:32: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_mrw.c:54:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 54 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_mrw.c:72:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 72 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_mrw.c: In function ‘header_check_mrw’: file_mrw.c:82:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 82 | 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:82:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 82 | 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:82:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 82 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_msa.o file_msa.c In file included from file_msa.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_msa.c:51:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 51 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_msa.c: In function ‘header_check_msa’: file_msa.c:60:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 60 | static int header_check_msa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_msa.c:60:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 60 | static int header_check_msa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_msa.c:60:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 60 | static int header_check_msa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mus.o file_mus.c file_mus.c: In function ‘header_check_mus’: file_mus.c:65:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 65 | 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:65:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 65 | 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:65:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 65 | 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:65:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 65 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mxf.o file_mxf.c In file included from file_mxf.c:32: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_mxf.c:70:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 70 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_mxf.c: In function ‘get_mxf_size’: file_mxf.c:92:29: warning: cast increases required alignment of target type [-Wcast-align] 92 | const uint32_t *p32=(const uint32_t*)&buffer[i+0x11]; | ^ file_mxf.c:80:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 80 | static uint64_t get_mxf_size(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int i) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mxf.c: In function ‘header_check_mxf’: file_mxf.c:139:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 139 | 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:139:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 139 | 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:139:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 139 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_myo.o file_myo.c file_myo.c: In function ‘header_check_myo’: file_myo.c:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | 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:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mysql.o file_mysql.c file_mysql.c: In function ‘header_check_myisam’: file_mysql.c:54:53: warning: unused parameter ‘buffer’ [-Wunused-parameter] 54 | static int header_check_myisam(const unsigned char *buffer, 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:54:80: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 54 | static int header_check_myisam(const unsigned char *buffer, 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:54:112: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 54 | static int header_check_myisam(const unsigned char *buffer, 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:54:153: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 54 | static int header_check_myisam(const unsigned char *buffer, 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: In function ‘header_check_mysql’: file_mysql.c:69:79: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 69 | 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:69:111: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 69 | 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:69:152: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 69 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_nd2.o file_nd2.c file_nd2.c: In function ‘header_check_nd2’: file_nd2.c:54:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 54 | static int header_check_nd2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_nd2.c:54:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 54 | static int header_check_nd2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_nd2.c:54:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 54 | static int header_check_nd2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_nds.o file_nds.c file_nds.c: In function ‘header_check_nds’: file_nds.c:73:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 73 | 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:73:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 73 | 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:73:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 73 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_nes.o file_nes.c In file included from file_nes.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_nes.c:52:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 52 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_nes.c: In function ‘header_check_nes’: file_nes.c:61:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 61 | static int header_check_nes(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_nes.c:61:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 61 | static int header_check_nes(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_nes.c:61:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 61 | static int header_check_nes(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_njx.o file_njx.c file_njx.c: In function ‘header_check_njx’: file_njx.c:66:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 66 | 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:66:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 66 | 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:66:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 66 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_nk2.o file_nk2.c In file included from file_nk2.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_nk2.c: In function ‘file_check_nk2_aux’: file_nk2.c:110:31: warning: cast increases required alignment of target type [-Wcast-align] 110 | const entryHeader *entryh=(const entryHeader *)&buf_entryh; | ^ file_nk2.c:133:38: warning: cast increases required alignment of target type [-Wcast-align] 133 | const uint32_t *entry_size=(const uint32_t *)&buf_entry_size; | ^ file_nk2.c: In function ‘file_check_nk2’: file_nk2.c:200:25: warning: cast increases required alignment of target type [-Wcast-align] 200 | const nk2Header *nk2h=(const nk2Header *)&buf_nk2h; | ^ file_nk2.c:227:29: warning: cast increases required alignment of target type [-Wcast-align] 227 | const itemHeader *itemh=(const itemHeader *)&buf_itemh; | ^ file_nk2.c: In function ‘header_check_nk2’: file_nk2.c:262:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 262 | 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:262:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 262 | 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:262:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 262 | 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:262:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 262 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_nsf.o file_nsf.c file_nsf.c: In function ‘header_check_nsf’: file_nsf.c:53:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 53 | 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:53:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 53 | 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:53:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 53 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_oci.o file_oci.c In file included from file_oci.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_oci.c:51:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 51 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_oci.c: In function ‘header_check_oci’: file_oci.c:110:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 110 | 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:110:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 110 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ogg.o file_ogg.c file_ogg.c: In function ‘header_check_ogg’: file_ogg.c:108:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 108 | 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:108:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 108 | 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_one.o file_one.c file_one.c: In function ‘header_check_one’: file_one.c:53:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 53 | 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:53:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 53 | 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:53:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 53 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_orf.o file_orf.c In file included from file_orf.c:33: file_tiff.h:71:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 71 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_orf.c: In function ‘header_check_orf_IIRS’: file_orf.c:53:55: warning: unused parameter ‘buffer’ [-Wunused-parameter] 53 | static int header_check_orf_IIRS(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_orf.c:53:82: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 53 | static int header_check_orf_IIRS(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_orf.c:53:114: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 53 | static int header_check_orf_IIRS(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_orf.c:53:155: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 53 | static int header_check_orf_IIRS(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_orf.c: In function ‘header_check_orf_IIRO’: file_orf.c:66:114: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 66 | static int header_check_orf_IIRO(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_orf.c:66:155: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 66 | static int header_check_orf_IIRO(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pa.o file_pa.c In file included from file_pa.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_pa.c:52:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 52 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_pa.c: In function ‘header_check_pa’: file_pa.c:58:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 58 | static int header_check_pa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pa.c:58:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 58 | static int header_check_pa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pa.c:58:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 58 | static int header_check_pa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_paf.o file_paf.c file_paf.c: In function ‘header_check_paf’: file_paf.c:55:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 55 | 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:55:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 55 | 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:55:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 55 | 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:55:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 55 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pap.o file_pap.c file_pap.c: In function ‘header_check_pap’: file_pap.c:53:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 53 | 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:53:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 53 | 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:53:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 53 | 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:53:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 53 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_par2.o file_par2.c In file included from file_par2.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_par2.c: In function ‘data_check_par2’: file_par2.c:71:34: warning: cast increases required alignment of target type [-Wcast-align] 71 | const uint64_t length=le64((*(const uint64_t *)(&buffer[i+8]))); | ^ common.h:606:19: note: in definition of macro ‘le64’ 606 | #define le64(x) (x) | ^ file_par2.c: In function ‘file_rename_par2’: file_par2.c:101:29: warning: cast increases required alignment of target type [-Wcast-align] 101 | const uint64_t *lengthp=(const uint64_t *)&buffer[8]; | ^ file_par2.c: In function ‘header_check_par2’: file_par2.c:143:32: warning: cast increases required alignment of target type [-Wcast-align] 143 | const uint64_t length=le64((*(const uint64_t *)(&buffer[8]))); | ^ common.h:606:19: note: in definition of macro ‘le64’ 606 | #define le64(x) (x) | ^ file_par2.c:141:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 141 | 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:141:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 141 | 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pcap.o file_pcap.c file_pcap.c: In function ‘header_check_pcap’: file_pcap.c:52:51: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | 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:52:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | 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:52:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | 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:52:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pcb.o file_pcb.c file_pcb.c: In function ‘header_check_pcb’: file_pcb.c:52:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | static int header_check_pcb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_pcb.c:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_pcb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pcb.c:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_pcb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pcb.c:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_pcb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pct.o file_pct.c In file included from file_pct.c:32: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_pct.c:83:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 83 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_pct.c: In function ‘header_check_pct’: file_pct.c:111:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 111 | 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:111:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 111 | 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pcx.o file_pcx.c In file included from file_pcx.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_pcx.c:78:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 78 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_pcx.c: In function ‘header_check_pcx’: file_pcx.c:87:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 87 | 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:87:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 87 | 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:87:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 87 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pdb.o file_pdb.c file_pdb.c: In function ‘header_check_pdb’: file_pdb.c:104:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 104 | static int header_check_pdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pdb.c:104:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 104 | static int header_check_pdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pdb.c:104:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 104 | static int header_check_pdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pdf.o file_pdf.c In file included from file_pdf.c:41: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_pdf.c: In function ‘file_rename_pdf’: file_pdf.c:119:13: warning: comparison of integer expressions of different signedness: ‘off_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare] 119 | if(offset > PHOTOREC_MAX_FILE_SIZE) | ^ file_pdf.c: In function ‘header_check_pdf’: file_pdf.c:472:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 472 | static int header_check_pdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pdf.c:472:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 472 | static int header_check_pdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pds.o file_pds.c file_pds.c: In function ‘header_check_pds’: file_pds.c:52:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | static int header_check_pds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_pds.c:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_pds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pds.c:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_pds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pds.c:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_pds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pf.o file_pf.c In file included from file_pf.c:34: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_pf.c:60:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 60 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_pf.c: In function ‘header_check_pf’: file_pf.c:103:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 103 | static int header_check_pf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pf.c:103:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 103 | static int header_check_pf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pf.c:103:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 103 | static int header_check_pf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pfx.o file_pfx.c file_pfx.c: In function ‘header_check_pfx’: file_pfx.c:75:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 75 | static int header_check_pfx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pfx.c:75:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 75 | static int header_check_pfx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pfx.c:75:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 75 | static int header_check_pfx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pgdump.o file_pgdump.c In file included from file_pgdump.c:34: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_pgdump.c:84:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 84 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_pgdump.c: In function ‘header_check_pgdump’: file_pgdump.c:105:80: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 105 | static int header_check_pgdump(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pgdump.c:105:112: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 105 | static int header_check_pgdump(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pgdump.c:105:153: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 105 | static int header_check_pgdump(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_plist.o file_plist.c file_plist.c: In function ‘header_check_plist’: file_plist.c:56:52: warning: unused parameter ‘buffer’ [-Wunused-parameter] 56 | static int header_check_plist(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_plist.c:56:79: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 56 | static int header_check_plist(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_plist.c:56:111: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 56 | static int header_check_plist(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_plr.o file_plr.c file_plr.c: In function ‘header_check_plr’: file_plr.c:52:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | static int header_check_plr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_plr.c:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_plr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_plr.c:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_plr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_plr.c:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_plr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_plt.o file_plt.c file_plt.c: In function ‘header_check_plt’: file_plt.c:52:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | static int header_check_plt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_plt.c:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_plt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_plt.c:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_plt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_plt.c:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_plt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_png.o file_png.c In file included from file_png.c:39: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_png.c:64:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 64 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_png.c:75:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 75 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_png.c: In function ‘header_check_jng’: file_png.c:265:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 265 | static int header_check_jng(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_png.c:265:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 265 | static int header_check_jng(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_png.c:265:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 265 | static int header_check_jng(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_png.c: In function ‘header_check_mng’: file_png.c:294:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 294 | static int header_check_mng(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_png.c:294:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 294 | static int header_check_mng(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_png.c:294:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 294 | static int header_check_mng(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_png.c: In function ‘header_check_png’: file_png.c:323:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 323 | static int header_check_png(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_png.c:323:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 323 | static int header_check_png(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pnm.o file_pnm.c file_pnm.c: In function ‘header_check_pbm’: file_pnm.c:54:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 54 | static int header_check_pbm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pnm.c:54:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 54 | static int header_check_pbm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pnm.c:54:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 54 | static int header_check_pbm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_pnm.c: In function ‘header_check_pgm’: file_pnm.c:70:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 70 | static int header_check_pgm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pnm.c:70:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 70 | static int header_check_pgm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pnm.c:70:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 70 | static int header_check_pgm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_pnm.c: In function ‘header_check_ppm’: file_pnm.c:86:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 86 | static int header_check_ppm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pnm.c:86:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 86 | static int header_check_ppm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pnm.c:86:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 86 | static int header_check_ppm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_prc.o file_prc.c In file included from file_prc.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_prc.c:61:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 61 | } __attribute__((gcc_struct, __packed__)); | ^ file_prc.c: In function ‘header_check_prc’: file_prc.c:70:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 70 | static int header_check_prc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_prc.c:70:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 70 | static int header_check_prc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_prc.c:70:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 70 | static int header_check_prc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_prd.o file_prd.c file_prd.c: In function ‘header_check_prd’: file_prd.c:53:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 53 | static int header_check_prd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_prd.c:53:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 53 | static int header_check_prd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_prd.c:53:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 53 | static int header_check_prd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_prt.o file_prt.c file_prt.c: In function ‘header_check_prt’: file_prt.c:68:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 68 | static int header_check_prt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_prt.c:68:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 68 | static int header_check_prt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_prt.c:68:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 68 | static int header_check_prt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_prt.c:68:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 68 | static int header_check_prt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ps.o file_ps.c In file included from file_ps.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ps.c: In function ‘file_check_ps’: file_ps.c:58:36: warning: initializer-string for array of ‘unsigned char’ is too long for C++ [-Wc++-compat] 58 | const unsigned char ps_footer[5]="%%EOF"; | ^~~~~~~ file_ps.c: In function ‘header_check_ps’: file_ps.c:118:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 118 | if(i+5 <= buffer_size && memcmp(&buffer[i],"EPSF-",5)==0) | ^~ file_ps.c:97:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 97 | static int header_check_ps(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ps.c:97:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 97 | static int header_check_ps(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_psb.o file_psb.c In file included from file_psb.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_psb.c:63:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 63 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_psb.c: In function ‘get_be32’: file_psb.c:71:23: warning: cast increases required alignment of target type [-Wcast-align] 71 | const uint32_t *val=(const uint32_t *)((const unsigned char *)buffer+offset); | ^ file_psb.c: In function ‘get_be64’: file_psb.c:81:23: warning: cast increases required alignment of target type [-Wcast-align] 81 | const uint64_t *val=(const uint64_t *)((const unsigned char *)buffer+offset); | ^ file_psb.c: In function ‘psb_skip_image_data’: file_psb.c:93:62: warning: unused parameter ‘buffer’ [-Wunused-parameter] 93 | static data_check_t psb_skip_image_data(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_psb.c:93:89: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 93 | static data_check_t psb_skip_image_data(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_psb.c: In function ‘header_check_psb’: file_psb.c:216:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 216 | static int header_check_psb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_psb.c:216:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 216 | static int header_check_psb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_psb.c:216:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 216 | static int header_check_psb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_psd.o file_psd.c In file included from file_psd.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_psd.c:63:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 63 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_psd.c: In function ‘get_be32’: file_psd.c:71:23: warning: cast increases required alignment of target type [-Wcast-align] 71 | const uint32_t *val=(const uint32_t *)((const unsigned char *)buffer+offset); | ^ file_psd.c: In function ‘psd_skip_image_data’: file_psd.c:83:62: warning: unused parameter ‘buffer’ [-Wunused-parameter] 83 | static data_check_t psd_skip_image_data(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_psd.c:83:89: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 83 | static data_check_t psd_skip_image_data(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_psd.c: In function ‘header_check_psd’: file_psd.c:205:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 205 | static int header_check_psd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_psd.c:205:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 205 | static int header_check_psd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_psd.c:205:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 205 | static int header_check_psd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_psf.o file_psf.c file_psf.c: In function ‘header_check_psf’: file_psf.c:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_psf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_psf.c:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_psf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_psp.o file_psp.c In file included from file_psp.c:32: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_psp.c:51:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 51 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_psp.c: In function ‘header_check_psp’: file_psp.c:89:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 89 | static int header_check_psp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_psp.c:89:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 89 | static int header_check_psp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_psp.c:89:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 89 | static int header_check_psp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pst.o file_pst.c file_pst.c: In function ‘header_check_dbx’: file_pst.c:59:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 59 | static int header_check_dbx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pst.c:59:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 59 | static int header_check_dbx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pst.c:59:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 59 | static int header_check_dbx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_pst.c: In function ‘header_check_wab’: file_pst.c:106:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 106 | static int header_check_wab(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_pst.c:106:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 106 | static int header_check_wab(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pst.c:106:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 106 | static int header_check_wab(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pst.c:106:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 106 | static int header_check_wab(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_pst.c: In function ‘header_check_pst’: file_pst.c:121:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 121 | static int header_check_pst(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pst.c:121:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 121 | static int header_check_pst(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pst.c:121:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 121 | static int header_check_pst(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ptb.o file_ptb.c file_ptb.c: In function ‘header_check_ptb’: file_ptb.c:53:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 53 | static int header_check_ptb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ptb.c:53:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 53 | static int header_check_ptb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ptb.c:53:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 53 | static int header_check_ptb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ptf.o file_ptf.c file_ptf.c: In function ‘header_check_ptf’: file_ptf.c:53:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 53 | static int header_check_ptf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ptf.c:53:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 53 | static int header_check_ptf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ptf.c:53:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 53 | static int header_check_ptf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pyc.o file_pyc.c In file included from file_pyc.c:35: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_pyc.c: In function ‘header_check_pyc’: file_pyc.c:64:32: warning: cast increases required alignment of target type [-Wcast-align] 64 | const struct pyc_header *pyc=(const struct pyc_header *)buffer; | ^ file_pyc.c:62:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 62 | static int header_check_pyc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pyc.c:62:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 62 | static int header_check_pyc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pyc.c:62:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 62 | static int header_check_pyc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pzf.o file_pzf.c file_pzf.c: In function ‘header_check_pzf’: file_pzf.c:69:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 69 | static int header_check_pzf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_pzf.c:69:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 69 | static int header_check_pzf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pzf.c:69:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 69 | static int header_check_pzf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pzf.c:69:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 69 | static int header_check_pzf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pzh.o file_pzh.c file_pzh.c: In function ‘header_check_pzh’: file_pzh.c:82:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 82 | static int header_check_pzh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_pzh.c:82:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 82 | static int header_check_pzh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pzh.c:82:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 82 | static int header_check_pzh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pzh.c:82:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 82 | static int header_check_pzh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_qbb.o file_qbb.c In file included from file_qbb.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_qbb.c:59:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 59 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_qbb.c:74:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 74 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_qbb.c: In function ‘header_check_qbb’: file_qbb.c:137:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 137 | static int header_check_qbb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_qbb.c:137:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 137 | static int header_check_qbb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_qbb.c: In function ‘header_check_qbw’: file_qbb.c:189:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 189 | static int header_check_qbw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_qbb.c:189:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 189 | static int header_check_qbw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_qbb.c:189:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 189 | static int header_check_qbw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_qbb.c: In function ‘header_check_qbw2’: file_qbb.c:211:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 211 | static int header_check_qbw2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_qbb.c:211:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 211 | static int header_check_qbw2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_qbb.c:211:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 211 | static int header_check_qbw2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_qdf.o file_qdf.c file_qdf.c: In function ‘header_check_qdf’: file_qdf.c:55:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 55 | static int header_check_qdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_qdf.c:55:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 55 | static int header_check_qdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_qdf.c:55:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 55 | static int header_check_qdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_qkt.o file_qkt.c file_qkt.c: In function ‘header_check_qkt’: file_qkt.c:52:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | static int header_check_qkt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_qkt.c:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_qkt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_qkt.c:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_qkt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_qkt.c:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_qkt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_qxd.o file_qxd.c file_qxd.c: In function ‘header_check_qxd’: file_qxd.c:52:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | static int header_check_qxd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_qxd.c:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_qxd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_qxd.c:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_qxd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_qxd.c:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_qxd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_qxd.c: In function ‘header_check_qxp’: file_qxd.c:66:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 66 | static int header_check_qxp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_qxd.c:66:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 66 | static int header_check_qxp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_qxd.c:66:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 66 | static int header_check_qxp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_qxd.c:66:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 66 | static int header_check_qxp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_r3d.o file_r3d.c In file included from file_r3d.c:34: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_r3d.c:53:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 53 | } __attribute__((gcc_struct, __packed__)); | ^ file_r3d.c: In function ‘header_check_r3d’: file_r3d.c:144:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 144 | static int header_check_r3d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_r3d.c:144:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 144 | static int header_check_r3d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_r3d.c:144:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 144 | static int header_check_r3d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_r3d.c: In function ‘header_check_r3d_v2’: file_r3d.c:171:80: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 171 | static int header_check_r3d_v2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_r3d.c:171:112: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 171 | static int header_check_r3d_v2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_r3d.c:171:153: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 171 | static int header_check_r3d_v2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ra.o file_ra.c In file included from file_ra.c:32: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ra.c:57:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 57 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ra.c:87:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 87 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ra.c: In function ‘header_check_ra’: file_ra.c:97:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 97 | static int header_check_ra(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ra.c:97:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 97 | static int header_check_ra(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ra.c:97:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 97 | static int header_check_ra(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_raf.o file_raf.c In file included from file_raf.c:32: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_raf.c:62:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 62 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_raf.c: In function ‘header_check_raf’: file_raf.c:71:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 71 | static int header_check_raf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_raf.c:71:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 71 | static int header_check_raf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_raf.c:71:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 71 | static int header_check_raf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_rar.o file_rar.c file_rar.c: In function ‘header_check_rar15fmt’: file_rar.c:69:82: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 69 | static int header_check_rar15fmt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_rar.c:69:114: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 69 | static int header_check_rar15fmt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_rar.c:69:155: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 69 | static int header_check_rar15fmt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_rar.c: In function ‘header_check_rar50fmt’: file_rar.c:99:82: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 99 | static int header_check_rar50fmt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_rar.c:99:114: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 99 | static int header_check_rar50fmt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_rar.c:99:155: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 99 | static int header_check_rar50fmt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_raw.o file_raw.c file_raw.c: In function ‘header_check_raw’: file_raw.c:52:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | static int header_check_raw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_raw.c:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_raw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_raw.c:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_raw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_raw.c:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_raw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_rdc.o file_rdc.c file_rdc.c: In function ‘header_check_rdc’: file_rdc.c:52:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | static int header_check_rdc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_rdc.c:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_rdc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_rdc.c:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_rdc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_rdc.c:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_rdc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_reg.o file_reg.c In file included from file_reg.c:32: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_reg.c:58:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 58 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_reg.c:72:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 72 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_reg.c: In function ‘header_check_reg_9x’: file_reg.c:81:112: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 81 | static int header_check_reg_9x(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_reg.c:81:153: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 81 | static int header_check_reg_9x(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_reg.c: At top level: file_reg.c:113:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 113 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_reg.c: In function ‘header_check_reg_nt’: file_reg.c:122:80: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 122 | static int header_check_reg_nt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_reg.c:122:112: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 122 | static int header_check_reg_nt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_reg.c:122:153: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 122 | static int header_check_reg_nt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_res.o file_res.c file_res.c: In function ‘header_check_res’: file_res.c:52:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | static int header_check_res(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_res.c:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_res(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_res.c:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_res(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_res.c:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_res(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_rfp.o file_rfp.c file_rfp.c: In function ‘header_check_rfp’: file_rfp.c:52:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | static int header_check_rfp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_rfp.c:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_rfp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_rfp.c:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_rfp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_rfp.c:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_rfp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_riff.o file_riff.c In file included from file_riff.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_riff.c: In function ‘check_riff_list’: file_riff.c:131:43: warning: cast increases required alignment of target type [-Wcast-align] 131 | const riff_list_header_t *list_header=(const riff_list_header_t *)&buf; | ^ file_riff.c: In function ‘file_check_avi’: file_riff.c:202:43: warning: cast increases required alignment of target type [-Wcast-align] 202 | const riff_list_header_t *list_header=(const riff_list_header_t *)&buffer; | ^ file_riff.c: In function ‘data_check_avi’: file_riff.c:262:43: warning: cast increases required alignment of target type [-Wcast-align] 262 | const riff_chunk_header *chunk_header=(const riff_chunk_header*)&buffer[i]; | ^ file_riff.c: In function ‘data_check_avi_stream’: file_riff.c:284:43: warning: cast increases required alignment of target type [-Wcast-align] 284 | const riff_chunk_header *chunk_header=(const riff_chunk_header*)&buffer[i]; | ^ file_riff.c: In function ‘header_check_riff’: file_riff.c:307:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 307 | static int header_check_riff(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_riff.c:307:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 307 | static int header_check_riff(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_riff.c: In function ‘header_check_rifx’: file_riff.c:415:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 415 | static int header_check_rifx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_riff.c:415:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 415 | static int header_check_rifx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_riff.c:415:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 415 | static int header_check_rifx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_rlv.o file_rlv.c file_rlv.c: In function ‘header_check_rlv’: file_rlv.c:53:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 53 | static int header_check_rlv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_rlv.c:53:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 53 | static int header_check_rlv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_rlv.c:53:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 53 | static int header_check_rlv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_rm.o file_rm.c In file included from file_rm.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_rm.c:54:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 54 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_rm.c: In function ‘header_check_rm’: file_rm.c:63:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 63 | static int header_check_rm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_rm.c:63:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 63 | static int header_check_rm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_rm.c:63:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 63 | static int header_check_rm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_rns.o file_rns.c file_rns.c: In function ‘header_check_rns’: file_rns.c:52:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | static int header_check_rns(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_rns.c:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_rns(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_rns.c:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_rns(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_rns.c:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_rns(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_rpm.o file_rpm.c In file included from file_rpm.c:32: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_rpm.c:56:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 56 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_rpm.c: In function ‘header_check_rpm’: file_rpm.c:85:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 85 | static int header_check_rpm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_rpm.c:85:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 85 | static int header_check_rpm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_rpm.c:85:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 85 | static int header_check_rpm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_rw2.o file_rw2.c In file included from file_rw2.c:33: file_tiff.h:71:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 71 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from file_rw2.c:34: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_rw2.c: In function ‘header_check_rw2’: file_rw2.c:57:28: warning: cast increases required alignment of target type [-Wcast-align] 57 | const TIFFHeader *header=(const TIFFHeader *)buffer; | ^ file_rw2.c:55:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 55 | 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:55:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 55 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_rx2.o file_rx2.c In file included from file_rx2.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_rx2.c:51:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 51 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_rx2.c: In function ‘header_check_rx2’: file_rx2.c:60:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 60 | static int header_check_rx2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_rx2.c:60:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 60 | static int header_check_rx2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_rx2.c:60:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 60 | static int header_check_rx2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_save.o file_save.c file_save.c: In function ‘header_check_save’: file_save.c:52:51: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | 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:52:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | 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:52:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | 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:52:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_sdsk.o file_sdsk.c file_sdsk.c: In function ‘header_check_sdsk’: file_sdsk.c:52:51: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | static int header_check_sdsk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_sdsk.c:52:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_sdsk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_sdsk.c:52:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_sdsk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_sdsk.c:52:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_sdsk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_sdw.o file_sdw.c file_sdw.c: In function ‘header_check_sdw’: file_sdw.c:50:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 50 | static int header_check_sdw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_sdw.c:50:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 50 | static int header_check_sdw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_sdw.c:50:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 50 | static int header_check_sdw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_sdw.c:50:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 50 | static int header_check_sdw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ses.o file_ses.c In file included from file_ses.c:32: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ses.c: In function ‘header_check_ses’: file_ses.c:53:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 53 | 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:53:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 53 | 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:53:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 53 | 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:53:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 53 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_sgcta.o file_sgcta.c file_sgcta.c: In function ‘header_check_sgcta’: file_sgcta.c:52:52: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | static int header_check_sgcta(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_sgcta.c:52:79: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_sgcta(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_sgcta.c:52:111: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_sgcta(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_sgcta.c:52:152: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_sgcta(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_shn.o file_shn.c file_shn.c: In function ‘header_check_shn’: file_shn.c:52:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | static int header_check_shn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_shn.c:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_shn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_shn.c:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_shn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_shn.c:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_shn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_shp.o file_shp.c In file included from file_shp.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_shp.c:59:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 59 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_shp.c: In function ‘header_check_shp’: file_shp.c:99:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 99 | static int header_check_shp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_shp.c:99:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 99 | static int header_check_shp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_shp.c:99:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 99 | static int header_check_shp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_sib.o file_sib.c file_sib.c: In function ‘header_check_sib’: file_sib.c:52:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | 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:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | 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:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | 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:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_sig.o file_sig.c In file included from file_sig.c:45: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_sig.c:53:20: warning: redundant redeclaration of ‘td_list_add_sorted’ [-Wredundant-decls] 53 | static inline void td_list_add_sorted(struct td_list_head *newe, struct td_list_head *head, | ^~~~~~~~~~~~~~~~~~ In file included from file_sig.c:51: list_add_sorted.h:41:20: note: previous definition of ‘td_list_add_sorted’ with type ‘void(struct td_list_head *, struct td_list_head *, int (*)(const struct td_list_head *, const struct td_list_head *))’ 41 | static inline void td_list_add_sorted(struct td_list_head *newe, struct td_list_head *head, | ^~~~~~~~~~~~~~~~~~ In file included from filegen.h:31, from file_sig.c:44: file_sig.c: In function ‘signature_cmp’: list.h:378:10: warning: cast increases required alignment of target type [-Wcast-align] 378 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ file_sig.c:160:28: note: in expansion of macro ‘td_list_entry_const’ 160 | const signature_t *sig_a=td_list_entry_const(a, const signature_t, list); | ^~~~~~~~~~~~~~~~~~~ list.h:378:10: warning: cast increases required alignment of target type [-Wcast-align] 378 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ file_sig.c:161:28: note: in expansion of macro ‘td_list_entry_const’ 161 | const signature_t *sig_b=td_list_entry_const(b, const signature_t, list); | ^~~~~~~~~~~~~~~~~~~ file_sig.c: In function ‘header_check_sig’: list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ file_sig.c:249:30: note: in expansion of macro ‘td_list_entry’ 249 | const signature_t *sig = td_list_entry(pos, signature_t, list); | ^~~~~~~~~~~~~ file_sig.c:240:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 240 | 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:240:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 240 | 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:240:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 240 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_sit.o file_sit.c file_sit.c: In function ‘header_check_sit’: file_sit.c:53:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 53 | 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:53:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 53 | 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:53:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 53 | 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:53:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 53 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_skd.o file_skd.c file_skd.c: In function ‘header_check_skd’: file_skd.c:51:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 51 | 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:51:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 51 | 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:51:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 51 | 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:51:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 51 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_skp.o file_skp.c file_skp.c: In function ‘header_check_skp’: file_skp.c:52:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | 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:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | 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:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | 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:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_snag.o file_snag.c file_snag.c: In function ‘header_check_snag’: file_snag.c:63:51: warning: unused parameter ‘buffer’ [-Wunused-parameter] 63 | static int header_check_snag(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_snag.c:63:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 63 | static int header_check_snag(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_snag.c:63:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 63 | static int header_check_snag(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_snag.c:63:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 63 | static int header_check_snag(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_sp3.o file_sp3.c In file included from file_sp3.c:36: file_sp3.h:312:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 312 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from file_sp3.c:37: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_sp3.c: In function ‘header_check_sp3’: file_sp3.c:131:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 131 | 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:131:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 131 | 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:131:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 131 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_spe.o file_spe.c In file included from file_spe.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_spe.c:242:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 242 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_spe.c: In function ‘header_check_spe’: file_spe.c:280:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 280 | 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:280:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 280 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_spf.o file_spf.c In file included from file_spf.c:34: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_spf.c: In function ‘header_check_spf’: file_spf.c:121:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 121 | 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:121:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 121 | 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:121:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 121 | 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:121:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 121 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_spss.o file_spss.c file_spss.c: In function ‘header_check_spss’: file_spss.c:52:51: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | 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:52:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | 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:52:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | 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:52:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_sql.o file_sql.c In file included from file_sql.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_sql.c:73:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 73 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_sql.c: In function ‘header_check_sqlite’: file_sql.c:82:80: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 82 | 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:82:112: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 82 | 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:82:153: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 82 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_sqm.o file_sqm.c file_sqm.c: In function ‘header_check_sqm’: file_sqm.c:52:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | 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:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | 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:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | 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:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_steuer2014.o file_steuer2014.c In file included from file_steuer2014.c:34: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_steuer2014.c:65:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 65 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_steuer2014.c: In function ‘header_check_steuer’: file_steuer2014.c:74:80: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 74 | static int header_check_steuer(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_steuer2014.c:74:112: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 74 | static int header_check_steuer(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_steuer2014.c:74:153: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 74 | static int header_check_steuer(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_stl.o file_stl.c In file included from file_stl.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_stl.c: In function ‘header_check_stl’: file_stl.c:60:26: warning: cast increases required alignment of target type [-Wcast-align] 60 | const uint32_t *fs_ptr=(const uint32_t *)&buffer[80]; | ^ file_stl.c:55:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 55 | 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:55:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 55 | 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:55:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 55 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_stu.o file_stu.c file_stu.c: In function ‘header_check_stuffit’: file_stu.c:53:54: warning: unused parameter ‘buffer’ [-Wunused-parameter] 53 | 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:53:81: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 53 | 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:53:113: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 53 | 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:53:154: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 53 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_studio.o file_studio.c In file included from file_studio.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_studio.c:52:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 52 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_studio.c: In function ‘header_check_studio’: file_studio.c:61:80: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 61 | static int header_check_studio(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_studio.c:61:112: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 61 | static int header_check_studio(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_studio.c:61:153: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 61 | static int header_check_studio(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_swf.o file_swf.c In file included from file_swf.c:41: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_swf.c:64:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 64 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_swf.c:73:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 73 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_swf.c: In function ‘header_check_swfc’: file_swf.c:156:25: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 156 | d_stream.next_in = (Bytef*)buffer_compr; | ^ file_swf.c:131:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 131 | static int header_check_swfc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_swf.c:131:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 131 | static int header_check_swfc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_swf.c: In function ‘header_check_swf’: file_swf.c:215:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 215 | 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:215:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 215 | 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:215:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 215 | static int header_check_swf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_swf.c: In function ‘header_check_swfz’: file_swf.c:260:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 260 | static int header_check_swfz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_swf.c:260:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 260 | static int header_check_swfz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_swf.c:260:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 260 | static int header_check_swfz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tar.o file_tar.c file_tar.c: In function ‘header_check_tar’: file_tar.c:117:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 117 | static 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:117:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 117 | static 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tax.o file_tax.c file_tax.c: In function ‘header_check_tax’: file_tax.c:53:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 53 | 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:53:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 53 | 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:53:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 53 | 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:53:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 53 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tg.o file_tg.c file_tg.c: In function ‘header_check_tg’: file_tg.c:52:49: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | static int header_check_tg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_tg.c:52:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_tg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_tg.c:52:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_tg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_tg.c:52:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_tg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tib.o file_tib.c In file included from file_tib.c:36: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_tib.c: In function ‘header_check_tib’: file_tib.c:147:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 147 | 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:147:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 147 | 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:147:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 147 | 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:147:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 147 | static int header_check_tib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_tib.c: In function ‘header_check_tib2’: file_tib.c:161:51: warning: unused parameter ‘buffer’ [-Wunused-parameter] 161 | static int header_check_tib2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_tib.c:161:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 161 | static int header_check_tib2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_tib.c:161:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 161 | static int header_check_tib2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_tib.c:161:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 161 | static int header_check_tib2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tiff.o file_tiff.c In file included from file_tiff.c:39: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from file_tiff.c:40: file_tiff.h:71:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 71 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_tiff.c: In function ‘find_tag_from_tiff_header’: file_tiff.c:142:26: warning: cast increases required alignment of target type [-Wcast-align] 142 | const TIFFHeader *tiff=(const TIFFHeader *)buffer; | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tiff_be.o file_tiff_be.c In file included from file_tiff_be.c:39: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from file_tiff_be.c:40: file_tiff.h:71:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 71 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_tiff_be.c: In function ‘find_tag_from_tiff_header_be_aux’: file_tiff_be.c:124:9: warning: cast increases required alignment of target type [-Wcast-align] 124 | tmp=(const TIFFDirEntry *)ptr_entry; | ^ file_tiff_be.c: In function ‘find_tag_from_tiff_header_be’: file_tiff_be.c:145:26: warning: cast increases required alignment of target type [-Wcast-align] 145 | const TIFFHeader *tiff=(const TIFFHeader *)buffer; | ^ file_tiff_be.c:186:24: warning: cast increases required alignment of target type [-Wcast-align] 186 | tiff_next_diroff=(const uint32_t *)ptr_hdr; | ^ file_tiff_be.c: In function ‘parse_strip_be’: file_tiff_be.c:269:29: warning: cast increases required alignment of target type [-Wcast-align] 269 | return parse_strip_be_aux((const uint32_t *)&offsetp_buf, (const uint32_t *)&sizep_buf, nbr); | ^ file_tiff_be.c:269:61: warning: cast increases required alignment of target type [-Wcast-align] 269 | return parse_strip_be_aux((const uint32_t *)&offsetp_buf, (const uint32_t *)&sizep_buf, nbr); | ^ file_tiff_be.c: In function ‘tiff_be_read’: file_tiff_be.c:296:24: warning: declaration of ‘val’ shadows a parameter [-Wshadow] 296 | const uint16_t val=*ptr; | ^~~ file_tiff_be.c:282:46: note: shadowed declaration is here 282 | static unsigned int tiff_be_read(const void *val, const unsigned int type) | ~~~~~~~~~~~~^~~ file_tiff_be.c:303:24: warning: declaration of ‘val’ shadows a parameter [-Wshadow] 303 | const uint32_t val=*ptr; | ^~~ file_tiff_be.c:282:46: note: shadowed declaration is here 282 | static unsigned int tiff_be_read(const void *val, const unsigned int type) | ~~~~~~~~~~~~^~~ file_tiff_be.c: In function ‘file_check_tiff_be_aux_next’: file_tiff_be.c:447:34: warning: cast increases required alignment of target type [-Wcast-align] 447 | const uint32_t *ptr32_offset=(const uint32_t *)ptr_offset; | ^ file_tiff_be.c: In function ‘file_check_tiff_be_aux’: file_tiff_be.c:493:31: warning: cast increases required alignment of target type [-Wcast-align] 493 | const TIFFDirEntry *entries=(const TIFFDirEntry *)&buffer[2]; | ^ file_tiff_be.c:675:44: warning: cast increases required alignment of target type [-Wcast-align] 675 | const uint32_t *subifd_offsetp=(const uint32_t *)&subifd_offsetp_buf; | ^ file_tiff_be.c: In function ‘file_check_tiff_be’: file_tiff_be.c:787:28: warning: cast increases required alignment of target type [-Wcast-align] 787 | const TIFFHeader *header=(const TIFFHeader *)&buffer; | ^ file_tiff_be.c: In function ‘header_check_tiff_be’: file_tiff_be.c:836:28: warning: cast increases required alignment of target type [-Wcast-align] 836 | const TIFFHeader *header=(const TIFFHeader *)buffer; | ^ file_tiff_be.c:832:106: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 832 | int header_check_tiff_be(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tiff_le.o file_tiff_le.c In file included from file_tiff_le.c:39: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from file_tiff_le.c:40: file_tiff.h:71:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 71 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_tiff_le.c: In function ‘find_tag_from_tiff_header_le_aux’: file_tiff_le.c:127:9: warning: cast increases required alignment of target type [-Wcast-align] 127 | tmp=(const TIFFDirEntry *)ptr_entry; | ^ file_tiff_le.c: In function ‘find_tag_from_tiff_header_le’: file_tiff_le.c:148:26: warning: cast increases required alignment of target type [-Wcast-align] 148 | const TIFFHeader *tiff=(const TIFFHeader *)buffer; | ^ file_tiff_le.c:189:24: warning: cast increases required alignment of target type [-Wcast-align] 189 | tiff_next_diroff=(const uint32_t *)ptr_hdr; | ^ file_tiff_le.c: In function ‘parse_strip_le’: file_tiff_le.c:272:29: warning: cast increases required alignment of target type [-Wcast-align] 272 | return parse_strip_le_aux((const uint32_t *)&offsetp_buf, (const uint32_t *)&sizep_buf, nbr); | ^ file_tiff_le.c:272:61: warning: cast increases required alignment of target type [-Wcast-align] 272 | return parse_strip_le_aux((const uint32_t *)&offsetp_buf, (const uint32_t *)&sizep_buf, nbr); | ^ file_tiff_le.c: In function ‘file_check_tiff_le_aux_next’: file_tiff_le.c:448:34: warning: cast increases required alignment of target type [-Wcast-align] 448 | const uint32_t *ptr32_offset=(const uint32_t *)ptr_offset; | ^ file_tiff_le.c: In function ‘file_check_tiff_le_aux’: file_tiff_le.c:494:31: warning: cast increases required alignment of target type [-Wcast-align] 494 | const TIFFDirEntry *entries=(const TIFFDirEntry *)&buffer[2]; | ^ file_tiff_le.c:684:44: warning: cast increases required alignment of target type [-Wcast-align] 684 | const uint32_t *subifd_offsetp=(const uint32_t *)&subifd_offsetp_buf; | ^ file_tiff_le.c: In function ‘file_check_tiff_le’: file_tiff_le.c:788:28: warning: cast increases required alignment of target type [-Wcast-align] 788 | const TIFFHeader *header=(const TIFFHeader *)&buffer; | ^ file_tiff_le.c: In function ‘header_check_tiff_le’: file_tiff_le.c:842:28: warning: cast increases required alignment of target type [-Wcast-align] 842 | const TIFFHeader *header=(const TIFFHeader *)buffer; | ^ file_tiff_le.c:835:106: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 835 | int header_check_tiff_le(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tivo.o file_tivo.c file_tivo.c: In function ‘header_check_tivo’: file_tivo.c:68:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 68 | 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:68:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 68 | 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:68:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 68 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_torrent.o file_torrent.c file_torrent.c: In function ‘header_check_torrent’: file_torrent.c:53:81: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 53 | 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:53:113: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 53 | 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:53:154: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 53 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tph.o file_tph.c file_tph.c: In function ‘header_check_tph’: file_tph.c:70:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 70 | 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:70:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 70 | 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:70:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 70 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tpl.o file_tpl.c file_tpl.c: In function ‘header_check_tpl’: file_tpl.c:52:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | static int header_check_tpl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_tpl.c:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_tpl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_tpl.c:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_tpl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_tpl.c:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_tpl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ttf.o file_ttf.c In file included from file_ttf.c:32: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ttf.c: In function ‘header_check_ttf’: file_ttf.c:95:38: warning: cast increases required alignment of target type [-Wcast-align] 95 | const struct ttf_offset_table *ttf=(const struct ttf_offset_table *)buffer; | ^ file_ttf.c:108:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 108 | if((16<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_txt.o file_txt.c In file included from file_txt.c:40: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_txt.c: In function ‘UTF2Lat’: file_txt.c:563:40: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 563 | p+2-buffer>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tz.o file_tz.c In file included from file_tz.c:35: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_tz.c: In function ‘header_check_tz’: file_tz.c:56:49: warning: unused parameter ‘buffer’ [-Wunused-parameter] 56 | 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:56:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 56 | 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:56:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 56 | 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:56:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 56 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_v2i.o file_v2i.c file_v2i.c: In function ‘header_check_v2i’: file_v2i.c:53:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 53 | static int header_check_v2i(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_v2i.c:53:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 53 | static int header_check_v2i(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_v2i.c:53:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 53 | static int header_check_v2i(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_vault.o file_vault.c file_vault.c: In function ‘header_check_vault’: file_vault.c:88:52: warning: unused parameter ‘buffer’ [-Wunused-parameter] 88 | 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:88:79: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 88 | 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:88:111: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 88 | 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:88:152: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 88 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_vdi.o file_vdi.c In file included from file_vdi.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_vdi.c: In function ‘header_check_vdi’: file_vdi.c:93:29: warning: cast increases required alignment of target type [-Wcast-align] 93 | const VdiHeader *header = (const VdiHeader *)buffer; | ^ file_vdi.c:91:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 91 | 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:91:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 91 | 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:91:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 91 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_vdj.o file_vdj.c file_vdj.c: In function ‘header_check_vdj’: file_vdj.c:52:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | static int header_check_vdj(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_vdj.c:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_vdj(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_vdj.c:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_vdj(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_vdj.c:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_vdj(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_veg.o file_veg.c file_veg.c: In function ‘header_check_veg’: file_veg.c:53:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 53 | 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:53:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 53 | 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:53:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 53 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_vfb.o file_vfb.c file_vfb.c: In function ‘header_check_vfb’: file_vfb.c:61:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 61 | 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:61:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 61 | 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:61:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 61 | 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:61:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 61 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_vib.o file_vib.c file_vib.c: In function ‘header_check_vib’: file_vib.c:52:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | static int header_check_vib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_vib.c:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_vib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_vib.c:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_vib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_vib.c:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_vib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_vmdk.o file_vmdk.c In file included from file_vmdk.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_vmdk.c:79:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 79 | } __attribute__((gcc_struct, __packed__)) VMDK4Header; | ^ file_vmdk.c: In function ‘header_check_vmdk3’: file_vmdk.c:90:28: warning: cast increases required alignment of target type [-Wcast-align] 90 | const VMDK3Header *hdr = (const VMDK3Header *)buffer; | ^ file_vmdk.c:88:79: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 88 | static int header_check_vmdk3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_vmdk.c:88:111: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 88 | static int header_check_vmdk3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_vmdk.c:88:152: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 88 | static int header_check_vmdk3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_vmdk.c: In function ‘header_check_vmdk4’: file_vmdk.c:111:79: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 111 | static int header_check_vmdk4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_vmdk.c:111:111: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 111 | static int header_check_vmdk4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_vmdk.c:111:152: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 111 | static int header_check_vmdk4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_vmg.o file_vmg.c file_vmg.c: In function ‘header_check_vmg’: file_vmg.c:69:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 69 | 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:69:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 69 | 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:69:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 69 | 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:69:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 69 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wad.o file_wad.c In file included from file_wad.c:32: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_wad.c:52:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 52 | } __attribute__((gcc_struct, __packed__)); | ^ file_wad.c: In function ‘header_check_wad’: file_wad.c:61:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 61 | static int header_check_wad(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_wad.c:61:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 61 | static int header_check_wad(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_wad.c:61:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 61 | static int header_check_wad(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wallet.o file_wallet.c file_wallet.c: In function ‘header_check_wallet’: file_wallet.c:52:53: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | static int header_check_wallet(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_wallet.c:52:80: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_wallet(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_wallet.c:52:112: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_wallet(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_wallet.c:52:153: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_wallet(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wdp.o file_wdp.c In file included from file_wdp.c:33: file_tiff.h:71:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 71 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from file_wdp.c:34: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_wdp.c: In function ‘header_check_wdp’: file_wdp.c:57:30: warning: cast increases required alignment of target type [-Wcast-align] 57 | const TIFFHeader *header = (const TIFFHeader *)buffer; | ^ file_wdp.c:55:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 55 | 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:55:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 55 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wee.o file_wee.c file_wee.c: In function ‘header_check_wee’: file_wee.c:68:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 68 | static int header_check_wee(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_wee.c:68:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 68 | static int header_check_wee(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_wee.c:68:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 68 | static int header_check_wee(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wim.o file_wim.c In file included from file_wim.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_wim.c:58:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 58 | } __attribute__((gcc_struct, __packed__)); | ^ file_wim.c:79:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 79 | } __attribute__((gcc_struct, __packed__)); | ^ file_wim.c: In function ‘header_check_wim’: file_wim.c:105:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 105 | static int header_check_wim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_wim.c:105:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 105 | static int header_check_wim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_wim.c:105:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 105 | static int header_check_wim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_win.o file_win.c In file included from file_win.c:37: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_win.c: In function ‘header_check_win’: file_win.c:80:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 80 | 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:80:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 80 | 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:80:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 80 | 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:80:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 80 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wks.o file_wks.c file_wks.c: In function ‘header_check_wk4’: file_wks.c:63:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 63 | 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:63:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 63 | 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:63:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 63 | 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:63:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 63 | static int header_check_wk4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_wks.c: In function ‘header_check_wks’: file_wks.c:76:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 76 | 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:76:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 76 | 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:76:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 76 | 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:76:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 76 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wld.o file_wld.c In file included from file_wld.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_wld.c: In function ‘header_check_wld’: file_wld.c:77:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 77 | static int header_check_wld(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_wld.c:77:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 77 | static int header_check_wld(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_wld.c:77:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 77 | static int header_check_wld(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wmf.o file_wmf.c In file included from file_wmf.c:32: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_wmf.c:56:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 56 | } __attribute__((gcc_struct, __packed__)); | ^ file_wmf.c:66:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 66 | } __attribute__((gcc_struct, __packed__)); | ^ file_wmf.c: In function ‘header_check_wmf’: file_wmf.c:93:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 93 | 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:93:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 93 | 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:93:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 93 | static int header_check_wmf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_wmf.c: In function ‘header_check_wmf_placeable’: file_wmf.c:113:87: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 113 | static int header_check_wmf_placeable(const unsigned char *buffer, 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:113:119: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 113 | static int header_check_wmf_placeable(const unsigned char *buffer, 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:113:160: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 113 | static int header_check_wmf_placeable(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wnk.o file_wnk.c file_wnk.c: In function ‘header_check_wnk’: file_wnk.c:52:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | 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:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | 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:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | 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:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_woff.o file_woff.c In file included from file_woff.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_woff.c:62:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 62 | } __attribute__((gcc_struct, __packed__)); | ^ file_woff.c: In function ‘header_check_woff’: file_woff.c:71:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 71 | static int header_check_woff(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_woff.c:71:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 71 | static int header_check_woff(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_woff.c:71:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 71 | static int header_check_woff(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wpb.o file_wpb.c file_wpb.c: In function ‘header_check_wpb’: file_wpb.c:52:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | 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:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | 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:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | 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:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wpd.o file_wpd.c In file included from file_wpd.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_wpd.c:59:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 59 | } __attribute__((gcc_struct, __packed__)); | ^ file_wpd.c: In function ‘header_check_wpd’: file_wpd.c:68:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 68 | 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:68:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 68 | 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:68:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 68 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wtv.o file_wtv.c In file included from file_wtv.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_wtv.c: In function ‘header_check_wtv’: file_wtv.c:55:31: warning: cast increases required alignment of target type [-Wcast-align] 55 | const uint32_t *block_ptr = (const uint32_t *)(&buffer[0x5c]); | ^ file_wtv.c:53:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 53 | 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:53:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 53 | 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wv.o file_wv.c In file included from file_wv.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_wv.c: In function ‘data_check_wv’: file_wv.c:86:31: warning: cast increases required alignment of target type [-Wcast-align] 86 | const WavpackHeader *wv = (const WavpackHeader *)&buffer[i]; | ^ file_wv.c: In function ‘header_check_wv’: file_wv.c:123:29: warning: cast increases required alignment of target type [-Wcast-align] 123 | const WavpackHeader *wv = (const WavpackHeader *)buffer; | ^ file_wv.c:121:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 121 | 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:121:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 121 | 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:121:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 121 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_x3f.o file_x3f.c In file included from file_x3f.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_x3f.c:61:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 61 | } __attribute__((gcc_struct, __packed__)); | ^ file_x3f.c: In function ‘header_check_x3f’: file_x3f.c:70:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 70 | 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_x3i.o file_x3i.c file_x3i.c: In function ‘header_check_x3i’: file_x3i.c:52:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | static int header_check_x3i(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_x3i.c:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_x3i(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_x3i.c:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_x3i(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_x3i.c:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_x3i(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_x4a.o file_x4a.c In file included from file_x4a.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_x4a.c:51:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 51 | } __attribute__((gcc_struct, __packed__)); | ^ file_x4a.c: In function ‘header_check_ysfc100’: file_x4a.c:96:81: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 96 | static int header_check_ysfc100(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_x4a.c:96:113: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 96 | static int header_check_ysfc100(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_x4a.c:96:154: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 96 | static int header_check_ysfc100(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_xar.o file_xar.c In file included from file_xar.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_xar.c: In function ‘header_check_xar’: file_xar.c:69:34: warning: cast increases required alignment of target type [-Wcast-align] 69 | const struct xar_header *hdr = (const struct xar_header *)buffer; | ^ file_xar.c:67:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 67 | static int header_check_xar(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_xar.c:67:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 67 | static int header_check_xar(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_xar.c:67:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 67 | static int header_check_xar(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_xcf.o file_xcf.c In file included from file_xcf.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_xcf.c:56:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 56 | } __attribute__((gcc_struct, __packed__)); | ^ file_xcf.c: In function ‘header_check_xcf’: file_xcf.c:65:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 65 | 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:65:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 65 | 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:65:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 65 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_xfi.o file_xfi.c file_xfi.c: In function ‘header_check_xfi’: file_xfi.c:52:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | 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:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | 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] 52 | 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] 52 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_xfs.o file_xfs.c In file included from file_xfs.c:32: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from file_xfs.c:33: xfs_struct.h:110:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 110 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_xfs.c: In function ‘header_check_xfs_sb’: file_xfs.c:55:80: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 55 | static int header_check_xfs_sb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_xfs.c:55:112: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 55 | static int header_check_xfs_sb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_xfs.c:55:153: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 55 | static int header_check_xfs_sb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_xfs.c: In function ‘data_check_stopasap’: file_xfs.c:76:62: warning: unused parameter ‘buffer’ [-Wunused-parameter] 76 | static data_check_t data_check_stopasap(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_xfs.c:76:89: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 76 | static data_check_t data_check_stopasap(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_xfs.c:76:119: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 76 | static data_check_t data_check_stopasap(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_xfs.c: In function ‘header_save_xfs’: file_xfs.c:87:49: warning: unused parameter ‘buffer’ [-Wunused-parameter] 87 | static int header_save_xfs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_xfs.c:87:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 87 | static int header_save_xfs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_xfs.c:87:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 87 | static int header_save_xfs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_xfs.c: In function ‘header_check_xfs_inode’: file_xfs.c:146:36: warning: cast increases required alignment of target type [-Wcast-align] 146 | const xfs_dinode_core_t *inode = (const xfs_dinode_core_t *)buffer; | ^ file_xfs.c:144:83: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 144 | static int header_check_xfs_inode(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_xfs.c:144:156: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 144 | static int header_check_xfs_inode(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_xm.o file_xm.c In file included from file_xm.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_xm.c:53:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 53 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_xm.c: In function ‘parse_patterns’: file_xm.c:74:27: warning: cast increases required alignment of target type [-Wcast-align] 74 | const uint16_t *p16 = (const uint16_t *)&buffer; | ^ file_xm.c:75:27: warning: cast increases required alignment of target type [-Wcast-align] 75 | const uint32_t *p32 = (const uint32_t *)&buffer; | ^ file_xm.c: In function ‘parse_instruments’: file_xm.c:132:27: warning: cast increases required alignment of target type [-Wcast-align] 132 | const uint16_t *p16 = (const uint16_t *)&buffer; | ^ file_xm.c:133:27: warning: cast increases required alignment of target type [-Wcast-align] 133 | const uint32_t *p32 = (const uint32_t *)&buffer; | ^ file_xm.c: In function ‘header_check_xm’: file_xm.c:273:49: warning: unused parameter ‘buffer’ [-Wunused-parameter] 273 | 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:273:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 273 | 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:273:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 273 | 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:273:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 273 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_xml.o file_xml.c file_xml.c: In function ‘header_check_xml’: file_xml.c:125:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 125 | static int header_check_xml(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_xml.c:125:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 125 | static int header_check_xml(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_xml.c:125:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 125 | static int header_check_xml(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_xml.c:125:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 125 | static int header_check_xml(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_xsv.o file_xsv.c file_xsv.c: In function ‘header_check_xsv’: file_xsv.c:53:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 53 | 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:53:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 53 | 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:53:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 53 | 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:53:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 53 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_xpt.o file_xpt.c In file included from file_xpt.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_xpt.c:56:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 56 | } __attribute__((gcc_struct, __packed__)); | ^ file_xpt.c: In function ‘header_check_xpt’: file_xpt.c:65:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 65 | 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:65:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 65 | 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:65:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 65 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_xv.o file_xv.c In file included from file_xv.c:33: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_xv.c: In function ‘header_check_xv’: file_xv.c:55:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 55 | 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:55:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 55 | 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:55:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 55 | 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_xz.o file_xz.c file_xz.c: In function ‘header_check_xz’: file_xz.c:65:49: warning: unused parameter ‘buffer’ [-Wunused-parameter] 65 | static int header_check_xz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_xz.c:65:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 65 | static int header_check_xz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_xz.c:65:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 65 | static int header_check_xz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_xz.c:65:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 65 | static int header_check_xz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_z2d.o file_z2d.c file_z2d.c: In function ‘header_check_z2d’: file_z2d.c:53:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 53 | static int header_check_z2d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_z2d.c:53:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 53 | static int header_check_z2d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_z2d.c:53:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 53 | static int header_check_z2d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_zcode.o file_zcode.c file_zcode.c: In function ‘header_check_zcode’: file_zcode.c:52:52: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | static int header_check_zcode(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_zcode.c:52:79: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_zcode(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_zcode.c:52:111: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_zcode(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_zcode.c:52:152: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_zcode(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_zip.o file_zip.c In file included from file_zip.c:38: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_zip.c:131:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 131 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_zip.c:141:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 141 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_zip.c:148:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 148 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_zip.c:155:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 155 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_zip.c:166:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 166 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_zip.c:176:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 176 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_zip.c:189:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 189 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_zip.c: In function ‘zip_parse_signature’: file_zip.c:966:27: warning: cast increases required alignment of target type [-Wcast-align] 966 | const uint16_t *len_ptr=(const uint16_t *)&buffer; | ^ file_zip.c: In function ‘file_check_zip’: file_zip.c:1051:32: warning: cast increases required alignment of target type [-Wcast-align] 1051 | const uint32_t *header_ptr=(const uint32_t *)&buf_header; | ^ file_zip.c: In function ‘header_check_winzip’: file_zip.c:1379:53: warning: unused parameter ‘buffer’ [-Wunused-parameter] 1379 | static int header_check_winzip(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_zip.c:1379:80: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 1379 | static int header_check_winzip(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_zip.c:1379:112: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 1379 | static int header_check_winzip(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_zip.c:1379:153: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 1379 | static int header_check_winzip(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_zpr.o file_zpr.c file_zpr.c: In function ‘header_check_zpr’: file_zpr.c:53:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 53 | static int header_check_zpr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_zpr.c:53:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 53 | static int header_check_zpr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_zpr.c:53:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 53 | static int header_check_zpr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o utfsize.o utfsize.c riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o phmain.o phmain.c In file included from phmain.c:72: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o fat_unformat.o fat_unformat.c In file included from fat_unformat.c:40: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from fat.h:29, from fat_unformat.c:44: fat_common.h:96:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 96 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat_common.h:106:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 106 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat_common.h:122:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 122 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from dir_common.h:30, from dir.h:27, from fat_unformat.c:43: pnext.h: In function ‘get_next_header’: list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ pnext.h:46:27: note: in expansion of macro ‘td_list_entry’ 46 | *current_search_space=td_list_entry((*current_search_space)->list.next, alloc_data_t, list); | ^~~~~~~~~~~~~ pnext.h: In function ‘get_prev_header’: list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ pnext.h:101:27: note: in expansion of macro ‘td_list_entry’ 101 | *current_search_space=td_list_entry((*current_search_space)->list.prev, alloc_data_t, list); | ^~~~~~~~~~~~~ fat_unformat.c: In function ‘pfind_sectors_per_cluster’: list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ list.h:486:9: note: in expansion of macro ‘td_list_entry’ 486 | td_list_entry((ptr)->next, type, member) | ^~~~~~~~~~~~~ fat_unformat.c:74:24: note: in expansion of macro ‘td_list_first_entry’ 74 | current_search_space=td_list_first_entry(&list_search_space->list, alloc_data_t, list); | ^~~~~~~~~~~~~~~~~~~ fat_unformat.c: In function ‘fat_unformat_aux’: list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ list.h:498:9: note: in expansion of macro ‘td_list_entry’ 498 | td_list_entry((ptr)->prev, type, member) | ^~~~~~~~~~~~~ fat_unformat.c:244:24: note: in expansion of macro ‘td_list_last_entry’ 244 | current_search_space=td_list_last_entry(&list_search_space->list, alloc_data_t, list); | ^~~~~~~~~~~~~~~~~~ list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ list.h:486:9: note: in expansion of macro ‘td_list_entry’ 486 | td_list_entry((ptr)->next, type, member) | ^~~~~~~~~~~~~ fat_unformat.c:250:24: note: in expansion of macro ‘td_list_first_entry’ 250 | current_search_space=td_list_first_entry(&list_search_space->list, alloc_data_t, list); | ^~~~~~~~~~~~~~~~~~~ list.h:378:10: warning: cast increases required alignment of target type [-Wcast-align] 378 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ fat_unformat.c:277:43: note: in expansion of macro ‘td_list_entry_const’ 277 | const file_info_t *current_file=td_list_entry_const(file_walker, const file_info_t, list); | ^~~~~~~~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o pbanner.o pbanner.c In file included from pbanner.c:34: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o pblocksize.o pblocksize.c In file included from pblocksize.c:29: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o pdiskseln.o pdiskseln.c In file included from pdiskseln.c:46: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o pfree_whole.o pfree_whole.c In file included from pfree_whole.c:29: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o phbf.o phbf.c In file included from phbf.c:45: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from dir_common.h:30, from dir.h:27, from phbf.c:58: pnext.h: In function ‘get_next_header’: list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ pnext.h:46:27: note: in expansion of macro ‘td_list_entry’ 46 | *current_search_space=td_list_entry((*current_search_space)->list.next, alloc_data_t, list); | ^~~~~~~~~~~~~ pnext.h: In function ‘get_prev_header’: list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ pnext.h:101:27: note: in expansion of macro ‘td_list_entry’ 101 | *current_search_space=td_list_entry((*current_search_space)->list.prev, alloc_data_t, list); | ^~~~~~~~~~~~~ phbf.c: In function ‘next_file’: list.h:378:10: warning: cast increases required alignment of target type [-Wcast-align] 378 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ phbf.c:102:9: note: in expansion of macro ‘td_list_entry_const’ 102 | tmp=td_list_entry_const(tmp_walker, const alloc_data_t, list); | ^~~~~~~~~~~~~~~~~~~ phbf.c: In function ‘get_offset_next_file’: list.h:378:10: warning: cast increases required alignment of target type [-Wcast-align] 378 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ phbf.c:117:9: note: in expansion of macro ‘td_list_entry_const’ 117 | tmp=td_list_entry_const(tmp_walker, const alloc_data_t, list); | ^~~~~~~~~~~~~~~~~~~ phbf.c: In function ‘photorec_bf’: list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ phbf.c:154:28: note: in expansion of macro ‘td_list_entry’ 154 | current_search_space=td_list_entry(search_walker, alloc_data_t, list); | ^~~~~~~~~~~~~ list.h:378:10: warning: cast increases required alignment of target type [-Wcast-align] 378 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ phbf.c:180:42: note: in expansion of macro ‘td_list_entry_const’ 180 | const file_check_list_t *pos=td_list_entry_const(tmpl, const file_check_list_t, list); | ^~~~~~~~~~~~~~~~~~~ list.h:378:10: warning: cast increases required alignment of target type [-Wcast-align] 378 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ phbf.c:183:46: note: in expansion of macro ‘td_list_entry_const’ 183 | const file_check_t *file_check=td_list_entry_const(tmp, const file_check_t, list); | ^~~~~~~~~~~~~~~~~~~ phbf.c: In function ‘photorec_bf_frag’: list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ list.h:498:9: note: in expansion of macro ‘td_list_entry’ 498 | td_list_entry((ptr)->prev, type, member) | ^~~~~~~~~~~~~ phbf.c:596:35: note: in expansion of macro ‘td_list_last_entry’ 596 | const alloc_list_t *element=td_list_last_entry(&file_recovery->location.list, alloc_list_t, list); | ^~~~~~~~~~~~~~~~~~ list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ list.h:486:9: note: in expansion of macro ‘td_list_entry’ 486 | td_list_entry((ptr)->next, type, member) | ^~~~~~~~~~~~~ phbf.c:600:31: note: in expansion of macro ‘td_list_first_entry’ 600 | extractblock_search_space=td_list_first_entry(&list_search_space->list, alloc_data_t, list); | ^~~~~~~~~~~~~~~~~~~ list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ list.h:507:9: note: in expansion of macro ‘td_list_entry’ 507 | td_list_entry((pos)->member.next, typeof(*(pos)), member) | ^~~~~~~~~~~~~ phbf.c:605:33: note: in expansion of macro ‘td_list_next_entry’ 605 | extractblock_search_space=td_list_next_entry(extractblock_search_space, list); | ^~~~~~~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o phbs.o phbs.c In file included from phbs.c:41: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from phbs.c:46: pnext.h: In function ‘get_next_header’: list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ pnext.h:46:27: note: in expansion of macro ‘td_list_entry’ 46 | *current_search_space=td_list_entry((*current_search_space)->list.next, alloc_data_t, list); | ^~~~~~~~~~~~~ pnext.h: In function ‘get_prev_header’: list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ pnext.h:101:27: note: in expansion of macro ‘td_list_entry’ 101 | *current_search_space=td_list_entry((*current_search_space)->list.prev, alloc_data_t, list); | ^~~~~~~~~~~~~ phbs.c: In function ‘photorec_find_blocksize’: list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ list.h:486:9: note: in expansion of macro ‘td_list_entry’ 486 | td_list_entry((ptr)->next, type, member) | ^~~~~~~~~~~~~ phbs.c:101:24: note: in expansion of macro ‘td_list_first_entry’ 101 | current_search_space=td_list_first_entry(&list_search_space->list, alloc_data_t, list); | ^~~~~~~~~~~~~~~~~~~ list.h:378:10: warning: cast increases required alignment of target type [-Wcast-align] 378 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ phbs.c:127:40: note: in expansion of macro ‘td_list_entry_const’ 127 | const file_check_list_t *pos=td_list_entry_const(tmpl, const file_check_list_t, list); | ^~~~~~~~~~~~~~~~~~~ list.h:378:10: warning: cast increases required alignment of target type [-Wcast-align] 378 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ phbs.c:130:44: note: in expansion of macro ‘td_list_entry_const’ 130 | const file_check_t *file_check=td_list_entry_const(tmp, const file_check_t, list); | ^~~~~~~~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o phcli.o phcli.c In file included from phcli.c:37: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from filegen.h:31, from phcli.c:38: phcli.c: In function ‘spacerange_cmp’: list.h:378:10: warning: cast increases required alignment of target type [-Wcast-align] 378 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ phcli.c:56:31: note: in expansion of macro ‘td_list_entry_const’ 56 | const alloc_data_t *space_a=td_list_entry_const(a, const alloc_data_t, list); | ^~~~~~~~~~~~~~~~~~~ list.h:378:10: warning: cast increases required alignment of target type [-Wcast-align] 378 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ phcli.c:57:31: note: in expansion of macro ‘td_list_entry_const’ 57 | const alloc_data_t *space_b=td_list_entry_const(b, const alloc_data_t, list); | ^~~~~~~~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o phnc.o phnc.c In file included from phnc.c:40: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o phrecn.o phrecn.c In file included from phrecn.c:50: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from fat.h:29, from phrecn.c:64: fat_common.h:96:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 96 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat_common.h:106:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 106 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat_common.h:122:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 122 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from dir_common.h:30, from dir.h:27, from phrecn.c:63: pnext.h: In function ‘get_next_header’: list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ pnext.h:46:27: note: in expansion of macro ‘td_list_entry’ 46 | *current_search_space=td_list_entry((*current_search_space)->list.next, alloc_data_t, list); | ^~~~~~~~~~~~~ pnext.h: In function ‘get_prev_header’: list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ pnext.h:101:27: note: in expansion of macro ‘td_list_entry’ 101 | *current_search_space=td_list_entry((*current_search_space)->list.prev, alloc_data_t, list); | ^~~~~~~~~~~~~ phrecn.c: In function ‘gen_image’: list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ phrecn.c:209:26: note: in expansion of macro ‘td_list_entry’ 209 | current_search_space=td_list_entry(search_walker, alloc_data_t, list); | ^~~~~~~~~~~~~ phrecn.c: In function ‘photorec’: list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ list.h:486:9: note: in expansion of macro ‘td_list_entry’ 486 | td_list_entry((ptr)->next, type, member) | ^~~~~~~~~~~~~ phrecn.c:339:29: note: in expansion of macro ‘td_list_first_entry’ 339 | start_offset=(td_list_first_entry(&list_search_space->list, alloc_data_t, list))->start % params->blocksize; | ^~~~~~~~~~~~~~~~~~~ list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ phrecn.c:454:28: note: in expansion of macro ‘td_list_entry’ 454 | current_search_space=td_list_entry(search_walker, alloc_data_t, list); | ^~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o ppartseln.o ppartseln.c In file included from ppartseln.c:43: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o psearchn.o psearchn.c In file included from psearchn.c:55: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from fat.h:29, from psearchn.c:59: fat_common.h:96:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 96 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat_common.h:106:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 106 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat_common.h:122:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 122 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from dir_common.h:30, from dir.h:27, from psearchn.c:58: pnext.h: In function ‘get_next_header’: list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ pnext.h:46:27: note: in expansion of macro ‘td_list_entry’ 46 | *current_search_space=td_list_entry((*current_search_space)->list.next, alloc_data_t, list); | ^~~~~~~~~~~~~ pnext.h: In function ‘get_prev_header’: list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ pnext.h:101:27: note: in expansion of macro ‘td_list_entry’ 101 | *current_search_space=td_list_entry((*current_search_space)->list.prev, alloc_data_t, list); | ^~~~~~~~~~~~~ In file included from psearchn.c:69: psearch.h: In function ‘ind_block’: psearch.h:75:23: warning: cast increases required alignment of target type [-Wcast-align] 75 | const uint32_t *p32=(const uint32_t *)buffer; | ^ photorec_check_header.h: In function ‘photorec_check_header’: list.h:378:10: warning: cast increases required alignment of target type [-Wcast-align] 378 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ photorec_check_header.h:201:34: note: in expansion of macro ‘td_list_entry_const’ 201 | const file_check_list_t *pos=td_list_entry_const(tmpl, const file_check_list_t, list); | ^~~~~~~~~~~~~~~~~~~ list.h:378:10: warning: cast increases required alignment of target type [-Wcast-align] 378 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ photorec_check_header.h:204:38: note: in expansion of macro ‘td_list_entry_const’ 204 | const file_check_t *file_check=td_list_entry_const(tmp, const file_check_t, list); | ^~~~~~~~~~~~~~~~~~~ psearchn.c: In function ‘photorec_aux’: list.h:375:10: warning: cast increases required alignment of target type [-Wcast-align] 375 | ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ list.h:486:9: note: in expansion of macro ‘td_list_entry’ 486 | td_list_entry((ptr)->next, type, member) | ^~~~~~~~~~~~~ psearchn.c:122:24: note: in expansion of macro ‘td_list_first_entry’ 122 | current_search_space=td_list_first_entry(&list_search_space->list, alloc_data_t, list); | ^~~~~~~~~~~~~~~~~~~ riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o suspend_no.o suspend_no.c suspend_no.c: In function ‘suspend_memory’: suspend_no.c:17:34: warning: unused parameter ‘cinfo’ [-Wunused-parameter] 17 | void suspend_memory(j_common_ptr cinfo) { | ~~~~~~~~~~~~~^~~~~ suspend_no.c: In function ‘resume_memory’: suspend_no.c:20:32: warning: unused parameter ‘cinfo’ [-Wunused-parameter] 20 | int resume_memory(j_common_ptr cinfo) | ~~~~~~~~~~~~~^~~~~ riscv64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -Wl,-z,relro -o photorec photorec.o phcfg.o addpart.o chgarch.o chgtype.o dir.o exfatp.o ext2grp.o ext2_dir.o ext2p.o fat_dir.o fatp.o file_found.o geometry.o ntfs_dir.o ntfsp.o pdisksel.o poptions.o sessionp.o dfxml.o partgptro.o filegen.o file_list.o file_1cd.o file_3dm.o file_3ds.o file_7z.o file_DB.o file_a.o file_ab.o file_abr.o file_acb.o file_ace.o file_ado.o file_afdesign.o file_ahn.o file_aif.o file_all.o file_als.o file_amd.o file_amr.o file_apa.o file_ape.o file_apple.o file_ari.o file_arj.o file_asf.o file_asl.o file_asm.o file_atd.o file_au.o file_axp.o file_axx.o file_bac.o file_bdm.o file_berkeley.o file_bfa.o file_bim.o file_bin.o file_binvox.o file_bkf.o file_bld.o file_bmp.o file_bpg.o file_bvr.o file_bz2.o file_c4d.o file_cab.o file_caf.o file_cam.o file_catdrawing.o file_cdt.o file_che.o file_chm.o file_class.o file_clip.o file_cm.o file_compress.o file_cow.o file_cpi.o file_crw.o file_csh.o file_ctg.o file_cwk.o file_d2s.o file_dad.o file_dar.o file_dat.o file_dbf.o file_dbn.o file_dcm.o file_ddf.o file_dex.o file_dim.o file_dir.o file_djv.o file_dmp.o file_doc.o file_dovecot.o file_dpx.o file_drw.o file_drw2.o file_ds2.o file_ds_store.o file_dsc.o file_dss.o file_dst.o file_dta.o file_dump.o file_dv.o file_dvi.o file_dvr.o file_dwg.o file_dxf.o file_e01.o file_edb.o file_ecryptfs.o file_elf.o file_emf.o file_ess.o file_evt.o file_evtx.o file_exe.o file_exr.o file_exs.o file_ext.o file_ext2.o file_fat.o file_fbf.o file_fbk.o file_fbx.o file_fcp.o file_fcs.o file_fdb.o file_fds.o file_fh10.o file_fh5.o file_filevault.o file_fits.o file_fit.o file_flac.o file_flp.o file_flv.o file_fm.o file_fob.o file_fos.o file_fp5.o file_fp7.o file_freeway.o file_frm.o file_fs.o file_fwd.o file_fxp.o file_gam.o file_gct.o file_gho.o file_gi.o file_gif.o file_gm6.o file_gp2.o file_gp5.o file_gpg.o file_gpx.o file_gsm.o file_gz.o file_hdf.o file_hdf5.o file_hdr.o file_hds.o file_hfsp.o file_hm.o file_hr9.o file_http.o file_ibd.o file_icc.o file_icns.o file_ico.o file_ifo.o file_idx.o file_imb.o file_indd.o file_info.o file_iso.o file_it.o file_itu.o file_jks.o file_jpg.o file_jsonlz4.o file_kdb.o file_kdbx.o file_key.o file_ldf.o file_lit.o file_lnk.o file_logic.o file_lso.o file_luks.o file_lxo.o file_lz.o file_lzh.o file_lzo.o file_m2ts.o file_mat.o file_max.o file_mb.o file_mcd.o file_mdb.o file_mdf.o file_mdp.o file_mfa.o file_mfg.o file_mft.o file_mid.o file_mig.o file_mk5.o file_mkv.o file_mlv.o file_mobi.o file_mov.o file_mp3.o file_mpg.o file_mpl.o file_mrw.o file_msa.o file_mus.o file_mxf.o file_myo.o file_mysql.o file_nd2.o file_nds.o file_nes.o file_njx.o file_nk2.o file_nsf.o file_oci.o file_ogg.o file_one.o file_orf.o file_pa.o file_paf.o file_pap.o file_par2.o file_pcap.o file_pcb.o file_pct.o file_pcx.o file_pdb.o file_pdf.o file_pds.o file_pf.o file_pfx.o file_pgdump.o file_plist.o file_plr.o file_plt.o file_png.o file_pnm.o file_prc.o file_prd.o file_prt.o file_ps.o file_psb.o file_psd.o file_psf.o file_psp.o file_pst.o file_ptb.o file_ptf.o file_pyc.o file_pzf.o file_pzh.o file_qbb.o file_qdf.o file_qkt.o file_qxd.o file_r3d.o file_ra.o file_raf.o file_rar.o file_raw.o file_rdc.o file_reg.o file_res.o file_rfp.o file_riff.o file_rlv.o file_rm.o file_rns.o file_rpm.o file_rw2.o file_rx2.o file_save.o file_sdsk.o file_sdw.o file_ses.o file_sgcta.o file_shn.o file_shp.o file_sib.o file_sig.o file_sit.o file_skd.o file_skp.o file_snag.o file_sp3.o file_spe.o file_spf.o file_spss.o file_sql.o file_sqm.o file_steuer2014.o file_stl.o file_stu.o file_studio.o file_swf.o file_tar.o file_tax.o file_tg.o file_tib.o file_tiff.o file_tiff_be.o file_tiff_le.o file_tivo.o file_torrent.o file_tph.o file_tpl.o file_ttf.o file_txt.o file_tz.o file_v2i.o file_vault.o file_vdi.o file_vdj.o file_veg.o file_vfb.o file_vib.o file_vmdk.o file_vmg.o file_wad.o file_wallet.o file_wdp.o file_wee.o file_wim.o file_win.o file_wks.o file_wld.o file_wmf.o file_wnk.o file_woff.o file_wpb.o file_wpd.o file_wtv.o file_wv.o file_x3f.o file_x3i.o file_x4a.o file_xar.o file_xcf.o file_xfi.o file_xfs.o file_xm.o file_xml.o file_xsv.o file_xpt.o file_xv.o file_xz.o file_z2d.o file_zcode.o file_zip.o file_zpr.o utfsize.o common.o crc.o ext2_common.o fat_common.o log.o misc.o setdate.o apfs_common.o autoset.o ewf.o fnctdsk.o hdaccess.o hdcache.o hdwin32.o hidden.o hpa_dco.o intrf.o iso.o list_sort.o log_part.o msdos.o parti386.o partgpt.o parthumax.o partmac.o partsun.o partnone.o partxbox.o ntfs_io.o ntfs_utl.o partauto.o sudo.o unicode.o win32.o analyse.o apfs.o bfs.o bsd.o btrfs.o cramfs.o exfat.o ext2.o fat.o fatx.o f2fs.o jfs.o gfs2.o hfs.o hfsp.o hpfs.o luks.o lvm.o md.o netware.o ntfs.o refs.o rfs.o savehdr.o sun.o swap.o sysv.o ufs.o vmfs.o wbfs.o xfs.o zfs.o phmain.o addpartn.o askloc.o chgarchn.o chgtypen.o fat_cluster.o fat_unformat.o geometryn.o hiddenn.o intrfn.o nodisk.o parti386n.o partgptn.o partmacn.o partsunn.o partxboxn.o pbanner.o pblocksize.o pdiskseln.o pfree_whole.o phbf.o phbs.o phcli.o phnc.o phrecn.o ppartseln.o psearchn.o suspend_no.o -lntfs-3g -lext2fs -lcom_err -lncursesw -ltinfo -ljpeg -lz riscv64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/ncursesw -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -c -o fidentify.o fidentify.c In file included from fidentify.c:52: common.h:42:1: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from filegen.h:31, from fidentify.c:53: fidentify.c: In function ‘file_identify’: list.h:378:10: warning: cast increases required alignment of target type [-Wcast-align] 378 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ fidentify.c:269:38: note: in expansion of macro ‘td_list_entry_const’ 269 | const file_check_list_t *pos=td_list_entry_const(tmpl, const file_check_list_t, list); | ^~~~~~~~~~~~~~~~~~~ list.h:378:10: warning: cast increases required alignment of target type [-Wcast-align] 378 | ((type *)((const char *)(ptr)-(size_t)(&((type *)0)->member))) | ^ fidentify.c:281:42: note: in expansion of macro ‘td_list_entry_const’ 281 | const file_check_t *file_check=td_list_entry_const(tmp, const file_check_t, list); | ^~~~~~~~~~~~~~~~~~~ fidentify.c:331:42: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘off_t’ {aka ‘long int’} [-Wsign-compare] 331 | if(file_recovery_new.file_size > file_size) | ^ riscv64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wtrampolines -Wunreachable-code -Wvla -fstack-protector-strong -Wl,-z,relro -o fidentify filegen.o file_list.o file_1cd.o file_3dm.o file_3ds.o file_7z.o file_DB.o file_a.o file_ab.o file_abr.o file_acb.o file_ace.o file_ado.o file_afdesign.o file_ahn.o file_aif.o file_all.o file_als.o file_amd.o file_amr.o file_apa.o file_ape.o file_apple.o file_ari.o file_arj.o file_asf.o file_asl.o file_asm.o file_atd.o file_au.o file_axp.o file_axx.o file_bac.o file_bdm.o file_berkeley.o file_bfa.o file_bim.o file_bin.o file_binvox.o file_bkf.o file_bld.o file_bmp.o file_bpg.o file_bvr.o file_bz2.o file_c4d.o file_cab.o file_caf.o file_cam.o file_catdrawing.o file_cdt.o file_che.o file_chm.o file_class.o file_clip.o file_cm.o file_compress.o file_cow.o file_cpi.o file_crw.o file_csh.o file_ctg.o file_cwk.o file_d2s.o file_dad.o file_dar.o file_dat.o file_dbf.o file_dbn.o file_dcm.o file_ddf.o file_dex.o file_dim.o file_dir.o file_djv.o file_dmp.o file_doc.o file_dovecot.o file_dpx.o file_drw.o file_drw2.o file_ds2.o file_ds_store.o file_dsc.o file_dss.o file_dst.o file_dta.o file_dump.o file_dv.o file_dvi.o file_dvr.o file_dwg.o file_dxf.o file_e01.o file_edb.o file_ecryptfs.o file_elf.o file_emf.o file_ess.o file_evt.o file_evtx.o file_exe.o file_exr.o file_exs.o file_ext.o file_ext2.o file_fat.o file_fbf.o file_fbk.o file_fbx.o file_fcp.o file_fcs.o file_fdb.o file_fds.o file_fh10.o file_fh5.o file_filevault.o file_fits.o file_fit.o file_flac.o file_flp.o file_flv.o file_fm.o file_fob.o file_fos.o file_fp5.o file_fp7.o file_freeway.o file_frm.o file_fs.o file_fwd.o file_fxp.o file_gam.o file_gct.o file_gho.o file_gi.o file_gif.o file_gm6.o file_gp2.o file_gp5.o file_gpg.o file_gpx.o file_gsm.o file_gz.o file_hdf.o file_hdf5.o file_hdr.o file_hds.o file_hfsp.o file_hm.o file_hr9.o file_http.o file_ibd.o file_icc.o file_icns.o file_ico.o file_ifo.o file_idx.o file_imb.o file_indd.o file_info.o file_iso.o file_it.o file_itu.o file_jks.o file_jpg.o file_jsonlz4.o file_kdb.o file_kdbx.o file_key.o file_ldf.o file_lit.o file_lnk.o file_logic.o file_lso.o file_luks.o file_lxo.o file_lz.o file_lzh.o file_lzo.o file_m2ts.o file_mat.o file_max.o file_mb.o file_mcd.o file_mdb.o file_mdf.o file_mdp.o file_mfa.o file_mfg.o file_mft.o file_mid.o file_mig.o file_mk5.o file_mkv.o file_mlv.o file_mobi.o file_mov.o file_mp3.o file_mpg.o file_mpl.o file_mrw.o file_msa.o file_mus.o file_mxf.o file_myo.o file_mysql.o file_nd2.o file_nds.o file_nes.o file_njx.o file_nk2.o file_nsf.o file_oci.o file_ogg.o file_one.o file_orf.o file_pa.o file_paf.o file_pap.o file_par2.o file_pcap.o file_pcb.o file_pct.o file_pcx.o file_pdb.o file_pdf.o file_pds.o file_pf.o file_pfx.o file_pgdump.o file_plist.o file_plr.o file_plt.o file_png.o file_pnm.o file_prc.o file_prd.o file_prt.o file_ps.o file_psb.o file_psd.o file_psf.o file_psp.o file_pst.o file_ptb.o file_ptf.o file_pyc.o file_pzf.o file_pzh.o file_qbb.o file_qdf.o file_qkt.o file_qxd.o file_r3d.o file_ra.o file_raf.o file_rar.o file_raw.o file_rdc.o file_reg.o file_res.o file_rfp.o file_riff.o file_rlv.o file_rm.o file_rns.o file_rpm.o file_rw2.o file_rx2.o file_save.o file_sdsk.o file_sdw.o file_ses.o file_sgcta.o file_shn.o file_shp.o file_sib.o file_sig.o file_sit.o file_skd.o file_skp.o file_snag.o file_sp3.o file_spe.o file_spf.o file_spss.o file_sql.o file_sqm.o file_steuer2014.o file_stl.o file_stu.o file_studio.o file_swf.o file_tar.o file_tax.o file_tg.o file_tib.o file_tiff.o file_tiff_be.o file_tiff_le.o file_tivo.o file_torrent.o file_tph.o file_tpl.o file_ttf.o file_txt.o file_tz.o file_v2i.o file_vault.o file_vdi.o file_vdj.o file_veg.o file_vfb.o file_vib.o file_vmdk.o file_vmg.o file_wad.o file_wallet.o file_wdp.o file_wee.o file_wim.o file_win.o file_wks.o file_wld.o file_wmf.o file_wnk.o file_woff.o file_wpb.o file_wpd.o file_wtv.o file_wv.o file_x3f.o file_x3i.o file_x4a.o file_xar.o file_xcf.o file_xfi.o file_xfs.o file_xm.o file_xml.o file_xsv.o file_xpt.o file_xv.o file_xz.o file_z2d.o file_zcode.o file_zip.o file_zpr.o utfsize.o common.o crc.o ext2_common.o fat_common.o log.o misc.o setdate.o suspend_no.o fidentify.o -ljpeg -lz make[3]: Leaving directory '/<>/src' make[3]: Entering directory '/<>' make[3]: Leaving directory '/<>' make[2]: Leaving directory '/<>' make[1]: Leaving directory '/<>' dh_auto_test -a dh_auto_test: warning: Compatibility levels before 10 are deprecated (level 9 in use) fakeroot debian/rules binary-arch dh binary-arch --with autoreconf dh: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_auto_test -a dh_auto_test: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_testroot -a dh_prep -a debian/rules override_dh_auto_install make[1]: Entering directory '/<>' dh_auto_install --destdir=debian/tmp dh_auto_install: warning: Compatibility levels before 10 are deprecated (level 9 in use) make -j1 install DESTDIR=/<>/debian/tmp AM_UPDATE_INFO_DIR=no make[2]: Entering directory '/<>' Making install in icons make[3]: Entering directory '/<>/icons' make[4]: Entering directory '/<>/icons' make[4]: Nothing to be done for 'install-exec-am'. make install-data-hook make[5]: Entering directory '/<>/icons' make[5]: Nothing to be done for 'install-data-hook'. make[5]: Leaving directory '/<>/icons' make[4]: Leaving directory '/<>/icons' make[3]: Leaving directory '/<>/icons' Making install in man make[3]: Entering directory '/<>/man' Making install in zh_CN make[4]: Entering directory '/<>/man/zh_CN' make[5]: Entering directory '/<>/man/zh_CN' make[5]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/<>/debian/tmp/usr/share/man/zh_CN/man8' /usr/bin/install -c -m 644 testdisk.8 photorec.8 fidentify.8 '/<>/debian/tmp/usr/share/man/zh_CN/man8' make[5]: Leaving directory '/<>/man/zh_CN' make[4]: Leaving directory '/<>/man/zh_CN' make[4]: Entering directory '/<>/man' make[5]: Entering directory '/<>/man' make[5]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/<>/debian/tmp/usr/share/man/man8' /usr/bin/install -c -m 644 testdisk.8 photorec.8 fidentify.8 '/<>/debian/tmp/usr/share/man/man8' make[5]: Leaving directory '/<>/man' make[4]: Leaving directory '/<>/man' make[3]: Leaving directory '/<>/man' Making install in src make[3]: Entering directory '/<>/src' make[4]: Entering directory '/<>/src' /usr/bin/mkdir -p '/<>/debian/tmp/usr/bin' /usr/bin/install -c testdisk photorec fidentify '/<>/debian/tmp/usr/bin' make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/<>/src' make[3]: Leaving directory '/<>/src' make[3]: Entering directory '/<>' make[4]: Entering directory '/<>' make[4]: Nothing to be done for 'install-exec-am'. make install-data-hook make[5]: Entering directory '/<>' /bin/bash /<>/config/install-sh -d /<>/debian/tmp/usr/share/doc/testdisk /usr/bin/install -c -m 644 ./AUTHORS ./ChangeLog ./NEWS ./README.md ./THANKS ./documentation.html /<>/debian/tmp/usr/share/doc/testdisk make[5]: Leaving directory '/<>' make[4]: Leaving directory '/<>' make[3]: Leaving directory '/<>' make[2]: Leaving directory '/<>' rm -f /<>/debian/tmp/usr/share/doc/testdisk/ChangeLog rm -f /<>/debian/tmp/usr/share/doc/testdisk/COPYING rm -f /<>/debian/tmp/usr/share/doc/testdisk/INSTALL make[1]: Leaving directory '/<>' dh_install -a dh_install: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_installdocs -a dh_installdocs: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_installchangelogs -a dh_installchangelogs: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_installman -a dh_installman: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_perl -a dh_link -a dh_link: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_strip_nondeterminism -a dh_compress -a dh_compress: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_fixperms -a dh_missing -a dh_missing: warning: Compatibility levels before 10 are deprecated (level 9 in use) debian/rules override_dh_strip make[1]: Entering directory '/<>' dh_strip --dbgsym-migration='testdisk-dbg (<< 7.1-5+nmu1~)' dh_strip: warning: Compatibility levels before 10 are deprecated (level 9 in use) make[1]: Leaving directory '/<>' dh_makeshlibs -a dh_makeshlibs: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_shlibdeps -a dh_shlibdeps: warning: Compatibility levels before 10 are deprecated (level 9 in use) dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libc6 from: /lib/ld-linux-riscv64-lp64d.so.1 dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libc6 to: /lib/ld-linux-riscv64-lp64d.so.1.usr-is-merged dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libext2fs2t64 from: /lib/riscv64-linux-gnu/libext2fs.so.2 dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libext2fs2t64 to: /lib/riscv64-linux-gnu/libext2fs.so.2.usr-is-merged dh_installdeb -a dh_installdeb: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_gencontrol -a dh_gencontrol: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_md5sums -a dh_builddeb -a dpkg-deb: building package 'testdisk' in '../testdisk_7.2-0.1_riscv64.deb'. dpkg-deb: building package 'testdisk-dbgsym' in '../testdisk-dbgsym_7.2-0.1_riscv64.deb'. dpkg-genbuildinfo --build=any -O../testdisk_7.2-0.1_riscv64.buildinfo dpkg-genchanges --build=any -O../testdisk_7.2-0.1_riscv64.changes dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) -------------------------------------------------------------------------------- Build finished at 2024-10-17T13:30:13Z Finished -------- I: Built successfully +------------------------------------------------------------------------------+ | Changes | +------------------------------------------------------------------------------+ testdisk_7.2-0.1_riscv64.changes: --------------------------------- Format: 1.8 Date: Wed, 04 Sep 2024 11:47:34 +0200 Source: testdisk Binary: testdisk testdisk-dbgsym Built-For-Profiles: cross nocheck Architecture: riscv64 Version: 7.2-0.1 Distribution: unstable Urgency: medium Maintainer: Jean-Michel Kelbert Changed-By: Chris Hofstaedtler Description: testdisk - Partition scanner and disk recovery tool, and PhotoRec file recov Closes: 1075563 Changes: testdisk (7.2-0.1) unstable; urgency=medium . * Non-maintainer upload. * New upstream release (Closes: #1075563), drop upstream patch. * Replace obsoleted Build-Depends: e2fslibs-dev (>= 1.35-3) => libext2fs-dev libncurses5-dev => libncurses-dev libncursesw5-dev => libncurses-dev pkg-config => pkgconf Checksums-Sha1: 342130e7d9a845d64e8ed9f4b930156f494d959d 2135856 testdisk-dbgsym_7.2-0.1_riscv64.deb bc318650b426a47306bd6484bd1ec68d13d63e58 5834 testdisk_7.2-0.1_riscv64.buildinfo 81951e6b9af79d7b4e35bd40c529d378d92240e0 466116 testdisk_7.2-0.1_riscv64.deb Checksums-Sha256: 0ffd96d9028e0776964dfb1fbec2714b9c389b2576969f94f3793cfb5cbe5e4b 2135856 testdisk-dbgsym_7.2-0.1_riscv64.deb a9b981cef6c401b683990a1ca1903ce038316a85e11c46471bcef9495b4d4343 5834 testdisk_7.2-0.1_riscv64.buildinfo 41ba175c03f55eece55a3a4697a505d9b24ee99f11bbb0de75b33d7f20ac8f09 466116 testdisk_7.2-0.1_riscv64.deb Files: 685f3b0777ba0e070b127bfecd786589 2135856 debug optional testdisk-dbgsym_7.2-0.1_riscv64.deb a2a9c150a0b68993cd1e9757f9b04647 5834 admin optional testdisk_7.2-0.1_riscv64.buildinfo 8d0bda3ddb6ce3e3c0ae6cd8219f6810 466116 admin optional testdisk_7.2-0.1_riscv64.deb +------------------------------------------------------------------------------+ | Buildinfo | +------------------------------------------------------------------------------+ Format: 1.0 Source: testdisk Binary: testdisk testdisk-dbgsym Architecture: riscv64 Version: 7.2-0.1 Checksums-Md5: 685f3b0777ba0e070b127bfecd786589 2135856 testdisk-dbgsym_7.2-0.1_riscv64.deb 8d0bda3ddb6ce3e3c0ae6cd8219f6810 466116 testdisk_7.2-0.1_riscv64.deb Checksums-Sha1: 342130e7d9a845d64e8ed9f4b930156f494d959d 2135856 testdisk-dbgsym_7.2-0.1_riscv64.deb 81951e6b9af79d7b4e35bd40c529d378d92240e0 466116 testdisk_7.2-0.1_riscv64.deb Checksums-Sha256: 0ffd96d9028e0776964dfb1fbec2714b9c389b2576969f94f3793cfb5cbe5e4b 2135856 testdisk-dbgsym_7.2-0.1_riscv64.deb 41ba175c03f55eece55a3a4697a505d9b24ee99f11bbb0de75b33d7f20ac8f09 466116 testdisk_7.2-0.1_riscv64.deb Build-Origin: Debian Build-Architecture: amd64 Build-Date: Thu, 17 Oct 2024 13:30:13 +0000 Build-Path: /<> Build-Tainted-By: merged-usr-via-aliased-dirs Installed-Build-Depends: adduser (= 3.137), autoconf (= 2.72-3), automake (= 1:1.16.5-1.3), autopoint (= 0.22.5-2), autotools-dev (= 20220109.1), base-files (= 13.5), base-passwd (= 3.6.4), bash (= 5.2.32-1+b1), binutils (= 2.43.1-5), binutils-common (= 2.43.1-5), binutils-x86-64-linux-gnu (= 2.43.1-5), bsdextrautils (= 2.40.2-9), bsdutils (= 1:2.40.2-9), build-essential (= 12.12), bzip2 (= 1.0.8-6), comerr-dev (= 2.1-1.47.1-1), coreutils (= 9.4-3.1), cpp (= 4:14.2.0-1), cpp-14 (= 14.2.0-6), cpp-14-x86-64-linux-gnu (= 14.2.0-6), cpp-x86-64-linux-gnu (= 4:14.2.0-1), dash (= 0.5.12-9), debconf (= 1.5.87), debhelper (= 13.20), debianutils (= 5.20), dh-autoreconf (= 20), dh-strip-nondeterminism (= 1.14.0-1), diffutils (= 1:3.10-1), dpkg (= 1.22.11), dpkg-dev (= 1.22.11), dwz (= 0.15-1+b1), file (= 1:5.45-3), findutils (= 4.10.0-3), fuse3 (= 3.14.0-10), g++ (= 4:14.2.0-1), g++-14 (= 14.2.0-6), g++-14-x86-64-linux-gnu (= 14.2.0-6), g++-x86-64-linux-gnu (= 4:14.2.0-1), gcc (= 4:14.2.0-1), gcc-14 (= 14.2.0-6), gcc-14-base (= 14.2.0-6), gcc-14-x86-64-linux-gnu (= 14.2.0-6), gcc-x86-64-linux-gnu (= 4:14.2.0-1), gettext (= 0.22.5-2), gettext-base (= 0.22.5-2), grep (= 3.11-4), groff-base (= 1.23.0-5), gzip (= 1.12-1.1), hostname (= 3.25), init-system-helpers (= 1.67), intltool-debian (= 0.35.0+20060710.6), libacl1 (= 2.3.2-2), libarchive-zip-perl (= 1.68-1), libasan8 (= 14.2.0-6), libatomic1 (= 14.2.0-6), libattr1 (= 1:2.5.2-2), libaudit-common (= 1:4.0.1-1), libaudit1 (= 1:4.0.1-1), libbinutils (= 2.43.1-5), libblkid1 (= 2.40.2-9), libbsd0 (= 0.12.2-2), libbz2-1.0 (= 1.0.8-6), libc-bin (= 2.40-3), libc-dev-bin (= 2.40-3), libc6 (= 2.40-3), libc6-dev (= 2.40-3), libcap-ng0 (= 0.8.5-2), libcap2 (= 1:2.66-5), libcc1-0 (= 14.2.0-6), libcom-err2 (= 1.47.1-1), libcrypt-dev (= 1:4.4.36-5), libcrypt1 (= 1:4.4.36-5), libctf-nobfd0 (= 2.43.1-5), libctf0 (= 2.43.1-5), libdb5.3t64 (= 5.3.28+dfsg2-9), libdebconfclient0 (= 0.272), libdebhelper-perl (= 13.20), libdpkg-perl (= 1.22.11), libelf1t64 (= 0.191-2), libext2fs-dev (= 1.47.1-1), libext2fs2t64 (= 1.47.1-1), libffi8 (= 3.4.6-1), libfile-stripnondeterminism-perl (= 1.14.0-1), libfuse3-3 (= 3.14.0-10), libgcc-14-dev (= 14.2.0-6), libgcc-s1 (= 14.2.0-6), libgcrypt20 (= 1.11.0-6), libgdbm-compat4t64 (= 1.24-2), libgdbm6t64 (= 1.24-2), libgmp10 (= 2:6.3.0+dfsg-2+b1), libgnutls30t64 (= 3.8.6-2), libgomp1 (= 14.2.0-6), libgpg-error0 (= 1.50-4), libgprofng0 (= 2.43.1-5), libhogweed6t64 (= 3.10-1), libhwasan0 (= 14.2.0-6), libicu72 (= 72.1-5), libidn2-0 (= 2.3.7-2), libisl23 (= 0.27-1), libitm1 (= 14.2.0-6), libjansson4 (= 2.14-2+b2), libjpeg-dev (= 1:2.1.5-3), libjpeg62-turbo (= 1:2.1.5-3), libjpeg62-turbo-dev (= 1:2.1.5-3), liblsan0 (= 14.2.0-6), liblzma5 (= 5.6.2-2), libmagic-mgc (= 1:5.45-3), libmagic1t64 (= 1:5.45-3), libmd0 (= 1.1.0-2), libmount1 (= 2.40.2-9), libmpc3 (= 1.3.1-1+b2), libmpfr6 (= 4.2.1-1+b1), libncurses-dev (= 6.5-2), libncurses6 (= 6.5-2), libncursesw6 (= 6.5-2), libnettle8t64 (= 3.10-1), libntfs-3g89t64 (= 1:2022.10.3-5), libp11-kit0 (= 0.25.5-2), libpam-modules (= 1.5.3-7), libpam-modules-bin (= 1.5.3-7), libpam-runtime (= 1.5.3-7), libpam0g (= 1.5.3-7), libpcre2-8-0 (= 10.42-4+b1), libperl5.40 (= 5.40.0-6), libpipeline1 (= 1.5.8-1), libpkgconf3 (= 1.8.1-3), libquadmath0 (= 14.2.0-6), libseccomp2 (= 2.5.5-1+b1), libselinux1 (= 3.7-3), libsemanage-common (= 3.7-2), libsemanage2 (= 3.7-2), libsepol2 (= 3.7-1), libsframe1 (= 2.43.1-5), libsmartcols1 (= 2.40.2-9), libssl3t64 (= 3.3.2-1), libstdc++-14-dev (= 14.2.0-6), libstdc++6 (= 14.2.0-6), libsystemd0 (= 256.7-1), libtasn1-6 (= 4.19.0-3+b2), libtinfo6 (= 6.5-2), libtool (= 2.4.7-7), libtsan2 (= 14.2.0-6), libubsan1 (= 14.2.0-6), libuchardet0 (= 0.0.8-1+b1), libudev1 (= 256.7-1), libunistring5 (= 1.2-1), libuuid1 (= 2.40.2-9), libxml2 (= 2.12.7+dfsg+really2.9.14-0.1), libzstd1 (= 1.5.6+dfsg-1), linux-libc-dev (= 6.11.2-1), login.defs (= 1:4.16.0-4), m4 (= 1.4.19-4), make (= 4.3-4.1), man-db (= 2.13.0-1), mawk (= 1.3.4.20240905-1), mount (= 2.40.2-9), ncurses-base (= 6.5-2), ncurses-bin (= 6.5-2), ntfs-3g (= 1:2022.10.3-5), ntfs-3g-dev (= 1:2022.10.3-5), openssl-provider-legacy (= 3.3.2-1), passwd (= 1:4.16.0-4), patch (= 2.7.6-7), perl (= 5.40.0-6), perl-base (= 5.40.0-6), perl-modules-5.40 (= 5.40.0-6), pkgconf (= 1.8.1-3), pkgconf-bin (= 1.8.1-3), po-debconf (= 1.0.21+nmu1), rpcsvc-proto (= 1.4.3-1), sed (= 4.9-2), sensible-utils (= 0.0.24), sysvinit-utils (= 3.10-3), tar (= 1.35+dfsg-3), util-linux (= 2.40.2-9), uuid-dev (= 2.40.2-9), xz-utils (= 5.6.2-2), zlib1g (= 1:1.3.dfsg+really1.3.1-1), zlib1g-dev (= 1:1.3.dfsg+really1.3.1-1) Environment: DEB_BUILD_OPTIONS="nocheck parallel=1" DEB_BUILD_PROFILES="cross nocheck" LANG="C.UTF-8" LC_COLLATE="C.UTF-8" LC_CTYPE="C.UTF-8" SOURCE_DATE_EPOCH="1725443254" +------------------------------------------------------------------------------+ | Package contents | +------------------------------------------------------------------------------+ testdisk-dbgsym_7.2-0.1_riscv64.deb ----------------------------------- new Debian package, version 2.0. size 2135856 bytes: control archive=664 bytes. 505 bytes, 14 lines control 318 bytes, 3 lines md5sums Package: testdisk-dbgsym Source: testdisk Version: 7.2-0.1 Auto-Built-Package: debug-symbols Architecture: riscv64 Maintainer: Jean-Michel Kelbert Installed-Size: 2365 Depends: testdisk (= 7.2-0.1) Breaks: testdisk-dbg (<< 7.1-5+nmu1~) Replaces: testdisk-dbg (<< 7.1-5+nmu1~) Section: debug Priority: optional Description: debug symbols for testdisk Build-Ids: 24bd8aa86b508cfc8c793e85d8c1937e76f8f01c 8b605457678bb19dd848b39325998c3bd648eb50 cd6d2b69391eab7db43bf2af7884c1daeacb6b96 drwxr-xr-x root/root 0 2024-09-04 09:47 ./ drwxr-xr-x root/root 0 2024-09-04 09:47 ./usr/ drwxr-xr-x root/root 0 2024-09-04 09:47 ./usr/lib/ drwxr-xr-x root/root 0 2024-09-04 09:47 ./usr/lib/debug/ drwxr-xr-x root/root 0 2024-09-04 09:47 ./usr/lib/debug/.build-id/ drwxr-xr-x root/root 0 2024-09-04 09:47 ./usr/lib/debug/.build-id/24/ -rw-r--r-- root/root 1142888 2024-09-04 09:47 ./usr/lib/debug/.build-id/24/bd8aa86b508cfc8c793e85d8c1937e76f8f01c.debug drwxr-xr-x root/root 0 2024-09-04 09:47 ./usr/lib/debug/.build-id/8b/ -rw-r--r-- root/root 649608 2024-09-04 09:47 ./usr/lib/debug/.build-id/8b/605457678bb19dd848b39325998c3bd648eb50.debug drwxr-xr-x root/root 0 2024-09-04 09:47 ./usr/lib/debug/.build-id/cd/ -rw-r--r-- root/root 614544 2024-09-04 09:47 ./usr/lib/debug/.build-id/cd/6d2b69391eab7db43bf2af7884c1daeacb6b96.debug drwxr-xr-x root/root 0 2024-09-04 09:47 ./usr/share/ drwxr-xr-x root/root 0 2024-09-04 09:47 ./usr/share/doc/ lrwxrwxrwx root/root 0 2024-09-04 09:47 ./usr/share/doc/testdisk-dbgsym -> testdisk testdisk_7.2-0.1_riscv64.deb ---------------------------- new Debian package, version 2.0. size 466116 bytes: control archive=1740 bytes. 2212 bytes, 63 lines control 702 bytes, 11 lines md5sums Package: testdisk Version: 7.2-0.1 Architecture: riscv64 Maintainer: Jean-Michel Kelbert Installed-Size: 1393 Depends: libc6 (>= 2.38), libext2fs2t64 (>= 1.41.0), libjpeg62-turbo (>= 1.3.1), libncursesw6 (>= 6), libntfs-3g89t64, libtinfo6 (>= 6), zlib1g (>= 1:1.1.4), ntfs-3g Section: admin Priority: optional Description: Partition scanner and disk recovery tool, and PhotoRec file recovery tool TestDisk checks the partition and boot sectors of your disks. It is very useful in forensics, recovering lost partitions. It works with : * DOS/Windows FAT12, FAT16 and FAT32 * NTFS ( Windows NT/2K/XP ) * Linux Ext2 and Ext3 * BeFS ( BeOS ) * BSD disklabel ( FreeBSD/OpenBSD/NetBSD ) * CramFS (Compressed File System) * HFS and HFS+, Hierarchical File System * JFS, IBM's Journaled File System * Linux Raid * Linux Swap (versions 1 and 2) * LVM and LVM2, Linux Logical Volume Manager * Netware NSS * ReiserFS 3.5 and 3.6 * Sun Solaris i386 disklabel * UFS and UFS2 (Sun/BSD/...) * XFS, SGI's Journaled File System . PhotoRec is file data recovery software designed to recover lost pictures from digital camera memory or even Hard Disks. It has been extended to search also for non audio/video headers. It searches for following files and is able to undelete them: * Sun/NeXT audio data (.au) * RIFF audio/video (.avi/.wav) * BMP bitmap (.bmp) * bzip2 compressed data (.bz2) * Source code written in C (.c) * Canon Raw picture (.crw) * Canon catalog (.ctg) * FAT subdirectory * Microsoft Office Document (.doc) * Nikon dsc (.dsc) * HTML page (.html) * JPEG picture (.jpg) * MOV video (.mov) * MP3 audio (MPEG ADTS, layer III, v1) (.mp3) * Moving Picture Experts Group video (.mpg) * Minolta Raw picture (.mrw) * Olympus Raw Format picture (.orf) * Portable Document Format (.pdf) * Perl script (.pl) * Portable Network Graphics (.png) * Raw Fujifilm picture (.raf) * Contax picture (.raw) * Rollei picture (.rdc) * Rich Text Format (.rtf) * Shell script (.sh) * Tar archive (.tar ) * Tag Image File Format (.tiff) * Microsoft ASF (.wma) * Sigma/Foveon X3 raw picture (.x3f) * zip archive (.zip) drwxr-xr-x root/root 0 2024-09-04 09:47 ./ drwxr-xr-x root/root 0 2024-09-04 09:47 ./usr/ drwxr-xr-x root/root 0 2024-09-04 09:47 ./usr/bin/ -rwxr-xr-x root/root 344688 2024-09-04 09:47 ./usr/bin/fidentify -rwxr-xr-x root/root 613888 2024-09-04 09:47 ./usr/bin/photorec -rwxr-xr-x root/root 364232 2024-09-04 09:47 ./usr/bin/testdisk drwxr-xr-x root/root 0 2024-09-04 09:47 ./usr/share/ drwxr-xr-x root/root 0 2024-09-04 09:47 ./usr/share/doc/ drwxr-xr-x root/root 0 2024-09-04 09:47 ./usr/share/doc/testdisk/ -rw-r--r-- root/root 8812 2024-02-02 16:22 ./usr/share/doc/testdisk/NEWS.gz -rw-r--r-- root/root 2191 2022-03-26 10:52 ./usr/share/doc/testdisk/README.md -rw-r--r-- root/root 689 2024-09-04 09:47 ./usr/share/doc/testdisk/changelog.Debian.gz -rw-r--r-- root/root 73843 2024-02-02 15:54 ./usr/share/doc/testdisk/changelog.gz -rw-r--r-- root/root 1121 2019-08-06 13:39 ./usr/share/doc/testdisk/copyright drwxr-xr-x root/root 0 2024-09-04 09:47 ./usr/share/man/ drwxr-xr-x root/root 0 2024-09-04 09:47 ./usr/share/man/man8/ -rw-r--r-- root/root 531 2024-09-04 09:47 ./usr/share/man/man8/fidentify.8.gz -rw-r--r-- root/root 680 2024-09-04 09:47 ./usr/share/man/man8/photorec.8.gz -rw-r--r-- root/root 894 2024-09-04 09:47 ./usr/share/man/man8/testdisk.8.gz lintian ------- Setup apt archive ----------------- Merged Build-Depends: lintian:amd64 Filtered Build-Depends: lintian:amd64 dpkg-deb: building package 'sbuild-build-depends-lintian-dummy' in '/<>/apt_archive/sbuild-build-depends-lintian-dummy.deb'. Ign:1 copy:/<>/apt_archive ./ InRelease Get:2 copy:/<>/apt_archive ./ Release [615 B] Ign:3 copy:/<>/apt_archive ./ Release.gpg Get:4 copy:/<>/apt_archive ./ Sources [1420 B] Get:5 copy:/<>/apt_archive ./ Packages [1490 B] Fetched 3525 B in 0s (0 B/s) Reading package lists... Reading package lists... Install lintian build dependencies (apt-based resolver) ------------------------------------------------------- Installing build dependencies Reading package lists... Building dependency tree... Reading state information... Execute external solver... The following additional packages will be installed: appstream ca-certificates diffstat gpg gpgconf iso-codes libaliased-perl libappstream5 libapt-pkg-perl libassuan9 libb-hooks-endofscope-perl libb-hooks-op-check-perl libberkeleydb-perl libbrotli1 libcapture-tiny-perl libcgi-pm-perl libclass-data-inheritable-perl libclass-inspector-perl libclass-method-modifiers-perl libclass-xsaccessor-perl libclone-perl libconfig-tiny-perl libconst-fast-perl libcpanel-json-xs-perl libcurl3t64-gnutls libdata-dpath-perl libdata-messagepack-perl libdata-optlist-perl libdata-validate-domain-perl libdata-validate-ip-perl libdata-validate-uri-perl libdevel-callchecker-perl libdevel-size-perl libdevel-stacktrace-perl libdynaloader-functions-perl libemail-address-xs-perl libencode-locale-perl libexception-class-perl libfile-basedir-perl libfile-find-rule-perl libfile-listing-perl libfile-sharedir-perl libfont-ttf-perl libglib2.0-0t64 libgssapi-krb5-2 libhtml-form-perl libhtml-html5-entities-perl libhtml-parser-perl libhtml-tagset-perl libhtml-tokeparser-simple-perl libhtml-tree-perl libhttp-cookies-perl libhttp-date-perl libhttp-message-perl libhttp-negotiate-perl libimport-into-perl libio-html-perl libio-interactive-perl libio-socket-ssl-perl libio-string-perl libipc-run3-perl libipc-system-simple-perl libiterator-perl libiterator-util-perl libjson-maybexs-perl libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libldap-2.5-0 liblist-compare-perl liblist-someutils-perl liblist-utilsby-perl liblwp-mediatypes-perl liblwp-protocol-https-perl liblz1 liblzo2-2 libmarkdown2 libmldbm-perl libmodule-implementation-perl libmodule-runtime-perl libmoo-perl libmoox-aliases-perl libmouse-perl libnamespace-clean-perl libnet-domain-tld-perl libnet-http-perl libnet-ipv6addr-perl libnet-netmask-perl libnet-ssleay-perl libnetaddr-ip-perl libnghttp2-14 libnghttp3-9 libngtcp2-16 libngtcp2-crypto-gnutls8 libnumber-compare-perl libpackage-stash-perl libparams-classify-perl libparams-util-perl libpath-tiny-perl libperlio-gzip-perl libperlio-utf8-strict-perl libproc-processtable-perl libpsl5t64 libreadline8t64 libregexp-wildcards-perl librole-tiny-perl librtmp1 libsasl2-2 libsasl2-modules-db libsereal-decoder-perl libsereal-encoder-perl libsort-versions-perl libsqlite3-0 libssh2-1t64 libstemmer0d libstrictures-perl libsub-exporter-perl libsub-exporter-progressive-perl libsub-identify-perl libsub-install-perl libsub-name-perl libsub-quote-perl libsyntax-keyword-try-perl libterm-readkey-perl libtext-glob-perl libtext-levenshteinxs-perl libtext-markdown-discount-perl libtext-xslate-perl libtime-duration-perl libtime-moment-perl libtimedate-perl libtry-tiny-perl libunicode-utf8-perl liburi-perl libvariable-magic-perl libwww-mechanize-perl libwww-perl libwww-robotrules-perl libxml-libxml-perl libxml-namespacesupport-perl libxml-sax-base-perl libxml-sax-perl libxmlb2 libxs-parse-keyword-perl libyaml-0-2 libyaml-libyaml-perl lintian lzop netbase openssl patchutils perl-openssl-defaults plzip readline-common shared-mime-info t1utils ucf unzip Suggested packages: apt-config-icons isoquery libxml-parser-perl low-memory-monitor krb5-doc krb5-user libdata-dump-perl libcrypt-ssleay-perl libscalar-number-perl libbareword-filehandles-perl libindirect-perl libmultidimensional-perl libbusiness-isbn-perl libmime-base32-perl libregexp-ipv6-perl libauthen-ntlm-perl binutils-multiarch libtext-template-perl readline-doc zip Recommended packages: gnupg libcgi-fast-perl libglib2.0-data xdg-user-dirs libhtml-format-perl libio-compress-brotli-perl krb5-locales libldap-common liblist-someutils-xs-perl libfreezethaw-perl libmath-base85-perl libsocket6-perl libpackage-stash-xs-perl publicsuffix libsasl2-modules libxstring-perl libdata-dump-perl libhttp-daemon-perl libmailtools-perl libxml-sax-expat-perl The following NEW packages will be installed: appstream ca-certificates diffstat gpg gpgconf iso-codes libaliased-perl libappstream5 libapt-pkg-perl libassuan9 libb-hooks-endofscope-perl libb-hooks-op-check-perl libberkeleydb-perl libbrotli1 libcapture-tiny-perl libcgi-pm-perl libclass-data-inheritable-perl libclass-inspector-perl libclass-method-modifiers-perl libclass-xsaccessor-perl libclone-perl libconfig-tiny-perl libconst-fast-perl libcpanel-json-xs-perl libcurl3t64-gnutls libdata-dpath-perl libdata-messagepack-perl libdata-optlist-perl libdata-validate-domain-perl libdata-validate-ip-perl libdata-validate-uri-perl libdevel-callchecker-perl libdevel-size-perl libdevel-stacktrace-perl libdynaloader-functions-perl libemail-address-xs-perl libencode-locale-perl libexception-class-perl libfile-basedir-perl libfile-find-rule-perl libfile-listing-perl libfile-sharedir-perl libfont-ttf-perl libglib2.0-0t64 libgssapi-krb5-2 libhtml-form-perl libhtml-html5-entities-perl libhtml-parser-perl libhtml-tagset-perl libhtml-tokeparser-simple-perl libhtml-tree-perl libhttp-cookies-perl libhttp-date-perl libhttp-message-perl libhttp-negotiate-perl libimport-into-perl libio-html-perl libio-interactive-perl libio-socket-ssl-perl libio-string-perl libipc-run3-perl libipc-system-simple-perl libiterator-perl libiterator-util-perl libjson-maybexs-perl libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libldap-2.5-0 liblist-compare-perl liblist-someutils-perl liblist-utilsby-perl liblwp-mediatypes-perl liblwp-protocol-https-perl liblz1 liblzo2-2 libmarkdown2 libmldbm-perl libmodule-implementation-perl libmodule-runtime-perl libmoo-perl libmoox-aliases-perl libmouse-perl libnamespace-clean-perl libnet-domain-tld-perl libnet-http-perl libnet-ipv6addr-perl libnet-netmask-perl libnet-ssleay-perl libnetaddr-ip-perl libnghttp2-14 libnghttp3-9 libngtcp2-16 libngtcp2-crypto-gnutls8 libnumber-compare-perl libpackage-stash-perl libparams-classify-perl libparams-util-perl libpath-tiny-perl libperlio-gzip-perl libperlio-utf8-strict-perl libproc-processtable-perl libpsl5t64 libreadline8t64 libregexp-wildcards-perl librole-tiny-perl librtmp1 libsasl2-2 libsasl2-modules-db libsereal-decoder-perl libsereal-encoder-perl libsort-versions-perl libsqlite3-0 libssh2-1t64 libstemmer0d libstrictures-perl libsub-exporter-perl libsub-exporter-progressive-perl libsub-identify-perl libsub-install-perl libsub-name-perl libsub-quote-perl libsyntax-keyword-try-perl libterm-readkey-perl libtext-glob-perl libtext-levenshteinxs-perl libtext-markdown-discount-perl libtext-xslate-perl libtime-duration-perl libtime-moment-perl libtimedate-perl libtry-tiny-perl libunicode-utf8-perl liburi-perl libvariable-magic-perl libwww-mechanize-perl libwww-perl libwww-robotrules-perl libxml-libxml-perl libxml-namespacesupport-perl libxml-sax-base-perl libxml-sax-perl libxmlb2 libxs-parse-keyword-perl libyaml-0-2 libyaml-libyaml-perl lintian lzop netbase openssl patchutils perl-openssl-defaults plzip readline-common sbuild-build-depends-lintian-dummy:riscv64 shared-mime-info t1utils ucf unzip 0 upgraded, 160 newly installed, 0 to remove and 0 not upgraded. Need to get 18.8 MB of archives. After this operation, 75.1 MB of additional disk space will be used. Get:1 copy:/<>/apt_archive ./ sbuild-build-depends-lintian-dummy 0.invalid.0 [852 B] Get:2 http://localhost:3142/debian unstable/main amd64 netbase all 6.4 [12.8 kB] Get:3 http://localhost:3142/debian unstable/main amd64 readline-common all 8.2-5 [69.3 kB] Get:4 http://localhost:3142/debian unstable/main amd64 openssl amd64 3.3.2-1 [1381 kB] Get:5 http://localhost:3142/debian unstable/main amd64 ca-certificates all 20240203 [158 kB] Get:6 http://localhost:3142/debian unstable/main amd64 ucf all 3.0043+nmu1 [55.2 kB] Get:7 http://localhost:3142/debian unstable/main amd64 libglib2.0-0t64 amd64 2.82.1-1 [1499 kB] Get:8 http://localhost:3142/debian unstable/main amd64 shared-mime-info amd64 2.4-5+b1 [759 kB] Get:9 http://localhost:3142/debian unstable/main amd64 libbrotli1 amd64 1.1.0-2+b4 [300 kB] Get:10 http://localhost:3142/debian unstable/main amd64 libkrb5support0 amd64 1.21.3-3 [32.5 kB] Get:11 http://localhost:3142/debian unstable/main amd64 libk5crypto3 amd64 1.21.3-3 [79.9 kB] Get:12 http://localhost:3142/debian unstable/main amd64 libkeyutils1 amd64 1.6.3-3 [8952 B] Get:13 http://localhost:3142/debian unstable/main amd64 libkrb5-3 amd64 1.21.3-3 [324 kB] Get:14 http://localhost:3142/debian unstable/main amd64 libgssapi-krb5-2 amd64 1.21.3-3 [136 kB] Get:15 http://localhost:3142/debian unstable/main amd64 libsasl2-modules-db amd64 2.1.28+dfsg1-8 [19.6 kB] Get:16 http://localhost:3142/debian unstable/main amd64 libsasl2-2 amd64 2.1.28+dfsg1-8 [57.3 kB] Get:17 http://localhost:3142/debian unstable/main amd64 libldap-2.5-0 amd64 2.5.18+dfsg-3+b1 [188 kB] Get:18 http://localhost:3142/debian unstable/main amd64 libnghttp2-14 amd64 1.63.0-1 [74.8 kB] Get:19 http://localhost:3142/debian unstable/main amd64 libnghttp3-9 amd64 1.4.0-1 [63.1 kB] Get:20 http://localhost:3142/debian unstable/main amd64 libngtcp2-16 amd64 1.6.0-1 [122 kB] Get:21 http://localhost:3142/debian unstable/main amd64 libngtcp2-crypto-gnutls8 amd64 1.6.0-1 [19.6 kB] Get:22 http://localhost:3142/debian unstable/main amd64 libpsl5t64 amd64 0.21.2-1.1 [56.8 kB] Get:23 http://localhost:3142/debian unstable/main amd64 librtmp1 amd64 2.4+20151223.gitfa8646d.1-2+b4 [58.5 kB] Get:24 http://localhost:3142/debian unstable/main amd64 libssh2-1t64 amd64 1.11.0-7 [216 kB] Get:25 http://localhost:3142/debian unstable/main amd64 libcurl3t64-gnutls amd64 8.10.1-2 [360 kB] Get:26 http://localhost:3142/debian unstable/main amd64 libstemmer0d amd64 2.2.0-4+b1 [119 kB] Get:27 http://localhost:3142/debian unstable/main amd64 libxmlb2 amd64 0.3.20-1 [62.5 kB] Get:28 http://localhost:3142/debian unstable/main amd64 libyaml-0-2 amd64 0.2.5-1+b1 [52.6 kB] Get:29 http://localhost:3142/debian unstable/main amd64 libappstream5 amd64 1.0.3-1 [224 kB] Get:30 http://localhost:3142/debian unstable/main amd64 appstream amd64 1.0.3-1 [468 kB] Get:31 http://localhost:3142/debian unstable/main amd64 diffstat amd64 1.66-1 [34.0 kB] Get:32 http://localhost:3142/debian unstable/main amd64 libassuan9 amd64 3.0.1-2 [60.6 kB] Get:33 http://localhost:3142/debian unstable/main amd64 libreadline8t64 amd64 8.2-5 [169 kB] Get:34 http://localhost:3142/debian unstable/main amd64 gpgconf amd64 2.2.44-1 [119 kB] Get:35 http://localhost:3142/debian unstable/main amd64 libsqlite3-0 amd64 3.46.1-1 [913 kB] Get:36 http://localhost:3142/debian unstable/main amd64 gpg amd64 2.2.44-1 [527 kB] Get:37 http://localhost:3142/debian unstable/main amd64 iso-codes all 4.17.0-1 [3055 kB] Get:38 http://localhost:3142/debian unstable/main amd64 libaliased-perl all 0.34-3 [13.5 kB] Get:39 http://localhost:3142/debian unstable/main amd64 libapt-pkg-perl amd64 0.1.40+b6 [67.8 kB] Get:40 http://localhost:3142/debian unstable/main amd64 libb-hooks-op-check-perl amd64 0.22-3+b2 [10.6 kB] Get:41 http://localhost:3142/debian unstable/main amd64 libdynaloader-functions-perl all 0.004-1 [12.1 kB] Get:42 http://localhost:3142/debian unstable/main amd64 libdevel-callchecker-perl amd64 0.009-1+b1 [16.2 kB] Get:43 http://localhost:3142/debian unstable/main amd64 libparams-classify-perl amd64 0.015-2+b4 [22.5 kB] Get:44 http://localhost:3142/debian unstable/main amd64 libmodule-runtime-perl all 0.016-2 [19.6 kB] Get:45 http://localhost:3142/debian unstable/main amd64 libtry-tiny-perl all 0.32-1 [22.9 kB] Get:46 http://localhost:3142/debian unstable/main amd64 libmodule-implementation-perl all 0.09-2 [12.6 kB] Get:47 http://localhost:3142/debian unstable/main amd64 libsub-exporter-progressive-perl all 0.001013-3 [7496 B] Get:48 http://localhost:3142/debian unstable/main amd64 libvariable-magic-perl amd64 0.64-1+b1 [44.9 kB] Get:49 http://localhost:3142/debian unstable/main amd64 libb-hooks-endofscope-perl all 0.28-1 [17.5 kB] Get:50 http://localhost:3142/debian unstable/main amd64 libberkeleydb-perl amd64 0.64-2+b4 [122 kB] Get:51 http://localhost:3142/debian unstable/main amd64 libcapture-tiny-perl all 0.48-2 [24.6 kB] Get:52 http://localhost:3142/debian unstable/main amd64 libhtml-tagset-perl all 3.24-1 [14.7 kB] Get:53 http://localhost:3142/debian unstable/main amd64 liburi-perl all 5.30-1 [105 kB] Get:54 http://localhost:3142/debian unstable/main amd64 libhtml-parser-perl amd64 3.83-1+b1 [99.7 kB] Get:55 http://localhost:3142/debian unstable/main amd64 libcgi-pm-perl all 4.66-1 [217 kB] Get:56 http://localhost:3142/debian unstable/main amd64 libclass-data-inheritable-perl all 0.08-3 [8588 B] Get:57 http://localhost:3142/debian unstable/main amd64 libclass-inspector-perl all 1.36-3 [17.5 kB] Get:58 http://localhost:3142/debian unstable/main amd64 libclass-method-modifiers-perl all 2.15-1 [18.0 kB] Get:59 http://localhost:3142/debian unstable/main amd64 libclass-xsaccessor-perl amd64 1.19-4+b4 [36.1 kB] Get:60 http://localhost:3142/debian unstable/main amd64 libclone-perl amd64 0.47-1+b1 [13.9 kB] Get:61 http://localhost:3142/debian unstable/main amd64 libconfig-tiny-perl all 2.30-1 [18.9 kB] Get:62 http://localhost:3142/debian unstable/main amd64 libparams-util-perl amd64 1.102-3+b1 [24.4 kB] Get:63 http://localhost:3142/debian unstable/main amd64 libsub-install-perl all 0.929-1 [10.5 kB] Get:64 http://localhost:3142/debian unstable/main amd64 libdata-optlist-perl all 0.114-1 [10.6 kB] Get:65 http://localhost:3142/debian unstable/main amd64 libsub-exporter-perl all 0.990-1 [50.6 kB] Get:66 http://localhost:3142/debian unstable/main amd64 libconst-fast-perl all 0.014-2 [8792 B] Get:67 http://localhost:3142/debian unstable/main amd64 libcpanel-json-xs-perl amd64 4.38-1+b1 [129 kB] Get:68 http://localhost:3142/debian unstable/main amd64 libdevel-stacktrace-perl all 2.0500-1 [26.4 kB] Get:69 http://localhost:3142/debian unstable/main amd64 libexception-class-perl all 1.45-1 [34.6 kB] Get:70 http://localhost:3142/debian unstable/main amd64 libiterator-perl all 0.03+ds1-2 [18.8 kB] Get:71 http://localhost:3142/debian unstable/main amd64 libiterator-util-perl all 0.02+ds1-2 [14.0 kB] Get:72 http://localhost:3142/debian unstable/main amd64 libdata-dpath-perl all 0.60-1 [41.8 kB] Get:73 http://localhost:3142/debian unstable/main amd64 libdata-messagepack-perl amd64 1.02-1+b4 [32.8 kB] Get:74 http://localhost:3142/debian unstable/main amd64 libnet-domain-tld-perl all 1.75-4 [31.5 kB] Get:75 http://localhost:3142/debian unstable/main amd64 libdata-validate-domain-perl all 0.15-1 [11.9 kB] Get:76 http://localhost:3142/debian unstable/main amd64 libnet-ipv6addr-perl all 1.02-1 [21.7 kB] Get:77 http://localhost:3142/debian unstable/main amd64 libnet-netmask-perl all 2.0002-2 [28.6 kB] Get:78 http://localhost:3142/debian unstable/main amd64 libnetaddr-ip-perl amd64 4.079+dfsg-2+b4 [98.1 kB] Get:79 http://localhost:3142/debian unstable/main amd64 libdata-validate-ip-perl all 0.31-1 [20.6 kB] Get:80 http://localhost:3142/debian unstable/main amd64 libdata-validate-uri-perl all 0.07-3 [11.0 kB] Get:81 http://localhost:3142/debian unstable/main amd64 libdevel-size-perl amd64 0.84-1+b1 [24.2 kB] Get:82 http://localhost:3142/debian unstable/main amd64 libemail-address-xs-perl amd64 1.05-1+b4 [29.4 kB] Get:83 http://localhost:3142/debian unstable/main amd64 libencode-locale-perl all 1.05-3 [12.9 kB] Get:84 http://localhost:3142/debian unstable/main amd64 libipc-system-simple-perl all 1.30-2 [26.8 kB] Get:85 http://localhost:3142/debian unstable/main amd64 libfile-basedir-perl all 0.09-2 [15.1 kB] Get:86 http://localhost:3142/debian unstable/main amd64 libnumber-compare-perl all 0.03-3 [6332 B] Get:87 http://localhost:3142/debian unstable/main amd64 libtext-glob-perl all 0.11-3 [7676 B] Get:88 http://localhost:3142/debian unstable/main amd64 libfile-find-rule-perl all 0.34-3 [26.6 kB] Get:89 http://localhost:3142/debian unstable/main amd64 libtimedate-perl all 2.3300-2 [39.3 kB] Get:90 http://localhost:3142/debian unstable/main amd64 libhttp-date-perl all 6.06-1 [10.7 kB] Get:91 http://localhost:3142/debian unstable/main amd64 libfile-listing-perl all 6.16-1 [12.4 kB] Get:92 http://localhost:3142/debian unstable/main amd64 libfile-sharedir-perl all 1.118-3 [16.0 kB] Get:93 http://localhost:3142/debian unstable/main amd64 libio-string-perl all 1.08-4 [12.1 kB] Get:94 http://localhost:3142/debian unstable/main amd64 libfont-ttf-perl all 1.06-2 [318 kB] Get:95 http://localhost:3142/debian unstable/main amd64 libio-html-perl all 1.004-3 [16.2 kB] Get:96 http://localhost:3142/debian unstable/main amd64 liblwp-mediatypes-perl all 6.04-2 [20.2 kB] Get:97 http://localhost:3142/debian unstable/main amd64 libhttp-message-perl all 7.00-2 [79.8 kB] Get:98 http://localhost:3142/debian unstable/main amd64 libhtml-form-perl all 6.11-2 [31.4 kB] Get:99 http://localhost:3142/debian unstable/main amd64 libhtml-html5-entities-perl all 0.004-3 [21.0 kB] Get:100 http://localhost:3142/debian unstable/main amd64 libhtml-tree-perl all 5.07-3 [211 kB] Get:101 http://localhost:3142/debian unstable/main amd64 libhttp-cookies-perl all 6.11-1 [19.1 kB] Get:102 http://localhost:3142/debian unstable/main amd64 libhttp-negotiate-perl all 6.01-2 [13.1 kB] Get:103 http://localhost:3142/debian unstable/main amd64 perl-openssl-defaults amd64 7+b2 [6724 B] Get:104 http://localhost:3142/debian unstable/main amd64 libnet-ssleay-perl amd64 1.94-1+b2 [339 kB] Get:105 http://localhost:3142/debian unstable/main amd64 libio-socket-ssl-perl all 2.089-1 [223 kB] Get:106 http://localhost:3142/debian unstable/main amd64 libnet-http-perl all 6.23-1 [23.9 kB] Get:107 http://localhost:3142/debian unstable/main amd64 liblwp-protocol-https-perl all 6.14-1 [10.8 kB] Get:108 http://localhost:3142/debian unstable/main amd64 libwww-robotrules-perl all 6.02-1 [12.9 kB] Get:109 http://localhost:3142/debian unstable/main amd64 libwww-perl all 6.77-1 [183 kB] Get:110 http://localhost:3142/debian unstable/main amd64 libhtml-tokeparser-simple-perl all 3.16-4 [39.1 kB] Get:111 http://localhost:3142/debian unstable/main amd64 libimport-into-perl all 1.002005-2 [11.3 kB] Get:112 http://localhost:3142/debian unstable/main amd64 libio-interactive-perl all 1.025-1 [11.4 kB] Get:113 http://localhost:3142/debian unstable/main amd64 libipc-run3-perl all 0.049-1 [31.5 kB] Get:114 http://localhost:3142/debian unstable/main amd64 libjson-maybexs-perl all 1.004008-1 [12.9 kB] Get:115 http://localhost:3142/debian unstable/main amd64 liblist-compare-perl all 0.55-2 [65.7 kB] Get:116 http://localhost:3142/debian unstable/main amd64 liblist-someutils-perl all 0.59-1 [37.1 kB] Get:117 http://localhost:3142/debian unstable/main amd64 liblist-utilsby-perl all 0.12-2 [15.5 kB] Get:118 http://localhost:3142/debian unstable/main amd64 liblz1 amd64 1.15~pre1-1 [38.5 kB] Get:119 http://localhost:3142/debian unstable/main amd64 liblzo2-2 amd64 2.10-3 [54.4 kB] Get:120 http://localhost:3142/debian unstable/main amd64 libmarkdown2 amd64 2.2.7-2+b1 [35.6 kB] Get:121 http://localhost:3142/debian unstable/main amd64 libmldbm-perl all 2.05-4 [16.8 kB] Get:122 http://localhost:3142/debian unstable/main amd64 librole-tiny-perl all 2.002004-1 [21.4 kB] Get:123 http://localhost:3142/debian unstable/main amd64 libsub-quote-perl all 2.006008-1 [21.8 kB] Get:124 http://localhost:3142/debian unstable/main amd64 libmoo-perl all 2.005005-1 [58.0 kB] Get:125 http://localhost:3142/debian unstable/main amd64 libstrictures-perl all 2.000006-1 [18.6 kB] Get:126 http://localhost:3142/debian unstable/main amd64 libmoox-aliases-perl all 0.001006-2 [7156 B] Get:127 http://localhost:3142/debian unstable/main amd64 libmouse-perl amd64 2.5.11-1+b1 [144 kB] Get:128 http://localhost:3142/debian unstable/main amd64 libpackage-stash-perl all 0.40-1 [22.0 kB] Get:129 http://localhost:3142/debian unstable/main amd64 libsub-identify-perl amd64 0.14-3+b3 [11.3 kB] Get:130 http://localhost:3142/debian unstable/main amd64 libsub-name-perl amd64 0.27-1+b3 [12.5 kB] Get:131 http://localhost:3142/debian unstable/main amd64 libnamespace-clean-perl all 0.27-2 [17.8 kB] Get:132 http://localhost:3142/debian unstable/main amd64 libpath-tiny-perl all 0.146-1 [56.2 kB] Get:133 http://localhost:3142/debian unstable/main amd64 libperlio-gzip-perl amd64 0.20-1+b4 [17.5 kB] Get:134 http://localhost:3142/debian unstable/main amd64 libperlio-utf8-strict-perl amd64 0.010-1+b3 [11.4 kB] Get:135 http://localhost:3142/debian unstable/main amd64 libproc-processtable-perl amd64 0.636-1+b3 [42.3 kB] Get:136 http://localhost:3142/debian unstable/main amd64 libregexp-wildcards-perl all 1.05-3 [14.1 kB] Get:137 http://localhost:3142/debian unstable/main amd64 libsereal-decoder-perl amd64 5.004+ds-1+b3 [100 kB] Get:138 http://localhost:3142/debian unstable/main amd64 libsereal-encoder-perl amd64 5.004+ds-1+b3 [104 kB] Get:139 http://localhost:3142/debian unstable/main amd64 libsort-versions-perl all 1.62-3 [8928 B] Get:140 http://localhost:3142/debian unstable/main amd64 libxs-parse-keyword-perl amd64 0.46-1+b1 [64.9 kB] Get:141 http://localhost:3142/debian unstable/main amd64 libsyntax-keyword-try-perl amd64 0.30-1+b1 [27.4 kB] Get:142 http://localhost:3142/debian unstable/main amd64 libterm-readkey-perl amd64 2.38-2+b4 [24.6 kB] Get:143 http://localhost:3142/debian unstable/main amd64 libtext-levenshteinxs-perl amd64 0.03-5+b4 [8720 B] Get:144 http://localhost:3142/debian unstable/main amd64 libtext-markdown-discount-perl amd64 0.16-1+b3 [13.0 kB] Get:145 http://localhost:3142/debian unstable/main amd64 libtext-xslate-perl amd64 3.5.9-2+b1 [174 kB] Get:146 http://localhost:3142/debian unstable/main amd64 libtime-duration-perl all 1.21-2 [13.1 kB] Get:147 http://localhost:3142/debian unstable/main amd64 libtime-moment-perl amd64 0.44-2+b4 [73.2 kB] Get:148 http://localhost:3142/debian unstable/main amd64 libunicode-utf8-perl amd64 0.62-2+b3 [20.4 kB] Get:149 http://localhost:3142/debian unstable/main amd64 libwww-mechanize-perl all 2.19-1 [114 kB] Get:150 http://localhost:3142/debian unstable/main amd64 libxml-namespacesupport-perl all 1.12-2 [15.1 kB] Get:151 http://localhost:3142/debian unstable/main amd64 libxml-sax-base-perl all 1.09-3 [20.6 kB] Get:152 http://localhost:3142/debian unstable/main amd64 libxml-sax-perl all 1.02+dfsg-3 [59.4 kB] Get:153 http://localhost:3142/debian unstable/main amd64 libxml-libxml-perl amd64 2.0207+dfsg+really+2.0134-5+b1 [314 kB] Get:154 http://localhost:3142/debian unstable/main amd64 libyaml-libyaml-perl amd64 0.902.0+ds-2+b1 [35.5 kB] Get:155 http://localhost:3142/debian unstable/main amd64 plzip amd64 1.11-2 [63.6 kB] Get:156 http://localhost:3142/debian unstable/main amd64 lzop amd64 1.04-2 [84.2 kB] Get:157 http://localhost:3142/debian unstable/main amd64 patchutils amd64 0.4.2-1 [77.5 kB] Get:158 http://localhost:3142/debian unstable/main amd64 t1utils amd64 1.41-4 [62.1 kB] Get:159 http://localhost:3142/debian unstable/main amd64 unzip amd64 6.0-28 [166 kB] Get:160 http://localhost:3142/debian unstable/main amd64 lintian all 2.119.0 [1056 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 18.8 MB in 0s (77.5 MB/s) Selecting previously unselected package netbase. (Reading database ... 19369 files and directories currently installed.) Preparing to unpack .../000-netbase_6.4_all.deb ... Unpacking netbase (6.4) ... Selecting previously unselected package readline-common. Preparing to unpack .../001-readline-common_8.2-5_all.deb ... Unpacking readline-common (8.2-5) ... Selecting previously unselected package openssl. Preparing to unpack .../002-openssl_3.3.2-1_amd64.deb ... Unpacking openssl (3.3.2-1) ... Selecting previously unselected package ca-certificates. Preparing to unpack .../003-ca-certificates_20240203_all.deb ... Unpacking ca-certificates (20240203) ... Selecting previously unselected package ucf. Preparing to unpack .../004-ucf_3.0043+nmu1_all.deb ... Moving old data out of the way Unpacking ucf (3.0043+nmu1) ... Selecting previously unselected package libglib2.0-0t64:amd64. Preparing to unpack .../005-libglib2.0-0t64_2.82.1-1_amd64.deb ... Unpacking libglib2.0-0t64:amd64 (2.82.1-1) ... Selecting previously unselected package shared-mime-info. Preparing to unpack .../006-shared-mime-info_2.4-5+b1_amd64.deb ... Unpacking shared-mime-info (2.4-5+b1) ... Selecting previously unselected package libbrotli1:amd64. Preparing to unpack .../007-libbrotli1_1.1.0-2+b4_amd64.deb ... Unpacking libbrotli1:amd64 (1.1.0-2+b4) ... Selecting previously unselected package libkrb5support0:amd64. Preparing to unpack .../008-libkrb5support0_1.21.3-3_amd64.deb ... Unpacking libkrb5support0:amd64 (1.21.3-3) ... Selecting previously unselected package libk5crypto3:amd64. Preparing to unpack .../009-libk5crypto3_1.21.3-3_amd64.deb ... Unpacking libk5crypto3:amd64 (1.21.3-3) ... Selecting previously unselected package libkeyutils1:amd64. Preparing to unpack .../010-libkeyutils1_1.6.3-3_amd64.deb ... Unpacking libkeyutils1:amd64 (1.6.3-3) ... Selecting previously unselected package libkrb5-3:amd64. Preparing to unpack .../011-libkrb5-3_1.21.3-3_amd64.deb ... Unpacking libkrb5-3:amd64 (1.21.3-3) ... Selecting previously unselected package libgssapi-krb5-2:amd64. Preparing to unpack .../012-libgssapi-krb5-2_1.21.3-3_amd64.deb ... Unpacking libgssapi-krb5-2:amd64 (1.21.3-3) ... Selecting previously unselected package libsasl2-modules-db:amd64. Preparing to unpack .../013-libsasl2-modules-db_2.1.28+dfsg1-8_amd64.deb ... Unpacking libsasl2-modules-db:amd64 (2.1.28+dfsg1-8) ... Selecting previously unselected package libsasl2-2:amd64. Preparing to unpack .../014-libsasl2-2_2.1.28+dfsg1-8_amd64.deb ... Unpacking libsasl2-2:amd64 (2.1.28+dfsg1-8) ... Selecting previously unselected package libldap-2.5-0:amd64. Preparing to unpack .../015-libldap-2.5-0_2.5.18+dfsg-3+b1_amd64.deb ... Unpacking libldap-2.5-0:amd64 (2.5.18+dfsg-3+b1) ... Selecting previously unselected package libnghttp2-14:amd64. Preparing to unpack .../016-libnghttp2-14_1.63.0-1_amd64.deb ... Unpacking libnghttp2-14:amd64 (1.63.0-1) ... Selecting previously unselected package libnghttp3-9:amd64. Preparing to unpack .../017-libnghttp3-9_1.4.0-1_amd64.deb ... Unpacking libnghttp3-9:amd64 (1.4.0-1) ... Selecting previously unselected package libngtcp2-16:amd64. Preparing to unpack .../018-libngtcp2-16_1.6.0-1_amd64.deb ... Unpacking libngtcp2-16:amd64 (1.6.0-1) ... Selecting previously unselected package libngtcp2-crypto-gnutls8:amd64. Preparing to unpack .../019-libngtcp2-crypto-gnutls8_1.6.0-1_amd64.deb ... Unpacking libngtcp2-crypto-gnutls8:amd64 (1.6.0-1) ... Selecting previously unselected package libpsl5t64:amd64. Preparing to unpack .../020-libpsl5t64_0.21.2-1.1_amd64.deb ... Unpacking libpsl5t64:amd64 (0.21.2-1.1) ... Selecting previously unselected package librtmp1:amd64. Preparing to unpack .../021-librtmp1_2.4+20151223.gitfa8646d.1-2+b4_amd64.deb ... Unpacking librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2+b4) ... Selecting previously unselected package libssh2-1t64:amd64. Preparing to unpack .../022-libssh2-1t64_1.11.0-7_amd64.deb ... Unpacking libssh2-1t64:amd64 (1.11.0-7) ... Selecting previously unselected package libcurl3t64-gnutls:amd64. Preparing to unpack .../023-libcurl3t64-gnutls_8.10.1-2_amd64.deb ... Unpacking libcurl3t64-gnutls:amd64 (8.10.1-2) ... Selecting previously unselected package libstemmer0d:amd64. Preparing to unpack .../024-libstemmer0d_2.2.0-4+b1_amd64.deb ... Unpacking libstemmer0d:amd64 (2.2.0-4+b1) ... Selecting previously unselected package libxmlb2:amd64. Preparing to unpack .../025-libxmlb2_0.3.20-1_amd64.deb ... Unpacking libxmlb2:amd64 (0.3.20-1) ... Selecting previously unselected package libyaml-0-2:amd64. Preparing to unpack .../026-libyaml-0-2_0.2.5-1+b1_amd64.deb ... Unpacking libyaml-0-2:amd64 (0.2.5-1+b1) ... Selecting previously unselected package libappstream5:amd64. Preparing to unpack .../027-libappstream5_1.0.3-1_amd64.deb ... Unpacking libappstream5:amd64 (1.0.3-1) ... Selecting previously unselected package appstream. Preparing to unpack .../028-appstream_1.0.3-1_amd64.deb ... Unpacking appstream (1.0.3-1) ... Selecting previously unselected package diffstat. Preparing to unpack .../029-diffstat_1.66-1_amd64.deb ... Unpacking diffstat (1.66-1) ... Selecting previously unselected package libassuan9:amd64. Preparing to unpack .../030-libassuan9_3.0.1-2_amd64.deb ... Unpacking libassuan9:amd64 (3.0.1-2) ... Selecting previously unselected package libreadline8t64:amd64. Preparing to unpack .../031-libreadline8t64_8.2-5_amd64.deb ... Adding 'diversion of /lib/x86_64-linux-gnu/libhistory.so.8 to /lib/x86_64-linux-gnu/libhistory.so.8.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/x86_64-linux-gnu/libhistory.so.8.2 to /lib/x86_64-linux-gnu/libhistory.so.8.2.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/x86_64-linux-gnu/libreadline.so.8 to /lib/x86_64-linux-gnu/libreadline.so.8.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/x86_64-linux-gnu/libreadline.so.8.2 to /lib/x86_64-linux-gnu/libreadline.so.8.2.usr-is-merged by libreadline8t64' Unpacking libreadline8t64:amd64 (8.2-5) ... Selecting previously unselected package gpgconf. Preparing to unpack .../032-gpgconf_2.2.44-1_amd64.deb ... Unpacking gpgconf (2.2.44-1) ... Selecting previously unselected package libsqlite3-0:amd64. Preparing to unpack .../033-libsqlite3-0_3.46.1-1_amd64.deb ... Unpacking libsqlite3-0:amd64 (3.46.1-1) ... Selecting previously unselected package gpg. Preparing to unpack .../034-gpg_2.2.44-1_amd64.deb ... Unpacking gpg (2.2.44-1) ... Selecting previously unselected package iso-codes. Preparing to unpack .../035-iso-codes_4.17.0-1_all.deb ... Unpacking iso-codes (4.17.0-1) ... Selecting previously unselected package libaliased-perl. Preparing to unpack .../036-libaliased-perl_0.34-3_all.deb ... Unpacking libaliased-perl (0.34-3) ... Selecting previously unselected package libapt-pkg-perl. Preparing to unpack .../037-libapt-pkg-perl_0.1.40+b6_amd64.deb ... Unpacking libapt-pkg-perl (0.1.40+b6) ... Selecting previously unselected package libb-hooks-op-check-perl:amd64. Preparing to unpack .../038-libb-hooks-op-check-perl_0.22-3+b2_amd64.deb ... Unpacking libb-hooks-op-check-perl:amd64 (0.22-3+b2) ... Selecting previously unselected package libdynaloader-functions-perl. Preparing to unpack .../039-libdynaloader-functions-perl_0.004-1_all.deb ... Unpacking libdynaloader-functions-perl (0.004-1) ... Selecting previously unselected package libdevel-callchecker-perl:amd64. Preparing to unpack .../040-libdevel-callchecker-perl_0.009-1+b1_amd64.deb ... Unpacking libdevel-callchecker-perl:amd64 (0.009-1+b1) ... Selecting previously unselected package libparams-classify-perl:amd64. Preparing to unpack .../041-libparams-classify-perl_0.015-2+b4_amd64.deb ... Unpacking libparams-classify-perl:amd64 (0.015-2+b4) ... Selecting previously unselected package libmodule-runtime-perl. Preparing to unpack .../042-libmodule-runtime-perl_0.016-2_all.deb ... Unpacking libmodule-runtime-perl (0.016-2) ... Selecting previously unselected package libtry-tiny-perl. Preparing to unpack .../043-libtry-tiny-perl_0.32-1_all.deb ... Unpacking libtry-tiny-perl (0.32-1) ... Selecting previously unselected package libmodule-implementation-perl. Preparing to unpack .../044-libmodule-implementation-perl_0.09-2_all.deb ... Unpacking libmodule-implementation-perl (0.09-2) ... Selecting previously unselected package libsub-exporter-progressive-perl. Preparing to unpack .../045-libsub-exporter-progressive-perl_0.001013-3_all.deb ... Unpacking libsub-exporter-progressive-perl (0.001013-3) ... Selecting previously unselected package libvariable-magic-perl. Preparing to unpack .../046-libvariable-magic-perl_0.64-1+b1_amd64.deb ... Unpacking libvariable-magic-perl (0.64-1+b1) ... Selecting previously unselected package libb-hooks-endofscope-perl. Preparing to unpack .../047-libb-hooks-endofscope-perl_0.28-1_all.deb ... Unpacking libb-hooks-endofscope-perl (0.28-1) ... Selecting previously unselected package libberkeleydb-perl:amd64. Preparing to unpack .../048-libberkeleydb-perl_0.64-2+b4_amd64.deb ... Unpacking libberkeleydb-perl:amd64 (0.64-2+b4) ... Selecting previously unselected package libcapture-tiny-perl. Preparing to unpack .../049-libcapture-tiny-perl_0.48-2_all.deb ... Unpacking libcapture-tiny-perl (0.48-2) ... Selecting previously unselected package libhtml-tagset-perl. Preparing to unpack .../050-libhtml-tagset-perl_3.24-1_all.deb ... Unpacking libhtml-tagset-perl (3.24-1) ... Selecting previously unselected package liburi-perl. Preparing to unpack .../051-liburi-perl_5.30-1_all.deb ... Unpacking liburi-perl (5.30-1) ... Selecting previously unselected package libhtml-parser-perl:amd64. Preparing to unpack .../052-libhtml-parser-perl_3.83-1+b1_amd64.deb ... Unpacking libhtml-parser-perl:amd64 (3.83-1+b1) ... Selecting previously unselected package libcgi-pm-perl. Preparing to unpack .../053-libcgi-pm-perl_4.66-1_all.deb ... Unpacking libcgi-pm-perl (4.66-1) ... Selecting previously unselected package libclass-data-inheritable-perl. Preparing to unpack .../054-libclass-data-inheritable-perl_0.08-3_all.deb ... Unpacking libclass-data-inheritable-perl (0.08-3) ... Selecting previously unselected package libclass-inspector-perl. Preparing to unpack .../055-libclass-inspector-perl_1.36-3_all.deb ... Unpacking libclass-inspector-perl (1.36-3) ... Selecting previously unselected package libclass-method-modifiers-perl. Preparing to unpack .../056-libclass-method-modifiers-perl_2.15-1_all.deb ... Unpacking libclass-method-modifiers-perl (2.15-1) ... Selecting previously unselected package libclass-xsaccessor-perl. Preparing to unpack .../057-libclass-xsaccessor-perl_1.19-4+b4_amd64.deb ... Unpacking libclass-xsaccessor-perl (1.19-4+b4) ... Selecting previously unselected package libclone-perl:amd64. Preparing to unpack .../058-libclone-perl_0.47-1+b1_amd64.deb ... Unpacking libclone-perl:amd64 (0.47-1+b1) ... Selecting previously unselected package libconfig-tiny-perl. Preparing to unpack .../059-libconfig-tiny-perl_2.30-1_all.deb ... Unpacking libconfig-tiny-perl (2.30-1) ... Selecting previously unselected package libparams-util-perl. Preparing to unpack .../060-libparams-util-perl_1.102-3+b1_amd64.deb ... Unpacking libparams-util-perl (1.102-3+b1) ... Selecting previously unselected package libsub-install-perl. Preparing to unpack .../061-libsub-install-perl_0.929-1_all.deb ... Unpacking libsub-install-perl (0.929-1) ... Selecting previously unselected package libdata-optlist-perl. Preparing to unpack .../062-libdata-optlist-perl_0.114-1_all.deb ... Unpacking libdata-optlist-perl (0.114-1) ... Selecting previously unselected package libsub-exporter-perl. Preparing to unpack .../063-libsub-exporter-perl_0.990-1_all.deb ... Unpacking libsub-exporter-perl (0.990-1) ... Selecting previously unselected package libconst-fast-perl. Preparing to unpack .../064-libconst-fast-perl_0.014-2_all.deb ... Unpacking libconst-fast-perl (0.014-2) ... Selecting previously unselected package libcpanel-json-xs-perl:amd64. Preparing to unpack .../065-libcpanel-json-xs-perl_4.38-1+b1_amd64.deb ... Unpacking libcpanel-json-xs-perl:amd64 (4.38-1+b1) ... Selecting previously unselected package libdevel-stacktrace-perl. Preparing to unpack .../066-libdevel-stacktrace-perl_2.0500-1_all.deb ... Unpacking libdevel-stacktrace-perl (2.0500-1) ... Selecting previously unselected package libexception-class-perl. Preparing to unpack .../067-libexception-class-perl_1.45-1_all.deb ... Unpacking libexception-class-perl (1.45-1) ... Selecting previously unselected package libiterator-perl. Preparing to unpack .../068-libiterator-perl_0.03+ds1-2_all.deb ... Unpacking libiterator-perl (0.03+ds1-2) ... Selecting previously unselected package libiterator-util-perl. Preparing to unpack .../069-libiterator-util-perl_0.02+ds1-2_all.deb ... Unpacking libiterator-util-perl (0.02+ds1-2) ... Selecting previously unselected package libdata-dpath-perl. Preparing to unpack .../070-libdata-dpath-perl_0.60-1_all.deb ... Unpacking libdata-dpath-perl (0.60-1) ... Selecting previously unselected package libdata-messagepack-perl. Preparing to unpack .../071-libdata-messagepack-perl_1.02-1+b4_amd64.deb ... Unpacking libdata-messagepack-perl (1.02-1+b4) ... Selecting previously unselected package libnet-domain-tld-perl. Preparing to unpack .../072-libnet-domain-tld-perl_1.75-4_all.deb ... Unpacking libnet-domain-tld-perl (1.75-4) ... Selecting previously unselected package libdata-validate-domain-perl. Preparing to unpack .../073-libdata-validate-domain-perl_0.15-1_all.deb ... Unpacking libdata-validate-domain-perl (0.15-1) ... Selecting previously unselected package libnet-ipv6addr-perl. Preparing to unpack .../074-libnet-ipv6addr-perl_1.02-1_all.deb ... Unpacking libnet-ipv6addr-perl (1.02-1) ... Selecting previously unselected package libnet-netmask-perl. Preparing to unpack .../075-libnet-netmask-perl_2.0002-2_all.deb ... Unpacking libnet-netmask-perl (2.0002-2) ... Selecting previously unselected package libnetaddr-ip-perl. Preparing to unpack .../076-libnetaddr-ip-perl_4.079+dfsg-2+b4_amd64.deb ... Unpacking libnetaddr-ip-perl (4.079+dfsg-2+b4) ... Selecting previously unselected package libdata-validate-ip-perl. Preparing to unpack .../077-libdata-validate-ip-perl_0.31-1_all.deb ... Unpacking libdata-validate-ip-perl (0.31-1) ... Selecting previously unselected package libdata-validate-uri-perl. Preparing to unpack .../078-libdata-validate-uri-perl_0.07-3_all.deb ... Unpacking libdata-validate-uri-perl (0.07-3) ... Selecting previously unselected package libdevel-size-perl. Preparing to unpack .../079-libdevel-size-perl_0.84-1+b1_amd64.deb ... Unpacking libdevel-size-perl (0.84-1+b1) ... Selecting previously unselected package libemail-address-xs-perl. Preparing to unpack .../080-libemail-address-xs-perl_1.05-1+b4_amd64.deb ... Unpacking libemail-address-xs-perl (1.05-1+b4) ... Selecting previously unselected package libencode-locale-perl. Preparing to unpack .../081-libencode-locale-perl_1.05-3_all.deb ... Unpacking libencode-locale-perl (1.05-3) ... Selecting previously unselected package libipc-system-simple-perl. Preparing to unpack .../082-libipc-system-simple-perl_1.30-2_all.deb ... Unpacking libipc-system-simple-perl (1.30-2) ... Selecting previously unselected package libfile-basedir-perl. Preparing to unpack .../083-libfile-basedir-perl_0.09-2_all.deb ... Unpacking libfile-basedir-perl (0.09-2) ... Selecting previously unselected package libnumber-compare-perl. Preparing to unpack .../084-libnumber-compare-perl_0.03-3_all.deb ... Unpacking libnumber-compare-perl (0.03-3) ... Selecting previously unselected package libtext-glob-perl. Preparing to unpack .../085-libtext-glob-perl_0.11-3_all.deb ... Unpacking libtext-glob-perl (0.11-3) ... Selecting previously unselected package libfile-find-rule-perl. Preparing to unpack .../086-libfile-find-rule-perl_0.34-3_all.deb ... Unpacking libfile-find-rule-perl (0.34-3) ... Selecting previously unselected package libtimedate-perl. Preparing to unpack .../087-libtimedate-perl_2.3300-2_all.deb ... Unpacking libtimedate-perl (2.3300-2) ... Selecting previously unselected package libhttp-date-perl. Preparing to unpack .../088-libhttp-date-perl_6.06-1_all.deb ... Unpacking libhttp-date-perl (6.06-1) ... Selecting previously unselected package libfile-listing-perl. Preparing to unpack .../089-libfile-listing-perl_6.16-1_all.deb ... Unpacking libfile-listing-perl (6.16-1) ... Selecting previously unselected package libfile-sharedir-perl. Preparing to unpack .../090-libfile-sharedir-perl_1.118-3_all.deb ... Unpacking libfile-sharedir-perl (1.118-3) ... Selecting previously unselected package libio-string-perl. Preparing to unpack .../091-libio-string-perl_1.08-4_all.deb ... Unpacking libio-string-perl (1.08-4) ... Selecting previously unselected package libfont-ttf-perl. Preparing to unpack .../092-libfont-ttf-perl_1.06-2_all.deb ... Unpacking libfont-ttf-perl (1.06-2) ... Selecting previously unselected package libio-html-perl. Preparing to unpack .../093-libio-html-perl_1.004-3_all.deb ... Unpacking libio-html-perl (1.004-3) ... Selecting previously unselected package liblwp-mediatypes-perl. Preparing to unpack .../094-liblwp-mediatypes-perl_6.04-2_all.deb ... Unpacking liblwp-mediatypes-perl (6.04-2) ... Selecting previously unselected package libhttp-message-perl. Preparing to unpack .../095-libhttp-message-perl_7.00-2_all.deb ... Unpacking libhttp-message-perl (7.00-2) ... Selecting previously unselected package libhtml-form-perl. Preparing to unpack .../096-libhtml-form-perl_6.11-2_all.deb ... Unpacking libhtml-form-perl (6.11-2) ... Selecting previously unselected package libhtml-html5-entities-perl. Preparing to unpack .../097-libhtml-html5-entities-perl_0.004-3_all.deb ... Unpacking libhtml-html5-entities-perl (0.004-3) ... Selecting previously unselected package libhtml-tree-perl. Preparing to unpack .../098-libhtml-tree-perl_5.07-3_all.deb ... Unpacking libhtml-tree-perl (5.07-3) ... Selecting previously unselected package libhttp-cookies-perl. Preparing to unpack .../099-libhttp-cookies-perl_6.11-1_all.deb ... Unpacking libhttp-cookies-perl (6.11-1) ... Selecting previously unselected package libhttp-negotiate-perl. Preparing to unpack .../100-libhttp-negotiate-perl_6.01-2_all.deb ... Unpacking libhttp-negotiate-perl (6.01-2) ... Selecting previously unselected package perl-openssl-defaults:amd64. Preparing to unpack .../101-perl-openssl-defaults_7+b2_amd64.deb ... Unpacking perl-openssl-defaults:amd64 (7+b2) ... Selecting previously unselected package libnet-ssleay-perl:amd64. Preparing to unpack .../102-libnet-ssleay-perl_1.94-1+b2_amd64.deb ... Unpacking libnet-ssleay-perl:amd64 (1.94-1+b2) ... Selecting previously unselected package libio-socket-ssl-perl. Preparing to unpack .../103-libio-socket-ssl-perl_2.089-1_all.deb ... Unpacking libio-socket-ssl-perl (2.089-1) ... Selecting previously unselected package libnet-http-perl. Preparing to unpack .../104-libnet-http-perl_6.23-1_all.deb ... Unpacking libnet-http-perl (6.23-1) ... Selecting previously unselected package liblwp-protocol-https-perl. Preparing to unpack .../105-liblwp-protocol-https-perl_6.14-1_all.deb ... Unpacking liblwp-protocol-https-perl (6.14-1) ... Selecting previously unselected package libwww-robotrules-perl. Preparing to unpack .../106-libwww-robotrules-perl_6.02-1_all.deb ... Unpacking libwww-robotrules-perl (6.02-1) ... Selecting previously unselected package libwww-perl. Preparing to unpack .../107-libwww-perl_6.77-1_all.deb ... Unpacking libwww-perl (6.77-1) ... Selecting previously unselected package libhtml-tokeparser-simple-perl. Preparing to unpack .../108-libhtml-tokeparser-simple-perl_3.16-4_all.deb ... Unpacking libhtml-tokeparser-simple-perl (3.16-4) ... Selecting previously unselected package libimport-into-perl. Preparing to unpack .../109-libimport-into-perl_1.002005-2_all.deb ... Unpacking libimport-into-perl (1.002005-2) ... Selecting previously unselected package libio-interactive-perl. Preparing to unpack .../110-libio-interactive-perl_1.025-1_all.deb ... Unpacking libio-interactive-perl (1.025-1) ... Selecting previously unselected package libipc-run3-perl. Preparing to unpack .../111-libipc-run3-perl_0.049-1_all.deb ... Unpacking libipc-run3-perl (0.049-1) ... Selecting previously unselected package libjson-maybexs-perl. Preparing to unpack .../112-libjson-maybexs-perl_1.004008-1_all.deb ... Unpacking libjson-maybexs-perl (1.004008-1) ... Selecting previously unselected package liblist-compare-perl. Preparing to unpack .../113-liblist-compare-perl_0.55-2_all.deb ... Unpacking liblist-compare-perl (0.55-2) ... Selecting previously unselected package liblist-someutils-perl. Preparing to unpack .../114-liblist-someutils-perl_0.59-1_all.deb ... Unpacking liblist-someutils-perl (0.59-1) ... Selecting previously unselected package liblist-utilsby-perl. Preparing to unpack .../115-liblist-utilsby-perl_0.12-2_all.deb ... Unpacking liblist-utilsby-perl (0.12-2) ... Selecting previously unselected package liblz1:amd64. Preparing to unpack .../116-liblz1_1.15~pre1-1_amd64.deb ... Unpacking liblz1:amd64 (1.15~pre1-1) ... Selecting previously unselected package liblzo2-2:amd64. Preparing to unpack .../117-liblzo2-2_2.10-3_amd64.deb ... Unpacking liblzo2-2:amd64 (2.10-3) ... Selecting previously unselected package libmarkdown2:amd64. Preparing to unpack .../118-libmarkdown2_2.2.7-2+b1_amd64.deb ... Unpacking libmarkdown2:amd64 (2.2.7-2+b1) ... Selecting previously unselected package libmldbm-perl. Preparing to unpack .../119-libmldbm-perl_2.05-4_all.deb ... Unpacking libmldbm-perl (2.05-4) ... Selecting previously unselected package librole-tiny-perl. Preparing to unpack .../120-librole-tiny-perl_2.002004-1_all.deb ... Unpacking librole-tiny-perl (2.002004-1) ... Selecting previously unselected package libsub-quote-perl. Preparing to unpack .../121-libsub-quote-perl_2.006008-1_all.deb ... Unpacking libsub-quote-perl (2.006008-1) ... Selecting previously unselected package libmoo-perl. Preparing to unpack .../122-libmoo-perl_2.005005-1_all.deb ... Unpacking libmoo-perl (2.005005-1) ... Selecting previously unselected package libstrictures-perl. Preparing to unpack .../123-libstrictures-perl_2.000006-1_all.deb ... Unpacking libstrictures-perl (2.000006-1) ... Selecting previously unselected package libmoox-aliases-perl. Preparing to unpack .../124-libmoox-aliases-perl_0.001006-2_all.deb ... Unpacking libmoox-aliases-perl (0.001006-2) ... Selecting previously unselected package libmouse-perl:amd64. Preparing to unpack .../125-libmouse-perl_2.5.11-1+b1_amd64.deb ... Unpacking libmouse-perl:amd64 (2.5.11-1+b1) ... Selecting previously unselected package libpackage-stash-perl. Preparing to unpack .../126-libpackage-stash-perl_0.40-1_all.deb ... Unpacking libpackage-stash-perl (0.40-1) ... Selecting previously unselected package libsub-identify-perl. Preparing to unpack .../127-libsub-identify-perl_0.14-3+b3_amd64.deb ... Unpacking libsub-identify-perl (0.14-3+b3) ... Selecting previously unselected package libsub-name-perl:amd64. Preparing to unpack .../128-libsub-name-perl_0.27-1+b3_amd64.deb ... Unpacking libsub-name-perl:amd64 (0.27-1+b3) ... Selecting previously unselected package libnamespace-clean-perl. Preparing to unpack .../129-libnamespace-clean-perl_0.27-2_all.deb ... Unpacking libnamespace-clean-perl (0.27-2) ... Selecting previously unselected package libpath-tiny-perl. Preparing to unpack .../130-libpath-tiny-perl_0.146-1_all.deb ... Unpacking libpath-tiny-perl (0.146-1) ... Selecting previously unselected package libperlio-gzip-perl. Preparing to unpack .../131-libperlio-gzip-perl_0.20-1+b4_amd64.deb ... Unpacking libperlio-gzip-perl (0.20-1+b4) ... Selecting previously unselected package libperlio-utf8-strict-perl. Preparing to unpack .../132-libperlio-utf8-strict-perl_0.010-1+b3_amd64.deb ... Unpacking libperlio-utf8-strict-perl (0.010-1+b3) ... Selecting previously unselected package libproc-processtable-perl:amd64. Preparing to unpack .../133-libproc-processtable-perl_0.636-1+b3_amd64.deb ... Unpacking libproc-processtable-perl:amd64 (0.636-1+b3) ... Selecting previously unselected package libregexp-wildcards-perl. Preparing to unpack .../134-libregexp-wildcards-perl_1.05-3_all.deb ... Unpacking libregexp-wildcards-perl (1.05-3) ... Selecting previously unselected package libsereal-decoder-perl. Preparing to unpack .../135-libsereal-decoder-perl_5.004+ds-1+b3_amd64.deb ... Unpacking libsereal-decoder-perl (5.004+ds-1+b3) ... Selecting previously unselected package libsereal-encoder-perl. Preparing to unpack .../136-libsereal-encoder-perl_5.004+ds-1+b3_amd64.deb ... Unpacking libsereal-encoder-perl (5.004+ds-1+b3) ... Selecting previously unselected package libsort-versions-perl. Preparing to unpack .../137-libsort-versions-perl_1.62-3_all.deb ... Unpacking libsort-versions-perl (1.62-3) ... Selecting previously unselected package libxs-parse-keyword-perl. Preparing to unpack .../138-libxs-parse-keyword-perl_0.46-1+b1_amd64.deb ... Unpacking libxs-parse-keyword-perl (0.46-1+b1) ... Selecting previously unselected package libsyntax-keyword-try-perl. Preparing to unpack .../139-libsyntax-keyword-try-perl_0.30-1+b1_amd64.deb ... Unpacking libsyntax-keyword-try-perl (0.30-1+b1) ... Selecting previously unselected package libterm-readkey-perl. Preparing to unpack .../140-libterm-readkey-perl_2.38-2+b4_amd64.deb ... Unpacking libterm-readkey-perl (2.38-2+b4) ... Selecting previously unselected package libtext-levenshteinxs-perl. Preparing to unpack .../141-libtext-levenshteinxs-perl_0.03-5+b4_amd64.deb ... Unpacking libtext-levenshteinxs-perl (0.03-5+b4) ... Selecting previously unselected package libtext-markdown-discount-perl. Preparing to unpack .../142-libtext-markdown-discount-perl_0.16-1+b3_amd64.deb ... Unpacking libtext-markdown-discount-perl (0.16-1+b3) ... Selecting previously unselected package libtext-xslate-perl:amd64. Preparing to unpack .../143-libtext-xslate-perl_3.5.9-2+b1_amd64.deb ... Unpacking libtext-xslate-perl:amd64 (3.5.9-2+b1) ... Selecting previously unselected package libtime-duration-perl. Preparing to unpack .../144-libtime-duration-perl_1.21-2_all.deb ... Unpacking libtime-duration-perl (1.21-2) ... Selecting previously unselected package libtime-moment-perl. Preparing to unpack .../145-libtime-moment-perl_0.44-2+b4_amd64.deb ... Unpacking libtime-moment-perl (0.44-2+b4) ... Selecting previously unselected package libunicode-utf8-perl. Preparing to unpack .../146-libunicode-utf8-perl_0.62-2+b3_amd64.deb ... Unpacking libunicode-utf8-perl (0.62-2+b3) ... Selecting previously unselected package libwww-mechanize-perl. Preparing to unpack .../147-libwww-mechanize-perl_2.19-1_all.deb ... Unpacking libwww-mechanize-perl (2.19-1) ... Selecting previously unselected package libxml-namespacesupport-perl. Preparing to unpack .../148-libxml-namespacesupport-perl_1.12-2_all.deb ... Unpacking libxml-namespacesupport-perl (1.12-2) ... Selecting previously unselected package libxml-sax-base-perl. Preparing to unpack .../149-libxml-sax-base-perl_1.09-3_all.deb ... Unpacking libxml-sax-base-perl (1.09-3) ... Selecting previously unselected package libxml-sax-perl. Preparing to unpack .../150-libxml-sax-perl_1.02+dfsg-3_all.deb ... Unpacking libxml-sax-perl (1.02+dfsg-3) ... Selecting previously unselected package libxml-libxml-perl. Preparing to unpack .../151-libxml-libxml-perl_2.0207+dfsg+really+2.0134-5+b1_amd64.deb ... Unpacking libxml-libxml-perl (2.0207+dfsg+really+2.0134-5+b1) ... Selecting previously unselected package libyaml-libyaml-perl. Preparing to unpack .../152-libyaml-libyaml-perl_0.902.0+ds-2+b1_amd64.deb ... Unpacking libyaml-libyaml-perl (0.902.0+ds-2+b1) ... Selecting previously unselected package plzip. Preparing to unpack .../153-plzip_1.11-2_amd64.deb ... Unpacking plzip (1.11-2) ... Selecting previously unselected package lzop. Preparing to unpack .../154-lzop_1.04-2_amd64.deb ... Unpacking lzop (1.04-2) ... Selecting previously unselected package patchutils. Preparing to unpack .../155-patchutils_0.4.2-1_amd64.deb ... Unpacking patchutils (0.4.2-1) ... Selecting previously unselected package t1utils. Preparing to unpack .../156-t1utils_1.41-4_amd64.deb ... Unpacking t1utils (1.41-4) ... Selecting previously unselected package unzip. Preparing to unpack .../157-unzip_6.0-28_amd64.deb ... Unpacking unzip (6.0-28) ... Selecting previously unselected package lintian. Preparing to unpack .../158-lintian_2.119.0_all.deb ... Unpacking lintian (2.119.0) ... Selecting previously unselected package sbuild-build-depends-lintian-dummy:riscv64. Preparing to unpack .../159-sbuild-build-depends-lintian-dummy_0.invalid.0_riscv64.deb ... Unpacking sbuild-build-depends-lintian-dummy:riscv64 (0.invalid.0) ... Setting up libapt-pkg-perl (0.1.40+b6) ... Setting up liblz1:amd64 (1.15~pre1-1) ... Setting up libberkeleydb-perl:amd64 (0.64-2+b4) ... Setting up plzip (1.11-2) ... update-alternatives: using /usr/bin/lzip.plzip to provide /usr/bin/lzip (lzip) in auto mode update-alternatives: using /usr/bin/lzip.plzip to provide /usr/bin/lzip-compressor (lzip-compressor) in auto mode update-alternatives: using /usr/bin/lzip.plzip to provide /usr/bin/lzip-decompressor (lzip-decompressor) in auto mode Setting up libkeyutils1:amd64 (1.6.3-3) ... Setting up libunicode-utf8-perl (0.62-2+b3) ... Setting up libmouse-perl:amd64 (2.5.11-1+b1) ... Setting up libdata-messagepack-perl (1.02-1+b4) ... Setting up libclass-inspector-perl (1.36-3) ... Setting up libdynaloader-functions-perl (0.004-1) ... Setting up libtext-glob-perl (0.11-3) ... Setting up libclass-method-modifiers-perl (2.15-1) ... Setting up liblist-compare-perl (0.55-2) ... Setting up libclone-perl:amd64 (0.47-1+b1) ... Setting up libyaml-0-2:amd64 (0.2.5-1+b1) ... Setting up libsub-identify-perl (0.14-3+b3) ... Setting up libcpanel-json-xs-perl:amd64 (4.38-1+b1) ... Setting up libhtml-tagset-perl (3.24-1) ... Setting up libdevel-size-perl (0.84-1+b1) ... Setting up unzip (6.0-28) ... Setting up libbrotli1:amd64 (1.1.0-2+b4) ... Setting up libsqlite3-0:amd64 (3.46.1-1) ... Setting up liblwp-mediatypes-perl (6.04-2) ... Setting up libyaml-libyaml-perl (0.902.0+ds-2+b1) ... Setting up libio-interactive-perl (1.025-1) ... Setting up libtry-tiny-perl (0.32-1) ... Setting up libpsl5t64:amd64 (0.21.2-1.1) ... Setting up libnghttp2-14:amd64 (1.63.0-1) ... Setting up perl-openssl-defaults:amd64 (7+b2) ... Setting up libmldbm-perl (2.05-4) ... Setting up libxml-namespacesupport-perl (1.12-2) ... Setting up liblzo2-2:amd64 (2.10-3) ... Setting up libtime-moment-perl (0.44-2+b4) ... Setting up libencode-locale-perl (1.05-3) ... Setting up libconfig-tiny-perl (2.30-1) ... Setting up libsereal-encoder-perl (5.004+ds-1+b3) ... Setting up liblist-utilsby-perl (0.12-2) ... Setting up libnet-netmask-perl (2.0002-2) ... Setting up libsub-install-perl (0.929-1) ... Setting up libkrb5support0:amd64 (1.21.3-3) ... Setting up libnumber-compare-perl (0.03-3) ... Setting up libsasl2-modules-db:amd64 (2.1.28+dfsg1-8) ... Setting up patchutils (0.4.2-1) ... Setting up libjson-maybexs-perl (1.004008-1) ... Setting up libxml-sax-base-perl (1.09-3) ... Setting up libio-string-perl (1.08-4) ... Setting up libnetaddr-ip-perl (4.079+dfsg-2+b4) ... Setting up libglib2.0-0t64:amd64 (2.82.1-1) ... No schema files found: doing nothing. Setting up libclass-data-inheritable-perl (0.08-3) ... Setting up libfile-find-rule-perl (0.34-3) ... Setting up librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2+b4) ... Setting up libipc-system-simple-perl (1.30-2) ... Setting up libnet-domain-tld-perl (1.75-4) ... Setting up libperlio-utf8-strict-perl (0.010-1+b3) ... Setting up t1utils (1.41-4) ... Setting up shared-mime-info (2.4-5+b1) ... Setting up diffstat (1.66-1) ... Setting up libvariable-magic-perl (0.64-1+b1) ... Setting up libio-html-perl (1.004-3) ... Setting up libb-hooks-op-check-perl:amd64 (0.22-3+b2) ... Setting up ucf (3.0043+nmu1) ... Setting up libk5crypto3:amd64 (1.21.3-3) ... Setting up libparams-util-perl (1.102-3+b1) ... Setting up libsasl2-2:amd64 (2.1.28+dfsg1-8) ... Setting up libtime-duration-perl (1.21-2) ... Setting up libtext-xslate-perl:amd64 (3.5.9-2+b1) ... Setting up libnghttp3-9:amd64 (1.4.0-1) ... Setting up libsub-exporter-progressive-perl (0.001013-3) ... Setting up libcapture-tiny-perl (0.48-2) ... Setting up libtimedate-perl (2.3300-2) ... Setting up libsub-name-perl:amd64 (0.27-1+b3) ... Setting up libdata-validate-domain-perl (0.15-1) ... Setting up libproc-processtable-perl:amd64 (0.636-1+b3) ... Setting up libpath-tiny-perl (0.146-1) ... Setting up lzop (1.04-2) ... Setting up libassuan9:amd64 (3.0.1-2) ... Setting up librole-tiny-perl (2.002004-1) ... Setting up libipc-run3-perl (0.049-1) ... Setting up libregexp-wildcards-perl (1.05-3) ... Setting up libfile-sharedir-perl (1.118-3) ... Setting up libaliased-perl (0.34-3) ... Setting up netbase (6.4) ... Setting up libngtcp2-16:amd64 (1.6.0-1) ... Setting up libstrictures-perl (2.000006-1) ... Setting up libsub-quote-perl (2.006008-1) ... Setting up libdevel-stacktrace-perl (2.0500-1) ... Setting up libclass-xsaccessor-perl (1.19-4+b4) ... Setting up libkrb5-3:amd64 (1.21.3-3) ... Setting up libstemmer0d:amd64 (2.2.0-4+b1) ... Setting up libsort-versions-perl (1.62-3) ... Setting up libssh2-1t64:amd64 (1.11.0-7) ... Setting up libterm-readkey-perl (2.38-2+b4) ... Setting up libfont-ttf-perl (1.06-2) ... Setting up openssl (3.3.2-1) ... Setting up libtext-levenshteinxs-perl (0.03-5+b4) ... Setting up libperlio-gzip-perl (0.20-1+b4) ... Setting up readline-common (8.2-5) ... Setting up libhtml-html5-entities-perl (0.004-3) ... Setting up libsereal-decoder-perl (5.004+ds-1+b3) ... Setting up libmarkdown2:amd64 (2.2.7-2+b1) ... Setting up liburi-perl (5.30-1) ... Setting up iso-codes (4.17.0-1) ... Setting up libnet-ipv6addr-perl (1.02-1) ... Setting up libngtcp2-crypto-gnutls8:amd64 (1.6.0-1) ... Setting up libdata-validate-ip-perl (0.31-1) ... Setting up libemail-address-xs-perl (1.05-1+b4) ... Setting up libnet-ssleay-perl:amd64 (1.94-1+b2) ... Setting up libhttp-date-perl (6.06-1) ... Setting up libfile-basedir-perl (0.09-2) ... Setting up libfile-listing-perl (6.16-1) ... Setting up libxmlb2:amd64 (0.3.20-1) ... Setting up libnet-http-perl (6.23-1) ... Setting up libtext-markdown-discount-perl (0.16-1+b3) ... Setting up libexception-class-perl (1.45-1) ... Setting up libdevel-callchecker-perl:amd64 (0.009-1+b1) ... Setting up libxml-sax-perl (1.02+dfsg-3) ... update-perl-sax-parsers: Registering Perl SAX parser XML::SAX::PurePerl with priority 10... update-perl-sax-parsers: Updating overall Perl SAX parser modules info file... Creating config file /etc/perl/XML/SAX/ParserDetails.ini with new version Setting up libldap-2.5-0:amd64 (2.5.18+dfsg-3+b1) ... Setting up ca-certificates (20240203) ... Updating certificates in /etc/ssl/certs... 146 added, 0 removed; done. Setting up libdata-validate-uri-perl (0.07-3) ... Setting up libxs-parse-keyword-perl (0.46-1+b1) ... Setting up libgssapi-krb5-2:amd64 (1.21.3-3) ... Setting up libdata-optlist-perl (0.114-1) ... Setting up libreadline8t64:amd64 (8.2-5) ... Setting up libxml-libxml-perl (2.0207+dfsg+really+2.0134-5+b1) ... update-perl-sax-parsers: Registering Perl SAX parser XML::LibXML::SAX::Parser with priority 50... update-perl-sax-parsers: Registering Perl SAX parser XML::LibXML::SAX with priority 50... update-perl-sax-parsers: Updating overall Perl SAX parser modules info file... Replacing config file /etc/perl/XML/SAX/ParserDetails.ini with new version Setting up libwww-robotrules-perl (6.02-1) ... Setting up libsyntax-keyword-try-perl (0.30-1+b1) ... Setting up libhtml-parser-perl:amd64 (3.83-1+b1) ... Setting up gpgconf (2.2.44-1) ... Setting up libio-socket-ssl-perl (2.089-1) ... Setting up gpg (2.2.44-1) ... Setting up libsub-exporter-perl (0.990-1) ... Setting up libhttp-message-perl (7.00-2) ... Setting up libhtml-form-perl (6.11-2) ... Setting up libiterator-perl (0.03+ds1-2) ... Setting up libhttp-negotiate-perl (6.01-2) ... Setting up libiterator-util-perl (0.02+ds1-2) ... Setting up libhttp-cookies-perl (6.11-1) ... Setting up libhtml-tree-perl (5.07-3) ... Setting up libparams-classify-perl:amd64 (0.015-2+b4) ... Setting up libcgi-pm-perl (4.66-1) ... Setting up libcurl3t64-gnutls:amd64 (8.10.1-2) ... Setting up libappstream5:amd64 (1.0.3-1) ... Setting up appstream (1.0.3-1) ... ✔ Metadata cache was updated successfully. Setting up libmodule-runtime-perl (0.016-2) ... Setting up libconst-fast-perl (0.014-2) ... Setting up libdata-dpath-perl (0.60-1) ... Setting up libmodule-implementation-perl (0.09-2) ... Setting up libpackage-stash-perl (0.40-1) ... Setting up libimport-into-perl (1.002005-2) ... Setting up libmoo-perl (2.005005-1) ... Setting up liblist-someutils-perl (0.59-1) ... Setting up libmoox-aliases-perl (0.001006-2) ... Setting up libb-hooks-endofscope-perl (0.28-1) ... Setting up libnamespace-clean-perl (0.27-2) ... Setting up liblwp-protocol-https-perl (6.14-1) ... Setting up libwww-perl (6.77-1) ... Setting up libhtml-tokeparser-simple-perl (3.16-4) ... Setting up libwww-mechanize-perl (2.19-1) ... Setting up lintian (2.119.0) ... Setting up sbuild-build-depends-lintian-dummy:riscv64 (0.invalid.0) ... Processing triggers for libc-bin (2.40-3) ... Processing triggers for man-db (2.13.0-1) ... Not building database; man-db/auto-update is not 'true'. Processing triggers for ca-certificates (20240203) ... Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d... done. Running lintian... I: Lintian run was successful. +------------------------------------------------------------------------------+ | Post Build | +------------------------------------------------------------------------------+ +------------------------------------------------------------------------------+ | Cleanup | +------------------------------------------------------------------------------+ Purging /<> Not cleaning session: cloned chroot in use +------------------------------------------------------------------------------+ | Summary | +------------------------------------------------------------------------------+ Build Architecture: amd64 Build Profiles: cross nocheck Build Type: any Build-Space: 64636 Build-Time: 64 Distribution: unstable Foreign Architectures: riscv64 Host Architecture: riscv64 Install-Time: 13 Job: testdisk_7.2-0.1 Lintian: pass Machine Architecture: amd64 Package: testdisk Package-Time: 86 Source-Version: 7.2-0.1 Space: 64636 Status: successful Version: 7.2-0.1 -------------------------------------------------------------------------------- Finished at 2024-10-17T13:30:13Z Build needed 00:01:26, 64636k disk space