>>> testdisk: Building main/testdisk 7.2-r1 (using abuild 3.13.0-r3) started Mon, 13 May 2024 05:29:12 +0000 >>> testdisk: Checking sanity of /home/buildozer/aports/main/testdisk/APKBUILD... >>> testdisk: Analyzing dependencies... >>> testdisk: Installing for build: build-base e2fsprogs-dev ntfs-3g-dev ncurses-dev zlib-dev libjpeg-turbo-dev (1/55) Installing libeconf (0.6.3-r0) (2/55) Installing libblkid (2.40.1-r0) (3/55) Installing libuuid (2.40.1-r0) (4/55) Installing libfdisk (2.40.1-r0) (5/55) Installing libmount (2.40.1-r0) (6/55) Installing libsmartcols (2.40.1-r0) (7/55) Installing readline (8.2.10-r0) (8/55) Installing sqlite (3.45.3-r0) (9/55) Installing sqlite-libs (3.45.3-r0) (10/55) Installing sqlite-dev (3.45.3-r0) (11/55) Installing util-linux (2.40.1-r0) (12/55) Installing setarch (2.40.1-r0) (13/55) Installing util-linux-misc (2.40.1-r0) (14/55) Installing skalibs (2.14.1.1-r0) (15/55) Installing utmps-libs (0.1.2.2-r1) (16/55) Installing linux-pam (1.6.0-r0) (17/55) Installing runuser (2.40.1-r0) (18/55) Installing mount (2.40.1-r0) (19/55) Installing losetup (2.40.1-r0) (20/55) Installing hexdump (2.40.1-r0) (21/55) Installing uuidgen (2.40.1-r0) (22/55) Installing blkid (2.40.1-r0) (23/55) Installing sfdisk (2.40.1-r0) (24/55) Installing mcookie (2.40.1-r0) (25/55) Installing agetty (2.40.1-r0) (26/55) Installing wipefs (2.40.1-r0) (27/55) Installing cfdisk (2.40.1-r0) (28/55) Installing umount (2.40.1-r0) (29/55) Installing flock (2.40.1-r0) (30/55) Installing lsblk (2.40.1-r0) (31/55) Installing libcap-ng (0.8.5-r0) (32/55) Installing setpriv (2.40.1-r0) (33/55) Installing logger (2.40.1-r0) (34/55) Installing partx (2.40.1-r0) (35/55) Installing fstrim (2.40.1-r0) (36/55) Installing findmnt (2.40.1-r0) (37/55) Installing util-linux-dev (2.40.1-r0) (38/55) Installing gawk (5.3.0-r0) (39/55) Installing libcom_err (1.47.0-r5) (40/55) Installing e2fsprogs-libs (1.47.0-r5) (41/55) Installing e2fsprogs-dev (1.47.0-r5) (42/55) Installing ntfs-3g-libs (2022.10.3-r3) (43/55) Installing ntfs-3g-dev (2022.10.3-r3) (44/55) Installing libformw (6.4_p20240420-r0) (45/55) Installing libmenuw (6.4_p20240420-r0) (46/55) Installing libpanelw (6.4_p20240420-r0) (47/55) Installing libncurses++ (6.4_p20240420-r0) (48/55) Installing ncurses-dev (6.4_p20240420-r0) (49/55) Installing zlib-dev (1.3.1-r1) (50/55) Installing libjpeg-turbo (3.0.3-r0) (51/55) Installing libturbojpeg (3.0.3-r0) (52/55) Installing libjpeg-turbo-dev (3.0.3-r0) (53/55) Installing .makedepends-testdisk (20240513.052913) (54/55) Installing util-linux-openrc (2.40.1-r0) (55/55) Installing agetty-openrc (0.54-r1) Executing busybox-1.36.1-r26.trigger OK: 436 MiB in 163 packages >>> testdisk: Cleaning up srcdir >>> testdisk: Cleaning up pkgdir >>> testdisk: Cleaning up tmpdir >>> testdisk: Fetching https://distfiles.alpinelinux.org/distfiles/edge/testdisk-7.2.tar.bz2 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 3 835k 3 32768 0 0 543k 0 0:00:01 --:--:-- 0:00:01 542k 100 835k 100 835k 0 0 9579k 0 --:--:-- --:--:-- --:--:-- 9496k >>> testdisk: Fetching https://distfiles.alpinelinux.org/distfiles/edge/testdisk-7.2.tar.bz2 >>> testdisk: Checking sha512sums... testdisk-7.2.tar.bz2: OK implicit-basename-declaration.patch: OK >>> testdisk: Unpacking /var/cache/distfiles/testdisk-7.2.tar.bz2... >>> testdisk: implicit-basename-declaration.patch patching file src/hdaccess.c checking build system type... aarch64-alpine-linux-musl checking host system type... aarch64-alpine-linux-musl checking target system type... aarch64-alpine-linux-musl checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... ./config/install-sh -c -d checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for aarch64-alpine-linux-musl-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... gcc3 checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking dependency style of g++... gcc3 checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for aarch64-alpine-linux-musl-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for aarch64-alpine-linux-musl-windres... no checking for windres... no configure: WARNING: Could not find a windres tool in your PATH. checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no 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... /bin/grep checking for egrep... /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... no checking for linux/hdreg.h... no checking for linux/types.h... no 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... no checking for ncursesw/ncurses.h... no 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... no 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 how to run the C preprocessor... gcc -E checking whether gcc needs -traditional... no checking for initscr in -lncursesw... yes checking for keypad in -ltinfow... no checking for keypad in -ltinfo... no 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 aarch64-alpine-linux-musl-moc-qt5... no checking for aarch64-alpine-linux-musl-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 aarch64-alpine-linux-musl-rcc-qt5... no checking for aarch64-alpine-linux-musl-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 aarch64-alpine-linux-musl-lrelease-qt5... no checking for aarch64-alpine-linux-musl-lrelease... no checking for lrelease-qt5... no checking for lrelease... no configure: WARNING: Could not find a lrelease-qt5 or lrelease tool in your PATH. checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... no checking whether pthreads work with -pthreads... no checking whether pthreads work with -mthreads... no checking for the pthreads library -lpthread... no checking whether pthreads work with --thread-safe... no checking whether pthreads work with -mt... no checking for pthread-config... 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 all-recursive make[1]: Entering directory '/home/buildozer/aports/main/testdisk/src/testdisk-7.2' Making all in icons make[2]: Entering directory '/home/buildozer/aports/main/testdisk/src/testdisk-7.2/icons' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/buildozer/aports/main/testdisk/src/testdisk-7.2/icons' Making all in man make[2]: Entering directory '/home/buildozer/aports/main/testdisk/src/testdisk-7.2/man' Making all in zh_CN make[3]: Entering directory '/home/buildozer/aports/main/testdisk/src/testdisk-7.2/man/zh_CN' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/buildozer/aports/main/testdisk/src/testdisk-7.2/man/zh_CN' make[3]: Entering directory '/home/buildozer/aports/main/testdisk/src/testdisk-7.2/man' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/home/buildozer/aports/main/testdisk/src/testdisk-7.2/man' make[2]: Leaving directory '/home/buildozer/aports/main/testdisk/src/testdisk-7.2/man' Making all in src make[2]: Entering directory '/home/buildozer/aports/main/testdisk/src/testdisk-7.2/src' CC common.o CC crc.o CC ext2_common.o CC fat_common.o CC log.o CC misc.o CC setdate.o CC apfs_common.o CC autoset.o CC ewf.o CC fnctdsk.o CC hdaccess.o CC hdcache.o CC hdwin32.o CC hidden.o CC hpa_dco.o CC intrf.o CC iso.o CC list_sort.o CC log_part.o CC msdos.o CC parti386.o CC partgpt.o CC parthumax.o CC partmac.o CC partsun.o CC partnone.o CC partxbox.o CC ntfs_io.o CC ntfs_utl.o CC partauto.o CC sudo.o CC unicode.o CC win32.o CC analyse.o CC apfs.o CC bfs.o CC bsd.o CC btrfs.o CC cramfs.o CC exfat.o CC ext2.o CC fat.o CC fatx.o CC f2fs.o CC jfs.o CC gfs2.o CC hfs.o CC hfsp.o CC hpfs.o CC luks.o CC lvm.o CC md.o CC netware.o CC ntfs.o CC refs.o CC rfs.o CC savehdr.o CC sun.o CC swap.o CC sysv.o CC ufs.o In file included from crc.c:29: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC vmfs.o CC wbfs.o CC xfs.o CC zfs.o CC addpart.o CC addpartn.o CC adv.o CC askloc.o CC chgarch.o CC chgarchn.o CC chgtype.o CC chgtypen.o CC dimage.o In file included from fat_common.c:30: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC dirn.o CC dirpart.o CC diskacc.o 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__)); | ^ CC diskcapa.o In file included from autoset.c:27: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC edit.o CC ext2_sb.o In file included from hidden.c:28: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC ext2_sbn.o In file included from log_part.c:28: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from common.c:55: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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 unicode.c:28: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from ext2_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__)); | ^ In file included from misc.c:54: common.h:42:1: 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ In file included from fnctdsk.c:35: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC fat1x.o In file included from hdcache.c:34: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from bfs.c:32: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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 hdaccess.c:63: 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__)); | ^ In file included from iso.c:33: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC fat32.o In file included from iso.c:34: iso9660.h:64:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 64 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from bsd.c:32: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from log.c:47: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from gfs2.c:32: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from hpa_dco.c:49: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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 partauto.c:31: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC fat_adv.o 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 parthumax.c:38: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partmac.c:38: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ hpa_dco.c: In function 'disk_get_hpa_dco': hpa_dco.c:355:33: warning: unused parameter 'fd' [-Wunused-parameter] 355 | void disk_get_hpa_dco(const int fd, disk_t *disk) | ~~~~~~~~~~^~ hpa_dco.c:355:45: warning: unused parameter 'disk' [-Wunused-parameter] 355 | void disk_get_hpa_dco(const int fd, disk_t *disk) | ~~~~~~~~^~~~ 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__)); | ^ CC fat_cluster.o In file included from parti386.c:49: exfat.h:52:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 52 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partgpt.c:51: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:72:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 72 | } __attribute__ ((gcc_struct, __packed__)); | ^ parthumax.c:118:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 118 | } __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__)); | ^ parthumax.c:124:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 124 | } __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: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__)); | ^ 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 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 partnone.c:37: 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 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 analyse.c:39: btrfs.h:99:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 99 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partsun.c:38: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ btrfs.h:141:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 141 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partxbox.c:38: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC fatn.o 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__)); | ^ In file included from partgpt.c:59: partgpt.h:48:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 48 | } __attribute__ ((gcc_struct, __packed__)); | ^ fat_common.h:106:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 106 | } __attribute__ ((gcc_struct, __packed__)); | ^ parthumax.c: In function 'read_part_humax': fat_common.h:122:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 122 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ In file included from analyse.c:42: fatx.h:35:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 35 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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) | ~~~~~~~~~~^~~~~~~ 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__)); | ^ parthumax.c: In function 'init_part_order_humax': 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__)); | ^ 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) | ~~~~~~~~~~~~~~^~~~~~~~ In file included from analyse.c:43: f2fs_fs.h:61:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 61 | } __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: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__)); | ^ f2fs_fs.h:105:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 105 | } __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__)); | ^ In file included from partxbox.c:43: partxbox.h:35:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 35 | } __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 netware.c:33: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __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__)); | ^ In file included from partgpt.c:64: exfat.h:52:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 52 | } __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__)); | ^ exfat.h:72:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 72 | } __attribute__ ((gcc_struct, __packed__)); | ^ parthumax.c: In function 'set_next_status_humax': exfat.h:86:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 86 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs_struct.h:78:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 78 | } __attribute__ ((gcc_struct, __packed__)); | ^ exfat.h:95:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 95 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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) | ~~~~~~~~~~~~~~^~~~~~~~ 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__)); | ^ In file included from analyse.c:46: hfs.h:34:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 34 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs_struct.h:198:9: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 198 | } __attribute__((gcc_struct, __packed__)); | ^ parthumax.c: In function 'init_structure_humax': hfs.h:77:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 77 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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) | ~~~~~~~~~~~~~~^~~~~~~~ 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__)); | ^ In file included from partnone.c:49: btrfs.h:99:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 99 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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) | ~~~~~~~~~~^~~~~~~ ntfs_struct.h:205:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 205 | } __attribute__((gcc_struct, __packed__)) TD_FILE_NAME_ATTR; | ^ fat_common.h:106:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 106 | } __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__)); | ^ fat_common.h:122:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 122 | } __attribute__ ((gcc_struct, __packed__)); | ^ parthumax.c: In function 'get_partition_typename_humax': In file included from intrf.c:58: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ btrfs.h:141:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 141 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs_struct.h:245:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 245 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; | ^ parthumax.c:361:68: warning: unused parameter 'partition' [-Wunused-parameter] 361 | static const char *get_partition_typename_humax(const partition_t *partition) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ In file included from partgpt.c:66: hfs.h:34:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 34 | } __attribute__ ((gcc_struct, __packed__)); | ^ hdaccess.c:166:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 166 | } __attribute__ ((gcc_struct, __packed__)); | ^ hfs.h:77:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 77 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partnone.c:51: exfat.h:52:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 52 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from parti386.c:57: sun.h:77:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 77 | } __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__)); | ^ partxbox.c: In function 'write_part_xbox': exfat.h:95:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 95 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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) | ~~~~~~~~~~~~~~^~~~~~~~ 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__)); | ^ In file included from parti386.c:62: partgpt.h:48:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 48 | } __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__)); | ^ In file included from parti386.c:63: partxbox.h:35:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 35 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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 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__)); | ^ ufs.h:460:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 460 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs_struct.h:149:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 149 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; | ^ In file included from partnone.c:54: fatx.h:35:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 35 | } __attribute__ ((gcc_struct, __packed__)); | ^ partxbox.c: In function 'set_next_status_xbox': In file included from addpart.c:30: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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) | ~~~~~~~~~~~~~~^~~~~~~~ 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; | ^ 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 partnone.c:55: f2fs_fs.h:61:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 61 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs_struct.h:245:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 245 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; | ^ partxbox.c: In function 'init_structure_xbox': In file included from fat.c:39: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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) | ~~~~~~~~~~^~~~~~~ In file included from analyse.c:56: refs.h:39:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 39 | } __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 addpartn.c:36: partgpt.h:48:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 48 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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 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 ext2.c:35: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __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 ntfs.h:24, from partgpt.c:70: ntfs_struct.h:59:9: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 59 | } __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 analyse.c:58: sun.h:77:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 77 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs_struct.h:78:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 78 | } __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__)); | ^ 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 cramfs.c:35: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC geometry.o 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 addpart.c:34: partmac.h:94:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 94 | } __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__)); | ^ In file included from analyse.c:60: sysv.h:121:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 121 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs_struct.h:149:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 149 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; | ^ In file included from addpart.c:36: partxbox.h:35:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 35 | } __attribute__ ((gcc_struct, __packed__)); | ^ apfs_common.h:42:3: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__((gcc_struct, __packed__)); | ^ ntfs_struct.h:193:17: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 193 | } __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__)); | ^ ntfs_struct.h:198:9: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 198 | } __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__)); | ^ hfs.h:77:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 77 | } __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__)); | ^ fat_common.h:122:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 122 | } __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; | ^ 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__)); | ^ 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:61: ufs.h:292:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 292 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from diskcapa.c:28: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __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__)); | ^ apfs.c: In function 'set_APFS_info': ufs.h:341:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 341 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partgpt.c:71: refs.h:39:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 39 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from jfs.c:33: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from chgtype.c:32: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ apfs.c:41:50: warning: unused parameter 'sb' [-Wunused-parameter] 41 | static void set_APFS_info(const nx_superblock_t *sb, partition_t *partition) | ~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from btrfs.c:35: btrfs.h:99:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 99 | } __attribute__ ((gcc_struct, __packed__)); | ^ ufs.h:460:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 460 | } __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:62: vmfs.h:37:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 37 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from f2fs.c:34: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __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__)); | ^ 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) | ~~~~~~~~~~~~~~^~~~~~~~ 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__)); | ^ partmac.c: In function 'write_part_mac': hdaccess.c: In function 'disk_get_geometry': 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ 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__)); | ^ 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) | ~~~~~~~~~~^~~~~~~ ntfs_struct.h:78:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 78 | } __attribute__ ((gcc_struct, __packed__)); | ^ hdaccess.c:696:62: warning: unused parameter 'hd_h' [-Wunused-parameter] 696 | static void disk_get_geometry(CHSgeometry_t *geom, const int hd_h, const char *device, const int verbose) | ~~~~~~~~~~^~~~ partmac.c: In function 'init_part_order_mac': ntfs_struct.h:149:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 149 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; | ^ 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) | ~~~~~~~~~~~~~~^~~~~~~~ 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__)); | ^ In file included from refs.c:34: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __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 hfs.c:33: 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__)); | ^ In file included from partnone.c:70: refs.h:39:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 39 | } __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 hpfs.c:35: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __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__)); | ^ 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) | ~~~~~~~~~~^~~~~~~ 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 hfsp.c:34: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from luks.c:33: 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__)); | ^ In file included from partnone.c:73: sysv.h:121:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 121 | } __attribute__ ((gcc_struct, __packed__)); | ^ partmac.c: In function 'set_next_status_mac': In file included from hfs.c:34: hfs.h:34:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 34 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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) | ~~~~~~~~~~~~~~^~~~~~~~ hfs.h:77:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 77 | } __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__)); | ^ In file included from lvm.c:34: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __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 md.c:34: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ partmac.c: In function 'init_structure_mac': partsun.c: In function 'set_next_status_sun': In file included from partnone.c:75: ufs.h:292:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 292 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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) | ~~~~~~~~~~~~~~^~~~~~~~ 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) | ~~~~~~~~~~~~~~^~~~~~~~ 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__)); | ^ 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) | ~~~~~~~~~~^~~~~~~ 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 '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) | ~~~~~~~~~~~~~~^~~~~~~~ In file included from rfs.c:35: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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) | ~~~~~~~~~~^~~~~~~ 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 swap.c:34: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __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__)); | ^ f2fs.c: In function 'recover_f2fs': vmfs.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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) | ~~~~~~~~~~~~~~^~~~ In file included from partnone.c:78: wbfs.h:41:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 41 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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 wbfs.c:33: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ hdaccess.c: At top level: In file included from sun.c:35: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ hdaccess.c:1071:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 1071 | } __attribute__((gcc_struct,__packed__)) scsi_inquiry_data_t; | ^ CC geometryn.o 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__)); | ^ 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 ntfs.h:24, from ntfs.c:42: ntfs_struct.h:59:9: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 59 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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 wbfs.c:36: wbfs.h:41:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 41 | } __attribute__ ((gcc_struct, __packed__)); | ^ ntfs_struct.h:78:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 78 | } __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__)); | ^ ntfs_struct.h:149:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 149 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; | ^ In file included from vmfs.c:33: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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; | ^ partnone.c: In function 'get_geometry_from_nonembr': ntfs_struct.h:245:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 245 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_ROOT; | ^ In file included from savehdr.c:41: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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) | ~~~~~~~~~~^~~~~~~ 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__)); | ^ In file included from sysv.c:36: sysv.h:121:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 121 | } __attribute__ ((gcc_struct, __packed__)); | ^ ufs.h:308:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 308 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from xfs.c:35: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __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__)); | ^ partnone.c: In function 'init_part_order_none': 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__)); | ^ 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) | ~~~~~~~~~~~~~^~~~~~~~~ ufs.h:460:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 460 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ hdaccess.c: In function 'disk_get_model': 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': In file included from zfs.c:33: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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) | ~~~~~~~~~~~~~~^~~~~~~~ In file included from diskacc.c:31: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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) | ~~~~~~~~~~^~~~~~~ hdaccess.c:1140:76: warning: unused parameter 'verbose' [-Wunused-parameter] 1140 | static void disk_get_model(const int hd_h, disk_t *dev, const unsigned 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) | ~~~~~~~~~~^~~~~~~~~~ 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__)); | ^ In file included from chgarch.c:34: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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 adv.c:39: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from ext2_sbn.c:31: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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 ext2_sb.c:31: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ hdaccess.c: In function 'file_nopwrite': hdaccess.c:1619:56: warning: unused parameter 'buf' [-Wunused-parameter] 1619 | static int file_nopwrite(disk_t *disk_car, const void *buf, const unsigned int count, const uint64_t offset) | ~~~~~~~~~~~~^~~ CC godmode.o In file included from edit.c:35: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC hiddenn.o CC intrface.o 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) | ~~~~~~~~~~~~~~^~~~~~~~ CC intrfn.o 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) | ~~~~~~~~~~^~~~~~~ In file included from dimage.c:48: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from askloc.c:57: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC io_redir.o 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 ntfs_utl.c:67: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC nodisk.o 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_io.c:61: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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 fatn.c:34: 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) | ~~~~~~~~~~~~~~~~~~~~^~~ In file included from chgarchn.c:39: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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) | ~~~~~~^~~~ CC ntfs_adv.o CC ntfs_fix.o CC ntfs_udl.o In file included from fat32.c:35: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC parti386n.o 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_cluster.c:35: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC partgptn.o 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__)); | ^ CC partmacn.o CC partsunn.o CC partxboxn.o CC tanalyse.o In file included from geometry.c:34: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC tbanner.o In file included from hiddenn.c:33: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC tdelete.o 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 geometryn.c:39: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC tdiskop.o CC tdisksel.o In file included from chgtypen.c:49: partgpt.h:48:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 48 | } __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; | ^ CC testdisk.o CC texfat.o In file included from nodisk.c:40: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC tload.o CC thfs.o In file included from partgpt.c:75: guid_cmp.h: In function 'is_part_known_gpt': guid_cmp.h:31:19: warning: inlining failed in call to 'guid_cmp': call is unlikely and code size would grow [-Winline] 31 | static inline int guid_cmp (const efi_guid_t left, const efi_guid_t right) | ^~~~~~~~ partgpt.c:492:11: note: called from here 492 | return (guid_cmp(partition->part_type_gpt, GPT_ENT_TYPE_UNUSED)!=0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC tlog.o In file included from io_redir.c:35: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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 parti386n.c:38: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC tmbrcode.o 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 ntfs.h:24, from dirpart.c:48: ntfs_struct.h:59:9: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 59 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partmacn.c:38: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __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__)); | ^ CC tntfs.o 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 partsunn.c:38: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ guid_cmp.h: In function 'init_part_order_gpt': guid_cmp.h:31:19: warning: inlining failed in call to 'guid_cmp': call is unlikely and code size would grow [-Winline] 31 | static inline int guid_cmp (const efi_guid_t left, const efi_guid_t right) | ^~~~~~~~ partgpt.c:398:9: note: called from here 398 | guid_cmp(element->part->part_type_gpt, GPT_ENT_TYPE_UNUSED)!=0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from intrfn.c:63: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC toptions.o 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__)); | ^ CC tpartwr.o In file included from partxboxn.c:38: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC dir.o 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 tdelete.c:28: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC exfat_dir.o 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; | ^ In file included from tbanner.c:29: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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 ntfs_udl.c:50: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC ext2_dir.o In file included from intrface.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 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__)); | ^ CC fat_dir.o In function 'get_gpt_typename', inlined from 'get_partition_typename_gpt' at partgpt.c:621:10: guid_cmp.h:31:19: warning: inlining failed in call to 'guid_cmp': call is unlikely and code size would grow [-Winline] 31 | static inline int guid_cmp (const efi_guid_t left, const efi_guid_t right) | ^~~~~~~~ partgpt.c:600:8: note: called from here 600 | if(guid_cmp(gpt_sys_types[i].part_type, part_type_gpt)==0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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__)); | ^ In file included from partgptn.c:48: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from tanalyse.c:31: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC ntfs_dir.o CC partgptw.o In file included from rfs.c:39: guid_cpy.h: In function 'recover_rfs': guid_cpy.h:33:20: warning: inlining failed in call to 'guid_cpy': call is unlikely and code size would grow [-Winline] 33 | static inline void guid_cpy (efi_guid_t *dst, const efi_guid_t *src) | ^~~~~~~~ rfs.c:153:5: note: called from here 153 | guid_cpy(&partition->part_uuid, (const efi_guid_t *)&sb->s_uuid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ guid_cpy.h:33:20: warning: inlining failed in call to 'guid_cpy': call is unlikely and code size would grow [-Winline] 33 | static inline void guid_cpy (efi_guid_t *dst, const efi_guid_t *src) | ^~~~~~~~ In file included from tdiskop.c:31: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ rfs.c:175:5: note: called from here 175 | guid_cpy(&partition->part_uuid, (const efi_guid_t *)&sb4->uuid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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__)); | ^ 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); | ^~~~~~~~~ CC rfs_dir.o 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; | ^ CC next.o In file included from godmode.c:50: partgpt.h:48:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 48 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from tdisksel.c:37: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC photorec.o In file included from tlog.c:28: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC phcfg.o In file included from testdisk.c:51: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC exfatp.o In file included from texfat.c:35: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC ext2grp.o CC ext2p.o In file included from tmbrcode.c:31: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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 thfs.c:35: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC fatp.o CC file_found.o In file included from tpartwr.c:31: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from toptions.c:30: 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; | ^ In file included from tntfs.c:34: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ guid_cmp.h: In function 'check_part_gpt': guid_cmp.h:31:19: warning: inlining failed in call to 'guid_cmp': call is unlikely and code size would grow [-Winline] 31 | static inline int guid_cmp (const efi_guid_t left, const efi_guid_t right) | ^~~~~~~~ partgpt.c:532:6: note: called from here 532 | if(guid_cmp(partition->part_type_gpt, GPT_ENT_TYPE_MS_BASIC_DATA)==0 || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ guid_cmp.h:31:19: warning: inlining failed in call to 'guid_cmp': call is unlikely and code size would grow [-Winline] 31 | static inline int guid_cmp (const efi_guid_t left, const efi_guid_t right) | ^~~~~~~~ partgpt.c:533:7: note: called from here 533 | guid_cmp(partition->part_type_gpt, GPT_ENT_TYPE_MS_RESERVED)==0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ guid_cmp.h:31:19: warning: inlining failed in call to 'guid_cmp': call is unlikely and code size would grow [-Winline] 31 | static inline int guid_cmp (const efi_guid_t left, const efi_guid_t right) | ^~~~~~~~ partgpt.c:547:11: note: called from here 547 | else if(guid_cmp(partition->part_type_gpt, GPT_ENT_TYPE_LINUX_RAID)==0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ guid_cmp.h:31:19: warning: inlining failed in call to 'guid_cmp': call is unlikely and code size would grow [-Winline] 31 | static inline int guid_cmp (const efi_guid_t left, const efi_guid_t right) | ^~~~~~~~ partgpt.c:553:11: note: called from here 553 | else if(guid_cmp(partition->part_type_gpt, GPT_ENT_TYPE_LINUX_LVM)==0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ guid_cmp.h:31:19: warning: inlining failed in call to 'guid_cmp': call is unlikely and code size would grow [-Winline] 31 | static inline int guid_cmp (const efi_guid_t left, const efi_guid_t right) | ^~~~~~~~ partgpt.c:561:11: note: called from here 561 | else if(guid_cmp(partition->part_type_gpt, GPT_ENT_TYPE_MAC_HFS)==0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ guid_cmp.h:31:19: warning: inlining failed in call to 'guid_cmp': call is unlikely and code size would grow [-Winline] 31 | static inline int guid_cmp (const efi_guid_t left, const efi_guid_t right) | ^~~~~~~~ In file included from partmacn.c:44: partmac.h:94:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 94 | } __attribute__ ((gcc_struct, __packed__)); | ^ partgpt.c:569:11: note: called from here 569 | else if(guid_cmp(partition->part_type_gpt, GPT_ENT_TYPE_MAC_APFS)==0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ guid_cmp.h:31:19: warning: inlining failed in call to 'guid_cmp': call is unlikely and code size would grow [-Winline] 31 | static inline int guid_cmp (const efi_guid_t left, const efi_guid_t right) | ^~~~~~~~ partgpt.c:575:11: note: called from here 575 | else if(guid_cmp(partition->part_type_gpt, GPT_ENT_TYPE_BEOS_BFS)==0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC ntfsp.o CC pdisksel.o 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 next.c:32: 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__)); | ^ CC poptions.o 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)) | ^ CC sessionp.o 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 dir.c:51: 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__)); | ^ CC dfxml.o fat_dir.c: In function 'dir_fat_aux': fat_dir.c:134:24: warning: converting a packed 'const struct msdos_dir_entry' pointer (alignment 1) to a 'const struct msdos_dir_slot' pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 134 | ds = (const struct msdos_dir_slot *) de; | ^~~~~~~~~~~~~~ fat_dir.c:141:26: warning: converting a packed 'const struct msdos_dir_entry' pointer (alignment 1) to a 'const struct msdos_dir_slot' pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 141 | ds = (const struct msdos_dir_slot *) de; | ^~~~~~~~~~~~~~ fat_dir.c:158:26: warning: converting a packed 'const struct msdos_dir_entry' pointer (alignment 1) to a 'const struct msdos_dir_slot' pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 158 | ds = (const struct msdos_dir_slot *) de_initial; | ^~~~~~~~~~~~~~ fat_dir.c:192:24: warning: converting a packed 'const struct msdos_dir_entry' pointer (alignment 1) to a 'const struct msdos_dir_slot' pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 192 | ds = (const struct msdos_dir_slot *) de; | ^~~~~~~~~~~~~~ fat_dir.c:223:28: warning: converting a packed 'const struct msdos_dir_entry' pointer (alignment 1) to a 'const struct msdos_dir_slot' pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 223 | ds = (const struct msdos_dir_slot *) de; | ^~~~~~~~~~~~~~ CC partgptro.o CC filegen.o CC file_list.o CC file_1cd.o 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 exfatp.c:31: 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__)); | ^ In file included from ext2grp.c:30: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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 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__)); | ^ 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) | ~~~~~~~~~~^~~~~~~ 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__)); | ^ CC file_3dm.o 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 partgptw.c:45: partgpt.h:48:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 48 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC file_3ds.o 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" | ^~~~~~~ In file included from fatp.c:31: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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) | ^~ CC file_7z.o 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__)); | ^ CC file_DB.o 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) | ~~~~~~~~~~^~~~~~~ CC file_a.o guid_cmp.h: In function 'read_part_gpt_aux': guid_cmp.h:31:19: warning: inlining failed in call to 'guid_cmp': call is unlikely and code size would grow [-Winline] 31 | static inline int guid_cmp (const efi_guid_t left, const efi_guid_t right) | ^~~~~~~~ partgpt.c:349:8: note: called from here 349 | if(guid_cmp(gpt_entry->ent_type, GPT_ENT_TYPE_UNUSED)!=0 && | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from texfat.c:39: exfat.h:52:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 52 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partgpt.c:76: guid_cpy.h:33:20: warning: inlining failed in call to 'guid_cpy': call is unlikely and code size would grow [-Winline] 33 | static inline void guid_cpy (efi_guid_t *dst, const efi_guid_t *src) | ^~~~~~~~ partgpt.c:356:7: note: called from here 356 | guid_cpy(&new_partition->part_type_gpt, &gpt_entry->ent_type); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ guid_cpy.h:33:20: warning: inlining failed in call to 'guid_cpy': call is unlikely and code size would grow [-Winline] 33 | static inline void guid_cpy (efi_guid_t *dst, const efi_guid_t *src) | ^~~~~~~~ partgpt.c:355:7: note: called from here 355 | guid_cpy(&new_partition->part_uuid, &gpt_entry->ent_uuid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ exfat.h:72:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 72 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from photorec.c:57: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __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__)); | ^ CC file_ab.o In file included from ext2p.c:39: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC file_abr.o In file included from file_found.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__)); | ^ In file included from phcfg.c:41: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ hfs.h:77:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 77 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from pdisksel.c:32: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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, | ~~~~~~~~~~~~~^~~~~~~~~~~ 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_udl.c: In function 'get_filenames': ntfs_struct.h:149:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 149 | } __attribute__((gcc_struct, __packed__)) TD_INDEX_HEADER; | ^ 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_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 ext2_dir.c:48: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from ntfs_dir.c:77: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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__)); | ^ In file included from ntfsp.c:44: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __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) | ~~~~~~~~~~^~~~~~~ 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)) | ^ 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) | ~~~~^~~~~ In file included from poptions.c:31: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ ext2_dir.c: In function 'my_flush': CC file_acb.o ext2_dir.c:213:38: warning: unused parameter 'channel' [-Wunused-parameter] 213 | static errcode_t my_flush(io_channel channel) | ~~~~~~~~~~~^~~~~~~ ntfs_dir.c: In function 'ntfs_td_list_entry': ntfs_dir.c:172:68: warning: unused parameter 'pos' [-Wunused-parameter] 172 | const int name_len, const int name_type, const s64 pos, | ~~~~~~~~~~^~~ 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, | ~~~~~~~~^~~ 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ CC file_ace.o ntfs_dir.c: In function 'ntfs_copy': ext2_dir.c: In function 'ext2_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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ CC file_ado.o 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ CC file_afdesign.o CC file_ahn.o CC file_aif.o In file included from filegen.c:45: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC file_all.o CC file_als.o 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, | ^~~~~~~~~~~~~~~~~~ CC file_amd.o In file included from file_1cd.c:33: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC file_amr.o file_3dm.c: In function 'header_check_3dm': file_1cd.c:52:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 52 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_apa.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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 dfxml.c:59: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from file_ab.c:29: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_ab.c:49:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 49 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from file_7z.c:33: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from partgptw.c:48: In function 'partition_generate_gpt_entry', inlined from 'write_part_gpt' at partgptw.c:237:7: guid_cpy.h:33:20: warning: inlining failed in call to 'guid_cpy': call is unlikely and code size would grow [-Winline] 33 | static inline void guid_cpy (efi_guid_t *dst, const efi_guid_t *src) | ^~~~~~~~ partgptw.c:105:3: note: called from here 105 | guid_cpy(&gpt_entry->ent_type, &partition->part_type_gpt); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ guid_cpy.h:33:20: warning: inlining failed in call to 'guid_cpy': call is unlikely and code size would grow [-Winline] 33 | static inline void guid_cpy (efi_guid_t *dst, const efi_guid_t *src) | ^~~~~~~~ partgptw.c:105:3: note: called from here 105 | guid_cpy(&gpt_entry->ent_type, &partition->part_type_gpt); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ guid_cpy.h:33:20: warning: inlining failed in call to 'guid_cpy': call is unlikely and code size would grow [-Winline] 33 | static inline void guid_cpy (efi_guid_t *dst, const efi_guid_t *src) | ^~~~~~~~ partgptw.c:110:5: note: called from here 110 | guid_cpy(&gpt_entry->ent_uuid, &gpt_entries_org[entry].ent_uuid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ guid_cpy.h:33:20: warning: inlining failed in call to 'guid_cpy': call is unlikely and code size would grow [-Winline] 33 | static inline void guid_cpy (efi_guid_t *dst, const efi_guid_t *src) | ^~~~~~~~ partgptw.c:112:5: note: called from here 112 | guid_cpy(&gpt_entry->ent_uuid, &partition->part_uuid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ guid_cpy.h: In function 'write_part_gpt': guid_cpy.h:33:20: warning: inlining failed in call to 'guid_cpy': call is unlikely and code size would grow [-Winline] 33 | static inline void guid_cpy (efi_guid_t *dst, const efi_guid_t *src) | ^~~~~~~~ partgptw.c:244:5: note: called from here 244 | guid_cpy(&gpt->hdr_guid, &gpt_org->hdr_guid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_ape.o next.c: In function 'search_location_init': next.c:52:24: warning: inlining failed in call to 'CHS_to_offset': call is unlikely and code size would grow [-Winline] 52 | static inline uint64_t CHS_to_offset(const unsigned int C, const int H, const int S,const disk_t *disk_car) | ^~~~~~~~~~~~~ next.c:120:54: note: called from here 120 | search_location_info[search_location_nbr].inc= CHS_to_offset(0,1,0,disk_car); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ next.c:52:24: warning: inlining failed in call to 'CHS_to_offset': call is unlikely and code size would grow [-Winline] 52 | static inline uint64_t CHS_to_offset(const unsigned int C, const int H, const int S,const disk_t *disk_car) | ^~~~~~~~~~~~~ next.c:119:56: note: called from here 119 | search_location_info[search_location_nbr].offset=CHS_to_offset(0,0,1,disk_car); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ next.c:52:24: warning: inlining failed in call to 'CHS_to_offset': call is unlikely and code size would grow [-Winline] 52 | static inline uint64_t CHS_to_offset(const unsigned int C, const int H, const int S,const disk_t *disk_car) | ^~~~~~~~~~~~~ next.c:133:53: note: called from here 133 | search_location_info[search_location_nbr].inc=CHS_to_offset(1,0,0,disk_car); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ next.c:52:24: warning: inlining failed in call to 'CHS_to_offset': call is unlikely and code size would grow [-Winline] 52 | static inline uint64_t CHS_to_offset(const unsigned int C, const int H, const int S,const disk_t *disk_car) | ^~~~~~~~~~~~~ next.c:132:56: note: called from here 132 | search_location_info[search_location_nbr].offset=CHS_to_offset(0,2,1,disk_car); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ next.c:52:24: warning: inlining failed in call to 'CHS_to_offset': call is unlikely and code size would grow [-Winline] 52 | static inline uint64_t CHS_to_offset(const unsigned int C, const int H, const int S,const disk_t *disk_car) | ^~~~~~~~~~~~~ next.c:130:53: note: called from here 130 | search_location_info[search_location_nbr].inc=CHS_to_offset(1,0,0,disk_car); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ next.c:52:24: warning: inlining failed in call to 'CHS_to_offset': call is unlikely and code size would grow [-Winline] 52 | static inline uint64_t CHS_to_offset(const unsigned int C, const int H, const int S,const disk_t *disk_car) | ^~~~~~~~~~~~~ next.c:129:56: note: called from here 129 | search_location_info[search_location_nbr].offset=CHS_to_offset(0,1,1,disk_car); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ next.c:52:24: warning: inlining failed in call to 'CHS_to_offset': call is unlikely and code size would grow [-Winline] 52 | static inline uint64_t CHS_to_offset(const unsigned int C, const int H, const int S,const disk_t *disk_car) | ^~~~~~~~~~~~~ next.c:127:53: note: called from here 127 | search_location_info[search_location_nbr].inc=CHS_to_offset(1,0,0,disk_car); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ next.c:52:24: warning: inlining failed in call to 'CHS_to_offset': call is unlikely and code size would grow [-Winline] 52 | static inline uint64_t CHS_to_offset(const unsigned int C, const int H, const int S,const disk_t *disk_car) | ^~~~~~~~~~~~~ next.c:126:56: note: called from here 126 | search_location_info[search_location_nbr].offset=CHS_to_offset(0,0,1,disk_car); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ next.c:52:24: warning: inlining failed in call to 'CHS_to_offset': call is unlikely and code size would grow [-Winline] 52 | static inline uint64_t CHS_to_offset(const unsigned int C, const int H, const int S,const disk_t *disk_car) | ^~~~~~~~~~~~~ next.c:158:53: note: called from here 158 | search_location_info[search_location_nbr].inc=CHS_to_offset(1,0,0,disk_car); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ next.c:52:24: warning: inlining failed in call to 'CHS_to_offset': call is unlikely and code size would grow [-Winline] 52 | static inline uint64_t CHS_to_offset(const unsigned int C, const int H, const int S,const disk_t *disk_car) | ^~~~~~~~~~~~~ next.c:157:56: note: called from here 157 | search_location_info[search_location_nbr].offset=CHS_to_offset(0,2,7,disk_car); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ next.c:52:24: warning: inlining failed in call to 'CHS_to_offset': call is unlikely and code size would grow [-Winline] 52 | static inline uint64_t CHS_to_offset(const unsigned int C, const int H, const int S,const disk_t *disk_car) | ^~~~~~~~~~~~~ next.c:155:53: note: called from here 155 | search_location_info[search_location_nbr].inc=CHS_to_offset(1,0,0,disk_car); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ next.c:52:24: warning: inlining failed in call to 'CHS_to_offset': call is unlikely and code size would grow [-Winline] 52 | static inline uint64_t CHS_to_offset(const unsigned int C, const int H, const int S,const disk_t *disk_car) | ^~~~~~~~~~~~~ next.c:154:56: note: called from here 154 | search_location_info[search_location_nbr].offset=CHS_to_offset(0,1,7,disk_car); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ next.c:52:24: warning: inlining failed in call to 'CHS_to_offset': call is unlikely and code size would grow [-Winline] 52 | static inline uint64_t CHS_to_offset(const unsigned int C, const int H, const int S,const disk_t *disk_car) | ^~~~~~~~~~~~~ next.c:152:53: note: called from here 152 | search_location_info[search_location_nbr].inc=CHS_to_offset(1,0,0,disk_car); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ next.c:52:24: warning: inlining failed in call to 'CHS_to_offset': call is unlikely and code size would grow [-Winline] 52 | static inline uint64_t CHS_to_offset(const unsigned int C, const int H, const int S,const disk_t *disk_car) | ^~~~~~~~~~~~~ next.c:151:56: note: called from here 151 | search_location_info[search_location_nbr].offset=CHS_to_offset(0,0,7,disk_car); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ next.c:52:24: warning: inlining failed in call to 'CHS_to_offset': call is unlikely and code size would grow [-Winline] 52 | static inline uint64_t CHS_to_offset(const unsigned int C, const int H, const int S,const disk_t *disk_car) | ^~~~~~~~~~~~~ next.c:163:56: note: called from here 163 | search_location_info[search_location_nbr].offset=CHS_to_offset(0,0,7,disk_car); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ next.c:52:24: warning: inlining failed in call to 'CHS_to_offset': call is unlikely and code size would grow [-Winline] 52 | static inline uint64_t CHS_to_offset(const unsigned int C, const int H, const int S,const disk_t *disk_car) | ^~~~~~~~~~~~~ next.c:167:54: note: called from here 167 | search_location_info[search_location_nbr].offset=CHS_to_offset(0,0,7,disk_car); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ next.c:52:24: warning: inlining failed in call to 'CHS_to_offset': call is unlikely and code size would grow [-Winline] 52 | static inline uint64_t CHS_to_offset(const unsigned int C, const int H, const int S,const disk_t *disk_car) | ^~~~~~~~~~~~~ next.c:174:53: note: called from here 174 | search_location_info[search_location_nbr].inc=CHS_to_offset(1,0,0,disk_car); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ next.c:52:24: warning: inlining failed in call to 'CHS_to_offset': call is unlikely and code size would grow [-Winline] 52 | static inline uint64_t CHS_to_offset(const unsigned int C, const int H, const int S,const disk_t *disk_car) | ^~~~~~~~~~~~~ next.c:173:56: note: called from here 173 | search_location_info[search_location_nbr].offset=CHS_to_offset(1,0,-1,disk_car); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ next.c:52:24: warning: inlining failed in call to 'CHS_to_offset': call is unlikely and code size would grow [-Winline] 52 | static inline uint64_t CHS_to_offset(const unsigned int C, const int H, const int S,const disk_t *disk_car) | ^~~~~~~~~~~~~ next.c:201:57: note: called from here 201 | search_location_info[search_location_nbr].inc=CHS_to_offset(1,0,0,disk_car); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ next.c:52:24: warning: inlining failed in call to 'CHS_to_offset': call is unlikely and code size would grow [-Winline] 52 | static inline uint64_t CHS_to_offset(const unsigned int C, const int H, const int S,const disk_t *disk_car) | ^~~~~~~~~~~~~ CC file_apple.o next.c:200:60: note: called from here 200 | search_location_info[search_location_nbr].offset=CHS_to_offset(0,2,1,disk_car)+hd_offset; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ next.c:52:24: warning: inlining failed in call to 'CHS_to_offset': call is unlikely and code size would grow [-Winline] 52 | static inline uint64_t CHS_to_offset(const unsigned int C, const int H, const int S,const disk_t *disk_car) | ^~~~~~~~~~~~~ next.c:198:57: note: called from here 198 | search_location_info[search_location_nbr].inc=CHS_to_offset(1,0,0,disk_car); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ next.c:52:24: warning: inlining failed in call to 'CHS_to_offset': call is unlikely and code size would grow [-Winline] 52 | static inline uint64_t CHS_to_offset(const unsigned int C, const int H, const int S,const disk_t *disk_car) | ^~~~~~~~~~~~~ next.c:197:60: note: called from here 197 | search_location_info[search_location_nbr].offset=CHS_to_offset(0,1,1,disk_car)+hd_offset; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ next.c:52:24: warning: inlining failed in call to 'CHS_to_offset': call is unlikely and code size would grow [-Winline] 52 | static inline uint64_t CHS_to_offset(const unsigned int C, const int H, const int S,const disk_t *disk_car) | ^~~~~~~~~~~~~ next.c:195:57: note: called from here 195 | search_location_info[search_location_nbr].inc=CHS_to_offset(1,0,0,disk_car); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ next.c:52:24: warning: inlining failed in call to 'CHS_to_offset': call is unlikely and code size would grow [-Winline] 52 | static inline uint64_t CHS_to_offset(const unsigned int C, const int H, const int S,const disk_t *disk_car) | ^~~~~~~~~~~~~ In file included from file_abr.c:34: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ next.c:194:60: note: called from here 194 | search_location_info[search_location_nbr].offset=CHS_to_offset(0,0,1,disk_car)+hd_offset; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ next.c:52:24: warning: inlining failed in call to 'CHS_to_offset': call is unlikely and code size would grow [-Winline] 52 | static inline uint64_t CHS_to_offset(const unsigned int C, const int H, const int S,const disk_t *disk_car) | ^~~~~~~~~~~~~ next.c:206:60: note: called from here 206 | search_location_info[search_location_nbr].offset=CHS_to_offset(0,0,1,disk_car)+hd_offset; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC file_ari.o file_abr.c:44:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 44 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC file_arj.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_asf.o CC file_asl.o CC file_asm.o CC file_atd.o 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; | ^ CC file_au.o 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; | ^ CC file_axp.o CC file_axx.o guid_cmp.h: In function 'add_partition_gpt_cli': guid_cmp.h:31:19: warning: inlining failed in call to 'guid_cmp': call is unlikely and code size would grow [-Winline] 31 | static inline int guid_cmp (const efi_guid_t left, const efi_guid_t right) | ^~~~~~~~ partgpt.c:446:43: note: called from here 446 | else if(new_partition->part_size>0 && guid_cmp(new_partition->part_type_gpt, GPT_ENT_TYPE_UNUSED)!=0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_ace.c:66:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 66 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_afdesign.c: In function 'header_check_afdesign': file_all.c: In function 'header_check_all': 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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__)); | ^ CC file_bac.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from file_apa.c:32: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from file_ape.c:32: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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_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: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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_asl.c: In function 'header_check_asl': 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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from file_asf.c:32: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ godmode.c: In function 'add_ext_part_i386': godmode.c:79:24: warning: inlining failed in call to 'CHS2offset_inline': call is unlikely and code size would grow [-Winline] 79 | static inline uint64_t CHS2offset_inline(const disk_t *disk_car,const CHS_t*CHS) | ^~~~~~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_bdm.o godmode.c:1211:13: note: called from here 1211 | tmp=CHS2offset_inline(disk, &start); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ godmode.c:79:24: warning: inlining failed in call to 'CHS2offset_inline': call is unlikely and code size would grow [-Winline] 79 | static inline uint64_t CHS2offset_inline(const disk_t *disk_car,const CHS_t*CHS) | ^~~~~~~~~~~~~~~~~ file_asf.c:54:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 54 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_au.c:56:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 56 | } __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__)); | ^ godmode.c:1240:11: note: called from here 1240 | tmp=CHS2offset_inline(disk, &end); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ godmode.c:79:24: warning: inlining failed in call to 'CHS2offset_inline': call is unlikely and code size would grow [-Winline] 79 | static inline uint64_t CHS2offset_inline(const disk_t *disk_car,const CHS_t*CHS) | ^~~~~~~~~~~~~~~~~ godmode.c:1267:11: note: called from here 1267 | tmp=CHS2offset_inline(disk, &start); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ godmode.c:79:24: warning: inlining failed in call to 'CHS2offset_inline': call is unlikely and code size would grow [-Winline] 79 | static inline uint64_t CHS2offset_inline(const disk_t *disk_car,const CHS_t*CHS) | ^~~~~~~~~~~~~~~~~ file_asf.c: In function 'header_check_asf': file_au.c: In function 'header_check_au': 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_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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_berkeley.o godmode.c:1285:11: note: called from here 1285 | tmp=CHS2offset_inline(disk, &end); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ godmode.c:79:24: warning: inlining failed in call to 'CHS2offset_inline': call is unlikely and code size would grow [-Winline] 79 | static inline uint64_t CHS2offset_inline(const disk_t *disk_car,const CHS_t*CHS) | ^~~~~~~~~~~~~~~~~ godmode.c:1285:11: note: called from here 1285 | tmp=CHS2offset_inline(disk, &end); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC file_bfa.o fat_dir.c:92:20: warning: inlining failed in call to 'fat16_towchar': call is unlikely and code size would grow [-Winline] 92 | static inline void fat16_towchar(wchar_t *dst, const uint8_t *src, size_t len) | ^~~~~~~~~~~~~ fat_dir.c:167:9: note: called from here 167 | fat16_towchar(unicode + offset + 11, ds->name11_12, 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fat_dir.c:92:20: warning: inlining failed in call to 'fat16_towchar': call is unlikely and code size would grow [-Winline] 92 | static inline void fat16_towchar(wchar_t *dst, const uint8_t *src, size_t len) | ^~~~~~~~~~~~~ fat_dir.c:166:9: note: called from here 166 | fat16_towchar(unicode + offset + 5, ds->name5_10, 6); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fat_dir.c:92:20: warning: inlining failed in call to 'fat16_towchar': call is unlikely and code size would grow [-Winline] 92 | static inline void fat16_towchar(wchar_t *dst, const uint8_t *src, size_t len) | ^~~~~~~~~~~~~ fat_dir.c:165:9: note: called from here 165 | fat16_towchar(unicode + offset, ds->name0_4, 5); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fat_dir.c:92:20: warning: inlining failed in call to 'fat16_towchar': call is unlikely and code size would grow [-Winline] 92 | static inline void fat16_towchar(wchar_t *dst, const uint8_t *src, size_t len) | ^~~~~~~~~~~~~ fat_dir.c:213:9: note: called from here 213 | fat16_towchar(unicode + offset + 11, ds->name11_12, 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fat_dir.c:92:20: warning: inlining failed in call to 'fat16_towchar': call is unlikely and code size would grow [-Winline] 92 | static inline void fat16_towchar(wchar_t *dst, const uint8_t *src, size_t len) | ^~~~~~~~~~~~~ fat_dir.c:212:9: note: called from here 212 | fat16_towchar(unicode + offset + 5, ds->name5_10, 6); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fat_dir.c:92:20: warning: inlining failed in call to 'fat16_towchar': call is unlikely and code size would grow [-Winline] 92 | static inline void fat16_towchar(wchar_t *dst, const uint8_t *src, size_t len) | ^~~~~~~~~~~~~ fat_dir.c:211:9: note: called from here 211 | fat16_towchar(unicode + offset, ds->name0_4, 5); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC file_bim.o 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': CC file_bin.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_binvox.o CC file_bkf.o CC file_bld.o CC file_bmp.o CC file_bpg.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_bvr.o CC file_bz2.o CC file_c4d.o CC file_cab.o In file included from file_axx.c:33: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC file_caf.o file_axx.c:52:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 52 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC file_cam.o CC file_catdrawing.o CC file_cdt.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_che.o CC file_chm.o CC file_class.o CC file_clip.o CC file_cm.o CC file_compress.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_cow.o CC file_cpi.o CC file_crw.o CC file_csh.o CC file_ctg.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_cwk.o CC file_d2s.o CC file_dad.o CC file_dar.o 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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_dat.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_dbf.o In file included from file_bac.c:33: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC file_dbn.o file_bac.c:58:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 58 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_binvox.c: In function 'header_check_binvox': CC file_dcm.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ 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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_ddf.o In file included from dir_common.h:30, from dir.h:27, from photorec.c:59: list.h: In function 'file_block_free': file_bin.c:54:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 54 | } __attribute__ ((gcc_struct, __packed__)); | ^ list.h:245:20: warning: inlining failed in call to 'td_list_del': call is unlikely and code size would grow [-Winline] 245 | static inline void td_list_del(struct td_list_head *entry) | ^~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ photorec.c:640:5: note: called from here 640 | td_list_del(tmp); | ^~~~~~~~~~~~~~~~ CC file_dex.o In file included from file_bld.c:32: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from file_bkf.c:33: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC file_dim.o CC file_dir.o CC file_djv.o CC file_dmp.o file_bkf.c:67:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 67 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC file_doc.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_dovecot.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_dpx.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_drw.o CC file_drw2.o list.h: In function 'file_block_truncate_zero': list.h:245:20: warning: inlining failed in call to 'td_list_del': call is unlikely and code size would grow [-Winline] 245 | static inline void td_list_del(struct td_list_head *entry) | ^~~~~~~~~~~ CC file_ds2.o photorec.c:1302:5: note: called from here 1302 | td_list_del(tmp); | ^~~~~~~~~~~~~~~~ In function 'search_add_hints', inlined from 'search_part' at godmode.c:582:3: godmode.c:79:24: warning: inlining failed in call to 'CHS2offset_inline': call is unlikely and code size would grow [-Winline] 79 | static inline uint64_t CHS2offset_inline(const disk_t *disk_car,const CHS_t*CHS) | ^~~~~~~~~~~~~~~~~ godmode.c:421:7: note: called from here 421 | hint_insert(try_offset, CHS2offset_inline(disk, &start), try_offset_nbr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ godmode.c:79:24: warning: inlining failed in call to 'CHS2offset_inline': call is unlikely and code size would grow [-Winline] 79 | static inline uint64_t CHS2offset_inline(const disk_t *disk_car,const CHS_t*CHS) | ^~~~~~~~~~~~~~~~~ godmode.c:425:9: note: called from here 425 | hint_insert(try_offset, CHS2offset_inline(disk, &start), try_offset_nbr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC file_ds_store.o CC file_dsc.o In file included from file_cab.c:32: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC file_dss.o CC file_dst.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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_catdrawing.c: In function 'header_check_catdrawing': 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_dta.o 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ 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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_compress.c: In function 'header_check_compress': file_cm.c: In function 'header_check_cm': 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) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ 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_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_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_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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ 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_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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_dump.o file_caf.c:58:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 58 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_che.c:54:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 54 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_ctg.c: In function 'header_check_ctg': CC file_dv.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_cpi.c: In function 'header_check_cpi': file_che.c: In function 'header_check_che': 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) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ CC file_dvi.o 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_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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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_caf.c: In function 'header_check_caf': 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_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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_dvr.o file_csh.c: In function 'header_check_csh': 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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_dwg.o file_class.c: In function 'header_check_class': 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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__)); | ^ CC file_dxf.o file_crw.c: In function 'header_check_crw': 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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_cow.c:61:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 61 | } __attribute__ ((gcc_struct, __packed__)) QCowHeader_t; | ^ CC file_e01.o In file included from file_cwk.c:33: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from file_d2s.c:31: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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_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_dar.c: In function 'header_check_dar': 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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_cwk.c:65:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 65 | } __attribute__ ((gcc_struct, __packed__)); | ^ list_add_sorted.h: In function 'register_header_check': list_add_sorted.h:41:20: warning: inlining failed in call to 'td_list_add_sorted.constprop': call is unlikely and code size would grow [-Winline] 41 | static inline void td_list_add_sorted(struct td_list_head *newe, struct td_list_head *head, | ^~~~~~~~~~~~~~~~~~ filegen.c:221:3: note: called from here 221 | td_list_add_sorted(&file_check_new->list, &file_check_plist.list, file_check_cmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC file_edb.o file_dad.c:54:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 54 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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_cwk.c: In function 'header_check_cwk': 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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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_d2s.c:52:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 52 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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_dad.c: In function 'header_check_dad': 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_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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_ecryptfs.o file_cow.c: In function 'header_check_qcow2': file_dbf.c: In function 'header_check_dbf': 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_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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ list.h: In function 'file_block_truncate': 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ list.h:245:20: warning: inlining failed in call to 'td_list_del': call is unlikely and code size would grow [-Winline] 245 | static inline void td_list_del(struct td_list_head *entry) | ^~~~~~~~~~~ photorec.c:1321:7: note: called from here 1321 | td_list_del(tmp); | ^~~~~~~~~~~~~~~~ CC file_elf.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from file_ddf.c:36: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC file_emf.o 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_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_dex.c:74:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 74 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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_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_dovecot.c: In function 'header_check_dovecot': 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from file_dir.c:36: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_ess.o 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_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_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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_djv.c:52:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 52 | } __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__)); | ^ CC file_evt.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_evtx.o 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__)); | ^ CC file_exe.o CC file_exr.o In function 'file_block_remove_from_sp_aux', inlined from 'file_block_remove_from_sp_aux' at photorec.c:1068:20: list.h:245:20: warning: inlining failed in call to 'td_list_del': call is unlikely and code size would grow [-Winline] 245 | static inline void td_list_del(struct td_list_head *entry) | ^~~~~~~~~~~ photorec.c:1081:5: note: called from here 1081 | td_list_del(&tmp->list); | ^~~~~~~~~~~~~~~~~~~~~~~ CC file_exs.o CC file_ext.o In file included from file_dpx.c:36: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC file_ext2.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_fat.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_fbf.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_fbk.o CC file_fbx.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_fcp.o CC file_fcs.o file_ds2.c: In function 'header_check_ds2': CC file_fdb.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_fds.o 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: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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ list.h: In function 'update_search_space_aux.constprop': list.h:245:20: warning: inlining failed in call to 'td_list_del': call is unlikely and code size would grow [-Winline] 245 | static inline void td_list_del(struct td_list_head *entry) | ^~~~~~~~~~~ photorec.c:174:7: note: called from here 174 | td_list_del(search_walker); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ list.h:245:20: warning: inlining failed in call to 'td_list_del': call is unlikely and code size would grow [-Winline] 245 | static inline void td_list_del(struct td_list_head *entry) | ^~~~~~~~~~~ photorec.c:205:7: note: called from here 205 | td_list_del(search_walker); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_dvr.c: In function 'header_check_dvr': file_dta.c: In function 'header_check_dta': 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_fh10.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from file_dump.c:32: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC file_fh5.o CC file_filevault.o 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_dump.c: In function 'header_check_dump': CC file_fits.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_fit.o In file included from file_edb.c:32: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC file_flac.o 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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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_doc.c: In function 'header_check_doc': 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ CC file_flp.o 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_e01.c:70:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 70 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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_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_dxf.c: In function 'header_check_dxf': 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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_elf.c:32: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC file_flv.o In file included from file_ecryptfs.c:33: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In function 'index_header_check_aux', inlined from 'index_header_check' at filegen.c:284:5, inlined from 'init_file_stats' at filegen.c:562:12: list_add_sorted.h:41:20: warning: inlining failed in call to 'td_list_add_sorted.constprop': call is unlikely and code size would grow [-Winline] 41 | static inline void td_list_add_sorted(struct td_list_head *newe, struct td_list_head *head, | ^~~~~~~~~~~~~~~~~~ filegen.c:250:9: note: called from here 250 | td_list_add_sorted(&file_check_new->list, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 251 | &pos->file_checks[((const unsigned char *)file_check_new->value)[pos->offset-file_check_new->offset]].list, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 252 | file_check_cmp); | ~~~~~~~~~~~~~~~ CC file_fm.o file_ecryptfs.c:57:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 57 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_elf.c: In function 'header_check_elf32_lsb': 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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_elf.c: In function 'header_check_elf32_msb': 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: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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_elf.c: In function 'header_check_elf64_msb': 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from file_emf.c:33: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC file_fob.o file_emf.c:83:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 83 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ 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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from file_evtx.c:33: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC file_fos.o file_evtx.c:49:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 49 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_evt.c:51:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 51 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_evtx.c: In function 'header_check_evtx': CC file_fp5.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_fp7.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_freeway.o CC file_frm.o CC file_fs.o 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_ext.c:32: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC file_fwd.o CC file_fxp.o 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_ext.c: In function 'header_check_ext2_sb': 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_gam.o 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_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_ext.c: In function 'data_check_extdir': 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ 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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_gct.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_fbx.c: In function 'header_check_fbx': file_fcp.c: In function 'header_check_fcp': 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_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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ CC file_gho.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ext2.c: In function 'header_check_ext2_fs': 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ In file included from file_fds.c:33: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC file_gi.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_gif.o file_fcs.c:59:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 59 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from file_fat.c:35: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC file_gm6.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_gp2.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_gp5.o CC file_gpg.o In file included from file_flac.c:33: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from file_fit.c:34: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC file_gpx.o CC file_gsm.o CC file_gz.o 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': CC file_hdf.o file_flac.c: In function 'header_check_flac': 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_fits.c: In function 'header_check_fits': 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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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_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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ In file included from file_flv.c:33: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC file_hdf5.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_hdr.o CC file_hds.o list.h: In function 'free_list_search_space': list.h:245:20: warning: inlining failed in call to 'td_list_del': call is unlikely and code size would grow [-Winline] 245 | static inline void td_list_del(struct td_list_head *entry) | ^~~~~~~~~~~ CC file_hfsp.o file_flp.c:56:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 56 | } __attribute__ ((gcc_struct, __packed__)); | ^ photorec.c:278:5: note: called from here 278 | td_list_del(search_walker); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 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__)); | ^ CC file_hm.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_flv.c: In function 'header_check_flv': 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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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_fs.c:58:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 58 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from file_fxp.c:33: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC file_hr9.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_gho.c: In function 'header_check_ghost': CC file_http.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_ibd.o CC file_icc.o CC file_icns.o In file included from file_gi.c:33: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC file_ico.o CC file_ifo.o 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_gi.c:51:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 51 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ CC file_idx.o 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_gi.c: In function 'header_check_gi': file_gm6.c: In function 'header_check_gm6': 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_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_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_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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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': CC file_imb.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_indd.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_info.o CC file_iso.o CC file_it.o 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_gp2.c: In function 'header_check_gp2': CC file_itu.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_gp5.c: In function 'header_check_gp5': file_gpx.c: In function 'header_check_gpx': CC file_jks.o 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_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_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_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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_hm.c: In function 'header_check_hm': 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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_jpg.o In file included from file_hdr.c:32: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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_gpg.c: In function 'header_check_gpg': CC file_jsonlz4.o 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_hfsp.c: In function 'header_check_hfsp': 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ 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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_gsm.c:52:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 52 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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_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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_hdr.c:58:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 58 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_hds.c:56:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 56 | } __attribute__((gcc_struct,__packed__)); | ^ file_hdr.c: In function 'header_check_hdr': file_hdr.c: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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_kdb.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_kdbx.o In file included from file_hdf.c:36: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC file_key.o CC file_ldf.o CC file_lit.o CC file_lnk.o 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__)); | ^ CC file_logic.o CC file_lso.o CC file_luks.o CC file_lxo.o CC file_lz.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_lzh.o CC file_lzo.o list.h: In function 'forget': list.h:245:20: warning: inlining failed in call to 'td_list_del': call is unlikely and code size would grow [-Winline] 245 | static inline void td_list_del(struct td_list_head *entry) | ^~~~~~~~~~~ CC file_m2ts.o photorec.c:393:7: note: called from here 393 | td_list_del(&tmp->list); | ^~~~~~~~~~~~~~~~~~~~~~~ CC file_mat.o 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__)); | ^ CC file_max.o 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': CC file_mb.o 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_mcd.o CC file_mdb.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_mdf.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_mdp.o CC file_mfa.o CC file_mfg.o In file included from file_ibd.c:33: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC file_mft.o file_ibd.c:71:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 71 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC file_mid.o file_ibd.c: In function 'header_check_ibd': 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_mig.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_mk5.o 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_icns.c: In function 'header_check_icns': 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_ifo.c:52:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 52 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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_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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ 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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ 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_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__)); | ^ In file included from file_iso.c:32: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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_it.c:71:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 71 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC file_mkv.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_mlv.o file_jsonlz4.c: In function 'header_check_jsonlz4': 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_jks.c:53:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 53 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC file_mobi.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_mov.o CC file_mp3.o CC file_mpg.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_mpl.o 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_lit.c: In function 'header_check_lit': 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_mrw.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from file_luks.c:34: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC file_msa.o 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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_mus.o 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_luks.c: In function 'header_check_luks': 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_lnk.c:66:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 66 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_mxf.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_lnk.c: In function 'header_check_lnk': file_lxo.c:52:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 52 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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_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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ CC file_myo.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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_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_lzh.c: In function 'header_check_lzh': 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_mysql.o 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_nd2.o CC file_nds.o CC file_nes.o 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ In file included from file_jpg.c:55: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_njx.o CC file_nsf.o CC file_nk2.o 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__)); | ^ In file included from file_mb.c:33: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC file_oci.o 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ CC file_ogg.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_one.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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_mdp.c:53:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 53 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_orf.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_pa.o 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ In file included from file_mid.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:33: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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) | ~~~~~~~~~~~~~^~~~~ 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__)); | ^ file_mid.c:57:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 57 | } __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; | ^ file_jpg.c: In function 'jpg_term_source': CC file_paf.o 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_jpg.c:1274:47: warning: unused parameter 'cinfo' [-Wunused-parameter] 1274 | static void jpg_term_source (j_decompress_ptr cinfo) | ~~~~~~~~~~~~~~~~~^~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from file_mig.c:33: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC file_pap.o 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_mig.c:61:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 61 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_jpg.c: In function 'jpg_find_error': CC file_par2.o 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) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ CC file_pcap.o file_jpg.c: At top level: file_jpg.c:1925:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 1925 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC file_pcb.o 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) | ^ CC file_pct.o CC file_pcx.o 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) | ~~~~~~~~~~~~~~~^~~~~~ 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) | ^~~~~~~~~ list.h: In function 'update_blocksize': list.h:245:20: warning: inlining failed in call to 'td_list_del': call is unlikely and code size would grow [-Winline] 245 | static inline void td_list_del(struct td_list_head *entry) | ^~~~~~~~~~~ file_doc.c:1855:10: note: called from here 1855 | 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) | ^~~~~~~~~ photorec.c:591:9: note: called from here 591 | td_list_del(search_walker); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ list.h:245:20: warning: inlining failed in call to 'td_list_del': call is unlikely and code size would grow [-Winline] 245 | static inline void td_list_del(struct td_list_head *entry) | ^~~~~~~~~~~ CC file_pdb.o photorec.c:601:11: note: called from here 601 | td_list_del(search_walker); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ list.h:245:20: warning: inlining failed in call to 'td_list_del': call is unlikely and code size would grow [-Winline] 245 | static inline void td_list_del(struct td_list_head *entry) | ^~~~~~~~~~~ photorec.c:616:7: note: called from here 616 | td_list_del(search_walker); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ file_doc.c:1861:10: note: called from here 1861 | 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) | ^~~~~~~~~ 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_doc.c:1867:6: note: called from here 1867 | if(td_memmem(buffer,buffer_size,"WordDocument",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:1871:11: note: called from here 1871 | else if(td_memmem(buffer,buffer_size,"StarDraw",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) | ^~~~~~~~~ In file included from file_mov.c:34: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC file_pdf.o 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; | ^ 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_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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_pds.o 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_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__)); | ^ 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_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) | ^~~~~~~~~ CC file_pf.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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_mlv.c: In function 'header_check_mlv': file_mpl.c: In function 'header_check_mpl': 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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ^~~~~~~~~ CC file_pfx.o 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) | ^~~~~~~~~ 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_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) | ^~~~~~~~~ CC file_pgdump.o 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_mov.c: In function 'header_check_mov_aux': 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_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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ 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__)); | ^ CC file_plist.o 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_mp3.c: In function 'header_check_id3': file_mus.c: In function 'header_check_mus': 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_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_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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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_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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_msa.c:51:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 51 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC file_plr.o file_mp3.c: In function 'header_check_mp3': 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_msa.c: In function 'header_check_msa': 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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ 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) | ^~~~~~~~~ CC file_plt.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_mxf.c:70:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 70 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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_doc.c:1915:10: note: called from here 1915 | || td_memmem( buffer, buffer_size, "MSWorksDBDoc", 12)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file_mxf.c: In function 'get_mxf_size': 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ 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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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_doc.c:1919:11: note: called from here 1919 | else if(td_memmem(buffer,buffer_size,"MetaStock",9)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ 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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_png.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ 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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_one.c: In function 'header_check_one': 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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_pnm.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_prc.o 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_ogg.c: In function 'header_check_ogg': file_nk2.c: In function 'header_check_nk2': 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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_oci.c:51:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 51 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_prd.o 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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_prt.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_ps.o CC file_psb.o CC file_psd.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_psf.o In file included from file_pa.c:33: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC file_psp.o CC file_pst.o CC file_ptb.o file_pa.c:52:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 52 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC file_ptf.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_pyc.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_pzf.o CC file_pzh.o CC file_qbb.o CC file_qdf.o CC file_qkt.o 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ 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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_r3d.o CC file_qxd.o CC file_ra.o file_par2.c: In function 'header_check_par2': 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_raf.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_rar.o In file included from file_pcx.c:33: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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_pcx.c:78:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 78 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_pct.c:83:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 83 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_pcx.c: In function 'header_check_pcx': CC file_raw.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_rdc.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_reg.o In file included from file_pf.c:34: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from file_pdf.c:41: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC file_res.o file_pf.c:60:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 60 | } __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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_rfp.o 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_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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pgdump.c:84:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 84 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC file_riff.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_rlv.o CC file_rm.o CC file_rns.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_rpm.o In file included from file_png.c:39: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC file_rw2.o 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__)); | ^ CC file_rx2.o 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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_save.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_sdsk.o In file included from file_prc.c:33: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC file_sdw.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_ses.o 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_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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ CC file_sgcta.o 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_shn.o 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_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_prt.c: In function 'header_check_prt': 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_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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ CC file_shp.o 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_ptf.c: In function 'header_check_ptf': 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_png.c: In function 'header_check_mng': CC file_sib.o 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ 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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_sig.o In file included from file_psd.c:33: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from file_ps.c:33: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC file_sit.o file_psb.c:63:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 63 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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_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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_psp.c:51:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 51 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_psd.c:63:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 63 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_png.c: In function 'header_check_png': 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_qkt.c: In function 'header_check_qkt': 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_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_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_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_psp.c: In function 'header_check_psp': 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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_pst.c: In function 'header_check_wab': file_ps.c: In function 'file_check_ps': 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_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_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_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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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_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_psd.c: In function 'psd_skip_image_data': 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_psb.c: In function 'psb_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_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_pst.c: In function 'header_check_pst': file_ps.c: In function 'header_check_ps': 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_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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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_pyc.c: In function 'header_check_pyc': 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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_qbb.c:59:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 59 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_pzf.c: In function 'header_check_pzf': file_qbb.c:74:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 74 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_psb.c: In function 'header_check_psb': file_psd.c: In function 'header_check_psd': 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_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_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_r3d.c:53:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 53 | } __attribute__((gcc_struct, __packed__)); | ^ 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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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_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_r3d.c: In function 'header_check_r3d': 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_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_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_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_qbb.c: In function 'header_check_qbw2': file_r3d.c: In function 'header_check_r3d_v2': 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_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_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_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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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_raf.c:62:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 62 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_ra.c:57:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 57 | } __attribute__ ((gcc_struct, __packed__)); | ^ file_raf.c: In function 'header_check_raf': file_ra.c:87:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 87 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from file_riff.c:33: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_rfp.c: In function 'header_check_rfp': file_riff.c: In function 'header_check_riff': 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_skd.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_skp.o CC file_snag.o 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__)); | ^ 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_rw2.c: In function 'header_check_rw2': 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_sp3.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_rpm.c:56:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 56 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_spe.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from file_rx2.c:33: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC file_spf.o file_sdw.c: In function 'header_check_sdw': file_rx2.c:51:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 51 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_spss.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_sql.o file_sit.c: In function 'header_check_sit': file_sib.c: In function 'header_check_sib': 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_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_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_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_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_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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from file_shp.c:33: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC file_sqm.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_steuer2014.o CC file_stl.o CC file_stu.o CC file_studio.o CC file_swf.o CC file_tar.o 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, | ^~~~~~~~~~~~~~~~~~ CC file_tax.o file_sig.c: In function 'header_check_sig': 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_tg.o In function 'file_block_remove_from_sp', inlined from 'file_block_append' at photorec.c:1177:3: photorec.c:1068:20: warning: inlining failed in call to 'file_block_remove_from_sp_aux': call is unlikely and code size would grow [-Winline] 1068 | static inline void file_block_remove_from_sp_aux(alloc_data_t *tmp, alloc_data_t **new_current_search_space, uint64_t *offset, const unsigned int blocksize) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC file_tib.o photorec.c:1126:7: note: called from here 1126 | file_block_remove_from_sp_aux(tmp, new_current_search_space, offset, blocksize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ photorec.c:1068:20: warning: inlining failed in call to 'file_block_remove_from_sp_aux': call is unlikely and code size would grow [-Winline] 1068 | static inline void file_block_remove_from_sp_aux(alloc_data_t *tmp, alloc_data_t **new_current_search_space, uint64_t *offset, const unsigned int blocksize) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ photorec.c:1136:7: note: called from here 1136 | file_block_remove_from_sp_aux(tmp, new_current_search_space, offset, blocksize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC file_tiff.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_tiff_be.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_tiff_le.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_tivo.o CC file_torrent.o In file included from file_spe.c:33: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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__)); | ^ CC file_tph.o file_spe.c:242:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 242 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC file_tpl.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from file_sql.c:33: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC file_ttf.o 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_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_sql.c:73:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 73 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_txt.o file_sqm.c: In function 'header_check_sqm': file_sql.c: In function 'header_check_sqlite': 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_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_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_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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_tz.o CC file_v2i.o In file included from file_steuer2014.c:34: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ 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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_steuer2014.c:65:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 65 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC file_vault.o 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_stl.c: In function 'header_check_stl': 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_vdi.o In file included from file_studio.c:33: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC file_vdj.o CC file_veg.o CC file_vfb.o file_studio.c:52:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 52 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC file_vib.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_vmdk.o 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ CC file_vmg.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_wad.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_wallet.o CC file_wdp.o CC file_wee.o In file included from file_swf.c:41: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ In file included from file_tib.c:36: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC file_wim.o 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_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_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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_win.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from file_tiff.c:39: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC file_wld.o CC file_wks.o CC file_wmf.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_wnk.o 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.c:40: file_tiff.h:71:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 71 | } __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__)); | ^ CC file_woff.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_wpb.o 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_wpd.o 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) | ~~~~~~~~~~~~^~~ CC file_wtv.o 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) | ~~~~~~~~~~~~^~~ 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__)); | ^ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_wv.o 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_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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_x3f.o CC file_x3i.o In file included from file_ttf.c:32: common.h:42:1: warning: 'gcc_struct' attribute directive ignored [-Wattributes] 42 | } __attribute__ ((gcc_struct, __packed__)); | ^ CC file_x4a.o file_tiff_be.c: In function 'header_check_tiff_be': 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) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ CC file_xar.o file_ttf.c: In function 'header_check_ttf': file_ttf.c:108:26: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 108 | if((16< file_size) | ^ 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 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 phcli.c:45: list_add_sorted_uniq.h: In function 'menu_photorec_cli': list_add_sorted_uniq.h:34:19: warning: inlining failed in call to 'td_list_add_sorted_uniq.constprop': call is unlikely and code size would grow [-Winline] 34 | static inline int td_list_add_sorted_uniq(struct td_list_head *newe, struct td_list_head *head, | ^~~~~~~~~~~~~~~~~~~~~~~ phcli.c:248:12: note: called from here 248 | if(td_list_add_sorted_uniq(&new_free_space->list, &list_search_space->list, spacerange_cmp)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ list_add_sorted_uniq.h:34:19: warning: inlining failed in call to 'td_list_add_sorted_uniq.constprop': call is unlikely and code size would grow [-Winline] 34 | static inline int td_list_add_sorted_uniq(struct td_list_head *newe, struct td_list_head *head, | ^~~~~~~~~~~~~~~~~~~~~~~ phcli.c:268:12: note: called from here 268 | if(td_list_add_sorted_uniq(&new_free_space->list, &list_search_space->list, spacerange_cmp)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from phbf.c:71: pnext.h: In function 'photorec_bf_pad': pnext.h:61:6: warning: inlining failed in call to 'get_next_sector': call is unlikely and code size would grow [-Winline] 61 | void get_next_sector(const alloc_data_t *list_search_space, alloc_data_t **current_search_space, uint64_t *offset, const unsigned int blocksize) | ^~~~~~~~~~~~~~~ phbf.c:368:13: note: called from here 368 | get_next_sector(list_search_space, current_search_space, offset, blocksize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pnext.h:61:6: warning: inlining failed in call to 'get_next_sector': call is unlikely and code size would grow [-Winline] 61 | void get_next_sector(const alloc_data_t *list_search_space, alloc_data_t **current_search_space, uint64_t *offset, const unsigned int blocksize) | ^~~~~~~~~~~~~~~ phbf.c:394:13: note: called from here 394 | get_next_sector(list_search_space, current_search_space, offset, blocksize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'photorec_bf_frag_fast', inlined from 'photorec_bf_frag' at phbf.c:551:27: pnext.h:61:6: warning: inlining failed in call to 'get_next_sector': call is unlikely and code size would grow [-Winline] 61 | void get_next_sector(const alloc_data_t *list_search_space, alloc_data_t **current_search_space, uint64_t *offset, const unsigned int blocksize) | ^~~~~~~~~~~~~~~ phbf.c:492:7: note: called from here 492 | get_next_sector(list_search_space, current_search_space, offset, blocksize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pnext.h:61:6: warning: inlining failed in call to 'get_next_sector': call is unlikely and code size would grow [-Winline] 61 | void get_next_sector(const alloc_data_t *list_search_space, alloc_data_t **current_search_space, uint64_t *offset, const unsigned int blocksize) | ^~~~~~~~~~~~~~~ phbf.c:514:7: note: called from here 514 | get_next_sector(list_search_space, current_search_space, offset, blocksize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pnext.h: In function 'photorec_bf_frag': pnext.h:61:6: warning: inlining failed in call to 'get_next_sector': call is unlikely and code size would grow [-Winline] 61 | void get_next_sector(const alloc_data_t *list_search_space, alloc_data_t **current_search_space, uint64_t *offset, const unsigned int blocksize) | ^~~~~~~~~~~~~~~ phbf.c:608:5: note: called from here 608 | get_next_sector(list_search_space, &extractblock_search_space, &extrablock_offset, blocksize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pnext.h:61:6: warning: inlining failed in call to 'get_next_sector': call is unlikely and code size would grow [-Winline] 61 | void get_next_sector(const alloc_data_t *list_search_space, alloc_data_t **current_search_space, uint64_t *offset, const unsigned int blocksize) | ^~~~~~~~~~~~~~~ phbf.c:678:11: note: called from here 678 | get_next_sector(list_search_space, current_search_space, offset, blocksize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pnext.h: In function 'photorec_bf': pnext.h:61:6: warning: inlining failed in call to 'get_next_sector': call is unlikely and code size would grow [-Winline] 61 | void get_next_sector(const alloc_data_t *list_search_space, alloc_data_t **current_search_space, uint64_t *offset, const unsigned int blocksize) | ^~~~~~~~~~~~~~~ phbf.c:257:11: note: called from here 257 | get_next_sector(list_search_space, ¤t_search_space, &offset, blocksize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from file_txt.c:43: memmem.h: In function 'header_check_perlm': 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_txt.c:1344:7: note: called from here 1344 | if( td_memmem(buffer, buffer_size_test, "class", 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_txt.c:1345:7: note: called from here 1345 | td_memmem(buffer, buffer_size_test, "private static", 14)!=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_txt.c:1346:7: note: called from here 1346 | td_memmem(buffer, buffer_size_test, "public interface", 16)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ memmem.h: In function 'header_check_snz': 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_txt.c:1445:33: note: called from here 1445 | const char *pos=(const char *)td_memmem(buffer, buffer_size_test, ".snz", 4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ memmem.h: In function 'header_check_txt': 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_txt.c:1680:8: note: called from here 1680 | if(td_memmem(haystack, ll, "groovy", 6) != 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_txt.c:1689:8: note: called from here 1689 | if(td_memmem(haystack, ll, "perl", 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_txt.c:1698:8: note: called from here 1698 | if(td_memmem(haystack, ll, "php", 3) != 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_txt.c:1707:8: note: called from here 1707 | if(td_memmem(haystack, ll, "python", 6) != 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_txt.c:1716:8: note: called from here 1716 | if(td_memmem(haystack, ll, "ruby", 4) != NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ memmem.h: In function 'header_check_stl': 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_txt.c:1474:6: note: called from here 1474 | if(td_memmem(buffer, buffer_size_test, "facet normal", 12)==NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CCLD photorec CCLD fidentify CCLD testdisk make[2]: Leaving directory '/home/buildozer/aports/main/testdisk/src/testdisk-7.2/src' make[2]: Entering directory '/home/buildozer/aports/main/testdisk/src/testdisk-7.2' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory '/home/buildozer/aports/main/testdisk/src/testdisk-7.2' make[1]: Leaving directory '/home/buildozer/aports/main/testdisk/src/testdisk-7.2' Making check in icons make[1]: Entering directory '/home/buildozer/aports/main/testdisk/src/testdisk-7.2/icons' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/home/buildozer/aports/main/testdisk/src/testdisk-7.2/icons' Making check in man make[1]: Entering directory '/home/buildozer/aports/main/testdisk/src/testdisk-7.2/man' Making check in zh_CN make[2]: Entering directory '/home/buildozer/aports/main/testdisk/src/testdisk-7.2/man/zh_CN' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/home/buildozer/aports/main/testdisk/src/testdisk-7.2/man/zh_CN' make[2]: Entering directory '/home/buildozer/aports/main/testdisk/src/testdisk-7.2/man' make[2]: Nothing to be done for 'check-am'. make[2]: Leaving directory '/home/buildozer/aports/main/testdisk/src/testdisk-7.2/man' make[1]: Leaving directory '/home/buildozer/aports/main/testdisk/src/testdisk-7.2/man' Making check in src make[1]: Entering directory '/home/buildozer/aports/main/testdisk/src/testdisk-7.2/src' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/home/buildozer/aports/main/testdisk/src/testdisk-7.2/src' make[1]: Entering directory '/home/buildozer/aports/main/testdisk/src/testdisk-7.2' make[1]: Nothing to be done for 'check-am'. make[1]: Leaving directory '/home/buildozer/aports/main/testdisk/src/testdisk-7.2' >>> testdisk: Entering fakeroot... Making install in icons make[1]: Entering directory '/home/buildozer/aports/main/testdisk/src/testdisk-7.2/icons' make[2]: Entering directory '/home/buildozer/aports/main/testdisk/src/testdisk-7.2/icons' make[2]: Nothing to be done for 'install-exec-am'. make install-data-hook make[3]: Entering directory '/home/buildozer/aports/main/testdisk/src/testdisk-7.2/icons' make[3]: Nothing to be done for 'install-data-hook'. make[3]: Leaving directory '/home/buildozer/aports/main/testdisk/src/testdisk-7.2/icons' make[2]: Leaving directory '/home/buildozer/aports/main/testdisk/src/testdisk-7.2/icons' make[1]: Leaving directory '/home/buildozer/aports/main/testdisk/src/testdisk-7.2/icons' Making install in man make[1]: Entering directory '/home/buildozer/aports/main/testdisk/src/testdisk-7.2/man' Making install in zh_CN make[2]: Entering directory '/home/buildozer/aports/main/testdisk/src/testdisk-7.2/man/zh_CN' make[3]: Entering directory '/home/buildozer/aports/main/testdisk/src/testdisk-7.2/man/zh_CN' make[3]: Nothing to be done for 'install-exec-am'. ../.././config/install-sh -c -d '/home/buildozer/aports/main/testdisk/pkg/testdisk/usr/share/man/zh_CN/man8' /usr/bin/install -c -m 644 testdisk.8 photorec.8 fidentify.8 '/home/buildozer/aports/main/testdisk/pkg/testdisk/usr/share/man/zh_CN/man8' make[3]: Leaving directory '/home/buildozer/aports/main/testdisk/src/testdisk-7.2/man/zh_CN' make[2]: Leaving directory '/home/buildozer/aports/main/testdisk/src/testdisk-7.2/man/zh_CN' make[2]: Entering directory '/home/buildozer/aports/main/testdisk/src/testdisk-7.2/man' make[3]: Entering directory '/home/buildozer/aports/main/testdisk/src/testdisk-7.2/man' make[3]: Nothing to be done for 'install-exec-am'. .././config/install-sh -c -d '/home/buildozer/aports/main/testdisk/pkg/testdisk/usr/share/man/man8' /usr/bin/install -c -m 644 testdisk.8 photorec.8 fidentify.8 '/home/buildozer/aports/main/testdisk/pkg/testdisk/usr/share/man/man8' make[3]: Leaving directory '/home/buildozer/aports/main/testdisk/src/testdisk-7.2/man' make[2]: Leaving directory '/home/buildozer/aports/main/testdisk/src/testdisk-7.2/man' make[1]: Leaving directory '/home/buildozer/aports/main/testdisk/src/testdisk-7.2/man' Making install in src make[1]: Entering directory '/home/buildozer/aports/main/testdisk/src/testdisk-7.2/src' make[2]: Entering directory '/home/buildozer/aports/main/testdisk/src/testdisk-7.2/src' make[2]: Nothing to be done for 'install-data-am'. .././config/install-sh -c -d '/home/buildozer/aports/main/testdisk/pkg/testdisk/usr/bin' /usr/bin/install -c testdisk photorec fidentify '/home/buildozer/aports/main/testdisk/pkg/testdisk/usr/bin' make[2]: Leaving directory '/home/buildozer/aports/main/testdisk/src/testdisk-7.2/src' make[1]: Leaving directory '/home/buildozer/aports/main/testdisk/src/testdisk-7.2/src' make[1]: Entering directory '/home/buildozer/aports/main/testdisk/src/testdisk-7.2' make[2]: Entering directory '/home/buildozer/aports/main/testdisk/src/testdisk-7.2' make[2]: Nothing to be done for 'install-exec-am'. make install-data-hook make[3]: Entering directory '/home/buildozer/aports/main/testdisk/src/testdisk-7.2' /bin/sh /home/buildozer/aports/main/testdisk/src/testdisk-7.2/config/install-sh -d /home/buildozer/aports/main/testdisk/pkg/testdisk/usr/share/doc/testdisk /usr/bin/install -c -m 644 ./AUTHORS ./ChangeLog ./NEWS ./README.md ./THANKS ./documentation.html /home/buildozer/aports/main/testdisk/pkg/testdisk/usr/share/doc/testdisk make[3]: Leaving directory '/home/buildozer/aports/main/testdisk/src/testdisk-7.2' make[2]: Leaving directory '/home/buildozer/aports/main/testdisk/src/testdisk-7.2' make[1]: Leaving directory '/home/buildozer/aports/main/testdisk/src/testdisk-7.2' >>> testdisk-doc*: Running split function doc... >>> testdisk-doc*: Preparing subpackage testdisk-doc... >>> testdisk-doc*: Running postcheck for testdisk-doc >>> testdisk*: Running postcheck for testdisk >>> testdisk*: Preparing package testdisk... >>> testdisk*: Stripping binaries >>> testdisk-doc*: Scanning shared objects >>> testdisk*: Scanning shared objects >>> testdisk-doc*: Tracing dependencies... >>> testdisk-doc*: Package size: 424.0 KB >>> testdisk-doc*: Compressing data... >>> testdisk-doc*: Create checksum... >>> testdisk-doc*: Create testdisk-doc-7.2-r1.apk >>> testdisk*: Tracing dependencies... so:libc.musl-aarch64.so.1 so:libext2fs.so.2 so:libjpeg.so.8 so:libncursesw.so.6 so:libntfs-3g.so.89 so:libz.so.1 >>> testdisk*: Package size: 1.3 MB >>> testdisk*: Compressing data... >>> testdisk*: Create checksum... >>> testdisk*: Create testdisk-7.2-r1.apk >>> testdisk: Build complete at Mon, 13 May 2024 05:29:26 +0000 elapsed time 0h 0m 14s >>> testdisk: Cleaning up srcdir >>> testdisk: Cleaning up pkgdir >>> testdisk: Uninstalling dependencies... (1/55) Purging .makedepends-testdisk (20240513.052913) (2/55) Purging e2fsprogs-dev (1.47.0-r5) (3/55) Purging util-linux-dev (2.40.1-r0) (4/55) Purging gawk (5.3.0-r0) (5/55) Purging e2fsprogs-libs (1.47.0-r5) (6/55) Purging libcom_err (1.47.0-r5) (7/55) Purging ntfs-3g-dev (2022.10.3-r3) (8/55) Purging ntfs-3g-libs (2022.10.3-r3) (9/55) Purging ncurses-dev (6.4_p20240420-r0) (10/55) Purging libncurses++ (6.4_p20240420-r0) (11/55) Purging libpanelw (6.4_p20240420-r0) (12/55) Purging zlib-dev (1.3.1-r1) (13/55) Purging libjpeg-turbo-dev (3.0.3-r0) (14/55) Purging libjpeg-turbo (3.0.3-r0) (15/55) Purging libturbojpeg (3.0.3-r0) (16/55) Purging agetty-openrc (0.54-r1) (17/55) Purging agetty (2.40.1-r0) (18/55) Purging blkid (2.40.1-r0) (19/55) Purging cfdisk (2.40.1-r0) (20/55) Purging findmnt (2.40.1-r0) (21/55) Purging flock (2.40.1-r0) (22/55) Purging fstrim (2.40.1-r0) (23/55) Purging hexdump (2.40.1-r0) (24/55) Purging libformw (6.4_p20240420-r0) (25/55) Purging libmenuw (6.4_p20240420-r0) (26/55) Purging logger (2.40.1-r0) (27/55) Purging losetup (2.40.1-r0) (28/55) Purging lsblk (2.40.1-r0) (29/55) Purging mcookie (2.40.1-r0) (30/55) Purging mount (2.40.1-r0) (31/55) Purging partx (2.40.1-r0) (32/55) Purging runuser (2.40.1-r0) (33/55) Purging setpriv (2.40.1-r0) (34/55) Purging sfdisk (2.40.1-r0) (35/55) Purging sqlite-dev (3.45.3-r0) (36/55) Purging sqlite (3.45.3-r0) (37/55) Purging umount (2.40.1-r0) (38/55) Purging util-linux-misc (2.40.1-r0) (39/55) Purging setarch (2.40.1-r0) (40/55) Purging util-linux-openrc (2.40.1-r0) (41/55) Purging uuidgen (2.40.1-r0) (42/55) Purging wipefs (2.40.1-r0) (43/55) Purging libfdisk (2.40.1-r0) (44/55) Purging libmount (2.40.1-r0) (45/55) Purging libblkid (2.40.1-r0) (46/55) Purging libcap-ng (0.8.5-r0) (47/55) Purging libeconf (0.6.3-r0) (48/55) Purging libsmartcols (2.40.1-r0) (49/55) Purging libuuid (2.40.1-r0) (50/55) Purging linux-pam (1.6.0-r0) (51/55) Purging readline (8.2.10-r0) (52/55) Purging utmps-libs (0.1.2.2-r1) (53/55) Purging skalibs (2.14.1.1-r0) (54/55) Purging util-linux (2.40.1-r0) (55/55) Purging sqlite-libs (3.45.3-r0) Executing busybox-1.36.1-r26.trigger OK: 412 MiB in 108 packages >>> testdisk: Updating the main/aarch64 repository index... >>> testdisk: Signing the index...